/* ===================================
   Little Wonder Family Day Care
   Clean Minimalist Design
   Colors: Terracotta + Sand
   =================================== */

/* --- CSS Variables --- */
:root {
    --color-terracotta: #C05640;
    --color-terracotta-dark: #A04330;
    --color-sand: #F5F0E8;
    --color-sand-light: #FAF7F2;
    --color-sand-dark: #E8E0D0;
    --color-text: #2C2420;
    --color-text-light: #6B5E56;
    --color-white: #FFFFFF;
    --color-border: #E8E0D0;
    
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Manrope', sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --shadow-sm: 0 2px 8px rgba(44, 36, 32, 0.06);
    --shadow-md: 0 4px 20px rgba(44, 36, 32, 0.08);
    --shadow-lg: 0 8px 40px rgba(44, 36, 32, 0.12);
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-sand-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* --- Utility --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
}

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-terracotta);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    border: 2px solid var(--color-terracotta);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: var(--color-terracotta-dark);
    border-color: var(--color-terracotta-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-sm {
    padding: 0.625rem 1.5rem;
    font-size: 0.8125rem;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    color: var(--color-text);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--color-text);
    transition: all 0.3s ease;
}

.btn-text:hover {
    color: var(--color-terracotta);
    border-color: var(--color-terracotta);
}

.btn-full {
    width: 100%;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.logo .dot {
    color: var(--color-terracotta);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-light);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-terracotta);
}

/* --- Mobile Toggle --- */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-sand-light);
    z-index: 999;
    padding: var(--spacing-lg) var(--spacing-md);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    max-width: 400px;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-text);
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--color-border);
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--color-terracotta);
}

.mobile-contact-info {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-border);
}

.mobile-contact-info p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-xs);
}

.mobile-contact-info a {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-terracotta);
}

/* --- Hero --- */
.hero {
    padding-top: 120px;
    padding-bottom: var(--spacing-xl);
    background-color: var(--color-sand-light);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    margin-bottom: var(--spacing-sm);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.hero-title .highlight {
    color: var(--color-terracotta);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    max-width: 480px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background-color: var(--color-sand-dark);
    border-radius: var(--radius-md);
    z-index: -1;
}

/* --- Trust Bar --- */
.trust-bar {
    background-color: var(--color-sand);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: var(--spacing-md) 0;
}

.trust-grid {
    display: flex;
    justify-content: space-around;
    gap: var(--spacing-md);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.trust-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-terracotta);
    line-height: 1;
}

.trust-label {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    margin-top: 0.25rem;
}

/* --- About --- */
.about {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-sand-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-image-col img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about-content .lead {
    font-size: 1.125rem;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.about-content p {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.about-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.9375rem;
    color: var(--color-text);
}

.about-features li::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--color-terracotta);
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- Approach --- */
.approach {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-sand);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.approach-card {
    background-color: var(--color-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.approach-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-terracotta);
}

.card-icon {
    width: 56px;
    height: 56px;
    background-color: var(--color-sand);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-terracotta);
    margin-bottom: var(--spacing-sm);
}

.approach-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--spacing-xs);
}

.approach-card p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* --- Gallery --- */
.gallery {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-sand-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

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

/* --- Testimonial --- */
.testimonial {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-terracotta);
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial blockquote {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    color: var(--color-white);
    line-height: 1.5;
    margin-bottom: var(--spacing-md);
}

.testimonial cite {
    font-style: normal;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
}

/* --- Contact --- */
.contact {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-sand-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.contact-info .lead {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-item .label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-terracotta);
}

.contact-item .value {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.6;
}

.phone-link {
    color: var(--color-terracotta);
    font-weight: 500;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: var(--color-terracotta-dark);
}

/* --- Contact Form --- */
.contact-form-wrapper {
    background-color: var(--color-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--color-text);
    background-color: var(--color-sand-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-terracotta);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(192, 86, 64, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-light);
    opacity: 0.6;
}

.form-success {
    display: none;
    background-color: var(--color-sand);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: var(--spacing-sm);
    text-align: center;
    margin-top: var(--spacing-sm);
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--color-terracotta);
    font-weight: 500;
}

.form-success.show {
    display: block;
}

/* --- Map --- */
.map-section {
    border-top: 1px solid var(--color-border);
}

.map-section iframe {
    filter: grayscale(30%) contrast(1.1);
}

/* --- Footer --- */
.footer {
    background-color: var(--color-text);
    color: var(--color-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-brand .logo {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    display: inline-block;
}

.footer-brand p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.footer-contact a {
    font-size: 0.9375rem;
    color: var(--color-terracotta);
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .hero-image-wrapper {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero {
        padding-top: 100px;
        padding-bottom: var(--spacing-lg);
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .trust-grid {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .approach-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
