/* =============================== PASTRY PAGE PREMIUM STYLES ================================= */

/* Soft Pastel & Warm Bakery Color Palette */
:root {
    --pastry-cream: #FFF9F0;
    --pastry-soft-pink: #FFE5E5;
    --pastry-lavender: #F0E6FF;
    --pastry-mint: #E8F8F5;
    --pastry-peach: #FFE4D6;
    --pastry-gold: #D4AF37;
    --pastry-brown: #8B7355;
    --pastry-dark: #4A3F35;
    --pastry-white: #FFFFFF;
}

/* =============================== BREADCRUMB ================================= */
.pastry-breadcrumb {
    background: var(--pastry-cream);
    padding: 15px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.pastry-breadcrumb .breadcrumb-item a {
    color: var(--pastry-brown);
    text-decoration: none;
    transition: color 0.3s ease;
}

.pastry-breadcrumb .breadcrumb-item a:hover {
    color: var(--pastry-gold);
}

.pastry-breadcrumb .breadcrumb-item.active {
    color: var(--pastry-dark);
    font-weight: 600;
}

/* =============================== HERO SECTION ================================= */
.pastry-hero {
    background: linear-gradient(135deg, #8B7355 0%, #4A3F35 100%);
    padding: 80px 0;
    overflow: hidden;
}

.flour-dust-texture {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
    animation: floatDust 20s ease-in-out infinite;
}

@keyframes floatDust {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-icon-group {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.hero-icon-group i {
    font-size: 60px;
    color: var(--pastry-gold);
    animation: bounce 2s ease-in-out infinite;
}

.hero-icon-group i:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-icon-group i:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--pastry-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    display: block;
    color: white;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Floating CTA Button */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--pastry-gold), #B8941E);
    color: white;
    padding: 18px 30px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s ease-in-out infinite;
}

.floating-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5);
    text-decoration: none;
    color: white;
}

.floating-cta i {
    font-size: 24px;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4); }
    50% { box-shadow: 0 8px 35px rgba(212, 175, 55, 0.6); }
}

/* =============================== BACKGROUNDS ================================= */
.bg-pastry-light {
    background: var(--pastry-cream);
}

.bg-pastry-cream {
    background: linear-gradient(135deg, var(--pastry-cream) 0%, var(--pastry-peach) 100%);
}

.bg-seasonal {
    background: linear-gradient(135deg, #8B7355 0%, #6B5A47 100%);
    position: relative;
}

.bg-seasonal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.5;
}

/* =============================== SECTION HEADERS ================================= */
.pastry-title {
    color: var(--pastry-dark);
    position: relative;
    display: inline-block;
}

.pastry-title i {
    color: var(--pastry-gold);
    margin-right: 10px;
}

.signature-badge,
.seasonal-badge {
    display: inline-block;
    background: var(--pastry-gold);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.seasonal-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

/* =============================== PASTRY CATEGORIES GRID ================================= */
.pastry-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.pastry-category-card {
    background: white;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.pastry-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--pastry-soft-pink), var(--pastry-lavender), var(--pastry-mint));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.pastry-category-card:hover::before {
    transform: scaleX(1);
}

.pastry-category-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.category-icon-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--pastry-soft-pink), var(--pastry-lavender));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.pastry-category-card:hover .category-icon-circle {
    transform: rotate(360deg) scale(1.1);
    background: linear-gradient(135deg, var(--pastry-gold), #B8941E);
}

.category-icon-circle i {
    font-size: 50px;
    color: var(--pastry-brown);
    transition: color 0.4s ease;
}

.pastry-category-card:hover .category-icon-circle i {
    color: white;
}

.category-name {
    color: var(--pastry-dark);
    font-weight: 700;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.pastry-category-card:hover .category-name {
    color: var(--pastry-gold);
}

.category-arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.category-arrow i {
    font-size: 24px;
    color: var(--pastry-gold);
}

.pastry-category-card:hover .category-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* =============================== SIGNATURE PASTRY CARDS ================================= */
.signature-pastry-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
}

.signature-pastry-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.pastry-image-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.pastry-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.signature-pastry-card:hover .pastry-card-image {
    transform: scale(1.15);
}

.pastry-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--pastry-soft-pink), var(--pastry-lavender));
    display: flex;
    align-items: center;
    justify-content: center;
}

.pastry-placeholder i {
    font-size: 80px;
    color: var(--pastry-brown);
    opacity: 0.3;
}

.pastry-quick-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.signature-pastry-card:hover .pastry-quick-actions {
    opacity: 1;
    transform: translateY(0);
}

.quick-action-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.quick-action-btn:hover {
    transform: scale(1.15) rotate(10deg);
}

.save-btn {
    color: #e74c3c;
}

.print-btn {
    color: #3498db;
}

.difficulty-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.difficulty-easy {
    background: rgba(46, 204, 113, 0.9);
    color: white;
}

.difficulty-medium {
    background: rgba(241, 196, 15, 0.9);
    color: white;
}

.difficulty-hard {
    background: rgba(231, 76, 60, 0.9);
    color: white;
}

.pastry-card-content {
    padding: 30px;
}

.pastry-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.pastry-card-title a {
    color: var(--pastry-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.pastry-card-title a:hover {
    color: var(--pastry-gold);
}

.pastry-card-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.pastry-meta-row {
    display: flex;
    gap: 15px;
    padding-top: 15px;
    border-top: 2px solid var(--pastry-cream);
    margin-bottom: 15px;
}

.meta-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--pastry-brown);
    font-size: 0.9rem;
    font-weight: 600;
}

.meta-badge i {
    font-size: 1.1rem;
}

.btn-pastry {
    background: linear-gradient(135deg, var(--pastry-gold), #B8941E);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-pastry:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
    color: white;
}

/* =============================== TECHNIQUE CARDS ================================= */
.technique-card {
    background: white;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.technique-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.technique-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--pastry-mint), var(--pastry-lavender));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.technique-card:hover .technique-icon {
    transform: rotate(-5deg) scale(1.05);
    background: linear-gradient(135deg, var(--pastry-gold), #B8941E);
}

.technique-icon i {
    font-size: 45px;
    color: var(--pastry-brown);
    transition: color 0.3s ease;
}

.technique-card:hover .technique-icon i {
    color: white;
}

.technique-title {
    color: var(--pastry-dark);
    font-weight: 700;
    margin-bottom: 12px;
}

.technique-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.technique-link {
    color: var(--pastry-gold);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.technique-link:hover {
    color: var(--pastry-brown);
    text-decoration: none;
}

/* =============================== TOOLS SECTION ================================= */
.tools-intro {
    padding-right: 30px;
}

.tools-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--pastry-brown);
    font-weight: 600;
}

.tools-highlight i {
    font-size: 24px;
    color: var(--pastry-gold);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tool-card {
    background: white;
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.tool-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    background: var(--pastry-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-icon i {
    font-size: 30px;
    color: var(--pastry-brown);
}

.tool-name {
    color: var(--pastry-dark);
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0;
}

/* =============================== SEASONAL CARDS ================================= */
.seasonal-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.seasonal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.seasonal-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--pastry-gold), #B8941E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seasonal-icon i {
    font-size: 50px;
    color: white;
}

.seasonal-name {
    color: var(--pastry-dark);
    font-weight: 700;
    margin-bottom: 10px;
}

.seasonal-tag {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* =============================== CHEF SPOTLIGHT ================================= */
.pastry-chef-spotlight {
    background: linear-gradient(135deg, var(--pastry-cream), var(--pastry-soft-pink));
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.chef-image-wrapper {
    position: relative;
    display: inline-block;
}

.chef-spotlight-img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.chef-placeholder-img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pastry-lavender), var(--pastry-mint));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 8px solid white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.chef-placeholder-img i {
    font-size: 100px;
    color: var(--pastry-brown);
    opacity: 0.5;
}

.chef-badge-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pastry-gold);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.chef-label {
    color: var(--pastry-gold);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.chef-spotlight-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--pastry-dark);
    margin-bottom: 10px;
}

.chef-specialty {
    color: var(--pastry-brown);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.chef-bio {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.chef-quote {
    background: white;
    border-left: 5px solid var(--pastry-gold);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
}

.chef-quote i {
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 40px;
    color: var(--pastry-gold);
    opacity: 0.3;
}

.chef-quote p {
    font-style: italic;
    color: var(--pastry-dark);
    margin: 0;
    padding-left: 30px;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* =============================== MINI CARDS ================================= */
.pastry-mini-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.pastry-mini-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.mini-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.mini-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pastry-mini-card:hover .mini-card-image img {
    transform: scale(1.1);
}

.mini-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pastry-mini-card:hover .mini-card-overlay {
    opacity: 1;
}

.mini-card-body {
    padding: 20px;
}

.mini-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.mini-card-title a {
    color: var(--pastry-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mini-card-title a:hover {
    color: var(--pastry-gold);
}

.mini-card-meta {
    color: var(--pastry-brown);
    font-size: 0.85rem;
    font-weight: 600;
}

.mini-card-meta i {
    margin-right: 5px;
}

/* =============================== EMPTY STATE ================================= */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state i {
    font-size: 100px;
    color: var(--pastry-cream);
    margin-bottom: 20px;
}

.empty-state h4 {
    color: var(--pastry-dark);
    font-weight: 700;
    margin-bottom: 10px;
}

.empty-state p {
    color: #999;
}

/* =============================== RESPONSIVE ================================= */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .pastry-categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pastry-chef-spotlight {
        padding: 30px;
    }
    
    .chef-spotlight-img,
    .chef-placeholder-img {
        width: 220px;
        height: 220px;
    }
    
    .chef-spotlight-name {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .floating-cta {
        bottom: 20px;
        right: 20px;
        padding: 15px 25px;
    }
    
    .pastry-categories-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-intro {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pastry-chef-spotlight {
        padding: 25px;
    }
    
    .chef-spotlight-img,
    .chef-placeholder-img {
        width: 180px;
        height: 180px;
    }
}

/* =============================== ANIMATIONS ================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}
