/* ===================================
   MyNextCamp - Coach-Focused Landing Page
   Updated with simpler design and visual backgrounds
   =================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Premium Color Palette - Beach Volleyball Inspired */
    --primary-color: #0EA5E9;        /* Sky blue - energetic, trustworthy */
    --primary-hover: #0284C7;
    --primary-light: #E0F2FE;
    --secondary-color: #F97316;      /* Sunset orange - warm, athletic */
    --secondary-hover: #EA580C;
    --coach-accent: #8B5CF6;         /* Purple - premium, distinctive */
    --coach-accent-hover: #7C3AED;

    /* Neutrals - Clean & Professional */
    --text-dark: #0F172A;            /* Deep slate - high contrast */
    --text-medium: #475569;
    --text-light: #94A3B8;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;

    /* Design System */
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows - Professional depth */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.4;
    color: var(--text-dark);
    background: var(--bg-white);
    font-size: 14px;
    position: relative;
}

/* Subtle greyed-out background image for entire page */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/beach-volleyball-coach.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* Full color background - no greyscale filter */
    filter: brightness(1.1);
    opacity: 0.40;  /* Same opacity, but now in full color */
    z-index: 0;
    pointer-events: none;
}

/* Ensure all sections are positioned above the background */
section {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===================================
   HEADER (SIMPLE)
   =================================== */

.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.tagline {
    font-size: 0.7rem;
    color: var(--text-medium);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===================================
   HERO SECTION (WITH BACKGROUND)
   =================================== */

.hero {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    /* No background - let the body background photo show through */
    background: transparent;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(135deg,
        rgba(14, 165, 233, 0.95) 0%,
        rgba(6, 182, 212, 0.92) 50%,
        rgba(249, 115, 22, 0.90) 100%);
    /* Smooth fade at bottom for elegant transition to photo */
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    padding: 1.5rem 1rem 2rem 1rem;
    max-width: 100%;
}

.hero h1 {
    font-size: 2.2rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.hero .mini-headline {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.98);
    font-weight: 600;
    font-style: italic;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.hero .subheadline {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 1);
    margin-bottom: 0;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
}

.credibility {
    margin-top: 0.75rem;
}

.credibility-stat {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: var(--border-radius-lg);
    font-weight: 700;
    font-size: 0.7rem;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    letter-spacing: 0.02em;
    transition: var(--transition-fast);
}

.credibility-stat:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

/* ===================================
   TWO-PANEL SIGNUP SECTION (SIMPLIFIED)
   =================================== */

.signup-section {
    padding: 0 0 2rem 0;
    background: transparent;  /* No background - let photo show through */
    position: relative;
    margin-top: -2rem;
}

.two-panel-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

.panel {
    background: rgba(255, 255, 255, 0.95);  /* Opaque white for form readability */
    padding: 1.25rem;
    border-radius: var(--border-radius-sm);  /* Softer corners */
    box-shadow: var(--shadow-md);  /* Stronger shadow for contrast */
    transition: var(--transition);
    border: 1px solid var(--border-color);  /* Subtle border instead of bold */
    position: relative;
    overflow: hidden;
}

.panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;  /* Thinner accent line */
    transition: var(--transition);
    opacity: 0.5;  /* Subtle */
}

.panel:hover {
    transform: translateY(-2px);  /* Gentle lift */
    box-shadow: var(--shadow-md);  /* Modest shadow increase */
    background: rgba(255, 255, 255, 0.85);  /* Slightly more solid on hover */
}

.panel-participants::before {
    background: var(--primary-color);  /* Solid color, not gradient */
}

.panel-participants:hover {
    border-color: rgba(14, 165, 233, 0.3);
}

.panel-coaches::before {
    background: var(--coach-accent);  /* Solid color, not gradient */
}

.panel-coaches:hover {
    border-color: rgba(139, 92, 246, 0.3);
}

.panel-icon {
    font-size: 1.8rem;  /* Smaller, less prominent */
    margin-bottom: 0.5rem;
    opacity: 0.7;  /* Softer */
}

.panel h2 {
    font-size: 1rem;  /* Smaller heading */
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 700;  /* Less bold */
    letter-spacing: -0.01em;
}

.panel-description {
    color: var(--text-medium);
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    line-height: 1.5;
}

.benefit-list-small {
    list-style: none;
    margin-bottom: 1rem;
    padding: 0;
}

.benefit-list-small li {
    padding-left: 1.5rem;
    margin-bottom: 0.4rem;
    position: relative;
    color: var(--text-dark);
    font-size: 0.75rem;
    line-height: 1.4;
}

.benefit-list-small li:before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: 900;
    font-size: 0.85rem;
}

.panel-participants .benefit-list-small li:before {
    color: var(--primary-color);
}

.panel-coaches .benefit-list-small li:before {
    color: var(--coach-accent);
}

/* ===================================
   FORMS (SIMPLIFIED WITH SMALLER CTAS)
   =================================== */

.signup-form {
    margin-top: 0.75rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
    font-size: 0.7rem;
    color: var(--text-dark);
    letter-spacing: 0.01em;
}

.form-group input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    transition: var(--transition-fast);
    background: var(--bg-white);
}

.form-group input:hover {
    border-color: rgba(148, 163, 184, 0.4);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
    background: white;
}

.panel-coaches .form-group input:focus {
    border-color: var(--coach-accent);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* SUBTLE CTA BUTTONS - Professional, not product-like */
.btn-cta {
    width: 100%;
    padding: 0.6rem 0.9rem;
    background: var(--primary-color);  /* Solid color, not gradient */
    color: white;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 600;  /* Less bold */
    cursor: pointer;
    transition: var(--transition-fast);
    margin-top: 0.75rem;
    letter-spacing: 0.01em;
    box-shadow: none;  /* No shadow - cleaner look */
}

.btn-cta:hover {
    background: var(--primary-hover);
    transform: none;  /* No lift - more subtle */
}

.btn-cta:active {
    transform: scale(0.98);  /* Subtle press effect */
}

.panel-coaches .btn-cta {
    background: var(--coach-accent);  /* Solid color, not gradient */
}

.panel-coaches .btn-cta:hover {
    background: var(--coach-accent-hover);
}

.privacy-note {
    margin-top: 0.6rem;
    font-size: 0.65rem;
    color: var(--text-light);
    text-align: center;
    line-height: 1.4;
}

/* ===================================
   WHAT WE'RE BUILDING SECTION
   =================================== */

.what-building {
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.85);  /* More transparent so background shows through */
    position: relative;
}

.what-building h2 {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.large-text {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-medium);
    max-width: 900px;
    margin: 0 auto 1.25rem;
    line-height: 1.6;
    font-weight: 500;
}

.progress-box {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(255, 255, 255, 0.9) 100%);
    padding: 1.25rem;
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.progress-box h3 {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 800;
}

.progress-list {
    list-style: none;
    padding: 0;
}

.progress-list li {
    padding: 0.3rem 0;
    font-size: 0.7rem;
    font-weight: 600;
}

.progress-done {
    color: var(--secondary-color);
}

.progress-current {
    color: var(--primary-color);
}

.progress-next {
    color: var(--text-light);
}

.last-updated {
    margin-top: 0.75rem;
    font-size: 0.65rem;
    color: var(--text-light);
    font-style: italic;
    text-align: right;
    font-weight: 500;
}

/* ===================================
   SAMPLE CAMPS SECTION (WITH BACKGROUND)
   =================================== */

.sample-camps {
    position: relative;
    padding: 2rem 0;
    overflow: hidden;
    /* Premium Sunset Gradient */
    background: linear-gradient(135deg, #F97316 0%, #FB923C 50%, #FBBF24 100%);
    /* For production: replace with high-res beach image */
    /* background-image: url('images/beach-background.jpg'); */
    background-size: cover;
    background-position: center;
}

.camps-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(249, 115, 22, 0.90) 0%,
        rgba(251, 146, 60, 0.88) 50%,
        rgba(251, 191, 36, 0.85) 100%);
    z-index: 1;
}

.sample-camps .container {
    position: relative;
    z-index: 2;
}

.sample-camps h2 {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.section-intro {
    text-align: center;
    color: rgba(255, 255, 255, 0.98);
    margin-bottom: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.camps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.camp-card-simple {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    padding: 1rem;
    border-radius: var(--border-radius-md);
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.camp-card-simple:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    background: white;
    border-color: white;
}

.camp-location {
    font-size: 0.65rem;
    color: var(--text-medium);
    margin-bottom: 0.4rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.camp-card-simple h3 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.camp-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1.5px solid var(--border-color);
}

.camp-dates,
.camp-price {
    font-size: 0.7rem;
    color: var(--text-medium);
    font-weight: 500;
}

.camp-price {
    font-weight: 800;
    color: var(--secondary-color);
}

.camp-tags {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(224, 242, 254, 0.8) 100%);
    color: var(--primary-color);
    border-radius: var(--border-radius-lg);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.camp-note {
    text-align: center;
    color: white;
    font-size: 0.75rem;
    margin-top: 0.75rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* ===================================
   FOUNDER SECTION
   =================================== */

.founder-section {
    padding: 2rem 0;
    background: rgba(248, 250, 252, 0.85);  /* More transparent so background shows through */
    position: relative;
}

.founder-box {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);  /* Slightly transparent */
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--secondary-color);
}

.founder-box h3 {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.founder-box p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.75rem;
    font-weight: 500;
}

.founder-note {
    font-style: italic;
    color: var(--text-medium);
    font-size: 0.7rem;
    margin-top: 0.75rem;
    font-weight: 600;
}

/* ===================================
   HOW IT WORKS SECTION
   =================================== */

.how-it-works {
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.85);  /* More transparent so background shows through */
    position: relative;
}

.how-it-works h2 {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 1400px;
    margin: 0 auto;
}

.step-box {
    text-align: center;
    padding: 1rem;
    background: rgba(248, 250, 252, 0.9);  /* Slightly transparent */
    border-radius: var(--border-radius-md);
    transition: var(--transition);
}

.step-box:hover {
    background: rgba(255, 255, 255, 0.95);  /* Slightly transparent on hover */
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #06B6D4 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 900;
    margin: 0 auto 0.75rem;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

.step-box h3 {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.step-box p {
    color: var(--text-medium);
    font-size: 0.7rem;
    line-height: 1.5;
    font-weight: 500;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
    color: white;
    padding: 1.5rem 0 0.75rem;
    border-top: 1px solid rgba(14, 165, 233, 0.15);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0.02em;
}

.footer-section p {
    margin-bottom: 0.3rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1.5;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.7rem;
    font-weight: 500;
}

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

.footer-phase {
    font-style: italic;
    font-size: 0.65rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-top: 0.4rem;
    display: inline-block;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.65rem;
    font-weight: 500;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero .subheadline {
        font-size: 1rem;
    }

    .two-panel-grid {
        grid-template-columns: 1fr;
    }

    .camps-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .header-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .tagline {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .panel {
        padding: 1.5rem;
    }

    .hero {
        min-height: 50vh;
    }
}
