/* ============================================
   THE COUNCIL COOKBOOK - PREMIUM STYLESHEET
   A love letter in CSS - FULL IMMERSION
   ============================================ */

/* --- CSS Variables --- */
:root {
    /* Colors */
    --color-dark: #1a1a1a;
    --color-darker: #0d0d0d;
    --color-black: #050505;
    --color-light: #fafafa;
    --color-cream: #f5f0e8;
    --color-gold: #c9a959;
    --color-gold-light: #e8d5a3;
    --color-gold-deep: #8b7355;
    --color-accent: #8b4513;
    
    /* Section Colors */
    --chinese-primary: #c41e3a;
    --chinese-secondary: #8b0000;
    --chinese-glow: rgba(196, 30, 58, 0.3);
    --performance-primary: #2d5a27;
    --performance-secondary: #1a3518;
    --performance-glow: rgba(45, 90, 39, 0.3);
    --latin-primary: #d2691e;
    --latin-secondary: #8b4513;
    --latin-glow: rgba(210, 105, 30, 0.3);
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-chinese: 'Noto Serif SC', serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: transparent; /* Let art canvas show */
    color: var(--color-light);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #0a0805 0%, var(--color-black) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 1s ease, visibility 1s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.loader-svg {
    animation: loaderSpin 3s linear infinite;
}

.loader-ring {
    stroke-dasharray: 251;
    stroke-dashoffset: 251;
    animation: loaderDash 2s ease-in-out infinite;
}

.loader-ring-2 {
    animation: loaderSpin 4s linear infinite reverse;
}

.loader-dot {
    transform-origin: 50px 50px;
    animation: loaderDot 1.5s ease-in-out infinite;
}

.loader-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-gold);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0;
    animation: loaderTextFade 2s ease-in-out infinite;
}

@keyframes loaderSpin {
    100% { transform: rotate(360deg); }
}

@keyframes loaderDash {
    0% { stroke-dashoffset: 251; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -251; }
}

@keyframes loaderDot {
    0%, 100% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes loaderTextFade {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* --- Ambient Pattern --- */
.ambient-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* --- Navigation - PREMIUM HEADER with Midjourney Banner --- */
/* BULLETPROOF: Fixed position with max z-index to prevent stacking conflicts */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    z-index: 10000 !important; /* Higher than EVERYTHING */
    padding: var(--space-sm) 0;
    transition: var(--transition-smooth);
    /* Force GPU layer - fixes iOS Safari fixed positioning bugs */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* Elegant dark background with subtle texture */
    background: linear-gradient(180deg, 
        rgba(15, 12, 8, 0.98) 0%, 
        rgba(8, 6, 4, 0.99) 100%
    );
    /* PROMINENT golden bottom border - 3px for visibility */
    border-bottom: 3px solid rgba(201, 169, 89, 0.8);
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.9),
        0 3px 0 rgba(201, 169, 89, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 60px rgba(201, 169, 89, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Static gold accent line on navbar */
.navbar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(201, 169, 89, 0.3) 0%, 
        rgba(201, 169, 89, 0.7) 15%,
        rgba(232, 213, 163, 1) 50%, 
        rgba(201, 169, 89, 0.7) 85%, 
        rgba(201, 169, 89, 0.3) 100%
    );
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 0 15px rgba(201, 169, 89, 0.5);
}

.navbar.scrolled {
    background: linear-gradient(180deg, 
        rgba(12, 10, 6, 0.99) 0%, 
        rgba(6, 5, 3, 0.99) 100%
    );
    /* Keep prominent border when scrolled - THICK and VISIBLE */
    border-bottom: 3px solid rgba(201, 169, 89, 0.85);
    box-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.95),
        0 4px 0 rgba(201, 169, 89, 0.6),
        0 0 80px rgba(201, 169, 89, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

/* PREMIUM GOLD LOGO - Shiny metallic effect */
.logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    /* Multi-layer gold gradient for 3D metallic look */
    background: 
        linear-gradient(180deg, 
            #F4E4BA 0%,      /* Highlight */
            #D4AF37 20%,     /* Bright gold */
            #C9A959 40%,     /* Main gold */
            #8B7355 60%,     /* Shadow gold */
            #C9A959 80%,     /* Main gold */
            #E8D5A3 100%     /* Bottom highlight */
        );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Glow effects */
    filter: drop-shadow(0 0 8px rgba(201, 169, 89, 0.6)) 
            drop-shadow(0 0 20px rgba(201, 169, 89, 0.4))
            drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
    transition: var(--transition-smooth);
    position: relative;
}

/* Shine animation on hover */
.logo:hover {
    filter: drop-shadow(0 0 12px rgba(232, 213, 163, 0.8)) 
            drop-shadow(0 0 30px rgba(201, 169, 89, 0.6))
            drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
}

/* Subtle pulse glow - no movement */
.logo::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(201, 169, 89, 0.3) 0%, transparent 70%);
    animation: logo-pulse 4s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes logo-pulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

.nav-links {
    display: flex;
    gap: var(--space-md);
    list-style: none;
}

.nav-links a {
    color: var(--color-light);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    transition: var(--transition-smooth);
    box-shadow: 0 0 10px var(--color-gold);
}

.nav-links a:hover {
    color: var(--color-gold);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-gold);
    transition: var(--transition-fast);
}

/* --- Hero Section - IMMERSIVE --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent; /* Let art canvas show through */
}

/* Cinematic background layers - NO HUMANS, PURE ART */
/* The animated art canvas (.art-canvas) provides the living background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Transparent - let the art canvas show through */
    background: transparent;
    pointer-events: none;
}

/* Golden light overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(201, 169, 89, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(139, 69, 19, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(201, 169, 89, 0.1) 0%, transparent 70%),
        linear-gradient(180deg, rgba(5, 5, 5, 0.4) 0%, rgba(5, 5, 5, 0.2) 50%, rgba(5, 5, 5, 0.8) 100%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at center, transparent 0%, rgba(5, 5, 5, 0.3) 70%, rgba(5, 5, 5, 0.6) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Floating particles effect */
.hero .particle-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

/* Hero Decorative Elements */
.hero-decoration {
    position: absolute;
    top: 0;
    height: 100%;
    width: 200px;
    z-index: 2;
    opacity: 0.5;
}

.hero-dec-left {
    left: 0;
}

.hero-dec-right {
    right: 0;
}

.hero-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring-1 {
    width: 600px;
    height: 600px;
    animation: ringRotate 60s linear infinite;
}

.ring-2 {
    width: 500px;
    height: 500px;
    animation: ringRotate 45s linear infinite reverse;
}

.ring-3 {
    width: 400px;
    height: 400px;
    animation: ringRotate 30s linear infinite;
}

@keyframes ringRotate {
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--color-light);
    padding: var(--space-md);
}

/* Hero Logo Mark */
.hero-logo-mark {
    margin-bottom: var(--space-md);
    animation: fadeInUp 1s ease-out 0.1s both;
}

.logo-svg {
    width: 80px;
    height: 80px;
    animation: logoFloat 6s ease-in-out infinite, logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes logoGlow {
    0% { filter: drop-shadow(0 0 10px rgba(201, 169, 89, 0.3)); }
    100% { filter: drop-shadow(0 0 30px rgba(201, 169, 89, 0.6)); }
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
    animation: fadeInUp 1s ease-out 0.2s both;
    text-shadow: 0 0 20px rgba(201, 169, 89, 0.5);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 12vw, 8rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: var(--space-sm);
    animation: fadeInUp 1s ease-out 0.4s both;
    background: linear-gradient(180deg, #fff 0%, #e8d5a3 50%, #c9a959 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 30px rgba(201, 169, 89, 0.4));
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    font-style: italic;
    font-weight: 400;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto var(--space-lg);
    animation: fadeInUp 1s ease-out 0.6s both;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

.hero-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 1s ease-out 0.8s both;
}

.divider-line {
    width: 80px;
    height: 2px;
    opacity: 0.5;
}

.divider-icons {
    display: flex;
    gap: var(--space-md);
}

.icon-float {
    font-size: 2.5rem;
    animation: iconBounce 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.icon-float:hover {
    transform: scale(1.3) rotate(10deg);
}

.icon-float:nth-child(1) { 
    animation-delay: 0s; 
    filter: drop-shadow(0 4px 20px rgba(196, 30, 58, 0.6)) brightness(1) hue-rotate(-10deg);
}
.icon-float:nth-child(2) { 
    animation-delay: 0.3s; 
    filter: drop-shadow(0 4px 20px rgba(45, 90, 39, 0.6)) brightness(1) hue-rotate(80deg);
}
.icon-float:nth-child(3) { 
    animation-delay: 0.6s; 
    filter: drop-shadow(0 4px 20px rgba(210, 105, 30, 0.6)) brightness(1) hue-rotate(20deg);
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    25% { transform: translateY(-12px) scale(1.05); }
    50% { transform: translateY(0) scale(1); }
    75% { transform: translateY(-8px) scale(1.02); }
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: linear-gradient(135deg, rgba(201, 169, 89, 0.15) 0%, rgba(201, 169, 89, 0.05) 100%);
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 1s ease-out 1s both;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 89, 0.4), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: linear-gradient(135deg, rgba(201, 169, 89, 0.3) 0%, rgba(201, 169, 89, 0.15) 100%);
    box-shadow: 
        0 15px 50px rgba(201, 169, 89, 0.4), 
        0 0 80px rgba(201, 169, 89, 0.2),
        inset 0 0 20px rgba(201, 169, 89, 0.1);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.cta-button:hover .btn-arrow {
    transform: translateX(5px);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--color-light);
    animation: fadeInUp 1s ease-out 1.4s both;
    z-index: 10;
}

.scroll-indicator span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    display: block;
    margin-bottom: var(--space-sm);
    opacity: 0.5;
}

.scroll-svg {
    opacity: 0.6;
}

.scroll-dot {
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0%, 100% { 
        cy: 12; 
        opacity: 1;
    }
    50% { 
        cy: 28; 
        opacity: 0.3;
    }
}

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

/* --- Section Styling --- */
section {
    padding: var(--space-xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-dark);
}

.section-header.light h2 {
    color: var(--color-light);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
}

.section-header.light .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

/* --- About Section --- */
.about-section {
    background: 
        linear-gradient(180deg, var(--color-black) 0%, #0a0805 50%, #0d0a07 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url('../images/photo-1495195134817-aeb325a55b65.jpg') center/cover no-repeat;
    opacity: 0.08;
    filter: grayscale(50%);
}

.about-section .section-header h2 {
    color: var(--color-light);
}

.about-section .section-subtitle {
    color: rgba(255, 255, 255, 0.5);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
    position: relative;
    z-index: 2;
}

.about-text .lead {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: var(--space-md);
    color: var(--color-light);
    line-height: 1.8;
}

.about-text p {
    margin-bottom: var(--space-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.feature {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    padding: var(--space-md);
    border: 1px solid rgba(201, 169, 89, 0.2);
    border-radius: 12px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

/* Cultural Deep Dives - Globe/exploration theme */
.feature:nth-child(1) {
    background: 
        linear-gradient(135deg, rgba(15, 12, 8, 0.85) 0%, rgba(25, 20, 15, 0.9) 100%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 169, 89, 0.2) 0%, transparent 50%),
        linear-gradient(180deg, rgba(139, 90, 43, 0.15) 0%, transparent 50%);
}

/* Chef Guidance - Warm mentorship glow */
.feature:nth-child(2) {
    background: 
        linear-gradient(135deg, rgba(20, 12, 12, 0.85) 0%, rgba(25, 15, 15, 0.9) 100%),
        radial-gradient(ellipse at 20% 80%, rgba(196, 100, 80, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, transparent 0%, rgba(180, 80, 60, 0.1) 100%);
}

/* Kitchen Terminology - Knowledge/precision */
.feature:nth-child(3) {
    background: 
        linear-gradient(135deg, rgba(12, 15, 12, 0.85) 0%, rgba(15, 20, 15, 0.9) 100%),
        radial-gradient(ellipse at 50% 50%, rgba(45, 90, 39, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, rgba(100, 150, 100, 0.08) 0%, transparent 50%);
}

.feature:hover {
    border-color: rgba(201, 169, 89, 0.4);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(201, 169, 89, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.feature h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-gold);
}

.feature p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* --- Council Cards Section - IMMERSIVE --- */
.sections-area {
    background: 
        /* Dark overlay for text readability */
        linear-gradient(180deg, rgba(5, 5, 5, 0.85) 0%, rgba(10, 8, 5, 0.8) 50%, rgba(5, 5, 5, 0.9) 100%),
        /* Three convergence color accents */
        radial-gradient(ellipse at 15% 20%, rgba(196, 30, 58, 0.15) 0%, transparent 35%),
        radial-gradient(ellipse at 85% 20%, rgba(210, 105, 30, 0.15) 0%, transparent 35%),
        radial-gradient(ellipse at 50% 80%, rgba(45, 90, 39, 0.12) 0%, transparent 40%),
        /* MIDJOURNEY - Abstract Japanese ink wash × Linkin Park background */
        url('../images/photo-1557682250-33bd709cbe85.jpg') center/cover no-repeat;
    background-attachment: scroll, scroll, scroll, scroll, fixed;
    padding: var(--space-xl) 0 calc(var(--space-xl) * 1.5);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

/* Animated smoke wisps */
.sections-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: 
        /* Chinese red smoke */
        radial-gradient(ellipse 80% 40% at 10% 30%, rgba(196, 30, 58, 0.15) 0%, transparent 50%),
        /* Performance green mist */
        radial-gradient(ellipse 60% 50% at 90% 60%, rgba(45, 90, 39, 0.12) 0%, transparent 50%),
        /* Latin warm glow */
        radial-gradient(ellipse 70% 45% at 50% 80%, rgba(210, 105, 30, 0.15) 0%, transparent 50%),
        /* Golden particles */
        radial-gradient(circle at 30% 40%, rgba(201, 169, 89, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 70% 30%, rgba(201, 169, 89, 0.08) 0%, transparent 15%),
        radial-gradient(circle at 50% 60%, rgba(201, 169, 89, 0.12) 0%, transparent 25%);
    animation: smokeWisp 30s ease-in-out infinite alternate;
    transform-origin: center center;
}

/* Secondary animated layer */
.sections-area::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(196, 30, 58, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 80% 50%, rgba(210, 105, 30, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 50% 20%, rgba(45, 90, 39, 0.06) 0%, transparent 25%);
    animation: smokeWisp 25s ease-in-out infinite alternate-reverse;
    opacity: 0.7;
}

@keyframes smokeWisp {
    0% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-5%, 3%) scale(1.05);
        opacity: 0.9;
    }
    100% { 
        transform: translate(5%, -3%) scale(0.98);
        opacity: 0.7;
    }
}

@keyframes colorShift {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.council-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    position: relative;
    z-index: 2;
}

/* Bottom row spans full width for Quadrivium + Fourth Kitchen */
.council-grid .council-card:nth-child(4),
.council-grid .council-card:nth-child(5) {
    grid-column: span 1;
}

/* When we have 5 cards, center the bottom row */
@media (min-width: 1200px) {
    .council-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    .council-grid .council-card:nth-child(1),
    .council-grid .council-card:nth-child(2),
    .council-grid .council-card:nth-child(3) {
        grid-column: span 2;
    }
    .council-grid .council-card:nth-child(4) {
        grid-column: 2 / span 2;
    }
    .council-grid .council-card:nth-child(5) {
        grid-column: 4 / span 2;
    }
}

.council-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-slow);
    transform-style: preserve-3d;
}

.council-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
    pointer-events: none;
}

.council-card:hover {
    transform: translateY(-15px) scale(1.02);
}

.card-image {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Kitchen backgrounds - PREMIUM food photography */
.chinese-bg {
    background: 
        /* Crimson overlay */
        linear-gradient(180deg, rgba(139, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%),
        /* MIDJOURNEY: Ancient Chinese kitchen - blazing wok with flames */
        url('../images/midjourney/chinese-wok-flames-1.png') center/cover no-repeat;
    background-blend-mode: overlay, normal;
}

.performance-bg {
    background: 
        /* Subtle green overlay */
        linear-gradient(180deg, rgba(45, 90, 39, 0.15) 0%, rgba(0, 0, 0, 0.5) 100%),
        /* MIDJOURNEY: Minimalist gym kitchen */
        url('../images/midjourney/performance-kitchen-1.png') center/cover no-repeat;
    background-blend-mode: overlay, normal;
}

.latin-bg {
    background: 
        /* Warm orange overlay */
        linear-gradient(180deg, rgba(210, 105, 30, 0.15) 0%, rgba(0, 0, 0, 0.5) 100%),
        /* MIDJOURNEY: Mexican street tacos al pastor */
        url('../images/midjourney/latin-tacos-1.png') center/cover no-repeat;
    background-blend-mode: overlay, normal;
}

/* The Fourth Kitchen - Dog Section */
.dog-bg {
    background: 
        /* Warm golden glow overlay */
        linear-gradient(180deg, rgba(139, 90, 43, 0.35) 0%, rgba(89, 60, 31, 0.75) 100%),
        /* Happy golden retriever - family vibes */
        url('../images/photo-1587300003388-59208cc962cb.jpg') center top/cover no-repeat;
    background-blend-mode: overlay, normal;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
}

.council-card:hover .card-overlay {
    background: rgba(0, 0, 0, 0.1);
}

.card-emoji {
    font-size: 5rem;
    position: relative;
    z-index: 3;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
    transition: var(--transition-smooth);
}

.council-card:hover .card-emoji {
    transform: scale(1.2);
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.6));
}

.card-content {
    position: relative;
    z-index: 3;
    padding: var(--space-md) var(--space-md) var(--space-lg);
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.95) 30%);
    margin-top: -80px;
}

.card-content h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--color-light);
    margin-bottom: 0.25rem;
}

.card-subtitle {
    font-size: 0.9rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-sm);
    text-shadow: 0 0 20px rgba(201, 169, 89, 0.5);
}

.card-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: var(--space-md);
}

.card-tags span {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

.card-tags span:hover {
    background: rgba(201, 169, 89, 0.2);
    border-color: rgba(201, 169, 89, 0.4);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gold);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.card-link:hover {
    color: var(--color-gold-light);
    gap: 1rem;
}

/* --- Explore Section --- */
.explore-section {
    background: 
        linear-gradient(180deg, #0d0a07 0%, #0a0805 50%, var(--color-black) 100%);
    position: relative;
}

.explore-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url('../images/photo-1466637574441-749b8f19452f.jpg') center/cover no-repeat;
    opacity: 0.05;
}

.explore-section .section-header h2 {
    color: var(--color-light);
}

.explore-section .section-subtitle {
    color: rgba(255, 255, 255, 0.5);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    position: relative;
    z-index: 2;
}

.experience-item {
    padding: var(--space-lg);
    border: 1px solid rgba(201, 169, 89, 0.2);
    border-radius: 16px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    /* Rich layered background */
    background: 
        linear-gradient(180deg, rgba(20, 18, 15, 0.9) 0%, rgba(10, 8, 5, 0.95) 100%);
}

/* Golden top accent bar */
.experience-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light), var(--color-gold));
    opacity: 0.6;
    transition: var(--transition-smooth);
}

/* Background imagery layer */
.experience-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    z-index: 0;
    transition: var(--transition-smooth);
}

/* 01 - Origin Stories: Ancient map & spices */
.experience-item:nth-child(1) {
    background: 
        linear-gradient(180deg, rgba(25, 18, 12, 0.75) 0%, rgba(15, 10, 8, 0.9) 100%),
        url('../images/photo-1596040033229-a9821ebd058d.jpg') center/cover no-repeat;
}
.experience-item:nth-child(1)::after {
    background: none;
}

/* 02 - Step-by-Step Mastery: Chef at work */
.experience-item:nth-child(2) {
    background: 
        linear-gradient(180deg, rgba(18, 22, 15, 0.75) 0%, rgba(10, 15, 8, 0.9) 100%),
        url('../images/photo-1556910103-1c02745aae4d.jpg') center/cover no-repeat;
}
.experience-item:nth-child(2)::after {
    background: none;
}

/* 03 - Troubleshooting: Kitchen action */
.experience-item:nth-child(3) {
    background: 
        linear-gradient(180deg, rgba(28, 15, 12, 0.75) 0%, rgba(20, 10, 8, 0.9) 100%),
        url('../images/photo-1495521821757-a1efb6729352.jpg') center/cover no-repeat;
}
.experience-item:nth-child(3)::after {
    background: none;
}

/* 04 - Ways to Elevate: Fine dining plating */
.experience-item:nth-child(4) {
    background: 
        linear-gradient(180deg, rgba(20, 15, 12, 0.75) 0%, rgba(12, 10, 8, 0.9) 100%),
        url('../images/photo-1476224203421-9ac39bcb3327.jpg') center/cover no-repeat;
}
.experience-item:nth-child(4)::after {
    background: none;
}

/* 05 - Variations: Diverse spread */
.experience-item:nth-child(5) {
    background: 
        linear-gradient(180deg, rgba(22, 18, 22, 0.75) 0%, rgba(15, 12, 15, 0.9) 100%),
        url('../images/photo-1504674900247-0877df9cc836.jpg') center/cover no-repeat;
}
.experience-item:nth-child(5)::after {
    background: none;
}

/* 06 - Did You Know: Heritage & tradition */
.experience-item:nth-child(6) {
    background: 
        linear-gradient(180deg, rgba(22, 18, 15, 0.75) 0%, rgba(12, 10, 8, 0.9) 100%),
        url('../images/photo-1414235077428-338989a2e8c0.jpg') center/cover no-repeat;
}
.experience-item:nth-child(6)::after {
    background: none;
}

.experience-item:hover {
    border-color: rgba(201, 169, 89, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(201, 169, 89, 0.1);
}

.experience-item:hover::before {
    opacity: 1;
}

.experience-item:hover::after {
    opacity: 0.25;
}

/* Content stays above background layers */
.experience-item > * {
    position: relative;
    z-index: 1;
}

.exp-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(180deg, rgba(201, 169, 89, 0.4) 0%, rgba(201, 169, 89, 0.1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.experience-item h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
    color: var(--color-light);
}

.experience-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* --- Philosophy Section --- */
.philosophy-section {
    background: var(--color-black);
    text-align: center;
    padding: calc(var(--space-xl) * 1.5) 0;
    position: relative;
    overflow: hidden;
}

.philosophy-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 169, 89, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.philosophy-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.philosophy-content blockquote {
    margin-bottom: var(--space-lg);
}

.philosophy-content blockquote p {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-light);
    margin-bottom: var(--space-md);
}

.philosophy-content blockquote cite {
    font-family: var(--font-body);
    font-size: 1rem;
    font-style: normal;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

.philosophy-text p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-sm);
    line-height: 1.9;
}

/* --- Categories Preview --- FULL MIDJOURNEY IMMERSION */
.categories-preview {
    background: 
        /* Dark overlay for text readability */
        linear-gradient(180deg, rgba(5, 5, 5, 0.8) 0%, rgba(10, 8, 5, 0.75) 50%, rgba(5, 5, 5, 0.85) 100%),
        /* Colored accent glows */
        radial-gradient(ellipse at 20% 30%, rgba(196, 30, 58, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 30%, rgba(210, 105, 30, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 70%, rgba(45, 90, 39, 0.08) 0%, transparent 40%),
        /* MIDJOURNEY - Abstract culinary art */
        url('../images/photo-1557683316-973673baf926.jpg') center/cover no-repeat;
    background-attachment: scroll, scroll, scroll, scroll, fixed;
    padding: var(--space-xl) 0;
    position: relative;
    min-height: 60vh;
}

.categories-preview::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 89, 0.3), transparent);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-sm);
    position: relative;
    z-index: 2;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: var(--space-md);
    border: 1px solid rgba(201, 169, 89, 0.2);
    border-radius: 12px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    /* Base gradient - will be overlaid by individual Midjourney backgrounds */
    background: linear-gradient(180deg, rgba(20, 18, 15, 0.85) 0%, rgba(10, 8, 5, 0.9) 100%);
}

/* MIDJOURNEY Category Tile Backgrounds - Premium AI-Generated Imagery */
.category-item:nth-child(1) { /* Amuse-Bouche */
    background: linear-gradient(180deg, rgba(15, 12, 10, 0.6) 0%, rgba(10, 8, 5, 0.75) 100%),
        url('../images/categories/amuse-bouche.png') center/cover no-repeat;
}
.category-item:nth-child(2) { /* Appetizers */
    background: linear-gradient(180deg, rgba(15, 12, 10, 0.6) 0%, rgba(10, 8, 5, 0.75) 100%),
        url('../images/categories/appetizers.png') center/cover no-repeat;
}
.category-item:nth-child(3) { /* Soups */
    background: linear-gradient(180deg, rgba(15, 12, 10, 0.6) 0%, rgba(10, 8, 5, 0.75) 100%),
        url('../images/categories/soups.png') center/cover no-repeat;
}
.category-item:nth-child(4) { /* Entrées */
    background: linear-gradient(180deg, rgba(15, 12, 10, 0.6) 0%, rgba(10, 8, 5, 0.75) 100%),
        url('../images/categories/entrees.png') center/cover no-repeat;
}
.category-item:nth-child(5) { /* Sides */
    background: linear-gradient(180deg, rgba(15, 12, 10, 0.6) 0%, rgba(10, 8, 5, 0.75) 100%),
        url('../images/categories/sides.png') center/cover no-repeat;
}
.category-item:nth-child(6) { /* Desserts */
    background: linear-gradient(180deg, rgba(15, 12, 10, 0.6) 0%, rgba(10, 8, 5, 0.75) 100%),
        url('../images/categories/desserts.png') center/cover no-repeat;
}
.category-item:nth-child(7) { /* Drinks */
    background: linear-gradient(180deg, rgba(15, 12, 10, 0.6) 0%, rgba(10, 8, 5, 0.75) 100%),
        url('../images/categories/drinks.png') center/cover no-repeat;
}
.category-item:nth-child(8) { /* Grilling */
    background: linear-gradient(180deg, rgba(15, 12, 10, 0.6) 0%, rgba(10, 8, 5, 0.75) 100%),
        url('../images/categories/grilling.png') center/cover no-repeat;
}
.category-item:nth-child(9) { /* Kid-Friendly */
    background: linear-gradient(180deg, rgba(15, 12, 10, 0.6) 0%, rgba(10, 8, 5, 0.75) 100%),
        url('../images/categories/kid-friendly.png') center/cover no-repeat;
}
.category-item:nth-child(10) { /* Vegetarian */
    background: linear-gradient(180deg, rgba(15, 12, 10, 0.6) 0%, rgba(10, 8, 5, 0.75) 100%),
        url('../images/categories/vegetarian.png') center/cover no-repeat;
}
.category-item:nth-child(11) { /* Seafood */
    background: linear-gradient(180deg, rgba(15, 12, 10, 0.6) 0%, rgba(10, 8, 5, 0.75) 100%),
        url('../images/categories/seafood.png') center/cover no-repeat;
}
.category-item:nth-child(12) { /* Cultural Tours */
    background: linear-gradient(180deg, rgba(15, 12, 10, 0.6) 0%, rgba(10, 8, 5, 0.75) 100%),
        url('../images/categories/cultural-tours.png') center/cover no-repeat;
}

.category-item:hover {
    border-color: rgba(201, 169, 89, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(201, 169, 89, 0.1);
}

.cat-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.category-item span:last-child {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    font-weight: 500;
}

/* --- Secret Portal --- */
.secret-portal {
    position: relative;
    background: 
        radial-gradient(ellipse at 50% 100%, rgba(201, 169, 89, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, 
            #0d0a07 0%, 
            #0a0505 20%,
            #050208 50%,
            #020105 80%,
            #000000 100%);
    padding: calc(var(--space-xl) * 1.5) 0 calc(var(--space-xl) * 2);
    text-align: center;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.portal-veil {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(201, 169, 89, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 50%, rgba(139, 69, 19, 0.05) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 50%, rgba(139, 69, 19, 0.05) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 100%, rgba(201, 169, 89, 0.1) 0%, transparent 60%);
    animation: veilPulse 8s ease-in-out infinite alternate;
}

@keyframes veilPulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.portal-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin: 0 auto;
    color: var(--color-light);
}

.portal-symbol {
    margin-bottom: var(--space-lg);
    opacity: 0.4;
    animation: symbolFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(201, 169, 89, 0.5));
    color: var(--color-gold);
}

.portal-symbol svg {
    width: 60px;
    height: 60px;
}

@keyframes symbolFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-15px) rotate(5deg); opacity: 0.6; }
}

.portal-whisper {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: var(--space-xs);
}

.portal-invitation {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: var(--space-xl);
}

.portal-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.portal-divider span:first-child,
.portal-divider span:last-child {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 89, 0.5), transparent);
}

.divider-symbol {
    color: var(--color-gold);
    opacity: 0.5;
    animation: twinkle 3s ease-in-out infinite;
    font-size: 1.2rem;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.portal-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    background: linear-gradient(180deg, #fff 0%, #e8d5a3 40%, #c9a959 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-lg);
    filter: drop-shadow(0 0 50px rgba(201, 169, 89, 0.4));
    letter-spacing: 0.05em;
}

.portal-verse {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-style: italic;
    line-height: 2.2;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-lg);
}

.portal-lore {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 2;
    margin-bottom: var(--space-xl);
}

.portal-question {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: var(--space-lg);
}

.portal-enter {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) calc(var(--space-lg) * 1.5);
    background: linear-gradient(135deg, rgba(201, 169, 89, 0.15) 0%, rgba(201, 169, 89, 0.05) 100%);
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: var(--space-xl);
    position: relative;
    overflow: hidden;
}

.portal-enter::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 89, 0.3), transparent);
    transition: left 0.6s ease;
}

.portal-enter:hover::before {
    left: 100%;
}

.portal-enter:hover {
    background: linear-gradient(135deg, rgba(201, 169, 89, 0.25) 0%, rgba(201, 169, 89, 0.15) 100%);
    box-shadow: 
        0 0 50px rgba(201, 169, 89, 0.4), 
        0 0 100px rgba(201, 169, 89, 0.2),
        inset 0 0 30px rgba(201, 169, 89, 0.1);
    transform: translateY(-3px);
}

.enter-arrow {
    transition: transform 0.3s ease;
}

.portal-enter:hover .enter-arrow {
    transform: translateX(8px);
}

.portal-footer-note {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 2;
}

.golden-light {
    color: var(--color-gold);
    opacity: 0.7;
    text-shadow: 0 0 20px rgba(201, 169, 89, 0.5);
}

/* --- Footer --- */
.footer {
    background: #000;
    color: var(--color-light);
    padding: var(--space-lg) 0 var(--space-md);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 89, 0.2), transparent);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: var(--space-md);
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: var(--color-gold);
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-dedication {
    margin-top: var(--space-sm);
    color: rgba(255, 255, 255, 0.6) !important;
}

.footer-signature {
    text-align: right;
}

.footer-signature p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-motto {
    color: var(--color-gold) !important;
    margin-top: 0.5rem;
    text-shadow: 0 0 20px rgba(201, 169, 89, 0.3);
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .council-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--space-md);
        gap: var(--space-sm);
        border-top: 1px solid rgba(201, 169, 89, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .experience-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }
    
    .footer-signature {
        text-align: center;
    }
    
    .card-image {
        height: 280px;
    }
}

@media (max-width: 480px) {
    :root {
        --space-md: 1.5rem;
        --space-lg: 3rem;
        --space-xl: 4rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .portal-title {
        font-size: 2.5rem;
    }
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-gold { color: var(--color-gold); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }

/* Quadrivium / Fusion Card */
.fusion-bg {
    background: 
        /* Golden mystical overlay */
        linear-gradient(180deg, rgba(201, 169, 89, 0.2) 0%, rgba(10, 8, 5, 0.5) 100%),
        /* MIDJOURNEY: Mystical convergence of world cuisines */
        url('../images/midjourney/quadrivium-convergence-1.png') center/cover no-repeat;
    background-blend-mode: overlay, normal;
}

/* Navigation Dropdown */
.nav-links .has-dropdown {
    position: relative;
}

.nav-links .dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 8, 5, 0.98);
    border: 1px solid rgba(201, 169, 89, 0.2);
    border-radius: 12px;
    padding: 0.75rem 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.nav-links .has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
}

.nav-links .dropdown li {
    margin: 0;
}

.nav-links .dropdown a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.nav-links .dropdown a:hover {
    background: rgba(201, 169, 89, 0.1);
    color: var(--color-gold);
}

.nav-tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    background: rgba(201, 169, 89, 0.15);
    border-radius: 4px;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* === MIDJOURNEY IMAGE INTEGRATION === */

/* Heart icon in footer */
.footer-heart-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    background: url('../images/icons/heart.png') center/contain no-repeat;
}

/* Cultural icon */
.cultural-icon {
    width: 48px;
    height: 48px;
    background: url('../images/icons/cultural.png') center/contain no-repeat;
}

/* Featured recipe images */
.recipe-hero-char-siu {
    background: url('../images/recipes/char-siu-tacos.png') center/cover no-repeat;
}

/* Premium card hover effects */
.kitchen-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kitchen-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Glassmorphism effect for feature cards */
.feature-card {
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Gold shimmer animation */
@keyframes goldShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.gold-text {
    background: linear-gradient(90deg, #c9a66b, #f4e4bc, #c9a66b);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShimmer 3s linear infinite;
}

/* Category icons with gold styling */
.cat-icon {
    filter: sepia(100%) saturate(300%) brightness(90%) hue-rotate(350deg);
}

/* Premium Midjourney Icon Images */
.cat-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(201, 169, 89, 0.5));
}

.feature-icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(201, 169, 89, 0.6));
    border-radius: 8px;
}

/* Remove emoji styling when using images */
.cat-icon:has(img) {
    font-size: inherit;
    filter: none;
}

.feature-icon:has(img) {
    font-size: inherit;
    filter: none;
}

/* --- Icon Image Styles --- */
.feature-icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(201, 169, 89, 0.3));
}

.cat-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(201, 169, 89, 0.3));
}

.cat-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-gold);
    stroke: var(--color-gold);
}

.feature-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(201, 169, 89, 0.3));
}
