/* ============================================================
   Dinobaby World — Playful Child & Parent Design System
   Theme: Pink & Blue Pastel with Fun, Bubbly Aesthetics
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Baloo+2:wght@400;600;700;800&display=swap');

/* --- Design Tokens --- */
:root {
    --pink:           #FF6FAE;
    --pink-light:     #FFB3D6;
    --pink-pale:      #FFF0F7;
    --blue:           #4B9FE1;
    --blue-light:     #A8D5F7;
    --blue-pale:      #EDF6FF;
    --purple:         #C37BF0;
    --purple-pale:    #F5EAFF;
    --yellow:         #FFD166;
    --mint:           #5ECFB1;
    --surface:        #FFFFFF;
    --surface-alt:    #FFF8FC;
    --border:         #FFD6EC;
    --text-primary:   #3A2A4A;
    --text-secondary: #7A6A8A;
    --text-muted:     #B0A0C0;
    --whatsapp:       #25D366;
    --whatsapp-dark:  #1AAE55;

    --font-display: 'Baloo 2', cursive;
    --font-body:    'Nunito', -apple-system, sans-serif;

    --radius-sm:  12px;
    --radius-md:  20px;
    --radius-lg:  28px;
    --radius-xl:  40px;
    --shadow-sm:  0 4px 16px rgba(255, 111, 174, 0.12);
    --shadow-md:  0 8px 32px rgba(255, 111, 174, 0.18);
    --shadow-lg:  0 20px 56px rgba(255, 111, 174, 0.22);
    --transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--surface);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--text-primary);
    line-height: 1.2;
}

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
    background: linear-gradient(90deg, var(--pink) 0%, var(--purple) 50%, var(--blue) 100%);
    color: #fff;
    text-align: center;
    padding: 10px 1rem;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    position: relative;
    z-index: 1100;
}

.announcement-bar a {
    color: var(--yellow);
    text-decoration: none;
    font-weight: 800;
}

.announcement-bar a:hover { text-decoration: underline; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    background-color: transparent !important;
    padding: 8px 0;
    transition: all 0.3s ease;
    top: 42px;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 24px rgba(255, 111, 174, 0.15);
    padding: 6px 0;
    top: 0;
}

.navbar-brand, .footer-brand {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.brand-logo {
    font-size: 2rem;
    line-height: 1;
    filter: drop-shadow(0 2px 6px rgba(255,111,174,0.4));
    animation: dinoWobble 3s ease-in-out infinite;
    display: inline-block;
}

@keyframes dinoWobble {
    0%, 100% { transform: rotate(-5deg) scale(1); }
    50%       { transform: rotate(5deg) scale(1.12); }
}
/* Illustrated logo image */
.brand-logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar-brand:hover .brand-logo-img {
    transform: scale(1.07) rotate(-2deg);
}

.brand-logo-img--footer {
    height: 140px;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .brand-logo-img { height: 80px; }
}

.navbar.scrolled .brand-baby       { color: var(--blue); }
.navbar.scrolled .brand-world      { color: var(--purple); }
.navbar.scrolled .brand-dino-rest  { color: var(--pink); }

.nav-link-custom {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 6px 4px;
    transition: color 0.2s ease;
}

.navbar.scrolled .nav-link-custom { color: var(--text-secondary); }
.nav-link-custom:hover { color: var(--yellow); }
.navbar.scrolled .nav-link-custom:hover { color: var(--pink); }

.btn-nav-cta {
    background: linear-gradient(135deg, var(--whatsapp) 0%, var(--mint) 100%);
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: 10px 22px;
    font-weight: 800;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}

.btn-nav-cta:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    color: #fff;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 140px 0 100px;
    background:
        linear-gradient(160deg, rgba(75,44,120,0.88) 0%, rgba(255,111,174,0.80) 50%, rgba(75,159,225,0.85) 100%),
        url('https://images.unsplash.com/photo-1503454537195-1dcabb73ffb9?w=1600&q=80&auto=format&fit=crop') center/cover no-repeat;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 90px;
    background: var(--surface);
    clip-path: ellipse(60% 100% at 50% 100%);
}

.hero-deco {
    position: absolute;
    font-size: 2.5rem;
    animation: wiggle 3s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}
.hero-deco-1 { top: 20%; right: 8%; animation-delay: 0s; }
.hero-deco-2 { bottom: 28%; left: 6%; animation-delay: 1s; font-size: 2rem; }
.hero-deco-3 { top: 18%; left: 10%; animation-delay: 0.5s; font-size: 2.2rem; }

@keyframes wiggle {
    0%, 100% { transform: rotate(-8deg) scale(1); }
    50% { transform: rotate(8deg) scale(1.15); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.hero-emoji {
    display: block;
    font-size: 4.5rem;
    margin-bottom: 0.5rem;
    animation: bounceEmoji 2s ease-in-out infinite;
}

@keyframes bounceEmoji {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-14px) scale(1.08); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 6.5vw, 5rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1.2rem;
    text-shadow: 0 4px 24px rgba(0,0,0,0.2);
    line-height: 1.1;
}

.hero-title em {
    color: var(--yellow);
    font-style: normal;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-weight: 600;
    max-width: 580px;
    margin: 0 auto 2.8rem;
    line-height: 1.7;
}

.btn-hero-primary {
    background: var(--yellow);
    color: var(--text-primary) !important;
    border: none;
    border-radius: 50px;
    padding: 16px 40px;
    font-weight: 800;
    font-size: 1.05rem;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 24px rgba(255,209,102,0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 16px 36px rgba(255,209,102,0.5);
    color: var(--text-primary);
}

.btn-hero-secondary {
    background: linear-gradient(135deg, var(--whatsapp) 0%, var(--mint) 100%);
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: 16px 40px;
    font-weight: 800;
    font-size: 1.05rem;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}

.btn-hero-secondary:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 16px 36px rgba(37,211,102,0.5);
    color: #fff;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 110px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    animation: bounce 2s infinite;
    z-index: 3;
}

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

/* ============================================================
   TRUST BADGES
   ============================================================ */
.trust-section {
    background: linear-gradient(180deg, var(--surface) 0%, var(--pink-pale) 100%);
    padding: 48px 0;
    position: relative;
    z-index: 1;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 22px 16px;
    background: #fff;
    border-radius: var(--radius-md);
    border: 2.5px solid var(--pink-light);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-sm);
}

.trust-badge:hover {
    transform: translateY(-6px) scale(1.05);
    border-color: var(--pink);
    box-shadow: var(--shadow-md);
}

.trust-badge i { font-size: 1.8rem; color: var(--pink); }

.trust-badge span {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-align: center;
}

/* ============================================================
   SECTION TYPOGRAPHY
   ============================================================ */
.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--pink-pale), var(--blue-pale));
    color: var(--pink);
    border: 2px solid var(--pink-light);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 5px 18px;
    border-radius: 50px;
    margin-bottom: 0.8rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.08rem;
    max-width: 560px;
    margin: 0 auto;
    font-weight: 600;
    line-height: 1.7;
}

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
.products-section {
    background: linear-gradient(180deg, var(--pink-pale) 0%, var(--blue-pale) 100%);
    padding: 80px 0;
    position: relative;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue), var(--mint), var(--yellow));
}

.product-card {
    background: var(--surface);
    border: 2.5px solid var(--pink-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--pink);
}

.product-card:nth-child(2n) { border-color: var(--blue-light); }
.product-card:nth-child(2n):hover { border-color: var(--blue); }
.product-card:nth-child(3n) { border-color: rgba(195,123,240,0.4); }
.product-card:nth-child(3n):hover { border-color: var(--purple); }

.product-image-container {
    height: 280px;
    background: linear-gradient(135deg, var(--pink-pale), var(--blue-pale));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image-container img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(255,111,174,0.35);
}

.card-body {
    padding: 1.4rem 1.6rem 1.6rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: auto;
    padding-bottom: 0.8rem;
    line-height: 1.4;
}

.btn-whatsapp {
    background: linear-gradient(135deg, var(--whatsapp) 0%, var(--mint) 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 13px 22px;
    font-weight: 800;
    font-size: 0.95rem;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 0.8rem;
    box-shadow: 0 6px 16px rgba(37,211,102,0.3);
}

.btn-whatsapp:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 28px;
    z-index: 9999;
    background: linear-gradient(135deg, var(--whatsapp) 0%, var(--mint) 100%);
    color: #fff;
    border-radius: 50px;
    padding: 14px 26px;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 28px rgba(37,211,102,0.45);
    animation: floatPulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.06) !important;
    color: #fff;
    box-shadow: 0 16px 40px rgba(37,211,102,0.6);
    animation: none;
}

.whatsapp-float i { font-size: 1.4rem; }

@keyframes floatPulse {
    0%, 100% { transform: translateY(0); box-shadow: 0 8px 28px rgba(37,211,102,0.45); }
    50% { transform: translateY(-7px); box-shadow: 0 18px 44px rgba(37,211,102,0.55); }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
    background: var(--surface);
    padding: 80px 0;
}

.about-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.85;
    font-weight: 600;
}

.about-stat-card {
    background: linear-gradient(135deg, var(--pink-pale), var(--blue-pale));
    border: 2.5px solid var(--pink-light);
    border-radius: var(--radius-md);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
    padding: 1.8rem 1.4rem;
}

.about-stat-card:hover {
    transform: translateY(-6px) scale(1.04);
    border-color: var(--pink);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--pink);
    margin-bottom: 0.4rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 700;
}

.btn-about-cta {
    background: linear-gradient(135deg, var(--whatsapp) 0%, var(--mint) 100%);
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: 14px 36px;
    font-weight: 800;
    font-size: 1rem;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 6px 20px rgba(37,211,102,0.3);
}

.btn-about-cta:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
    color: #fff;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 50%, var(--blue) 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.cta-banner .cta-bubble-1 {
    position: absolute;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    top: -60px; right: 8%;
    pointer-events: none;
}

.cta-banner .cta-bubble-2 {
    position: absolute;
    width: 150px; height: 150px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    bottom: -40px; left: 10%;
    pointer-events: none;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.8vw, 2.8rem);
    color: #fff;
    font-weight: 900;
    text-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 600;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

.btn-cta-main {
    background: #fff;
    color: var(--whatsapp) !important;
    border: none;
    border-radius: 50px;
    padding: 18px 52px;
    font-weight: 900;
    font-size: 1.15rem;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 32px rgba(0,0,0,0.15);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-cta-main i { font-size: 1.3rem; }

.btn-cta-main:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 48px rgba(0,0,0,0.22);
    color: var(--whatsapp-dark) !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: linear-gradient(160deg, #2D1B45 0%, #1B2A55 100%);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue), var(--mint));
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.7;
}

.footer-desc a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-desc a:hover { color: var(--pink-light); }

.footer-heading {
    color: rgba(255, 255, 255, 0.95);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s;
}

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

.footer-divider { border-color: rgba(255, 255, 255, 0.1); }

.footer-copy {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    font-weight: 600;
}

.footer-brand {
    font-size: 1.6rem;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.footer-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--whatsapp), var(--mint));
    color: #fff !important;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-top: 0.8rem;
    box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}

.footer-wa-btn:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 24px rgba(37,211,102,0.45);
    color: #fff;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state-card {
    background: linear-gradient(135deg, var(--pink-pale), var(--blue-pale));
    border: 2px dashed var(--pink-light);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
}

/* ============================================================
   RESPONSIVE OVERRIDES
   ============================================================ */
@media (max-width: 768px) {
    .navbar {
        top: 42px;
        background-color: rgba(60,30,80,0.95) !important;
        backdrop-filter: blur(12px);
    }

    .navbar.scrolled {
        top: 0;
        background-color: rgba(255, 255, 255, 0.97) !important;
    }

    .hero-section { padding: 100px 0 110px; min-height: 90vh; }
    .hero-title   { font-size: 2.4rem; }
    .hero-subtitle { font-size: 1rem; }

    .btn-hero-primary, .btn-hero-secondary {
        padding: 13px 30px;
        font-size: 0.95rem;
    }

    .product-image-container { height: 240px; }

    .whatsapp-float {
        padding: 12px 20px;
        font-size: 0.9rem;
        bottom: 22px;
        right: 16px;
    }

    .hero-deco { display: none; }
}
