:root {
    --coral: #ff6b6b;
    --coral-light: #ff8787;
    --orange: #feca57;
    --orange-light: #fed873;
    --mint: #1dd1a1;
    --mint-light: #55e6c1;
    --sky: #54a0ff;
    --sky-light: #74b9ff;
    --pink: #ff9ff3;
    --pink-light: #ffb3f7;
    --red: #ee5a52;
    --red-dark: #c0392b;
    --teal: #00d2d3;
    --teal-light: #22dfe0;

    --pastel-peach: #ffeaa7;
    --pastel-mint: #b8e994;
    --pastel-coral: #fab1a0;
    --pastel-sky: #81ecec;
    --pastel-pink: #fdcb6e;

    --white: #ffffff;
    --off-white: #f8f9fa;
    --cream: #fef9e7;
    --gray-light: #dfe6e9;
    --gray: #b2bec3;
    --gray-dark: #636e72;
    --charcoal: #2d3436;
    --black: #1a1a1a;

    --gradient-sunset: linear-gradient(135deg, #ff6b6b 0%, #feca57 50%, #ff9ff3 100%);
    --gradient-ocean: linear-gradient(135deg, #00d2d3 0%, #54a0ff 100%);
    --gradient-forest: linear-gradient(135deg, #1dd1a1 0%, #00d2d3 100%);
    --gradient-warm: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    --gradient-cool: linear-gradient(135deg, #54a0ff 0%, #00d2d3 100%);

    --font-display: 'Playfair Display', serif;
    --font-sans: 'Poppins', sans-serif;
    --font-script: 'Dancing Script', cursive;
    --font-accent: 'Pacifico', cursive;
    --font-bold: 'Bebas Neue', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 30px rgba(255, 107, 107, 0.3);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50%;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--cream);
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

.highlight {
    color: var(--coral);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--pastel-peach);
    z-index: -1;
    border-radius: 4px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.logo-icon {
    font-size: 2rem;
    animation: bounce 2s infinite;
}

.logo-text {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    transition: color 0.3s ease;
}

.navbar.scrolled .logo-text {
    color: var(--charcoal);
    text-shadow: none;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.navbar.scrolled .nav-links a {
    color: var(--charcoal);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--coral);
    transition: width 0.3s ease;
}

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

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

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.navbar.scrolled .mobile-menu-btn span {
    background: var(--charcoal);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--gradient-sunset);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 10;
    padding: var(--spacing-md);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
}

.title-line {
    display: block;
    color: var(--white);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
}

.title-highlight {
    display: block;
    color: var(--charcoal);
    font-family: var(--font-script);
    font-size: 1.2em;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--white);
    margin-bottom: var(--spacing-md);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--white);
    color: var(--coral);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

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

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

.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
}

.float-item {
    position: absolute;
    font-size: 3rem;
    animation: float 6s ease-in-out infinite;
    opacity: 0.7;
}

.float-item:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.float-item:nth-child(2) { top: 25%; right: 15%; animation-delay: 1s; }
.float-item:nth-child(3) { bottom: 30%; left: 5%; animation-delay: 2s; }
.float-item:nth-child(4) { bottom: 20%; right: 10%; animation-delay: 3s; }
.float-item:nth-child(5) { top: 60%; left: 15%; animation-delay: 4s; }

/* ===== Section Common Styles ===== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--charcoal);
    margin-bottom: var(--spacing-xs);
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray-dark);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Countries Section ===== */
.countries-section {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--white);
    position: relative;
}

.countries-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--cream), transparent);
}

.flags-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
}

.flag-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-sm);
    background: var(--off-white);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.flag-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-warm);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.flag-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.flag-card:hover::before {
    opacity: 0.1;
}

.flag {
    width: 100px;
    height: 60px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-xs);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* Individual Flag Styles */
.flag-italy, .flag-france, .flag-mexico, .flag-spain {
    flex-direction: row;
}

.flag-stripe {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Italy Flag */
.flag-italy .green { background: #009246; }
.flag-italy .white { background: #ffffff; }
.flag-italy .red { background: #ce2b37; }

/* France Flag - Vertical blue-white-red stripes */
.flag-france .blue { background: #002395; }
.flag-france .white { background: #ffffff; }
.flag-france .red { background: #ed2939; }

/* Japan Flag */
.flag-japan {
    background: #ffffff;
    justify-content: center;
    align-items: center;
}

.flag-japan .flag-circle {
    width: 30px;
    height: 30px;
    background: #bc002d;
    border-radius: 50%;
}

/* Mexico Flag */
.flag-mexico .green { background: #006341; }
.flag-mexico .white { background: #ffffff; }
.flag-mexico .red { background: #c8102e; }
.mexico-emblem { font-size: 12px; }

/* Thailand Flag */
.flag-thailand {
    flex-direction: column;
    height: 60px;
}

.flag-thailand .red { background: #ed1c24; flex: 1; }
.flag-thailand .white { background: #ffffff; flex: 0.5; }
.flag-thailand .blue { background: #241d4f; flex: 1; }

/* India Flag */
.flag-india {
    flex-direction: column;
}

.flag-india .saffron { background: #ff9933; }
.flag-india .white-india {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ashoka-chakra {
    color: #000080;
    font-size: 16px;
}

.flag-india .green-india { background: #138808; }

/* China Flag - Red with large star and 4 smaller stars */
.flag-china {
    background: #de2910;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 8px 10px;
}

.flag-china .stars {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.flag-china .stars::before {
    content: '★';
    color: #ffde00;
    font-size: 18px;
}

.flag-china .stars::after {
    content: '★ ★ ★ ★';
    color: #ffde00;
    font-size: 7px;
    letter-spacing: 1px;
    margin-left: 12px;
    margin-top: -2px;
}

/* Spain Flag */
.flag-spain .red { background: #c60b1e; flex: 1; }
.flag-spain .yellow { background: #ffc400; flex: 2; }

/* Greece Flag */
.flag-greece {
    flex-direction: column;
}

.flag-greece .blue { background: #0d5eaf; flex: 1; }
.flag-greece .white { background: #ffffff; flex: 1; }

/* Korea Flag - South Korean Taegeuk with trigrams */
.flag-korea {
    background: #ffffff;
    justify-content: center;
    align-items: center;
    position: relative;
}

.taegeuk {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(to right, #c60c30 50%, #003478 50%);
    position: relative;
    transform: rotate(-45deg);
}

.taegeuk::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #c60c30;
}

.taegeuk::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #003478;
}

/* Korea trigrams positioned in corners */
.trigrams {
    display: none;
}

.flag-korea::before,
.flag-korea::after {
    content: '';
    position: absolute;
    font-size: 6px;
    color: #000;
}

.flag-korea::before {
    top: 8px;
    left: 8px;
    content: '☰';
}

.flag-korea::after {
    bottom: 8px;
    right: 8px;
    content: '☷';
}

/* Turkey Flag - Red with white crescent and star */
.flag-turkey {
    background: #e30a17;
    justify-content: center;
    align-items: center;
    position: relative;
}

.turkey-symbol {
    display: flex;
    align-items: center;
    gap: 2px;
}

.turkey-symbol::before {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: transparent;
    box-shadow: -3px 0 0 0 #ffffff;
}

.turkey-symbol::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 8px solid #ffffff;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    transform: rotate(-45deg);
    margin-left: 2px;
}

/* Brazil Flag - Green with yellow diamond and blue circle */
.flag-brazil {
    background: #009c3b;
    justify-content: center;
    align-items: center;
    position: relative;
}

.brazil-diamond {
    width: 60px;
    height: 35px;
    background: #ffdf00;
    transform: rotate(0deg);
    position: relative;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.brazil-diamond::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35px;
    height: 22px;
    background: #002776;
    border-radius: 50%;
}

.country-name {
    font-weight: 600;
    color: var(--charcoal);
    font-size: 0.95rem;
    z-index: 1;
}

.famous-dish {
    font-size: 0.8rem;
    color: var(--coral);
    font-family: var(--font-script);
    z-index: 1;
}

/* ===== Diet Preferences Section ===== */
.diets-section {
    padding: var(--spacing-xl) var(--spacing-md);
    background: linear-gradient(180deg, var(--white) 0%, var(--pastel-mint) 100%);
    position: relative;
}

.diets-container {
    max-width: 900px;
    margin: 0 auto;
}

.pie-chart-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.pie-chart {
    width: 300px;
    height: 300px;
    transform: rotate(-90deg);
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
    overflow: visible;
}

.pie-slice {
    fill: none;
    stroke-width: 100;
    stroke-dasharray: 0 628.32;
    transition: stroke-dasharray 1.5s ease-out;
    transform-origin: center;
}

/* Slice colors and positions (circumference = 2 * PI * 100 = 628.32) */
/* Keto: 15% = 94.25 */
/* Vegetarian: 20% = 125.66 */
/* Sweet: 25% = 157.08 */
/* Savory: 25% = 157.08 */
/* Carbos: 15% = 94.25 */

.slice-keto {
    stroke: #ff6b6b;
    stroke-dashoffset: 0;
}

.slice-vegetarian {
    stroke: #1dd1a1;
    stroke-dashoffset: -94.25;
}

.slice-sweet {
    stroke: #feca57;
    stroke-dashoffset: -219.91;
}

.slice-savory {
    stroke: #54a0ff;
    stroke-dashoffset: -376.99;
}

.slice-carbos {
    stroke: #ff9ff3;
    stroke-dashoffset: -534.07;
}

/* Animated state - triggered by JS or on load */
.pie-chart.animate .slice-keto {
    stroke-dasharray: 94.25 628.32;
}

.pie-chart.animate .slice-vegetarian {
    stroke-dasharray: 125.66 628.32;
}

.pie-chart.animate .slice-sweet {
    stroke-dasharray: 157.08 628.32;
}

.pie-chart.animate .slice-savory {
    stroke-dasharray: 157.08 628.32;
}

.pie-chart.animate .slice-carbos {
    stroke-dasharray: 94.25 628.32;
}

/* Hover effects on slices */
.pie-slice:hover {
    opacity: 0.8;
    cursor: pointer;
}

/* Legend styles */
.pie-legend {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    cursor: pointer;
}

.legend-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
}

.legend-color.keto { background: #ff6b6b; }
.legend-color.vegetarian { background: #1dd1a1; }
.legend-color.sweet { background: #feca57; }
.legend-color.savory { background: #54a0ff; }
.legend-color.carbos { background: #ff9ff3; }

.legend-label {
    font-weight: 500;
    color: var(--charcoal);
    flex: 1;
}

.legend-percent {
    font-weight: 600;
    color: var(--gray-dark);
    font-size: 0.9rem;
}

/* Legend item highlight on hover */
.legend-item:hover .legend-color {
    transform: scale(1.2);
}

.legend-item:hover .legend-percent {
    color: var(--coral);
}

/* ===== Slideshow Section ===== */
.slideshow-section {
    padding: var(--spacing-xl) var(--spacing-md);
    background: linear-gradient(180deg, var(--white) 0%, var(--pastel-peach) 100%);
}

.slideshow-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.slideshow-wrapper {
    position: relative;
    height: 400px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slide-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    filter: brightness(0.95);
}

.slide-emoji {
    font-size: 8rem;
    z-index: 1;
    animation: pulse 3s ease-in-out infinite;
    filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.2));
}

.slide-content {
    flex: 1;
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--charcoal);
    margin-bottom: var(--spacing-xs);
}

.slide-origin {
    font-family: var(--font-script);
    color: var(--coral);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
}

.slide-description {
    color: var(--gray-dark);
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}

.slide-meta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.meta-item {
    font-size: 0.9rem;
    color: var(--gray-dark);
    background: var(--off-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
}

.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--coral);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.slide-nav:hover {
    background: var(--coral);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.slide-nav.prev { left: 10px; }
.slide-nav.next { right: 10px; }

.slide-dots {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-md);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-light);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--coral);
    transform: scale(1.3);
}

.dot:hover {
    background: var(--coral-light);
}

/* ===== About Section ===== */
.about-section {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--gradient-forest);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-content {
    color: var(--white);
}

.about-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-md);
}

.about-title .highlight {
    color: var(--pastel-peach);
}

.about-title .highlight::after {
    background: rgba(255, 255, 255, 0.3);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

.stats-container {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    min-width: 120px;
}

.stat-number {
    display: block;
    font-family: var(--font-bold);
    font-size: 2.5rem;
    color: var(--pastel-peach);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-frame {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    backdrop-filter: blur(10px);
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-lg);
}

.frame-emoji {
    font-size: 10rem;
    animation: wave 2s ease-in-out infinite;
}

/* ===== Signup Section ===== */
.signup-section {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.signup-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.signup-content {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    z-index: 2;
}

.signup-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--charcoal);
    margin-bottom: var(--spacing-xs);
}

.signup-title .highlight::after {
    background: var(--pastel-mint);
}

.signup-subtitle {
    color: var(--gray-dark);
    margin-bottom: var(--spacing-md);
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    max-width: 400px;
    margin: 0 auto;
}

.form-group {
    position: relative;
}

.form-group input {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-sm);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: all 0.3s ease;
    background: var(--off-white);
}

.form-group input:focus {
    outline: none;
    border-color: var(--mint);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(29, 209, 161, 0.2);
}

.form-group label {
    position: absolute;
    left: var(--spacing-sm);
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    pointer-events: none;
    transition: all 0.3s ease;
    opacity: 0;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
    top: 0;
    transform: translateY(-50%);
    font-size: 0.75rem;
    background: var(--white);
    padding: 0 0.5rem;
    color: var(--mint);
    opacity: 1;
}

.submit-btn {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--gradient-warm);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover .btn-shine {
    left: 100%;
}

.form-disclaimer {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: var(--spacing-sm);
}

.signup-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
}

.deco-circle.c1 {
    width: 200px;
    height: 200px;
    background: var(--pastel-coral);
    top: -50px;
    right: -50px;
}

.deco-circle.c2 {
    width: 150px;
    height: 150px;
    background: var(--pastel-mint);
    bottom: -30px;
    left: -30px;
}

.deco-circle.c3 {
    width: 100px;
    height: 100px;
    background: var(--pastel-sky);
    top: 50%;
    right: -20px;
}

.deco-emoji {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.8;
    animation: float 4s ease-in-out infinite;
}

.deco-emoji.e1 { top: 20%; left: 10%; animation-delay: 0s; }
.deco-emoji.e2 { bottom: 20%; right: 10%; animation-delay: 1s; }
.deco-emoji.e3 { top: 60%; left: 5%; animation-delay: 2s; }

/* ===== Footer ===== */
.footer {
    background: var(--charcoal);
    color: var(--white);
    padding: var(--spacing-lg) var(--spacing-md) var(--spacing-sm);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-family: var(--font-accent);
    font-size: 1.5rem;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--gray);
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--coral);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.footer-social a:hover {
    transform: scale(1.2);
}

.copyright {
    text-align: center;
    padding-top: var(--spacing-sm);
    font-size: 0.9rem;
    color: var(--gray);
}

/* ===== Chef Avatar ===== */
.chef-avatar {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--spacing-xs);
}

.chef-bubble {
    background: var(--white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    max-width: 250px;
    position: relative;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: var(--charcoal);
}

.chef-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 30px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--white);
}

.chef-bubble.visible {
    opacity: 1;
    transform: translateY(0);
}

.chef-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 3px solid var(--white);
}

.chef-icon:hover {
    transform: scale(1.1);
}

.chef-emoji {
    font-size: 2rem;
}

/* ===== Modal ===== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 400px;
    margin: var(--spacing-md);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-emoji {
    font-size: 4rem;
    display: block;
    margin-bottom: var(--spacing-sm);
}

.modal-content h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--charcoal);
    margin-bottom: var(--spacing-xs);
}

.modal-content p {
    color: var(--gray-dark);
    margin-bottom: var(--spacing-md);
}

.modal-close {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--gradient-warm);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== Animations ===== */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes wave {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        order: -1;
    }

    .image-frame {
        width: 250px;
        height: 250px;
    }

    .frame-emoji {
        font-size: 8rem;
    }

    .stats-container {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: var(--spacing-lg);
        gap: var(--spacing-sm);
        transition: right 0.3s ease;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--charcoal);
        font-size: 1.2rem;
    }

    .pie-chart-wrapper {
        flex-direction: column;
    }

    .pie-chart {
        width: 240px;
        height: 240px;
    }

    .pie-legend {
        width: 100%;
        max-width: 280px;
    }

    .slideshow-wrapper {
        height: auto;
        min-height: 500px;
    }

    .slide {
        flex-direction: column;
    }

    .slide-image {
        min-height: 200px;
    }

    .slide-content {
        padding: var(--spacing-sm);
    }

    .slide-nav {
        width: 40px;
        height: 40px;
    }

    .slide-nav.prev { left: 10px; }
    .slide-nav.next { right: 10px; }

    .flags-container {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .flag {
        width: 80px;
        height: 50px;
    }

    .chef-avatar {
        bottom: 10px;
        right: 10px;
    }

    .chef-icon {
        width: 50px;
        height: 50px;
    }

    .chef-emoji {
        font-size: 1.5rem;
    }

    .chef-bubble {
        max-width: 200px;
        font-size: 0.8rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .signup-content {
        padding: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .title-highlight {
        font-size: 1.1em;
    }

    .cta-button {
        padding: var(--spacing-sm);
        font-size: 1rem;
    }

    .slide-emoji {
        font-size: 5rem;
    }

    .slide-title {
        font-size: 1.5rem;
    }

    .slide-meta {
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .stat-item {
        min-width: 100px;
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .stat-number {
        font-size: 2rem;
    }

    .flags-container {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-sm);
    }

    .flag-card {
        padding: var(--spacing-xs);
    }

    .country-name {
        font-size: 0.8rem;
    }

    .famous-dish {
        font-size: 0.7rem;
    }
}
