/* ==========================================================================
   Sugar Coated Dreams — Luxurious Pastry Atelier Experience
   A stunning, immersive design that delights and inspires
   ========================================================================= */

/* CSS Custom Properties - Refined Luxury Palette */
:root {
    /* Primary Colors - Rich & Warm */
    --primary: #c45e3e;
    --primary-light: #e8856a;
    --primary-dark: #9c4a31;
    --primary-glow: rgba(196, 94, 62, 0.35);

    /* Accent Colors - Golden Elegance */
    --gold: #d4a853;
    --gold-light: #f0d496;
    --gold-dark: #b08934;
    --gold-glow: rgba(212, 168, 83, 0.3);

    /* Neutral Palette - Cream & Chocolate */
    --cream: #fdf8f3;
    --cream-warm: #faf4eb;
    --cream-deep: #f5ede3;
    --chocolate: #2d1f17;
    --chocolate-soft: #4a3628;
    --mocha: #8b7355;
    --caramel: #c9a87c;

    /* Surfaces & Overlays */
    --surface: rgba(253, 248, 243, 0.95);
    --surface-elevated: rgba(255, 255, 255, 0.98);
    --glass: rgba(253, 248, 243, 0.88);
    --glass-strong: rgba(255, 255, 255, 0.95);
    --overlay-dark: rgba(45, 31, 23, 0.7);
    --overlay-light: rgba(253, 248, 243, 0.9);

    /* Borders & Shadows */
    --stroke: rgba(45, 31, 23, 0.08);
    --stroke-strong: rgba(45, 31, 23, 0.15);
    --shadow-sm: 0 2px 8px rgba(45, 31, 23, 0.06);
    --shadow-md: 0 8px 24px rgba(45, 31, 23, 0.08);
    --shadow-lg: 0 16px 48px rgba(45, 31, 23, 0.12);
    --shadow-xl: 0 24px 64px rgba(45, 31, 23, 0.16);
    --shadow-glow: 0 8px 32px var(--primary-glow);
    --shadow-gold: 0 8px 32px var(--gold-glow);

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #fdf8f3 0%, #faf4eb 30%, #f5ede3 60%, #fdf8f3 100%);
    --gradient-warm: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    --gradient-gold: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
    --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(253, 248, 243, 0.95) 100%);
    --gradient-section: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 50%, var(--cream) 100%);

    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Typography */
    --font-display: 'Crimson Text', 'Georgia', serif;
    --font-script: 'Dancing Script', cursive;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Transitions */
    --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 0.15s;
    --duration-normal: 0.3s;
    --duration-slow: 0.5s;

    /* Layout */
    --max-width: 1200px;
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: var(--nav-height);
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--chocolate);
    background: var(--cream);
    overflow-x: hidden;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Elegant Page Background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 20%, rgba(196, 94, 62, 0.08), transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 30%, rgba(212, 168, 83, 0.06), transparent 45%),
        radial-gradient(ellipse 70% 50% at 70% 80%, rgba(139, 115, 85, 0.05), transparent 50%);
    pointer-events: none;
    z-index: -2;
}

/* Subtle Texture Overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)' opacity='0.015'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--chocolate);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}

img {
    display: block;
}

::selection {
    background: rgba(196, 94, 62, 0.2);
    color: var(--chocolate);
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Navigation - Elegant Glass Header
   ========================================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--stroke);
    transition: all var(--duration-normal) var(--ease-out);
}

.navbar.scrolled {
    background: var(--glass-strong);
    box-shadow: var(--shadow-md);
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.nav-logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-logo h2 {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.nav-subtitle {
    font-size: 0.75rem;
    color: var(--mocha);
    letter-spacing: 0.5px;
    display: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    padding: 0.625rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--chocolate-soft);
    border-radius: var(--radius-full);
    transition: all var(--duration-fast) var(--ease-out);
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-warm);
    border-radius: var(--radius-full);
    transform: translateX(-50%);
    transition: width var(--duration-fast) var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(196, 94, 62, 0.08);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 24px;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    cursor: pointer;
    border-radius: var(--radius-md);
    background: transparent;
    border: 1px solid transparent;
    transition: all var(--duration-fast) var(--ease-out);
}

.nav-toggle:hover {
    background: rgba(196, 94, 62, 0.08);
    border-color: var(--stroke);
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--chocolate);
    border-radius: var(--radius-full);
    transition: all var(--duration-normal) var(--ease-out);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   Hero Section - Dramatic & Immersive
   ========================================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-2xl);
    overflow: hidden;
    background: var(--gradient-hero);
}

/* Animated Background Orbs */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float-orb 20s ease-in-out infinite;
}

.hero::before {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(196, 94, 62, 0.25), transparent 70%);
    top: -150px;
    left: -100px;
    animation-delay: 0s;
}

.hero::after {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.2), transparent 70%);
    bottom: -100px;
    right: -50px;
    animation-delay: -10s;
}

@keyframes float-orb {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -20px) scale(1.05);
    }

    50% {
        transform: translate(10px, 20px) scale(0.95);
    }

    75% {
        transform: translate(-20px, 10px) scale(1.02);
    }
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-2xl);
    align-items: center;
}

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

/* Enhanced Pill Badge */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    width: fit-content;
    background: var(--surface-elevated);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--chocolate-soft);
    box-shadow: var(--shadow-sm);
}

.pill i {
    width: 8px;
    height: 8px;
    background: var(--gradient-warm);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--primary-glow);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 8px var(--primary-glow);
    }

    50% {
        box-shadow: 0 0 16px var(--primary-glow), 0 0 24px var(--primary-glow);
    }
}

/* Hero Title - Stunning Typography */
.hero-title {
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.hero-title strong {
    display: block;
    font-family: var(--font-script);
    font-weight: 700;
    font-size: 0.85em;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 4px;
}

.hero-subtitle {
    text-align: justify;
    font-size: 1.1rem;
    color: var(--mocha);
    max-width: 540px;
    line-height: 1.7;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-xs);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s var(--ease-out);
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: var(--gradient-warm);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px var(--primary-glow);
}

.btn-secondary {
    background: var(--surface-elevated);
    color: var(--chocolate);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: white;
    border-color: var(--stroke-strong);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Meta Cards */
.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.meta-card {
    padding: var(--space-md);
    background: var(--surface-elevated);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-normal) var(--ease-out);
}

.meta-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--stroke-strong);
}

.meta-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--chocolate);
}

.meta-card span {
    font-size: 0.85rem;
    color: var(--mocha);
    line-height: 1.4;
}

/* Hero Image Section */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Decorative Ring Behind Photo */
.hero-image::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 2px dashed var(--caramel);
    border-radius: 50%;
    opacity: 0.4;
    animation: rotate-slow 60s linear infinite;
}

@keyframes rotate-slow {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.chef-profile-photo {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
    transition: transform var(--duration-slow) var(--ease-out);
}

/* Floating Chips */
.hero-chip {
    position: absolute;
    padding: 12px 18px;
    background: var(--surface-elevated);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--chocolate);
    box-shadow: var(--shadow-md);
    z-index: 3;
    max-width: 200px;
    animation: float-chip 6s ease-in-out infinite;
}

.hero-chip:first-of-type {
    top: 10%;
    right: -20px;
    transform: rotate(2deg);
}

.hero-chip.secondary {
    bottom: 15%;
    left: -20px;
    background: var(--gradient-warm);
    color: white;
    border: none;
    box-shadow: var(--shadow-glow);
    transform: rotate(-2deg);
    animation-delay: -3s;
}

@keyframes float-chip {

    0%,
    100% {
        transform: translateY(0) rotate(var(--rotation, 2deg));
    }

    50% {
        transform: translateY(-10px) rotate(var(--rotation, 2deg));
    }
}

/* Orbiting Dessert Elements (Mobile) */
.orbit-container {
    position: absolute;
    width: 400px;
    height: 400px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 3;
}

.orbit-item {
    position: absolute;
    left: calc(50% - 1rem);
    top: calc(50% - 1rem);
    width: 2rem;
    height: 2rem;
    font-size: 2rem;
    line-height: 1;
    text-align: center;
    animation: orbit 10s linear infinite;
    animation-delay: var(--orbit-delay, 0s);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateY(-200px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateY(-200px) rotate(-360deg);
    }
}

/* Visibility utility classes */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* ==========================================================================
   Section Styling - Elegant Dividers & Spacing
   ========================================================================= */
section {
    position: relative;
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-sm);
    position: relative;
}

/* Decorative Line Under Title */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gradient-warm);
    border-radius: var(--radius-full);
    margin: var(--space-md) auto 0;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--mocha);
    line-height: 1.7;
}

/* Decorative Elements */
.floral-accent {
    position: absolute;
    font-size: 3rem;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.floral-accent.top-left {
    top: var(--space-xl);
    left: var(--space-xl);
}

.floral-accent.top-right {
    top: var(--space-xl);
    right: var(--space-xl);
}

.floral-accent.bottom-left {
    bottom: var(--space-xl);
    left: var(--space-xl);
}

.floral-accent.bottom-right {
    bottom: var(--space-xl);
    right: var(--space-xl);
}

.recipe-note {
    position: absolute;
    padding: 10px 16px;
    background: var(--surface-elevated);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-sm);
    font-family: var(--font-script);
    font-size: 1rem;
    color: var(--mocha);
    box-shadow: var(--shadow-sm);
    pointer-events: none;
    z-index: 1;
    opacity: 0.9;
}

/* ==========================================================================
   About Section
   ========================================================================= */
.about {
    background: var(--gradient-section);
}

.about-content {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: var(--space-xl);
    align-items: start;
}

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

.story-content {
    background: var(--surface-elevated);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
}

.story-content h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: var(--space-xs);
    margin-top: var(--space-md);
}

.story-content h3:first-child {
    margin-top: 0;
}

.story-content p {
    color: var(--chocolate-soft);
    line-height: 1.8;
}

.expertise-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.expertise-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: var(--space-md);
    background: var(--surface-elevated);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.expertise-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-warm);
    border-radius: var(--radius-full);
}

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

.expertise-item h4 {
    font-size: 1.05rem;
    color: var(--chocolate);
}

.expertise-item p {
    font-size: 0.9rem;
    color: var(--mocha);
    margin: 0;
}

.about-image {
    position: sticky;
    top: calc(var(--nav-height) + var(--space-lg));
}

/* ==========================================================================
   Portfolio Section - Stunning Cards
   ========================================================================= */
.portfolio {
    background: var(--cream);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.portfolio-item {
    background: var(--surface-elevated);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: var(--gradient-warm);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-out);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

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

/* Portfolio Image Placeholder */
.portfolio-item .dish-image-placeholder,
.portfolio-item>div:first-child:empty {
    height: 200px;
    background:
        linear-gradient(135deg, rgba(196, 94, 62, 0.15), rgba(212, 168, 83, 0.1)),
        repeating-linear-gradient(45deg,
            var(--cream-deep) 0px,
            var(--cream-deep) 10px,
            var(--cream-warm) 10px,
            var(--cream-warm) 20px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.portfolio-item .dish-image-placeholder::after,
.portfolio-item>div:first-child:empty::after {
    content: '🧁';
    font-size: 3rem;
    opacity: 0.3;
}

.dish-info {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dish-info h3 {
    font-size: 1.2rem;
    color: var(--chocolate);
}

.dish-info p {
    font-size: 0.9rem;
    color: var(--mocha);
    line-height: 1.6;
}

.dish-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.dish-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.tag {
    display: inline-flex;
    padding: 6px 12px;
    background: rgba(196, 94, 62, 0.1);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: var(--radius-full);
}

/* ==========================================================================
   Services Section
   ========================================================================= */
.services {
    background: var(--gradient-section);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-lg);
}

.service-card {
    background: var(--surface-elevated);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-warm);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--duration-normal) var(--ease-out);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    display: block;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
    color: var(--chocolate);
}

.service-card>p {
    font-size: 0.95rem;
    color: var(--mocha);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-card li {
    font-size: 0.9rem;
    color: var(--chocolate-soft);
    padding-left: 20px;
    position: relative;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* ==========================================================================
   Gallery Section
   ========================================================================= */
.gallery {
    background: var(--cream);
}

.gallery-grid {
    column-count: 4;
    column-gap: var(--space-sm);
}

.gallery-item {
    background:
        linear-gradient(135deg, rgba(196, 94, 62, 0.12), rgba(212, 168, 83, 0.08)),
        var(--cream-warm);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    break-inside: avoid;
    margin-bottom: var(--space-sm);
}

.gallery-item:not(.loaded)::before {
    content: '📷';
    font-size: 2rem;
    opacity: 0.2;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

/* Remove grid-specific classes - not needed with masonry layout */
.gallery-item.large,
.gallery-item.wide {
    /* Classes kept for backwards compatibility but no special sizing */
}

/* Image sizing within gallery containers - natural dimensions */
.gallery-item img {
    display: block;
    width: 100%;
    height: auto;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================= */
.testimonials {
    background: var(--gradient-section);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
}

.testimonial-card {
    background: var(--surface-elevated);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all var(--duration-normal) var(--ease-out);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Large Quote Mark */
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: var(--space-sm);
    left: var(--space-md);
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 1;
    color: var(--primary);
    opacity: 0.15;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    margin-bottom: var(--space-md);
}

.testimonial-content p {
    font-size: 1rem;
    font-style: italic;
    color: var(--chocolate-soft);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--stroke);
}

/* Author Avatar */
.testimonial-author::before {
    content: '';
    width: 48px;
    height: 48px;
    background: var(--gradient-warm);
    border-radius: 50%;
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 1rem;
    color: var(--chocolate);
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--mocha);
}

/* ==========================================================================
   Contact Section
   ========================================================================= */
.contact {
    background: var(--cream);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-xl);
    align-items: start;
}

.contact-item h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--chocolate);
}

.contact-item>p {
    font-size: 1rem;
    color: var(--mocha);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.contact-details {
    margin-bottom: var(--space-lg);
}

.contact-details p {
    font-size: 0.95rem;
    color: var(--chocolate-soft);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-details strong {
    color: var(--chocolate);
    min-width: 70px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.social-link {
    padding: 10px 18px;
    background: var(--surface-elevated);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--chocolate-soft);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-normal) var(--ease-out);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Contact Form */
.contact-form {
    background: var(--surface-elevated);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--chocolate);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--chocolate);
    background: var(--cream);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    transition: all var(--duration-fast) var(--ease-out);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--mocha);
    opacity: 0.7;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a3628' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* ==========================================================================
   Footer
   ========================================================================= */
.footer {
    background: var(--chocolate);
    color: var(--cream);
    padding: var(--space-xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.footer-logo h3 {
    font-family: var(--font-script);
    font-size: 1.75rem;
    color: var(--gold-light);
    margin-bottom: var(--space-xs);
}

.footer-logo p {
    font-size: 0.9rem;
    color: var(--caramel);
    opacity: 0.8;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--cream);
    opacity: 0.8;
    transition: all var(--duration-fast) var(--ease-out);
    width: fit-content;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--gold-light);
    transform: translateX(4px);
}

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

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(253, 248, 243, 0.1);
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    transition: all var(--duration-normal) var(--ease-out);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(253, 248, 243, 0.1);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--caramel);
    opacity: 0.7;
}

/* ==========================================================================
   Scroll Progress Indicator
   ========================================================================= */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-warm);
    z-index: 1001;
    transition: width 0.1s linear;
}

/* ==========================================================================
   Back to Top Button
   ========================================================================= */
.back-to-top {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 50px;
    height: 50px;
    background: var(--gradient-warm);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-glow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--duration-normal) var(--ease-out);
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 12px 40px var(--primary-glow);
}

/* ==========================================================================
   Animations
   ========================================================================= */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.8s var(--ease-out),
        transform 0.8s var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="left"] {
    transform: translateX(-40px);
}

[data-animate="left"].is-visible {
    transform: translateX(0);
}

[data-animate="right"] {
    transform: translateX(40px);
}

[data-animate="right"].is-visible {
    transform: translateX(0);
}

[data-animate="scale"] {
    transform: scale(0.9);
}

[data-animate="scale"].is-visible {
    transform: scale(1);
}

[data-animate="fade"] {
    transform: none;
}

/* Counter Animation */
.counter {
    display: inline-block;
}

/* ==========================================================================
   Mobile Responsive Styles
   ========================================================================= */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --nav-height: 70px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }

    .hero-text {
        order: 2;
        align-items: center;
    }

    .hero-image {
        order: 1;
        flex-direction: column;
        overflow: visible;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .chef-profile-photo {
        margin: 0 auto;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-meta {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .meta-card {
        text-align: center;
    }

    /* Toggle visibility for mobile/desktop elements */
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    /* Center the decorative ring - smaller and faster on tablet */
    .hero-image::before {
        width: 320px;
        height: 320px;
        animation: rotate-slow 15s linear infinite;
    }

    /* Orbiting elements for tablet - match the dashed circle */
    .orbit-container {
        width: 320px;
        height: 320px;
    }

    .orbit-item {
        font-size: 1.75rem;
        left: calc(50% - 0.875rem);
        top: calc(50% - 0.875rem);
        width: 1.75rem;
        height: 1.75rem;
        animation: orbit 8s linear infinite;
        animation-delay: var(--orbit-delay, 0s);
    }

    @keyframes orbit {
        0% {
            transform: rotate(0deg) translateY(-160px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateY(-160px) rotate(-360deg);
        }
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        position: relative;
        top: 0;
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-lg);
    }

    .footer-links,
    .footer-social {
        justify-content: center;
    }

    .gallery-grid {
        column-count: 3;
    }
}

/* Mobile Navigation */
@media (max-width: 900px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu.mobile {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--glass-strong);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--stroke);
        padding: var(--space-md);
        box-shadow: var(--shadow-lg);
        gap: 4px;
    }

    .nav-menu.mobile .nav-link {
        padding: var(--space-md);
        text-align: center;
        font-size: 1rem;
        border-radius: var(--radius-md);
    }

    .nav-menu.mobile .nav-link::before {
        display: none;
    }
}

/* Small Mobile */
@media (max-width: 640px) {
    :root {
        --space-3xl: 5rem;
        --space-2xl: 4rem;
        --space-xl: 3rem;
    }

    .container {
        padding: 0 var(--space-sm);
    }

    .hero {
        padding-top: calc(var(--nav-height) + var(--space-lg));
        padding-bottom: var(--space-xl);
        overflow-x: hidden;
    }

    .hero-content {
        gap: var(--space-md);
    }

    .hero-image {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero-image::before {
        width: 280px;
        height: 280px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 var(--space-xs);
    }

    .chef-profile-photo {
        max-width: 260px;
    }

    .pill {
        font-size: 0.75rem;
        padding: 8px 12px;
        text-align: center;
        max-width: 100%;
        line-height: 1.4;
    }

    /* Smaller and faster orbit on small mobile - match the dashed circle */
    .hero-image::before {
        width: 280px;
        height: 280px;
        animation: rotate-slow 12s linear infinite;
    }

    .orbit-container {
        width: 280px;
        height: 280px;
    }

    .orbit-item {
        font-size: 1.5rem;
        left: calc(50% - 0.75rem);
        top: calc(50% - 0.75rem);
        width: 1.5rem;
        height: 1.5rem;
        animation: orbit 6s linear infinite;
        animation-delay: var(--orbit-delay, 0s);
    }

    @keyframes orbit {
        0% {
            transform: rotate(0deg) translateY(-140px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateY(-140px) rotate(-360deg);
        }
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 20px;
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-meta {
        padding: 0 var(--space-xs);
    }

    .meta-card {
        padding: var(--space-sm);
    }

    .meta-card h4 {
        font-size: 1rem;
    }

    .meta-card span {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        padding: 0 var(--space-xs);
    }

    .portfolio-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        column-count: 2;
    }

    .floral-accent,
    .recipe-note {
        display: none;
    }

    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: var(--space-md);
        right: var(--space-md);
    }

    .story-content,
    .contact-form {
        padding: var(--space-md);
    }

    .expertise-item {
        padding: var(--space-sm);
    }

    .service-card {
        padding: var(--space-md);
    }

    .testimonial-card {
        padding: var(--space-md);
    }

    .contact-item h3 {
        font-size: 1.25rem;
    }

    /* Form touch-friendly sizing */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        /* Prevents iOS zoom */
        padding: 16px;
    }

    /* Footer mobile */
    .footer-logo h3 {
        font-size: 1.5rem;
    }

    .footer-logo p {
        font-size: 0.85rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {

    .btn:hover,
    .portfolio-item:hover,
    .service-card:hover,
    .testimonial-card:hover,
    .gallery-item:hover,
    .meta-card:hover,
    .expertise-item:hover {
        transform: none;
    }

    .btn:active,
    .portfolio-item:active,
    .service-card:active {
        transform: scale(0.98);
    }

    .service-card::after,
    .portfolio-item::before {
        display: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --stroke: rgba(45, 31, 23, 0.3);
        --stroke-strong: rgba(45, 31, 23, 0.5);
    }

    .btn-primary {
        border: 2px solid var(--chocolate);
    }
}

/* Print Styles */
@media print {

    .navbar,
    .back-to-top,
    .scroll-progress {
        display: none;
    }

    body {
        background: white;
    }

    section {
        page-break-inside: avoid;
    }
}