@charset "UTF-8";

/*
 * Wake Forest University Baseball Camps
 * Style Sheet — based on ARMS base template
 * Fonts: din-condensed (display), din-2014 (body) via Adobe Typekit kit sfk8ydj
 * Fallback stack: 'Barlow Condensed' (display), 'Barlow' (body)
 * Brand: --dark-color = #1A1A1A | --light-color = #CEB888
 */

/* ============================================================
   0. FONT IMPORTS
   ============================================================ */

/* Adobe Typekit — din-condensed + Din 2014 */
@import url('https://use.typekit.net/sfk8ydj.css');

/* ============================================================
   1. BASE
   ============================================================ */

html {
    scroll-behavior: smooth;
    /* Account for fixed main nav (60px) + secondary tab strip (46px) */
    scroll-padding-top: 116px;
}

body {
    padding-top: 106px; /* main nav 60px + tab strip 46px */
    font-family: 'din-2014', 'Barlow', sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
}

/* ============================================================
   2. TYPOGRAPHY & UTILITIES
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'din-condensed', 'Barlow Condensed', sans-serif;
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.text-decoration-none {
    text-decoration: none !important;
}

.client-link {
    color: var(--light-color) !important;
}

.section-label {
    font-family: 'din-condensed', 'Barlow Condensed', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--light-color);
    display: block;
    margin-bottom: 6px;
}

/* Gold rule accent — used above section titles */
.gold-rule {
    width: 48px;
    height: 3px;
    background-color: var(--light-color);
    margin: 0 auto 18px;
    border: none;
}

.gold-rule.left {
    margin-left: 0;
}

/* ============================================================
   3. NAVIGATION — MAIN NAV
   ============================================================ */

.bg-client-dark {
    background-color: var(--dark-color) !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    align-items: stretch !important;
    border-bottom: 2px solid var(--light-color);
}

.bg-client-dark .d-flex {
    align-self: stretch;
}

.bg-client-dark .navbar-nav li a {
    color: #ffffff !important;
    font-family: 'din-condensed', 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.navbar-brand {
    align-self: center;
}

.nav-text {
    font-family: 'din-condensed', 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ffffff;
}

/* Toggler */
.navbar-toggler {
    border: none;
    border-radius: 0;
    padding: 0 20px;
    font-size: 1rem;
    color: #ffffff !important;
    align-self: stretch;
    margin-right: -1rem;
}

.navbar-toggler::before {
    content: "\2630";
    font-size: 1.5rem;
    display: inline-block;
    width: 1em;
    text-align: center;
}

.navbar-toggler::after {
    content: " Menu";
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

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

@media (max-width: 1199.98px) {
    .navbar-toggler {
        border-left: 1px solid rgba(255,255,255,0.2);
    }

    .navbar-toggler:not(.collapsed)::before {
        content: "\00D7";
    }

    #navbarCollapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #1A1A1A;
        z-index: 1000;
        padding: 0;
        border-top: 1px solid rgba(206,184,136,0.25);
    }

    #navbarCollapse .navbar-nav {
        width: 100%;
        margin: 0 !important;
    }

    #navbarCollapse .nav-item {
        border-bottom: 1px solid rgba(255,255,255,0.08);
        margin: 0 !important;
        text-align: left;
    }

    #navbarCollapse .nav-link {
        padding: 16px 20px !important;
        font-size: 0.95rem;
        color: #ffffff !important;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
    }

    #navbarCollapse .nav-link::after {
        content: "\203A";
        font-size: 1.5rem;
        line-height: 1;
        color: var(--light-color);
        opacity: 0.8;
    }

    #navbarCollapse .nav-link:hover {
        background-color: rgba(206,184,136,0.1);
        color: var(--light-color) !important;
    }

    /* Section label divider inside mobile menu */
    .nav-divider-item {
        border-top: 1px solid rgba(206,184,136,0.25) !important;
        margin-top: 4px !important;
    }

    .nav-section-label {
        font-size: 0.65rem !important;
        letter-spacing: 0.18em;
        color: var(--light-color) !important;
        opacity: 0.8;
        pointer-events: none;
        cursor: default;
    }

    .nav-section-label::after {
        display: none !important;
    }
}

/* Desktop hover behavior */
@media all and (min-width: 1200px) {
    .navbar .nav-item:hover .nav-link {
        color: var(--light-color) !important;
    }

    .navbar .nav-item .dropdown-menu {
        display: none;
        margin-top: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        display: block;
    }

    .navbar-expand-xl .navbar-nav {
        height: 60px;
        align-items: center;
    }

    .navbar-expand-xl .navbar-nav .nav-link {
        height: 60px;
        display: flex !important;
        align-items: center;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* ============================================================
   3B. SECONDARY TAB STRIP
   ============================================================ */

#tabStrip {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 1029;
    background-color: #111111;
    border-bottom: 1px solid rgba(206,184,136,0.3);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap;
    height: 46px;
    display: flex;
    align-items: stretch;
}

#tabStrip::-webkit-scrollbar {
    display: none;
}

#tabStrip .tab-list {
    display: flex;
    align-items: stretch;
    list-style: none;
    margin: 0;
    padding: 0 12px;
}

#tabStrip .tab-list li {
    display: flex;
    align-items: stretch;
}

#tabStrip .tab-list a {
    display: flex;
    align-items: center;
    padding: 0 16px;
    font-family: 'din-condensed', 'Barlow Condensed', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}

#tabStrip .tab-list a:hover,
#tabStrip .tab-list a.active {
    color: var(--light-color);
    border-bottom-color: var(--light-color);
}

/* ============================================================
   4. HERO
   ============================================================ */

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(
        160deg,
        rgba(0,0,0,0.72) 0%,
        rgba(0,0,0,0.38) 45%,
        rgba(0,0,0,0.65) 100%
    );
}

.message {
    position: absolute;
    left: 8%;
    right: 8%;
    top: 50%;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    text-align: left;
    transform: translateY(-50%);
}

.welcome {
    color: #ffffff !important;
    text-transform: uppercase;
}

.message .welcome {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
}

.welcome-primary {
    display: block;
    font-family: 'din-condensed', 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.95;
    letter-spacing: 0.03em;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

.welcome-secondary {
    display: block;
    font-family: 'din-condensed', 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: 0.08em;
    color: var(--light-color);
    text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}

.hero-gold-line {
    width: 60px;
    height: 4px;
    background-color: var(--light-color);
    margin-bottom: 18px;
    display: block;
}

/* ============================================================
   5. BUTTONS
   ============================================================ */

.btn-client {
    font-family: 'din-condensed', 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    color: var(--dark-color) !important;
    background-color: var(--light-color);
    border-color: var(--light-color);
    border-radius: 0;
    padding: 10px 28px;
    text-transform: uppercase;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-client:hover {
    color: #ffffff !important;
    background-color: var(--gold-dark);
    border-color: var(--gold-dark);
}

.btn-client-outline {
    font-family: 'din-condensed', 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    color: var(--light-color) !important;
    background-color: transparent;
    border: 2px solid var(--light-color);
    border-radius: 0;
    padding: 10px 28px;
    text-transform: uppercase;
    transition: all 0.2s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-client-outline:hover {
    color: var(--dark-color) !important;
    background-color: var(--light-color);
    text-decoration: none;
}

/* ============================================================
   6. CAMP CARDS — Split hero treatment (2-up)
   ============================================================ */

.camps-split {
    display: flex;
    gap: 0;
}

.camp-card {
    position: relative;
    flex: 1;
    min-height: 420px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-color: #111111;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.camp-card:hover,
.camp-card:focus,
.camp-card:active {
    text-decoration: none;
    color: inherit;
}

/* Each card gets its own overlay bg (color coded) */
.camp-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.3) 55%, transparent 100%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.camp-card:hover::before {
    opacity: 0.7;
}

.camp-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.camp-card:hover .camp-card-bg {
    transform: scale(1.04);
}

/* Youth camp: black bg placeholder */
.camp-card--youth .camp-card-bg {
    background-color: #1A1A1A;
    /* background-image: url('../imgs/youth_camp_bg.jpg'); */
}

/* Prospect camp: slightly different tone */
.camp-card--prospect .camp-card-bg {
    background-color: #252010;
    /* background-image: url('../imgs/prospect_camp_bg.jpg'); */
}

/* Divider between cards */
.camp-card--youth {
    border-right: 3px solid var(--light-color);
}

.camp-card-body {
    position: relative;
    z-index: 2;
    padding: 32px 36px;
}

.camp-card-eyebrow {
    font-family: 'din-condensed', 'Barlow Condensed', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--light-color);
    margin-bottom: 8px;
    display: block;
}

.camp-card-title {
    font-family: 'din-condensed', 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1;
    letter-spacing: 0.03em;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.camp-card-desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 340px;
}

/* Gold tag badges on cards */
.camp-tag {
    display: inline-block;
    font-family: 'din-condensed', 'Barlow Condensed', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background-color: var(--light-color);
    color: var(--dark-color);
    padding: 3px 10px;
    margin-right: 6px;
    margin-bottom: 14px;
}

@media (max-width: 767.98px) {
    .camps-split {
        flex-direction: column;
    }

    .camp-card--youth {
        border-right: none;
        border-bottom: 3px solid var(--light-color);
    }

    .camp-card {
        min-height: 320px;
    }

    .camp-card-body {
        padding: 24px 24px;
    }
}

/* ============================================================
   7. STAFF BIOS — horizontal media object
   ============================================================ */

.staff-bio {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.staff-bio .staff-headshot {
    width: 180px;
    flex-shrink: 0;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.staff-bio-body {
    flex: 1;
}

.staff-name {
    font-size: 1.5rem;
    margin-bottom: 2px;
}

.staff-title {
    display: block;
    font-family: 'din-2014', 'Barlow', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--light-color);
    margin-bottom: 16px;
}

@media (max-width: 575.98px) {
    .staff-bio {
        flex-direction: column;
        gap: 16px;
    }

    .staff-bio .staff-headshot {
        width: 100%;
        max-width: 240px;
    }
}

/* ============================================================
   8. SECTION STYLES (formerly info tabs nav)
   ============================================================ */

/* ============================================================
   8. SOCIAL MEDIA
   ============================================================ */

.social-icon {
    padding: 0;
    font-size: 18px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 5px 4px;
    border-radius: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
    border: 1px solid rgba(206,184,136,0.4);
    color: var(--light-color);
    background-color: transparent;
}

.social-icon:hover {
    background-color: var(--light-color);
    color: var(--dark-color) !important;
    text-decoration: none;
    border-color: var(--light-color);
}

/* ============================================================
   9. CONTACT SECTION
   ============================================================ */

.contact-section {
    background-color: var(--dark-color);
    color: #ffffff;
    padding: 60px 0;
}

.contact-section h3 {
    color: var(--light-color);
    font-family: 'din-condensed', 'Barlow Condensed', sans-serif;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.contact-section p,
.contact-section address {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    font-style: normal;
    line-height: 1.8;
}

.contact-section a {
    color: var(--light-color) !important;
    text-decoration: none;
}

.contact-section a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* ============================================================
   10. FOOTER
   ============================================================ */

.site-footer {
    background-color: #0d0d0d;
    border-top: 2px solid var(--light-color);
    padding: 20px 0;
}

.footer-text {
    color: rgba(255,255,255,0.55);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ============================================================
   11. BACK TO TOP
   ============================================================ */

#b2topBtn {
    display: none;
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 99;
    outline: none;
    background-color: var(--dark-color);
    color: var(--light-color) !important;
    cursor: pointer;
    padding: 0;
    border-radius: 0;
    font-size: 18px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--light-color);
    display: none;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

#b2topBtn:hover {
    background-color: var(--light-color);
    color: var(--dark-color) !important;
}

/* ============================================================
   12. SECTION BACKGROUNDS
   ============================================================ */

.bg-pale-gold {
    background-color: var(--gold-pale);
}

.bg-dark-section {
    background-color: #111111;
}

.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--light-color), transparent);
    border: none;
    margin: 0;
}

/* ============================================================
   13. RESPONSIVE
   ============================================================ */

@media (max-width: 1199.98px) {
    /* Hide the fixed tab strip on mobile — tabs live in the hamburger menu */
    #tabStrip {
        display: none;
    }

    /* Body only needs to clear the single nav bar (60px) */
    body {
        padding-top: 44px;
    }

    html {
        scroll-padding-top: 70px;
    }
}

@media (max-width: 767.98px) {
    .welcome,
    .welcome-primary {
        color: #ffffff !important;
    }

    .welcome-secondary {
        color: var(--light-color) !important;
    }

    .message {
        left: 6%;
        right: 6%;
    }
}