/* =============================================
   HINDUOCAKES — MASTER STYLESHEET
   ============================================= */

/* --- Variables --- */
:root {
    --primary: #C0392B;
    --primary-light: #E74C3C;
    --primary-dark: #7B1414;
    --gold: #D4AC0D;
    --gold-light: #F0C300;
    --amber: #E67E22;
    --cream: #FEF6EC;
    --cream-dark: #FDEBD0;
    --hero-dark: #180606;
    --hero-mid: #3D0C0C;
    --section-dark: #1C0A0A;
    --text: #1A1A1A;
    --text-muted: #6B6B6B;
    --white: #FFFFFF;
    --shadow: 0 8px 32px rgba(192, 57, 43, 0.18);
    --shadow-hover: 0 24px 64px rgba(192, 57, 43, 0.38);
    --radius: 20px;
    --radius-sm: 12px;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--white);
    color: var(--text);
    overflow-x: hidden;
}

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

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

/* =============================================
   LOADER
   ============================================= */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(160deg, #0D0303 0%, #2A0808 50%, #4A1010 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 9999;
    padding: 1rem;
    transition: opacity 0.6s, visibility 0.6s;
}
.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader-cake {
    font-size: clamp(2.5rem, 10vw, 4rem);
    line-height: 1;
    animation: bounceCake 0.8s infinite alternate;
}
.loader-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    color: var(--primary);
    margin-top: 1rem;
    white-space: nowrap;
    font-weight: 700;
    letter-spacing: 1px;
}
.loader-dots span {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gold);
    margin: 0 4px;
    animation: dotBounce 1s infinite;
}
.loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.loader-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounceCake {
    from { transform: translateY(0) rotate(-5deg); }
    to   { transform: translateY(-20px) rotate(5deg); }
}
@keyframes dotBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40%           { transform: scale(1.2); opacity: 1; }
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 5%;
    background: rgba(24, 6, 6, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(212, 172, 13, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}
.navbar.scrolled {
    padding: 0.6rem 5%;
    background: rgba(24, 6, 6, 0.98);
    box-shadow: 0 6px 40px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}
.navbar-brand span {
    color: var(--gold-light);
}
.navbar-brand .sparkle {
    display: inline-block;
    animation: sparkleRotate 3s infinite;
}
@keyframes sparkleRotate {
    0%,100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-15deg) scale(1.2); }
    75% { transform: rotate(15deg) scale(1.2); }
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nav-links a {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.nav-links a:hover {
    background: rgba(212, 172, 13, 0.15);
    color: var(--gold-light);
}
.nav-links a.nav-wa-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    font-weight: 600;
    padding: 0.5rem 1.2rem;
}
.nav-links a.nav-wa-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--gold-light);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =============================================
   HERO
   ============================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 7rem 2rem 4rem;
    background: linear-gradient(
        160deg,
        #0D0303 0%,
        #2A0808 25%,
        #4A1010 55%,
        #6B1818 80%,
        #8B2020 100%
    );
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(230, 126, 34, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 172, 13, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(192, 57, 43, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* Floating shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    pointer-events: none;
}
.s1 { width: 300px; height: 300px; background: var(--primary); top: -100px; left: -100px; animation: float1 8s infinite ease-in-out; }
.s2 { width: 200px; height: 200px; background: var(--gold); bottom: -80px; right: -80px; animation: float2 6s infinite ease-in-out; }
.s3 { width: 150px; height: 150px; background: var(--primary-light); top: 50%; right: 5%; animation: float3 7s infinite ease-in-out; }
.s4 { width: 100px; height: 100px; background: var(--gold-light); bottom: 10%; left: 5%; animation: float1 9s infinite ease-in-out reverse; }
.s5 { width: 80px; height: 80px; background: var(--primary); top: 20%; left: 15%; animation: float2 5s infinite ease-in-out; }

@keyframes float1 { 0%,100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(20px,-30px) rotate(10deg); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(-15px,20px) rotate(-10deg); } }
@keyframes float3 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-25px); } }

/* Hero emoji decorations */
.hero-deco {
    position: absolute;
    font-size: 2.5rem;
    pointer-events: none;
    animation: floatDeco 4s infinite ease-in-out;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}
.d1 { top: 15%; left: 8%; animation-delay: 0s; font-size: 3rem; }
.d2 { top: 25%; right: 10%; animation-delay: 1s; }
.d3 { bottom: 20%; left: 12%; animation-delay: 2s; }
.d4 { bottom: 25%; right: 8%; animation-delay: 0.5s; font-size: 2rem; }
@keyframes floatDeco {
    0%,100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(8deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    animation: heroEntrance 1s ease-out;
}
@keyframes heroEntrance {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 172, 13, 0.18);
    border: 1px solid rgba(212, 172, 13, 0.55);
    border-radius: 50px;
    padding: 0.4rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
    animation: badgePulse 3s infinite;
}
@keyframes badgePulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(212, 175, 55, 0); }
}
.animate-badge {
    animation: heroEntrance 1s ease-out, badgePulse 3s 1s infinite;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1.2rem;
}
.hero-highlight {
    display: block;
    color: rgba(255,255,255,0.9);
}
.hero-highlight-gold {
    display: block;
    background: linear-gradient(135deg, var(--gold), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}
.hero-highlight-gold::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--primary-light));
    border-radius: 2px;
    transform: scaleX(0);
    animation: underlineSlide 1.5s 0.5s forwards;
}
@keyframes underlineSlide {
    to { transform: scaleX(1); }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.hero-trust { color: rgba(255,255,255,0.6); }
.trust-item i { color: var(--gold-light); }
.trust-sep { color: var(--gold-light); }

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 6px 25px rgba(139, 26, 26, 0.35);
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
.btn-primary:hover::before { width: 300px; height: 300px; }
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(139, 26, 26, 0.45);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid rgba(255, 255, 255, 0.55);
    transition: var(--transition);
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.9);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
}
.btn-whatsapp.large { padding: 1rem 2.5rem; font-size: 1.05rem; }

.btn-call {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    backdrop-filter: blur(6px);
}
.btn-call:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.9);
    color: #ffffff;
    transform: translateY(-3px);
}

/* =============================================
   STATS STRIP
   ============================================= */
.stats-strip {
    background: linear-gradient(135deg, #0D0303 0%, #3D0C0C 50%, #1A0606 100%);
    padding: 3rem 5%;
    border-top: 2px solid rgba(212, 172, 13, 0.3);
    border-bottom: 2px solid rgba(212, 172, 13, 0.3);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.stat-item { color: white; }
.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--gold-light);
    line-height: 1;
}
.stat-plus { font-size: 1.8rem; }
.stat-label { font-size: 0.85rem; opacity: 0.85; margin-top: 0.4rem; }

/* =============================================
   SECTIONS
   ============================================= */
.section-white { padding: 5rem 5%; background: #FFFFFF; }
.section-cream  { padding: 5rem 5%; background: linear-gradient(180deg, #FEF0DC 0%, #FDE8C8 100%); }

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(192,57,43,0.12), rgba(212,172,13,0.12));
    border: 1px solid rgba(192, 57, 43, 0.35);
    color: var(--primary);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.8rem;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
}
.section-title span {
    background: linear-gradient(135deg, var(--primary), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}
.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    border-radius: 2px;
    margin: 1rem auto 0;
}
.section-cta { text-align: center; margin-top: 3rem; }

/* =============================================
   CATEGORIES GRID
   ============================================= */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.2rem;
    max-width: 1100px;
    margin: 0 auto;
}
.category-card {
    background: linear-gradient(145deg, #fff 0%, #FEF0DC 100%);
    border: 2px solid rgba(192, 57, 43, 0.12);
    border-radius: var(--radius);
    padding: 1.8rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 4px 16px rgba(192,57,43,0.06);
}
.category-card:hover {
    border-color: var(--gold);
    background: linear-gradient(145deg, #fff5e6, #ffe8c0);
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 50px rgba(192,57,43,0.22);
}
.category-icon {
    font-size: 2.8rem;
    display: block;
    transition: var(--transition);
    line-height: 1;
}
.category-card:hover .category-icon {
    transform: scale(1.2) rotate(10deg);
}
.category-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-dark);
}
.cat-count { font-size: 0.8rem; color: var(--text-muted); }

/* =============================================
   CAKE CARDS
   ============================================= */
.cakes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.8rem;
    max-width: 1200px;
    margin: 0 auto;
}
.cake-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(192,57,43,0.13);
    transition: var(--transition);
    display: block;
    position: relative;
    border: 1px solid rgba(192,57,43,0.07);
}
.cake-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 28px 70px rgba(192,57,43,0.28);
    border-color: rgba(212,172,13,0.3);
}

.cake-card-image {
    position: relative;
    overflow: hidden;
    height: 230px;
    background: var(--cream);
}
.cake-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.cake-card:hover .cake-card-image img {
    transform: scale(1.1);
}
.cake-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    background: linear-gradient(135deg, var(--cream), var(--cream-dark));
}
.cake-card-image-placeholder.large { font-size: 8rem; height: 350px; }

.cake-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(139,26,26,0.85), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1.2rem;
    opacity: 0;
    transition: var(--transition);
}
.cake-card:hover .cake-card-overlay { opacity: 1; }
.cake-card-overlay span {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border: 2px solid rgba(255,255,255,0.6);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}

.badges {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    z-index: 2;
}
.badge {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}
.badge-featured    { background: linear-gradient(135deg, #f7971e, #ffd200); color: #333; }
.badge-new         { background: linear-gradient(135deg, #11998e, #38ef7d); color: white; }
.badge-bestseller  { background: linear-gradient(135deg, #c0392b, #e74c3c); color: white; }
.badge-discount    { background: linear-gradient(135deg, #6c3483, #a569bd); color: white; }

.cake-card-body {
    padding: 1.2rem;
}
.cake-card-category {
    font-size: 0.72rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}
.cake-card-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.4rem;
}
.cake-card-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cake-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
}
.cake-tag {
    background: var(--cream);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    border: 1px solid rgba(139,26,26,0.15);
}
.cake-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--cream-dark);
    padding-top: 0.8rem;
    margin-top: 0.4rem;
}

/* =============================================
   PRICES
   ============================================= */
.price { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.price-current { font-family: 'Playfair Display', serif; font-weight: 700; color: var(--primary); font-size: 1.1rem; }
.price-current.large { font-size: 2rem; }
.price-original { color: var(--text-muted); font-size: 0.85rem; text-decoration: line-through; }
.price-saved { background: #e8f5e9; color: #2e7d32; font-size: 0.78rem; font-weight: 600; padding: 0.2rem 0.5rem; border-radius: 4px; }

.btn-view {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    transition: var(--transition);
    white-space: nowrap;
}
.cake-card:hover .btn-view {
    background: var(--primary);
    color: white;
}

/* =============================================
   WHY SECTION
   ============================================= */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}
.why-card {
    background: linear-gradient(145deg, #fff 0%, #FEF0DC 100%);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    border: 2px solid rgba(192,57,43,0.1);
    box-shadow: 0 4px 16px rgba(192,57,43,0.07);
}
.why-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 24px 60px rgba(192,57,43,0.22);
    background: linear-gradient(145deg, #fff8ee, #ffe8c0);
}
.why-icon-wrap {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: var(--transition);
}
.why-card:hover .why-icon-wrap {
    transform: scale(1.2) rotate(8deg);
}
.why-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 0.7rem;
}
.why-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
    background: linear-gradient(135deg, #0D0303 0%, #3D0C0C 30%, var(--primary) 65%, var(--amber) 100%);
    padding: 5rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 3px solid rgba(212, 172, 13, 0.4);
    border-bottom: 3px solid rgba(212, 172, 13, 0.4);
}
.cta-banner::before {
    content: '🎂 🍰 🧁 🎂 🍰 🧁 🎂 🍰 🧁 🎂 🍰 🧁 🎂 🍰 🧁 🎂';
    position: absolute;
    top: 0.8rem; left: 0; right: 0;
    font-size: 1.5rem;
    opacity: 0.15;
    letter-spacing: 1rem;
    white-space: nowrap;
    overflow: hidden;
}
.cta-content { position: relative; z-index: 1; }
.cta-banner h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: white;
    margin-bottom: 0.8rem;
}
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; font-size: 1rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =============================================
   PAGE HEADER
   ============================================= */
.page-header {
    background: linear-gradient(160deg, #180606 0%, #3D0C0C 50%, #6B1414 100%);
    padding: 8rem 5% 3rem;
    text-align: center;
    border-bottom: 2px solid rgba(212, 172, 13, 0.25);
}
.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.page-header p { color: rgba(255,255,255,0.65); font-size: 1rem; }
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
    flex-wrap: wrap;
}
.breadcrumb { color: rgba(255,255,255,0.5); }
.breadcrumb a { color: var(--gold-light); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; color: #fff; }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* =============================================
   FILTER BAR
   ============================================= */
.filter-bar {
    background: linear-gradient(90deg, #1C0606 0%, #2D0A0A 100%);
    padding: 1.5rem 5%;
    border-bottom: 2px solid rgba(212, 172, 13, 0.2);
    position: sticky;
    top: 60px;
    z-index: 100;
    box-shadow: 0 6px 30px rgba(0,0,0,0.4);
}
.filter-inner {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto 1rem;
}
.search-form {
    display: flex;
    background: rgba(255,255,255,0.08);
    border-radius: 50px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.15);
    transition: var(--transition);
}
.search-form:focus-within { border-color: var(--gold-light); box-shadow: 0 0 0 3px rgba(212,172,13,0.2); }
.search-input {
    border: none;
    background: transparent;
    padding: 0.6rem 1rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    outline: none;
    width: 200px;
    color: #fff;
}
.search-input::placeholder { color: rgba(255,255,255,0.4); }
.search-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    cursor: pointer;
    transition: var(--transition);
}
.search-btn:hover { background: var(--primary-dark); }
.cat-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cat-filter-btn {
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.7);
    border: 2px solid rgba(255,255,255,0.12);
    transition: var(--transition);
    white-space: nowrap;
}
.cat-filter-btn:hover,
.cat-filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary-light);
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(192,57,43,0.4);
}
.result-count {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    max-width: 1200px;
    margin: 0 auto;
}
.result-count i { color: var(--gold-light); margin-right: 0.3rem; }
.result-count strong { color: rgba(255,255,255,0.85); }

/* =============================================
   CATALOG SECTION
   ============================================= */
.catalog-section {
    padding: 3rem 5%;
    background: linear-gradient(180deg, #FEF0DC 0%, #FDE8C8 100%);
    min-height: 40vh;
}

.empty-state {
    text-align: center;
    padding: 5rem 2rem;
}
.empty-icon { font-size: 5rem; margin-bottom: 1rem; }
.empty-state h3 { font-family: 'Playfair Display', serif; color: var(--primary-dark); margin-bottom: 0.5rem; }
.empty-state p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* =============================================
   CAKE DETAIL
   ============================================= */
.detail-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 5%;
}
.main-image-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.main-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}
.main-image:hover { transform: scale(1.02); }
.thumb-gallery {
    display: flex;
    gap: 0.7rem;
    margin-top: 1rem;
}
.thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
    opacity: 0.7;
}
.thumb:hover, .thumb.active { border-color: var(--gold); opacity: 1; transform: scale(1.05); }

.detail-category {
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}
.detail-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
}
.detail-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.2rem 0;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #FFF5E6, #FFE8C0);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--gold);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.detail-description {
    color: var(--text);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}
.detail-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--cream);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
}
.meta-item i { color: var(--primary); }
.allergen-box {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
    color: #6d4c41;
    margin-bottom: 1.5rem;
}
.allergen-box i { margin-right: 0.4rem; }
.detail-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.detail-share {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.share-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 0.85rem;
    transition: var(--transition);
}
.share-btn.wa { background: #25D366; }
.share-btn.fb { background: #1877F2; }
.share-btn:hover { transform: scale(1.2); }

.ingredients-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 5%;
    background: var(--white);
    border-top: 1px solid var(--cream-dark);
}
.ingredients-section h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.ingredients-section p { color: var(--text-muted); line-height: 1.8; }

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.96);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    backdrop-filter: blur(6px);
}
.lightbox-overlay.open {
    opacity: 1;
    visibility: visible;
}
.lightbox-inner {
    position: relative;
    max-width: 92vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-img {
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.7);
    transform: scale(0.88);
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
    opacity: 0;
    cursor: zoom-in;
    user-select: none;
}
.lightbox-overlay.open .lightbox-img {
    transform: scale(1);
    opacity: 1;
}
.lightbox-img.zoomed {
    transform: scale(1.8) !important;
    cursor: zoom-out;
}
.lightbox-close {
    position: fixed;
    top: 1.2rem;
    right: 1.5rem;
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.12);
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s;
    z-index: 10001;
    backdrop-filter: blur(4px);
}
.lightbox-close:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: rotate(90deg) scale(1.1);
}
.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s;
    z-index: 10001;
    backdrop-filter: blur(4px);
}
.lightbox-nav:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}
.lightbox-prev { left: 1.2rem; }
.lightbox-next { right: 1.2rem; }
.lightbox-nav.hidden { opacity: 0; pointer-events: none; }
.lightbox-counter {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 0.82rem;
    font-family: 'Poppins', sans-serif;
    background: rgba(0,0,0,0.4);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    z-index: 10001;
    backdrop-filter: blur(4px);
}
.lightbox-caption {
    position: fixed;
    bottom: 3.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    font-family: 'Playfair Display', serif;
    background: rgba(0,0,0,0.5);
    padding: 0.4rem 1.4rem;
    border-radius: 50px;
    z-index: 10001;
    max-width: 80vw;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    backdrop-filter: blur(4px);
}
/* Make images show a zoom cursor to signal clickability */
.cake-card-image img,
.main-image,
.thumb {
    cursor: zoom-in;
}

/* =============================================
   STICKY ORDER BUTTON
   ============================================= */
.sticky-order {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 500;
    animation: popIn 0.5s 2s both;
}
@keyframes popIn {
    from { transform: scale(0) rotate(-20deg); opacity: 0; }
    to   { transform: scale(1) rotate(0deg); opacity: 1; }
}
.sticky-wa-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
    transition: var(--transition);
    animation: waWiggle 3s 3s infinite;
}
.sticky-wa-btn:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 14px 40px rgba(37, 211, 102, 0.6);
}
@keyframes waWiggle {
    0%,100% { transform: rotate(0deg); }
    10% { transform: rotate(-5deg); }
    20% { transform: rotate(5deg); }
    30% { transform: rotate(0deg); }
}

/* =============================================
   FOOTER
   ============================================= */
footer {
    background: linear-gradient(160deg, #0A0202 0%, #180606 40%, #0D0303 100%);
    color: rgba(255,255,255,0.85);
    border-top: 2px solid rgba(212, 172, 13, 0.25);
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}
.footer-brand span { color: var(--gold-light); text-shadow: 0 0 20px rgba(212,172,13,0.4); }
.footer-desc {
    font-size: 0.88rem;
    opacity: 0.75;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.footer-social { display: flex; gap: 0.7rem; }
.social-link {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 0.9rem;
    transition: var(--transition);
}
.social-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--primary-dark);
    transform: translateY(-4px) scale(1.1);
}
.footer-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-light);
    margin-bottom: 1.2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.6rem;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px; height: 2px;
    background: linear-gradient(90deg, var(--gold-light), transparent);
    border-radius: 2px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.7rem; }
.footer-links a {
    font-size: 0.88rem;
    opacity: 0.75;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-links a:hover { opacity: 1; color: var(--gold-light); padding-left: 5px; }
.footer-links a i { font-size: 0.72rem; color: var(--gold); }
.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.82rem;
    opacity: 0.65;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
    .detail-section { grid-template-columns: 1fr; gap: 2rem; }
    .stats-grid { grid-template-columns: repeat(2,1fr); }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        height: 100vh;
        width: 75%;
        max-width: 320px;
        background: linear-gradient(160deg, #180606, #2D0A0A);
        border-left: 1px solid rgba(212,172,13,0.2);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0.2rem;
        box-shadow: -8px 0 40px rgba(0,0,0,0.6);
        transition: right 0.4s ease;
        z-index: 999;
    }
    .nav-links.open { right: 0; }
    .nav-links li { width: 100%; }
    .nav-links a { width: 100%; justify-content: flex-start; padding: 0.8rem 1rem; border-radius: var(--radius-sm); color: rgba(255,255,255,0.85); }
    .hamburger { display: flex; z-index: 1000; }
    .nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 998; display: none; }
    .nav-overlay.open { display: block; }

    .cakes-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
    .hero-deco.d1, .hero-deco.d2 { display: none; }
    .stats-grid { grid-template-columns: repeat(2,1fr); gap: 1rem; }
    .footer-content { grid-template-columns: 1fr; }
    .filter-inner { flex-direction: column; align-items: stretch; }
    .search-input { width: 100%; }
}

@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-trust { flex-direction: column; gap: 0.4rem; }
    .trust-sep { display: none; }
    .cakes-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .why-grid { grid-template-columns: 1fr; }
}
