/* Kids BJJ Landing Page - Custom Color Palette */
:root {
    /* Core Palette */
    --pure-white: #FFFFFF;
    --soft-cool-gray: #F5F7FA;
    --medium-gray: #7D8A92;
    --trust-blue: #000000;
    
    /* Additional accent colors for kids */
    --light-blue: #E3F2FD;
    --dark-blue: #2E5BBA;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--medium-gray);
    background-color: var(--pure-white);
}

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

/* Navigation */
.navbar {
    background: var(--pure-white);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo h2 {
    color: var(--trust-blue);
    font-size: 1.5rem;
    font-weight: 700;
}

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

.nav-link {
    text-decoration: none;
    color: var(--medium-gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--trust-blue);
}

.cta-button {
    background: var(--trust-blue);
    color: var(--pure-white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: var(--dark-blue);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--medium-gray);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--soft-cool-gray) 0%, var(--light-blue) 100%);
    padding: 120px 20px 80px;
    text-align: center;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--trust-blue);
    margin-bottom: 1.5rem;
    max-width: 800px;
}

#hero p {
    font-size: 1.25rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
    max-width: 600px;
}

.cta-btn {
    background: var(--trust-blue);
    color: var(--pure-white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-btn:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

/* Mobile-First Form Optimization */
form {
    max-width: 100%;
    margin: 0 auto;
}

form input, form select, form button {
    width: 100%;
    padding: 16px;
    margin-bottom: 16px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 16px; /* Prevents zoom on iOS */
    font-family: inherit;
}

form button {
    background: var(--trust-blue);
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    min-height: 48px; /* Touch target size */
}

form button:hover {
    background: #333;
}

@media (max-width: 768px) {
    form {
        padding: 0 10px;
    }
    
    form input, form select {
        font-size: 16px; /* Prevents zoom */
        padding: 18px;
    }
}

/* Benefits Section */
#benefits {
    padding: 80px 20px;
    background: var(--pure-white);
    text-align: center;
}

#benefits h2 {
    font-size: 2.5rem;
    color: var(--trust-blue);
    margin-bottom: 3rem;
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-card {
    background: var(--soft-cool-gray);
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card h3 {
    color: var(--trust-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefit-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* Safety Section */
#safety {
    padding: 80px 20px;
    background: var(--soft-cool-gray);
}

#safety h2 {
    font-size: 2.5rem;
    color: var(--trust-blue);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

.safety-content {
    max-width: 800px;
    margin: 0 auto;
}

.safety-text h3 {
    color: var(--trust-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.safety-text p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Reviews Section */
#reviews {
    padding: 80px 20px;
    background: var(--pure-white);
    text-align: center;
}

#reviews h2 {
    font-size: 2.5rem;
    color: var(--trust-blue);
    margin-bottom: 3rem;
    font-weight: 700;
}

.review {
    background: var(--soft-cool-gray);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem auto;
    max-width: 600px;
    border-left: 4px solid var(--trust-blue);
}

.review p {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 1rem;
    font-style: italic;
}

.review span {
    color: var(--trust-blue);
    font-weight: 600;
}

#reviews a {
    color: var(--trust-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

#reviews a:hover {
    color: var(--dark-blue);
}

/* Schedule Section */
#schedule {
    padding: 80px 20px;
    background: var(--soft-cool-gray);
    text-align: center;
}

#schedule h2 {
    font-size: 2.5rem;
    color: var(--trust-blue);
    margin-bottom: 3rem;
    font-weight: 700;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.schedule-card {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.schedule-card h3 {
    color: var(--trust-blue);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.schedule-card p {
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Trial Form Section */
#trial {
    padding: 80px 20px;
    background: var(--pure-white);
    text-align: center;
}

#trial h2 {
    font-size: 2.5rem;
    color: var(--trust-blue);
    margin-bottom: 3rem;
    font-weight: 700;
}

form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--trust-blue);
    font-weight: 600;
}

input, select {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 2px solid var(--soft-cool-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--trust-blue);
}

button {
    width: 100%;
    background: var(--trust-blue);
    color: var(--pure-white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
}

/* Location Section */
#location {
    padding: 80px 20px;
    background: var(--soft-cool-gray);
    text-align: center;
}

#location h2 {
    font-size: 2.5rem;
    color: var(--trust-blue);
    margin-bottom: 2rem;
    font-weight: 700;
}

#location p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

#location a {
    color: var(--trust-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

#location a:hover {
    color: var(--dark-blue);
}

iframe {
    border-radius: 12px;
    margin: 2rem 0;
}

/* FAQ Section */
#faq {
    padding: 80px 20px;
    background: var(--pure-white);
    text-align: center;
}

#faq h2 {
    font-size: 2.5rem;
    color: var(--trust-blue);
    margin-bottom: 3rem;
    font-weight: 700;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background: var(--soft-cool-gray);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--trust-blue);
}

.faq-item h3 {
    color: var(--trust-blue);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq-item p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .faq-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .faq-item h3 {
        font-size: 1.2rem;
    }
    
    iframe {
        height: 250px;
    }
    
    form {
        padding: 0 10px;
    }
    
    form input, form select {
        font-size: 16px; /* Prevents zoom */
        padding: 18px;
        min-height: 48px; /* Touch target size */
    }
}

/* Footer */
.footer {
    background: var(--trust-blue);
    color: var(--pure-white);
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--pure-white);
}

.footer-section p {
    color: var(--light-blue);
    line-height: 1.6;
}

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

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

.footer-section ul li a {
    color: var(--light-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--pure-white);
}

.footer-section a {
    color: var(--light-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid var(--dark-blue);
    padding-top: 1rem;
    text-align: center;
    color: var(--light-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--pure-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
    
    #hero p {
        font-size: 1.1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .schedule-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
