/* ===================================
   SWEET DELIGHTS BAKERY - MAIN STYLES
   Single Page Parallax Website
   =================================== */

/* CSS Variables - Design Tokens */
:root {
    /* Colors - Pink Theme */
    --primary: #e84a7f;
    --primary-light: #f06292;
    --primary-dark: #c2185b;
    --secondary: #ff8fab;
    --accent: #ffc1cc;

    /* Neutrals */
    --white: #ffffff;
    --cream: #fff9f9;
    --light-pink: #fff0f3;
    --gray-100: #faf5f7;
    --gray-200: #f5eef1;
    --gray-300: #e8dce2;
    --gray-400: #c4b5bd;
    --gray-500: #8c7e85;
    --gray-600: #6b5c63;
    --gray-700: #4a3d42;
    --gray-800: #2d2328;
    --dark: #1a1317;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #e84a7f 0%, #f06292 50%, #ff8fab 100%);
    --gradient-soft: linear-gradient(180deg, #fff0f3 0%, #ffffff 100%);
    --gradient-hero: linear-gradient(135deg, #fff9f9 0%, #ffe4ec 50%, #ffd6e0 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(232, 74, 127, 0.9) 0%, rgba(194, 24, 91, 0.95) 100%);

    /* Typography */

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 100px;
    --container-padding: 20px;

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

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(232, 74, 127, 0.08);
    --shadow-md: 0 4px 20px rgba(232, 74, 127, 0.12);
    --shadow-lg: 0 8px 40px rgba(232, 74, 127, 0.16);
    --shadow-xl: 0 16px 60px rgba(232, 74, 127, 0.2);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.highlight {
    font-family: 'Dancing Script', cursive;
    font-size: 1.0em;
    color: var(--primary);
    position: relative;
}

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

/* ===================================
   FLOATING DECORATIVE ELEMENTS
   =================================== */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.float-item {
    position: absolute;
    font-size: 2rem;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.float-item:nth-child(odd) {
    animation-delay: -3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.logo-icon {
    font-size: 2.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-600);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-base);
    border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

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

.nav-cta {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

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

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

.mobile-only {
    display: none;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition-base);
}

/* Hide scroll indicator on short screens (mobile landscape) */
@media (max-height: 500px) {
    .scroll-indicator {
        display: none;
    }
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-base);
    cursor: pointer;
}

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

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

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

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

.btn.full-width {
    width: 100%;
}

/* ===================================
   SECTION HEADERS
   =================================== */
.section-badge {
    display: inline-block;
    background: var(--light-pink);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.2;
    margin-bottom: 15px;
}

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

.section-header.light .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

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

.section-header.light p {
    color: var(--font-heading);
}

.section-header.light .highlight::after {
    background: rgba(255, 255, 255, 0.3);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 143, 171, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(232, 74, 127, 0.2) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.hero-badge {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 10px 25px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.15;
    margin-bottom: 25px;
}

/* Style for "Time for Something" text */
h1 .hero-text,
h2 .hero-text,
h3 .hero-text {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--gray-700);
    display: block;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--gray-600);
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cupcake-showcase {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
}

.main-cupcake {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floatMain 4s ease-in-out infinite;
}

@keyframes floatMain {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Outer glow ring - largest, slowest pulse */
.cupcake-glow-outer {
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255, 143, 171, 0.2) 0%, rgba(232, 74, 127, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    animation: pulseOuter 4s ease-in-out infinite;
}

@keyframes pulseOuter {

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

    50% {
        transform: scale(1.15);
        opacity: 0.7;
    }
}

/* Middle glow ring - medium size, medium speed */
.cupcake-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(232, 74, 127, 0.35) 0%, rgba(255, 143, 171, 0.2) 50%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

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

    50% {
        transform: scale(1.12);
        opacity: 0.85;
    }
}

/* Inner glow ring - smallest, fastest pulse */
.cupcake-glow-inner {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 192, 203, 0.4) 0%, rgba(232, 74, 127, 0.25) 50%, transparent 70%);
    border-radius: 50%;
    animation: pulseInner 2.5s ease-in-out infinite;
}

@keyframes pulseInner {

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

    50% {
        transform: scale(1.08);
        opacity: 0.9;
    }
}

/* Main cupcake display */
.cupcake-display {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cupcake-emoji {
    font-size: 220px;
    filter: drop-shadow(0 25px 50px rgba(232, 74, 127, 0.4));
    animation: cupcakeBounce 3s ease-in-out infinite;
}

@keyframes cupcakeBounce {

    0%,
    100% {
        transform: scale(1) rotate(-2deg);
    }

    50% {
        transform: scale(1.05) rotate(2deg);
    }
}

/* Sparkles container */
.sparkles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    font-size: 30px;
    animation: sparkleFloat 3s ease-in-out infinite;
}

/* Individual sparkle positions and animations */
.sparkle-1 {
    top: 10%;
    left: 15%;
    animation: sparkleFloat 2.5s ease-in-out infinite, twinkle 1.5s ease-in-out infinite;
}

.sparkle-2 {
    top: 15%;
    right: 20%;
    animation: sparkleFloat 3s ease-in-out infinite 0.5s, twinkle 2s ease-in-out infinite 0.3s;
    font-size: 25px;
}

.sparkle-3 {
    bottom: 20%;
    left: 10%;
    animation: sparkleFloat 2.8s ease-in-out infinite 1s, twinkle 1.8s ease-in-out infinite 0.6s;
    font-size: 28px;
}

.sparkle-4 {
    bottom: 25%;
    right: 15%;
    animation: sparkleFloat 3.2s ease-in-out infinite 1.5s, twinkle 2.2s ease-in-out infinite 0.9s;
    font-size: 32px;
}

.sparkle-5 {
    top: 50%;
    right: 5%;
    animation: sparkleFloat 2.6s ease-in-out infinite 0.8s, twinkle 1.6s ease-in-out infinite 0.4s;
    font-size: 26px;
}

@keyframes sparkleFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(180deg);
    }
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.floating-cupcakes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.mini-cupcake {
    position: absolute;
    font-size: 50px;
    animation: floatMini 5s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Top Left - Cupcake */
.mc-1 {
    top: 5%;
    left: 8%;
    animation-delay: 0s;
    font-size: 45px;
}

/* Top Right - Cake Slice */
.mc-2 {
    top: 8%;
    right: 12%;
    animation-delay: -1s;
    font-size: 55px;
}

/* Right - Donut */
.mc-3 {
    top: 40%;
    right: -5%;
    animation-delay: -2s;
    font-size: 48px;
}

/* Bottom Right - Birthday Cake */
.mc-4 {
    bottom: 12%;
    right: 8%;
    animation-delay: -2.5s;
    font-size: 52px;
}

/* Bottom Center - Strawberry */
.mc-5 {
    bottom: -3%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: -3.5s;
    font-size: 40px;
}

/* Bottom Left - Cupcake */
.mc-6 {
    bottom: 15%;
    left: 5%;
    animation-delay: -4s;
    font-size: 46px;
}

/* Left - Cherry */
.mc-7 {
    top: 35%;
    left: -8%;
    animation-delay: -1.5s;
    font-size: 42px;
}

/* Top Center - Cake Slice */
.mc-8 {
    top: -2%;
    left: 45%;
    animation-delay: -0.5s;
    font-size: 50px;
}

@keyframes floatMini {

    0%,
    100% {
        transform: translateY(0) rotate(-8deg);
    }

    50% {
        transform: translateY(-30px) rotate(8deg);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--gray-500);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(45deg);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ===================================
   FEATURES SECTION
   =================================== */
.features-section {
    padding: var(--section-padding) 0;
    background: var(--white);
    position: relative;
    z-index: 2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid var(--gray-200);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: var(--transition-base);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
    transform: scale(1.1);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about-section {
    padding: var(--section-padding) 0;
    background: var(--gradient-soft);
    position: relative;
    overflow: hidden;
}

.about-parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 192, 203, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(232, 74, 127, 0.1) 0%, transparent 40%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.frame-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary);
    border-radius: var(--radius-xl);
    z-index: -1;
}

.about-img-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    overflow: hidden;
}

.about-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--white);
    padding: 25px 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.experience-badge .years {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.about-text .section-badge {
    margin-bottom: 15px;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--gray-800);
    line-height: 1.2;
    margin-bottom: 25px;
}

.about-text .lead {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--gray-500);
    margin-bottom: 30px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 35px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ===================================
   MENU SECTION
   =================================== */
.menu-section {
    padding: var(--section-padding) 0;
    background: var(--white);
    position: relative;
    z-index: 2;
}

.menu-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--gray-600);
    background: var(--gray-100);
    transition: var(--transition-base);
}

.filter-btn:hover {
    background: var(--light-pink);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

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

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    transition: var(--transition-base);
    overflow: hidden;
}

.product-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-base);
}

.product-placeholder.pink {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
}

.product-placeholder.cream {
    background: linear-gradient(135deg, #fff8e1 0%, #ffe082 100%);
}

.product-placeholder.gold {
    background: linear-gradient(135deg, #fff3e0 0%, #ffcc80 100%);
}

.product-placeholder.brown {
    background: linear-gradient(135deg, #efebe9 0%, #d7ccc8 100%);
}

.product-placeholder.mint {
    background: linear-gradient(135deg, #e0f2f1 0%, #80cbc4 100%);
}

.product-card:hover .product-placeholder {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.product-badge.new {
    background: #4caf50;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(232, 74, 127, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view-btn {
    background: var(--white);
    color: var(--primary);
    padding: 12px 25px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transform: translateY(20px);
    transition: var(--transition-base);
}

.product-card:hover .quick-view-btn {
    transform: translateY(0);
}

.quick-view-btn:hover {
    background: var(--gray-800);
    color: var(--white);
}

.product-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.product-info p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 15px;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.add-to-cart {
    background: var(--light-pink);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition-base);
}

.add-to-cart:hover {
    background: var(--gradient-primary);
    color: var(--white);
}

.menu-cta {
    text-align: center;
    margin-top: 50px;
}

/* ===================================
   ORDER PROCESS SECTION
   =================================== */
.order-section {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.order-parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: var(--gradient-overlay);
}

.order-section .container {
    position: relative;
    z-index: 2;
}

.order-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.order-step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    padding: 30px 20px;
}

.step-number {
    font-family: var(--font-body);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 15px;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.order-step h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 10px;
}

.order-step p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.step-connector {
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    margin-top: 100px;
}

.order-cta {
    text-align: center;
    margin-top: 50px;
}

/* ===================================
   CHEF SECTION
   =================================== */
.chef-section {
    padding: var(--section-padding) 0;
    background: var(--white);
    position: relative;
    z-index: 2;
}

.chef-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.chef-info .section-badge {
    margin-bottom: 15px;
}

.chef-info h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--gray-800);
    line-height: 1.2;
    margin-bottom: 25px;
}

.chef-info .lead {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 25px;
}

.chef-info blockquote {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--gray-600);
    padding: 25px 30px;
    background: var(--light-pink);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 30px;
}

.chef-credentials {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.credential {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.credential:hover {
    background: var(--light-pink);
    transform: translateX(10px);
}

.credential .icon {
    font-size: 1.5rem;
}

.credential span:last-child {
    font-size: 0.95rem;
    color: var(--gray-700);
}

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

.chef-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.chef-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 150px;
    box-shadow: var(--shadow-xl);
}

.chef-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.chef-decoration span {
    position: absolute;
    font-size: 40px;
    animation: floatMini 5s ease-in-out infinite;
}

.chef-decoration span:nth-child(1) {
    top: 5%;
    right: -10%;
    animation-delay: 0s;
}

.chef-decoration span:nth-child(2) {
    bottom: 20%;
    left: -15%;
    animation-delay: -1.5s;
}

.chef-decoration span:nth-child(3) {
    bottom: 5%;
    right: -5%;
    animation-delay: -3s;
}

/* ===================================
   GALLERY SECTION
   =================================== */
.gallery-section {
    padding: var(--section-padding) 0;
    background: var(--gradient-soft);
    position: relative;
    z-index: 2;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    transition: var(--transition-slow);
}

.gallery-item.large .gallery-placeholder {
    font-size: 100px;
}

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 19, 23, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    transform: translateY(20px);
    transition: var(--transition-base);
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials-section {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.testimonials-parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: var(--gradient-overlay);
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    display: none;
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.testimonial-card.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stars {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.testimonial-content p {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--light-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.author-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--gray-800);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-base);
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact-section {
    background: var(--white);
    position: relative;
    z-index: 2;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: var(--section-padding) 0;
}

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--gray-800);
    line-height: 1.2;
    margin-bottom: 20px;
}

.contact-info>p {
    color: var(--gray-600);
    margin-bottom: 35px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 35px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-item .icon {
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    background: var(--light-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1rem;
    color: var(--gray-800);
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--gray-600);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition-base);
    color: var(--white);
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px);
}

.contact-form-wrapper {
    background: var(--gradient-soft);
    padding: 40px;
    border-radius: var(--radius-xl);
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gray-800);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--gray-800);
    transition: var(--transition-base);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(232, 74, 127, 0.1);
}

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

.map-section {
    height: 400px;
    background: var(--gray-100);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--gray-500);
}

.map-placeholder span {
    font-size: 4rem;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--gray-800);
    color: var(--gray-300);
    position: relative;
    z-index: 2;
}

.footer-top {
    padding: 80px 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand>p {
    margin-bottom: 30px;
    line-height: 1.8;
}

.newsletter h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 18px;
    border: none;
    border-radius: var(--radius-full);
    background: var(--gray-700);
    color: var(--white);
}

.newsletter-form input::placeholder {
    color: var(--gray-400);
}

.newsletter-form button {
    padding: 12px 25px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition-base);
}

.newsletter-form button:hover {
    transform: translateY(-2px);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

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

.footer-links a {
    color: var(--gray-400);
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 12px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    font-size: 1.3rem;
    transition: var(--transition-base);
}

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

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid var(--gray-700);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    font-size: 0.9rem;
    color: var(--gray-400);
}

.footer-bottom-links a:hover {
    color: var(--primary-light);
}

/* ===================================
   BACK TO TOP BUTTON
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-base);
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-5px);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    :root {
        --section-padding: 80px;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
        cursor: pointer;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .nav-links.mobile-open {
        transform: translateY(0);
        display: flex;
        /* Ensure it overrides the display: none */
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--gray-800);
    }

    .nav-links a::after {
        display: none;
        /* Remove underline animation on mobile */
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: var(--primary);
        transform: scale(1.1);
    }

    /* Add Order Now button to mobile menu */
    .nav-links .mobile-cta {
        display: inline-block;
        margin-top: 20px;
        background: var(--gradient-primary);
        color: white;
        padding: 12px 30px;
        border-radius: var(--radius-full);
        font-size: 1.1rem;
        box-shadow: var(--shadow-md);
    }

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text p {
        margin: 0 auto 35px;
    }

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

    .cupcake-showcase {
        max-width: 400px;
        margin: 0 auto;
    }

    .cupcake-glow-outer {
        width: 350px;
        height: 350px;
    }

    .cupcake-glow {
        width: 280px;
        height: 280px;
    }

    .cupcake-glow-inner {
        width: 200px;
        height: 200px;
    }

    .cupcake-emoji {
        font-size: 180px;
    }

    .mini-cupcake {
        font-size: 40px;
    }

    .sparkle {
        font-size: 24px;
    }


    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .about-text {
        text-align: center;
    }

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

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .step-connector {
        display: none;
    }

    .order-steps {
        gap: 10px;
    }

    .chef-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .chef-image {
        order: -1;
    }

    .chef-img-wrapper {
        max-width: 300px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2.2rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 8px 20px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .cupcake-showcase {
        max-width: 320px;
    }

    .cupcake-glow-outer {
        width: 280px;
        height: 280px;
    }

    .cupcake-glow {
        width: 220px;
        height: 220px;
    }

    .cupcake-glow-inner {
        width: 160px;
        height: 160px;
    }

    .cupcake-emoji {
        font-size: 140px;
    }

    .mini-cupcake {
        font-size: 32px;
    }

    .sparkle {
        font-size: 20px;
    }

    .scroll-indicator {
        bottom: 20px;
        font-size: 0.75rem;
    }


    /* .features-grid {
        grid-template-columns: 1fr;
    } REMOVED for single line scroll */

    .feature-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-text h2,
    .chef-info h2,
    .contact-info h2 {
        font-size: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .order-step {
        min-width: 100%;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .gallery-item.large,
    .gallery-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .testimonial-content p {
        font-size: 1.1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 90px 0 50px;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 16px;
    }

    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.25;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .btn {
        width: 100%;
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .cupcake-showcase {
        max-width: 260px;
    }

    .cupcake-glow-outer {
        width: 220px;
        height: 220px;
    }

    .cupcake-glow {
        width: 180px;
        height: 180px;
    }

    .cupcake-glow-inner {
        width: 130px;
        height: 130px;
    }

    .cupcake-emoji {
        font-size: 110px;
    }

    .mini-cupcake {
        font-size: 28px;
    }

    .sparkle {
        font-size: 18px;
    }

    .scroll-indicator {
        bottom: 15px;
        font-size: 0.7rem;
    }

    .scroll-arrow {
        width: 20px;
        height: 20px;
    }


    .cupcake-showcase {
        max-width: 300px;
    }

    .main-cupcake::after {
        font-size: 150px;
    }

    .experience-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
    }

    .menu-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .float-item {
        display: none;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {

    .navbar,
    .floating-elements,
    .scroll-indicator,
    .back-to-top,
    .parallax-bg {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 50px 0;
    }

    body {
        font-size: 12pt;
        color: #000;
    }
}

/* ===================================
   ANIMATIONS FOR SCROLL REVEAL
   =================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* ===================================
   MAP SECTION
   =================================== */
.map-section {
    margin-top: 60px;
}

.map-placeholder {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-placeholder iframe {
    display: block;
    width: 100%;
    min-height: 450px;
}

/* Responsive map */
@media (max-width: 768px) {
    .map-placeholder iframe {
        min-height: 350px;
    }
}

/* ===================================
   IMAGE LIGHTBOX
   =================================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition-base);
    z-index: 10001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.lightbox-close:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.1rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 30px;
    border-radius: var(--radius-lg);
    max-width: 80%;
}

/* Responsive lightbox */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 80%;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 40px;
        width: 40px;
        height: 40px;
    }

    .lightbox-caption {
        bottom: 15px;
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

/* ===================================
   GALLERY IMAGES
   =================================== */
.gallery-item {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ===================================
   TESTIMONIALS GRID (Facebook Comments)
   =================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-image-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-image-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.5s ease;
}

.testimonial-image-card:hover img {
    transform: scale(1.05);
}

.testimonial-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.testimonial-image-card:hover .testimonial-image-overlay {
    transform: translateY(0);
}

.testimonial-image-overlay span {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Responsive testimonials grid */
@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .testimonial-image-card img {
        height: 350px;
    }
}

/* ===================================
   TESTIMONIALS PHONE MOCKUP DESIGN
   =================================== */
.testimonials-phone-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    margin-top: 60px;
    padding: 40px 20px;
}

.phone-mockup {
    position: relative;
    z-index: 2;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 32px;
    overflow: hidden;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-bubble {
    position: absolute;
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 20px;
    max-width: 280px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    animation: float 3s ease-in-out infinite;
    z-index: 1;
}

.bubble-1 {
    top: 50px;
    left: 50px;
}

.bubble-2 {
    bottom: 100px;
    left: 30px;
    animation-delay: 1s;
}

.bubble-3 {
    top: 80px;
    right: 50px;
    animation-delay: 0.5s;
}

.bubble-4 {
    bottom: 80px;
    right: 30px;
    animation-delay: 1.5s;
}

.bubble-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.bubble-stars {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.bubble-message {
    color: white;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 500;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

@media (max-width: 992px) {
    .testimonials-phone-wrapper {
        flex-direction: column;
        gap: 30px;
        min-height: auto;
        padding: 40px 0;
    }

    .testimonial-bubble {
        position: relative;
        inset: auto !important;
        /* Resets top, right, bottom, left */
        max-width: 600px;
        width: 90%;
        margin: 0 auto;
        text-align: center;
        animation: none;
        /* Disable float animation on mobile for stability */
        transform: none !important;
    }

    .bubble-avatar {
        margin: 0 auto 10px;
    }
}

/* Cake Mockup (replaces phone) */
.cake-mockup {
    position: relative;
    z-index: 2;
    margin: 20px 0;
}

.cake-frame {
    width: 550px;
    height: 550px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    background: white;
}

.cake-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .cake-frame {
        width: 400px;
        height: 400px;
    }

    .testimonial-bubble {
        padding: 15px;
    }

    .bubble-message {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .cake-frame {
        width: 280px;
        height: 280px;
    }

    .testimonials-phone-wrapper {
        gap: 20px;
    }
}

/* ===================================
   RESPONSIVE FEATURES GRID
   =================================== */
@media (max-width: 1200px) {

    /* Reset scroll behavior if previously set */
    .features-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* 3 cols on tablet/small desktop */
        overflow-x: visible;
        padding-bottom: 0;
    }

    .feature-card {
        min-width: 0;
        margin: 0;
    }

    .features-section .container {
        padding: 0 15px;
        overflow: visible;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }

    .feature-card {
        max-width: 400px;
        margin: 0 auto;
    }
}