/* ================================
   LADYBIRD CHILDCARE — styles.css
   ================================ */

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

:root {
    --gold:   #FFD700;
    --cream:  #FAF7F2;
    --dark:   #1A1A1A;
    --body:   #555;
    --white:  #ffffff;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Nunito', sans-serif;
    background: var(--cream);
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Fredoka One', cursive;
    font-weight: 400;
    line-height: 1.15;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* SVG waves sit flush, no gaps */
svg.wave {
    display: block;
    width: 100%;
    height: 70px;
    margin-bottom: -1px;
}

/* ================================
   SHARED
   ================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ================================
   BUTTONS
   ================================ */
.btn-dark {
    display: inline-block;
    background: var(--dark);
    color: var(--white);
    padding: 13px 30px;
    border-radius: 50px;
    font-family: 'Fredoka One', cursive;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}
.btn-dark:hover { background: #333; transform: translateY(-2px); }

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--dark);
    padding: 12px 28px;
    border-radius: 50px;
    font-family: 'Fredoka One', cursive;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--dark); color: var(--white); }

/* ================================
   NAV
   ================================ */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    height: 78px;
    gap: 0;
}
.nav-logo img { height: 66px; width: auto; }
.nav-spacer { flex: 1; }
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin-right: 28px;
}
.nav-links a {
    color: var(--body);
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-links a:hover { color: #a88800; }
.nav-cta {
    background: var(--dark);
    color: var(--white);
    padding: 11px 24px;
    border-radius: 50px;
    font-family: 'Fredoka One', cursive;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: background 0.2s;
}
.nav-cta:hover { background: #333; }
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    margin-left: auto;
}
.hamburger span { display: block; width: 25px; height: 3px; background: var(--dark); border-radius: 3px; }

/* ================================
   HERO — matches Rosiah reference exactly
   Headline overlaps image from top
   Text + button float LEFT of circle cluster
   Three merged perfect circles
   ================================ */
.hero {
    background: var(--cream);
    padding: 50px 60px 0;
    overflow: visible;
}

/* HEADLINE: normal size, sits above images, overlaps slightly */
.hero-headline {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 10px;
    /* Positioned so it sits above the stage but headline bottom overlaps images */
    position: relative;
    z-index: 5;
}
.hero-headline h1 {
    font-size: clamp(2rem, 3.8vw, 3.5rem);
    color: var(--dark);
    line-height: 1.1;
    letter-spacing: -0.5px;
    text-align: center;
}

/* STAGE: left text + right bubble cluster, pulled up to overlap headline */
.hero-stage {
    max-width: 1200px;
    margin: -10px auto 0;
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
}

/* LEFT PANEL — text and button float beside the images */
.hero-left {
    flex-shrink: 0;
    width: 260px;
    padding-bottom: 100px;
    padding-right: 20px;
    text-align: center;
    position: relative;
    z-index: 6;
}
.hero-left p {
    font-size: 1rem;
    color: var(--body);
    line-height: 1.65;
    margin-bottom: 24px;
}

/* BUBBLE CLUSTER — flex right side, images sit at bottom */
.hero-bubbles {
    flex: 1;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.bubble-cluster {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* PERFECT CIRCLES — merged together like reference */
.bubble {
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 10px 36px rgba(0,0,0,0.14);
    position: relative;
}

/* Left — smooth organic shape, wider than tall */
.b1 {
    width: 310px;
    height: 310px;
    border-radius: 68% 32% 55% 45% / 45% 55% 45% 55%;
    margin-right: -60px;
    z-index: 1;
}

/* Centre — large rounded rectangle, the main hero image */
.b2 {
    width: 480px;
    height: 480px;
    border-radius: 50%;
    z-index: 3;
}

/* Right — teardrop-like rounded shape */
.b3 {
    width: 325px;
    height: 325px;
    border-radius: 40% 60% 65% 35% / 55% 45% 55% 45%;
    margin-left: -60px;
    z-index: 2;
}

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

/* SQUIGGLE — bottom right of bubble cluster */
.squiggle {
    position: absolute;
    bottom: 10px;
    right: -20px;
    width: 140px;
    z-index: 8;
    pointer-events: none;
}

/* ================================
   TESTIMONIALS
   ================================ */
.testi-section {
    background: var(--white);
    padding: 60px 40px 70px;
}
.testi-section h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 36px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.testi-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}
.testi-card { }
.stars { color: #c8a800; font-size: 1.05rem; letter-spacing: 2px; margin-bottom: 12px; }
.testi-card p { font-size: 0.95rem; color: var(--body); line-height: 1.7; font-style: italic; margin-bottom: 12px; }
.author { font-size: 0.88rem; font-weight: 700; color: var(--dark); }

/* ================================
   ABOUT
   ================================ */
.about-section {
    background: var(--gold);
    padding: 60px 40px 80px;
}
.about-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Blob images */
.about-imgs {
    position: relative;
    height: 500px;
}
/* Main: large rounded square — bold, modern */
.blob-main {
    position: absolute;
    top: 0; left: 0;
    width: 320px; height: 380px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    overflow: hidden;
    box-shadow: 0 20px 55px rgba(0,0,0,0.18);
}
.blob-main img { width: 100%; height: 100%; object-fit: cover; }
/* Secondary: kidney / irregular blob — totally different */
.blob-sec {
    position: absolute;
    bottom: 0; right: 0;
    width: 265px; height: 280px;
    border-radius: 73% 27% 42% 58% / 55% 63% 37% 45%;
    overflow: hidden;
    border: 7px solid var(--white);
    box-shadow: 0 16px 44px rgba(0,0,0,0.18);
}
.blob-sec img { width: 100%; height: 100%; object-fit: cover; }

/* About text */
.about-text .label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--dark);
    opacity: 0.6;
    margin-bottom: 10px;
    font-family: 'Nunito', sans-serif;
}
.about-text h2 { font-size: clamp(1.8rem, 2.6vw, 2.5rem); margin-bottom: 16px; }
.about-text > p {
    font-size: 0.98rem;
    color: var(--dark);
    opacity: 0.82;
    line-height: 1.75;
    margin-bottom: 18px;
}
.about-text ul {
    list-style: none;
    margin-bottom: 26px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.about-text ul li {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    padding-left: 20px;
    position: relative;
}
.about-text ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 8px; height: 8px;
    background: var(--dark);
    border-radius: 50%;
}

/* ================================
   HIGHLIGHTS
   ================================ */
.highlights-section {
    background: var(--cream);
    padding: 60px 40px 80px;
}
.highlights-section h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.hl-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.hl-img {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    margin-bottom: 22px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.14);
    transition: transform 0.3s;
}
/* Card 1: rounded square / squircle */
.hl-card:nth-child(1) .hl-img {
    border-radius: 30px;
}
/* Card 2: large organic blob — kidney shape */
.hl-card:nth-child(2) .hl-img {
    border-radius: 70% 30% 60% 40% / 40% 60% 40% 60%;
}
/* Card 3: diamond-ish rounded shape */
.hl-card:nth-child(3) .hl-img {
    border-radius: 50% 20% 50% 20% / 20% 50% 20% 50%;
}
.hl-card:hover .hl-img { transform: scale(1.03); }
.hl-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hl-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.hl-card p { font-size: 0.92rem; color: var(--body); line-height: 1.65; }

/* ================================
   CONTACT
   ================================ */
.contact-section { background: var(--gold); }
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}
.contact-form {
    padding: 60px 55px 70px;
}
.contact-form h2 { font-size: clamp(1.8rem, 2.8vw, 2.6rem); margin-bottom: 6px; }
.contact-sub { font-size: 0.93rem; color: var(--dark); opacity: 0.7; margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--dark); margin-bottom: 5px; }
.form-group label span { font-weight: 400; opacity: 0.55; }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 11px 13px;
    border: 2px solid rgba(0,0,0,0.16);
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.94rem;
    background: rgba(255,255,255,0.65);
    color: var(--dark);
    transition: border-color 0.2s, background 0.2s;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--dark); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 92px; }
.check-label { display: flex; align-items: center; gap: 9px; font-size: 0.88rem; font-weight: 600; cursor: pointer; }
.check-label input { width: auto; accent-color: var(--dark); }
.check-label a { color: var(--dark); text-decoration: underline; }

.contact-right {
    display: flex;
    flex-direction: column;
}

/* Info card */
.contact-info-card {
    background: var(--white);
    padding: 32px 36px;
    flex-shrink: 0;
}
.contact-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 6px;
    color: var(--dark);
}
.info-tagline {
    font-size: 0.93rem;
    color: var(--body);
    margin-bottom: 22px;
    line-height: 1.5;
}
.info-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}
.info-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.info-row div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.info-row strong {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.info-row span {
    font-size: 0.93rem;
    color: var(--body);
}
.info-footer {
    margin-top: 20px;
    font-size: 0.88rem;
    color: var(--body);
    font-style: italic;
    line-height: 1.6;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.contact-map { flex: 1; }
.contact-map iframe { width: 100%; height: 100%; min-height: 300px; border: none; display: block; }

/* ================================
   PRIVACY
   ================================ */
.privacy-section { background: var(--white); padding: 60px 40px 80px; }
.privacy-section h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 16px; max-width: 1200px; margin-left: auto; margin-right: auto; }
.privacy-intro { max-width: 1200px; margin: 0 auto 32px; font-size: 0.97rem; color: var(--body); line-height: 1.7; }
.priv-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.priv-card {
    background: var(--cream);
    border-radius: 18px;
    padding: 24px 20px;
    border-left: 5px solid var(--gold);
    transition: transform 0.2s, box-shadow 0.2s;
}
.priv-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0,0,0,0.08); }
.priv-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.priv-card p { font-size: 0.87rem; color: var(--body); line-height: 1.65; }

/* ================================
   FOOTER
   ================================ */
footer { background: var(--dark); color: var(--white); }
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 55px 40px 28px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 44px;
}
.footer-brand img { height: 70px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.87rem; color: rgba(255,255,255,0.48); line-height: 1.65; max-width: 220px; }
.footer-col h4 { font-size: 0.98rem; color: var(--white); margin-bottom: 13px; font-family: 'Fredoka One', cursive; }
.footer-col p, .footer-col a { display: block; font-size: 0.87rem; color: rgba(255,255,255,0.48); margin-bottom: 7px; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 18px 40px; font-size: 0.82rem; color: rgba(255,255,255,0.28); text-align: center; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom a { color: rgba(255,255,255,0.38); }
.footer-bottom a:hover { color: var(--gold); }

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1024px) {
    .priv-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
    .b1 { width: 220px; height: 220px; margin-right: -44px; }
    .b2 { width: 350px; height: 350px; }
    .b3 { width: 235px; height: 235px; margin-left: -44px; }
}

@media (max-width: 900px) {
    .nav-links, .nav-cta { display: none; }
    .hamburger { display: flex; }
    .nav-links.open {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 78px; left: 0; right: 0;
        background: var(--white);
        padding: 20px 40px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        gap: 14px;
        z-index: 999;
    }
    .hero-stage { flex-direction: column; align-items: center; gap: 24px; }
    .hero-left { width: 100%; padding-bottom: 0; text-align: center; }
    .hero-headline h1 { font-size: clamp(1.8rem, 5.5vw, 2.6rem); }
    .hero-stage { flex-direction: column; align-items: center; gap: 20px; }
    .hero-left { width: 100%; padding-bottom: 0; padding-right: 0; }
    .b1 { width: 175px; height: 175px; margin-right: -36px; }
    .b2 { width: 280px; height: 280px; }
    .b3 { width: 185px; height: 185px; margin-left: -36px; }
    .testi-grid { grid-template-columns: 1fr; gap: 22px; }
    .about-inner { grid-template-columns: 1fr; gap: 36px; }
    .about-imgs { height: 320px; }
    .blob-main { width: 210px; height: 260px; }
    .blob-sec { width: 180px; height: 195px; }
    .hl-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
    .contact-split { grid-template-columns: 1fr; }
    .contact-map iframe { min-height: 280px; }
}

@media (max-width: 640px) {
    .hl-grid { grid-template-columns: 1fr; }
    .priv-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 44px 28px 52px; }
    .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 420px) {
    .hero { padding: 36px 20px 0; }
    .priv-grid { grid-template-columns: 1fr; }
    .b1 { width: 120px; height: 120px; margin-right: -24px; }
    .b2 { width: 190px; height: 190px; }
    .b3 { width: 128px; height: 128px; margin-left: -24px; }
}