/* ============================================
   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: 9999;
    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 --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(201, 169, 89, 0.1);
}

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

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-gold);
    letter-spacing: 0.1em;
    text-shadow: 0 0 30px rgba(201, 169, 89, 0.5);
}

.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('https://images.unsplash.com/photo-1495195134817-aeb325a55b65?w=1920&q=80') 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);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 169, 89, 0.1);
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.feature:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(201, 169, 89, 0.3);
    transform: translateX(10px);
}

.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: var(--color-black);
    padding: var(--space-xl) 0 calc(var(--space-xl) * 1.5);
    position: relative;
    overflow: hidden;
}

.sections-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(196, 30, 58, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 70%, rgba(45, 90, 39, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 30%, rgba(210, 105, 30, 0.08) 0%, transparent 40%);
    animation: colorShift 20s ease-in-out infinite alternate;
}

@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;
}

.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;
}

/* Real food photography backgrounds */
.chinese-bg {
    background: 
        linear-gradient(180deg, rgba(196, 30, 58, 0.3) 0%, rgba(139, 0, 0, 0.6) 100%),
        url('https://images.unsplash.com/photo-1563245372-f21724e3856d?w=800&q=80') center/cover no-repeat;
}

.performance-bg {
    background: 
        linear-gradient(180deg, rgba(45, 90, 39, 0.3) 0%, rgba(26, 53, 24, 0.6) 100%),
        url('https://images.unsplash.com/photo-1532550907401-a500c9a57435?w=800&q=80') center/cover no-repeat;
}

.latin-bg {
    background: 
        linear-gradient(180deg, rgba(210, 105, 30, 0.3) 0%, rgba(139, 69, 19, 0.6) 100%),
        url('https://images.unsplash.com/photo-1565299585323-38d6b0865b47?w=800&q=80') center/cover no-repeat;
}

.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('https://images.unsplash.com/photo-1466637574441-749b8f19452f?w=1920&q=80') 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);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(201, 169, 89, 0.1);
    border-radius: 16px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

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

.experience-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(201, 169, 89, 0.3);
    transform: translateY(-8px);
}

.experience-item:hover::before {
    opacity: 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 --- */
.categories-preview {
    background: 
        linear-gradient(180deg, var(--color-black) 0%, #0a0805 50%, #0d0a07 100%);
    padding: var(--space-xl) 0;
    position: relative;
}

.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);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.category-item:hover {
    background: rgba(201, 169, 89, 0.1);
    border-color: rgba(201, 169, 89, 0.3);
    transform: translateY(-5px);
}

.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 {
    font-size: 4rem;
    margin-bottom: var(--space-lg);
    opacity: 0.3;
    animation: symbolFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(201, 169, 89, 0.3));
}

@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: 
        linear-gradient(135deg, rgba(201, 169, 89, 0.4) 0%, rgba(139, 115, 85, 0.3) 100%),
        radial-gradient(ellipse at 20% 30%, rgba(196, 30, 58, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(45, 90, 39, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(210, 105, 30, 0.2) 0%, transparent 50%),
        linear-gradient(180deg, #1a1815 0%, #0a0805 100%);
}

/* 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));
}
