/* Global Styles for Live-In Childcare Match */

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

:root {
    /* Colors - Easy to customize! Just change these values */
    --coral: #FF6B6B;           /* Main accent color */
    --soft-coral: #FFA07A;      /* Lighter coral for hover states */
    --cream: #FFF5F0;           /* Soft background color */
    --warm-white: #FFFBF7;      /* Main background */
    --soft-blue: #6FA3BE;       /* Secondary accent */
    --sage-green: #95B99C;      /* Tertiary accent */
    --warm-gray: #6B5B5C;       /* Muted text */
    --text-dark: #3D3D3D;       /* Main text color */
    --golden: #F4A460;          /* Alternative accent */
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    
    /* Border Radius */
    --radius-small: 10px;
    --radius-medium: 20px;
    --radius-large: 30px;
    --radius-round: 50%;
}

/* Typography */
body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--warm-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

/* Handwritten accent font */
.handwritten,
h1 span,
h2 span {
    font-family: 'Caveat', cursive;
    color: var(--coral);
}

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

/* Header Styles */
header {
    background: var(--warm-white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    font-weight: 700;
    color: var(--coral);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--coral);
    background: var(--cream);
}

.nav-links .cta-button {
    background: var(--coral);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
}

.nav-links .cta-button:hover {
    background: var(--soft-coral);
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--coral);
}

/* Main Content Area */
main {
    margin-top: 80px; /* Account for fixed header */
}

/* Section Styles */
.section {
    padding: var(--section-padding);
}

.section-light {
    background: var(--warm-white);
}

.section-cream {
    background: var(--cream);
}

.section-white {
    background: white;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header h2 span {
    font-family: 'Caveat', cursive;
    color: var(--coral);
    font-size: 3rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--warm-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: var(--radius-large);
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--coral);
    color: white;
}

.btn-primary:hover {
    background: var(--soft-coral);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,107,107,0.3);
}

.btn-secondary {
    background: white;
    color: var(--coral);
    border: 2px solid var(--coral);
}

.btn-secondary:hover {
    background: var(--coral);
    color: white;
    transform: translateY(-3px);
}

.btn-light {
    background: var(--cream);
    color: var(--text-dark);
}

.btn-light:hover {
    background: white;
    transform: translateY(-3px);
}

/* Cards */
.card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-medium);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 3px solid transparent;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--coral);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* Feature Icons */
.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--cream);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

/* Lists */
.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    padding: 0.75rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-dark);
}

.check-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--coral);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Image Styles */
.rounded-image {
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.circle-image {
    border-radius: var(--radius-round);
    overflow: hidden;
    border: 8px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Decorative Elements */
.blob-decoration {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: radial-gradient(circle, var(--soft-coral) 0%, transparent 70%);
    opacity: 0.1;
    z-index: -1;
}

.dashed-border {
    border: 3px dashed var(--coral);
    border-radius: var(--radius-round);
}

/* Quote Box */
.quote-box {
    background: var(--cream);
    padding: 2rem;
    border-radius: var(--radius-medium);
    position: relative;
    font-style: italic;
    margin: 2rem 0;
}

.quote-box:before {
    content: """;
    font-size: 4rem;
    color: var(--coral);
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: Georgia, serif;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
    color: var(--soft-coral);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--soft-coral);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.text-coral { color: var(--coral); }
.text-gray { color: var(--warm-gray); }
.text-dark { color: var(--text-dark); }

/* Responsive Design */
@media (max-width: 768px) {
    /* Hide desktop nav */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    /* Show mobile menu */
    .mobile-menu {
        display: block;
    }
    
    /* Adjust typography */
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }
    
    /* Stack grids on mobile */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    /* Adjust section padding */
    :root {
        --section-padding: 60px 0;
    }
    
    /* Simplify decorative elements */
    .blob-decoration,
    .dashed-border {
        display: none;
    }
}

@media (max-width: 480px) {
    /* Further mobile adjustments */
    .container {
        padding: 0 15px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .card {
        padding: 1.5rem;
    }
}
