@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Poppins:wght@400;500;600&display=swap');

/* Base styles */
html {
    scroll-behavior: smooth;
}

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

body {
    background-color: #FDF7F7;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.nav-links a {
    font-family: 'Montserrat', sans-serif;
}

/* Mobile-first navigation */
nav {
    background-color: #FDF7F7;
    padding: 15px;
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    height: 50px;
    margin-bottom: 15px;
}

.nav-links {
    display: none;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    text-align: center;
    padding: 15px 0;
}

.nav-links.active {
    display: flex;
}

.nav-links a {
    text-decoration: none;
    color: #4A332F;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    padding: 10px 0;
}

/* Dropdown menu styles */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
    background-color: #FDF7F7;
    text-align: left;
}

.dropdown-menu a {
    padding: 8px 0;
    font-size: 15px;
    text-align: left;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    display: flex;
}

/* Mobile-first container */
.container {
    width: 100%;
    padding: 0 20px;
    margin-top: 100px;
}

h1 {
    font-size: 28px;
    font-weight: 600;
    color: #4B2C24;
    line-height: 1.3;
    margin-bottom: 20px;
}

h2 {
    font-size: 26px;
    font-weight: 300;
    color: #4B2C24;
    line-height: 1.35;
    margin-bottom: 18px;
}

h3 {
    font-size: 22px;
    font-weight: 500;
    color: #4B2C24;
    line-height: 1.4;
    margin-bottom: 16px;
}

p {
    font-size: 16px;
    color: #4A332F;
    line-height: 1.6;
}

.cta-button-primary {
    display: inline-block;
    background-color: #4B2C24;
    color: #FFFFFF;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(75, 44, 36, 0.2);
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    max-width: 300px;
}

.cta-button-primary:hover {
    background-color: #E8A798;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(75, 44, 36, 0.3);
}

.cta-button-secondary {
    display: inline-block;
    background-color: transparent;
    color: #4B2C24;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid #4B2C24;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    max-width: 300px;
}

.cta-button-secondary:hover {
    background-color: #4B2C24;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.service-link {
    display: inline-block;
    color: #4B2C24;
    font-weight: 500;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid #E8A798;
    border-radius: 50px;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: auto;
}

.service-link:hover {
    background-color: #4B2C24;
    color: white;
    border-color: #4B2C24;
}

.kid-image {
    height: auto;
    max-width: 70%;
    object-fit: contain;
}

.section-heading {
    text-align: center;
}

.section-heading--left {
    text-align: left;
}

.heading-divider::after {
    display: none;
}

h1.heading-divider::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #E8A798;
    margin: 12px auto 0;
}

h1.section-heading.section-heading--left.heading-divider::after {
    margin: 12px 0 0;
}

/* Generic helpers */
.justified {
    text-align: justify;
    text-justify: inter-word;
}

/* Footer */
.site-footer {
    background-color: #f6eee0;
    color: #4B2C24;
    padding: 60px 20px 30px;
    margin-top: 0;
}

.footer-inner {
    display: grid;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

#footer-nav {
    background-color: transparent;
    padding: 0;
    position: static;
    display: block;
    width: auto;
    margin: 0;
    box-shadow: none;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
    align-items: center;
}

.footer-logo {
    width: 220px;
    height: auto;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.footer-list .footer-label {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #4B2C24;
}

.footer-list a {
    color: #4B2C24;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: #B26E5D;
}

.footer-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: left;
}

.footer-item--address {
    align-items: flex-start;
}

.footer-icon {
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #4B2C24;
}

.footer-icon-svg {
    width: 18px;
    height: 18px;
}

.footer-instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    color: #4B2C24;
}

.footer-instagram-label {
    margin-top: 16px;
    font-size: 15px;
    font-weight: 600;
    color: #4B2C24;
}

.footer-instagram svg {
    width: 48px;
    height: 48px;
}

.footer-copy {
    text-align: center;
    color: #4B2C24;
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* WhatsApp floating button */
.whatsapp-icon {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    text-align: center;
    font-size: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

@media (max-width: 768px) {
    .whatsapp-icon {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
}

/* Tablet and desktop styles */
@media (min-width: 768px) {
    nav {
        flex-direction: row;
        justify-content: space-between;
        padding: 20px;
        position: sticky;
        max-width: 1200px;
        margin: 0 auto;
    }

    .logo {
        height: 75px;
        margin-bottom: 0;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
        gap: 40px;
        width: auto;
        padding: 0;
    }

    .nav-links a:after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: #E8A798;
        transform: scaleX(0);
        transform-origin: bottom right;
        transition: transform 0.3s ease-out;
    }

    .nav-links a:hover:after {
        transform: scaleX(1);
        transform-origin: bottom left;
    }

    .nav-links a.active:after {
        transform: scaleX(1);
        transform-origin: bottom left;
    }

    .nav-links:hover a.active:after {
        transform: scaleX(0);
        transform-origin: bottom right;
    }

    .nav-links a.active:hover:after {
        transform: scaleX(1);
    }

    /* Dropdown styles for desktop */
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 280px;
        background-color: #FDF7F7;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 5px;
        padding: 14px 12px;
        margin-top: 0;
        z-index: 1001;
    }

    .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -12px;
        left: 0;
        right: 0;
        height: 12px;
        background: transparent;
    }

    .dropdown-menu a {
        padding: 10px 15px;
        white-space: nowrap;
    }

    .dropdown-menu a:hover {
        background-color: #f0e8e0;
        border-radius: 3px;
    }

    .hamburger {
        display: none;
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        margin-top: 0;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 26px;
    }

    .cta-button-primary,
    .cta-button-secondary,
    .service-link {
        width: auto;
    }

    .kid-image {
        height: 400px;
        max-width: 100%;
    }

    .site-footer {
        padding: 60px 40px 40px;
    }

    .footer-inner {
        grid-template-columns: 1.2fr 0.9fr 1.1fr;
        align-items: flex-start;
    }

    .footer-brand {
        text-align: left;
        align-items: flex-start;
    }

    .footer-list {
        text-align: left;
        align-items: flex-start;
    }

    .footer-list a {
        font-size: 16px;
    }
}

@media (min-width: 1200px) {
    .container {
        padding: 0 20px;
    }

    h1 {
        font-size: 44px;
    }

    h2 {
        font-size: 33px;
    }

    h3 {
        font-size: 28px;
    }
}
