/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: #4A4A4A;
    overflow-x: hidden;
}

/* ===== COLOR PALETTE VARIABLES ===== */
:root {
    /* Primary Colors */
    --sky-blue: #89CFF0;
    --gherkin-green: #90C226;
    
    /* Secondary Colors */
    --sunshine-yellow: #FDEE87;
    
    /* Accent Colors */
    --action-orange: #FF7A5A;
    
    /* Neutrals */
    --chalk-white: #FFFFFF;
    --asphalt: #4A4A4A;
    
    /* Additional Colors for Depth */
    --light-blue: #B8E6FF;
    --dark-green: #7BA31A;
    --soft-orange: #FFB8A3;
    --light-yellow: #FFF4B3;
}

/* ===== LOADING ANIMATION ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--sky-blue), var(--light-blue));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.pickle-jar {
    position: relative;
    width: 120px;
    height: 150px;
    margin-bottom: 2rem;
}

.jar-body {
    width: 100%;
    height: 120px;
    background: var(--chalk-white);
    border-radius: 0 0 20px 20px;
    border: 4px solid var(--asphalt);
    position: relative;
    overflow: hidden;
}

.jar-lid {
    width: 100%;
    height: 30px;
    background: var(--asphalt);
    border-radius: 20px 20px 0 0;
    position: absolute;
    top: -4px;
}

.gherkins-container {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
}

.gherkin {
    position: absolute;
    font-size: 1.5rem;
    animation: bounce 1s infinite ease-in-out;
}

.gherkin-1 {
    top: 10px;
    left: 10px;
    animation-delay: 0s;
}

.gherkin-2 {
    top: 30px;
    right: 10px;
    animation-delay: 0.3s;
}

.gherkin-3 {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0.6s;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.loading-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--asphalt);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* ===== TYPOGRAPHY ===== */
h1 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 4rem;
    line-height: 1.1;
    color: var(--asphalt);
}

h2 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 2.375rem;
    line-height: 1.2;
    color: var(--asphalt);
}

h3 {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 1.625rem;
    line-height: 1.3;
    color: var(--asphalt);
}

p {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--asphalt);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--chalk-white);
    border-bottom: 3px solid var(--gherkin-green);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gherkin-green);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-link {
    text-decoration: none;
    color: var(--asphalt);
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--gherkin-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gherkin-green);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--action-orange);
    color: var(--chalk-white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 122, 90, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 122, 90, 0.4);
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--sky-blue) 0%, var(--light-blue) 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 2rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cloud {
    position: absolute;
    background: var(--chalk-white);
    border-radius: 50px;
    opacity: 0.9;
    animation: float 6s ease-in-out infinite;
}

.cloud-1 {
    width: 80px;
    height: 40px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.cloud-2 {
    width: 120px;
    height: 60px;
    top: 15%;
    right: 20%;
    animation-delay: 2s;
}

.cloud-3 {
    width: 100px;
    height: 50px;
    top: 25%;
    left: 60%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
    text-align: left;
    padding-right: 2rem;
}

.hero-title {
    color: var(--asphalt);
    margin-bottom: 1rem;
    animation: slideInDown 1s ease-out 0.3s both;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--asphalt);
    font-weight: 600;
    animation: slideInUp 1s ease-out 0.6s both;
}

@keyframes slideInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.gherkin-character {
    position: relative;
    z-index: 3;
    animation: wave 2s ease-in-out infinite;
}

.gherkin-body {
    font-size: 6rem;
    animation: bounce 1s infinite;
}

.gherkin-paddle {
    position: absolute;
    top: -20px;
    right: -30px;
    font-size: 3rem;
    animation: spin 2s linear infinite;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.scroll-prompt {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
    z-index: 2;
}

.bouncing-arrow {
    font-size: 2rem;
    color: var(--action-orange);
    margin-bottom: 0.5rem;
}

.scroll-text {
    font-weight: 600;
    color: var(--asphalt);
    font-size: 1.1rem;
}

/* ===== JOURNEY SECTIONS ===== */
.journey-container {
    position: relative;
}

.journey-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.school-bg {
    background: linear-gradient(135deg, var(--sunshine-yellow) 0%, var(--light-yellow) 100%);
}

.park-bg {
    background: linear-gradient(135deg, var(--gherkin-green) 0%, var(--dark-green) 100%);
}

.court-bg {
    background: linear-gradient(135deg, var(--action-orange) 0%, var(--soft-orange) 100%);
}


/* ===== CONTENT REVEALS ===== */
.content-reveal {
    position: relative;
    z-index: 5;
    max-width: 800px;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
    padding: 2rem;
}

.content-reveal.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.info-bubble {
    background: var(--chalk-white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    backdrop-filter: blur(10px);
}

.info-bubble::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid var(--chalk-white);
}

.school-info {
    border-left: 5px solid var(--sunshine-yellow);
}

.community-info {
    border-left: 5px solid var(--gherkin-green);
}

.court-info {
    border-left: 5px solid var(--action-orange);
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--asphalt);
}

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

.value-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-yellow);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* ===== COMMUNITY CHARACTERS ===== */
.community-characters {
    position: absolute;
    top: 50%;
    right: 10%;
    z-index: 1;
    opacity: 0.3;
    transform: translateY(-50%);
}

.character {
    position: absolute;
    font-size: 2.5rem;
    animation: bounce 2s infinite;
}

.character-1 {
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.character-2 {
    top: 50px;
    left: 50px;
    animation-delay: 0.5s;
}

.character-3 {
    top: 100px;
    left: 25px;
    animation-delay: 1s;
}

/* ===== COURT SECTION - BACKGROUND PADDLES ===== */
.court-characters {
    position: absolute;
    top: 15%;
    right: 5%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 80px;
    opacity: 0.3;
}

.player {
    font-size: 2.5rem;
    animation: bounce 1.5s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--chalk-white);
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.player-1 { 
    animation-delay: 0s; 
}

.player-2 { 
    animation-delay: 0.3s; 
}

.player-3 { 
    animation-delay: 0.6s; 
}

.player-4 { 
    animation-delay: 0.9s; 
}




/* ===== CTA CHOICES ===== */
.cta-choices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.cta-button {
    background: var(--chalk-white);
    border: 2px solid var(--action-orange);
    border-radius: 15px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: var(--light-yellow);
}

.button-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.button-text h3 {
    margin-bottom: 0.5rem;
    color: var(--asphalt);
}

.button-text p {
    color: var(--asphalt);
    font-size: 1rem;
}

/* ===== CONTACT FORMS ===== */
.forms-section {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--chalk-white) 100%);
    padding: 4rem 2rem;
    position: relative;
    z-index: 10;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    background: var(--chalk-white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 11;
}

.form-container h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--asphalt);
}

.form-container p {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--asphalt);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--asphalt);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gherkin-green);
    box-shadow: 0 0 0 3px rgba(144, 194, 38, 0.1);
}

.submit-button {
    width: 100%;
    background: var(--action-orange);
    color: var(--chalk-white);
    border: none;
    padding: 1.25rem 2rem;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 122, 90, 0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 122, 90, 0.4);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--asphalt);
    color: var(--chalk-white);
    padding: 2rem 1rem 1rem;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.footer-logo h3 {
    color: var(--gherkin-green);
    margin: 0;
    font-size: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--chalk-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #666;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0 1rem;
    }
    
    .nav-links {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .nav-cta {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text {
        padding-right: 0;
    }
    
    .gherkin-character {
        order: -1;
    }
    
    .gherkin-body {
        font-size: 4rem;
    }
    
    .info-bubble {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-choices {
        grid-template-columns: 1fr;
    }
    
    /* Hide side characters on mobile to prevent layout issues */
    .community-characters,
    .court-characters {
        display: none;
    }
    
    .journey-section {
        padding: 0;
    }
    
    .contact-form {
        padding: 2rem;
        margin: 0 1rem 2rem 1rem;
    }
    
    .forms-section {
        padding: 2rem 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-logo {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .info-bubble {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .cta-button {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .button-icon {
        font-size: 2.5rem;
    }
    
    .journey-section {
        padding: 0;
    }
    
    .contact-form {
        padding: 1.5rem;
        margin: 0 0.5rem 2rem 0.5rem;
    }
    
    .forms-section {
        padding: 1.5rem 0.5rem;
    }
    
    .nav-container {
        padding: 0 0.5rem;
    }
    
    .nav-links {
        gap: 0.25rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
    }
    
    .nav-cta {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-logo {
        justify-content: center;
    }
}