/* ============================================================
   Rallyhaus Pickleball — site.css
   ============================================================ */

/* ------------------------------------------------------------
   CSS Variables
   ------------------------------------------------------------ */
:root {
    --rh-green:         #84d311;
    --rh-green-dark:    #6db30d;
    --rh-green-glow:    rgba(132, 211, 17, 0.35);
    --rh-green-subtle:  rgba(132, 211, 17, 0.10);
    --rh-dark:          #333333;
    --rh-darker:        #1e1e1e;
    --rh-mid:           #777777;
    --rh-light:         #f5f5f5;
    --rh-white:         #ffffff;
    --rh-body-text:     #4a4a4a;

    --font-heading:     'Montserrat', sans-serif;
    --font-body:        'Inter', sans-serif;

    --nav-height:       72px;
    --section-py:       96px;
    --radius:           14px;
    --radius-sm:        8px;
    --transition:       all 0.2s ease;
}

/* ------------------------------------------------------------
   Base Reset
   ------------------------------------------------------------ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--rh-dark);
    background: var(--rh-white);
    margin: 0;
    padding: 0;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
}

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

a {
    text-decoration: none;
}

/* ------------------------------------------------------------
   Navigation
   ------------------------------------------------------------ */
.rh-navbar {
    background: var(--rh-white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    padding: 14px 0;
    min-height: var(--nav-height);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    z-index: 1000;
}

.rh-navbar.scrolled {
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.10);
    border-color: transparent;
}

.nav-logo {
    height: 42px;
    width: auto;
}

.rh-navbar .nav-link {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rh-dark) !important;
    padding: 8px 14px !important;
    position: relative;
    transition: color 0.2s ease;
}

.rh-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--rh-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
    border-radius: 2px;
}

.rh-navbar .nav-link:hover {
    color: var(--rh-green) !important;
}

.rh-navbar .nav-link:hover::after {
    transform: scaleX(1);
}

/* Mobile nav styles */
.navbar-toggler {
    border: 2px solid var(--rh-dark);
    border-radius: var(--radius-sm);
    padding: 5px 9px;
    color: var(--rh-dark);
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23333333' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 767.98px) {
    .navbar-collapse {
        padding: 16px 0 8px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        margin-top: 12px;
    }

    .rh-navbar .nav-link {
        padding: 10px 0 !important;
        font-size: 0.85rem;
    }

    .rh-navbar .nav-link::after {
        left: 0;
        right: auto;
        width: 32px;
    }
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn-rh-primary {
    display: inline-block;
    background: var(--rh-green);
    color: var(--rh-dark);
    border: 2px solid var(--rh-green);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 13px 30px;
    border-radius: 30px;
    transition: var(--transition);
    cursor: pointer;
    line-height: 1;
}

.btn-rh-primary:hover {
    background: var(--rh-green-dark);
    border-color: var(--rh-green-dark);
    color: var(--rh-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--rh-green-glow);
}

.btn-rh-outline {
    display: inline-block;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.35);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 13px 30px;
    border-radius: 30px;
    transition: var(--transition);
    cursor: pointer;
    line-height: 1;
}

.btn-rh-outline:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.70);
    color: var(--rh-white);
}

/* ------------------------------------------------------------
   Section Utilities
   ------------------------------------------------------------ */
.section-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--rh-green);
    margin-bottom: 10px;
    display: block;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--rh-dark);
    line-height: 1.18;
    margin-bottom: 20px;
}

.section-heading.light {
    color: var(--rh-white);
}

.section-intro {
    font-size: 1.05rem;
    color: var(--rh-mid);
    max-width: 580px;
    margin-bottom: 52px;
    line-height: 1.7;
}

.section-intro.light {
    color: rgba(255, 255, 255, 0.60);
}

.section-body {
    color: var(--rh-body-text);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

/* ------------------------------------------------------------
   Hero Section
   ------------------------------------------------------------ */
.hero-section {
    background-color: var(--rh-dark);
    background-image:
        radial-gradient(circle at 20% 80%, rgba(132, 211, 17, 0.07) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(132, 211, 17, 0.05) 0%, transparent 45%);
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
}

.hero-inner {
    max-width: 680px;
    margin: 0 auto;
}

.hero-logo {
    display: block;
    height: 140px;
    width: auto;
    margin: 0 auto 52px;
    filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.45));
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--rh-white);
    line-height: 1.15;
    margin-bottom: 22px;
    letter-spacing: -0.01em;
}

.hero-headline-accent {
    color: var(--rh-green);
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.60);
    line-height: 1.75;
    margin-bottom: 44px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ------------------------------------------------------------
   About Section
   ------------------------------------------------------------ */
.section-about {
    background: var(--rh-white);
    padding: var(--section-py) 0;
}

/* Stats row */
.about-stats {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 40px;
    background: var(--rh-light);
    border-radius: var(--radius);
    overflow: hidden;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    gap: 6px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--rh-green);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--rh-mid);
    line-height: 1.4;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

/* Founder card */
.founder-card {
    background: var(--rh-light);
    border-radius: var(--radius);
    padding: 40px;
    border-left: 4px solid var(--rh-green);
    height: 100%;
}

.founder-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}

.founder-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--rh-green);
    color: var(--rh-dark);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.founder-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--rh-dark);
    margin: 0 0 2px;
}

.founder-title {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rh-green);
    display: block;
}

.founder-bio {
    color: var(--rh-body-text);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 14px;
}

.founder-bio:last-of-type {
    margin-bottom: 20px;
}

.founder-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rh-dark);
    background: var(--rh-green-subtle);
    border: 1px solid rgba(132, 211, 17, 0.30);
    padding: 5px 12px;
    border-radius: 20px;
}

/* ------------------------------------------------------------
   Partners / Work With Me Section
   ------------------------------------------------------------ */
.section-partners {
    background: var(--rh-light);
    padding: var(--section-py) 0;
}

/* Contact alerts */
.contact-alert {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 28px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-alert i {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.contact-alert--success {
    background: rgba(132, 211, 17, 0.12);
    border: 1px solid rgba(132, 211, 17, 0.40);
    color: var(--rh-dark);
}

.contact-alert--success i {
    color: var(--rh-green);
}

.contact-alert--error {
    background: rgba(220, 53, 69, 0.08);
    border: 1px solid rgba(220, 53, 69, 0.30);
    color: #a52030;
}

.contact-alert--error i {
    color: #dc3545;
}

/* Contact form */
.contact-form {
    background: var(--rh-white);
    border-radius: var(--radius);
    padding: 44px 48px;
    border: 1px solid rgba(0, 0, 0, 0.07);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--rh-dark);
    margin: 0;
}

.required {
    color: var(--rh-green);
}

.form-input {
    width: 100%;
    background: var(--rh-light);
    border: 1.5px solid rgba(0, 0, 0, 0.10);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--rh-dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    -webkit-appearance: none;
}

.form-input::placeholder {
    color: #aaaaaa;
}

.form-input:focus {
    border-color: var(--rh-green);
    box-shadow: 0 0 0 3px var(--rh-green-subtle);
    background: var(--rh-white);
}

.form-textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.65;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-submit i {
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.btn-submit:hover i {
    transform: translateX(3px);
}

/* ------------------------------------------------------------
   Connect Section
   ------------------------------------------------------------ */
.section-connect {
    background: var(--rh-darker);
    background-image:
        radial-gradient(circle at 10% 90%, rgba(132, 211, 17, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(132, 211, 17, 0.04) 0%, transparent 40%);
    padding: var(--section-py) 0;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius);
    padding: 40px 24px;
    text-decoration: none;
    transition: var(--transition);
    gap: 10px;
    height: 100%;
    cursor: pointer;
}

.social-card:hover {
    background: rgba(132, 211, 17, 0.09);
    border-color: rgba(132, 211, 17, 0.50);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.social-card--pending {
    opacity: 0.40;
    cursor: default;
    pointer-events: none;
}

.social-icon {
    font-size: 2.4rem;
    color: var(--rh-white);
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.social-card:hover .social-icon {
    color: var(--rh-green);
}

.social-platform {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--rh-white);
}

.social-handle {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
}

.social-cta {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rh-green);
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.social-cta i {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
}

.social-card:hover .social-cta i {
    transform: translateX(3px);
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.rh-footer {
    background: var(--rh-dark);
    padding: 44px 0;
    border-top: 3px solid var(--rh-green);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    text-align: center;
}

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

.footer-social {
    display: flex;
    gap: 22px;
    align-items: center;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.50);
    font-size: 1.25rem;
    transition: color 0.2s ease;
    text-decoration: none;
}

.footer-social a:hover {
    color: var(--rh-green);
}

.footer-copy {
    color: rgba(255, 255, 255, 0.30);
    font-size: 0.78rem;
    margin: 0;
    letter-spacing: 0.02em;
}

/* ------------------------------------------------------------
   Responsive — Tablet
   ------------------------------------------------------------ */
@media (max-width: 991.98px) {
    :root {
        --section-py: 76px;
    }

    .section-heading {
        font-size: 2.1rem;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .contact-form {
        padding: 36px 32px;
    }
}

/* ------------------------------------------------------------
   Responsive — Mobile
   ------------------------------------------------------------ */
@media (max-width: 767.98px) {
    :root {
        --section-py: 60px;
    }

    .hero-headline {
        font-size: 2rem;
    }

    .hero-logo {
        height: 68px;
        margin-bottom: 40px;
    }

    .hero-sub {
        font-size: 0.98rem;
    }

    .section-heading {
        font-size: 1.8rem;
    }

    .founder-card {
        padding: 28px 24px;
    }

    .about-stats {
        flex-direction: row;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.68rem;
    }

    .contact-form {
        padding: 28px 24px;
    }

    .social-card {
        padding: 28px 20px;
    }

    .social-icon {
        font-size: 2rem;
    }
}

/* ------------------------------------------------------------
   Responsive — Small Mobile
   ------------------------------------------------------------ */
@media (max-width: 575.98px) {
    .hero-headline {
        font-size: 1.75rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .btn-rh-primary,
    .btn-rh-outline {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .section-heading {
        font-size: 1.6rem;
    }

    .partner-card {
        padding: 24px 16px;
    }

    .section-intro {
        font-size: 0.95rem;
        margin-bottom: 36px;
    }
}
