@charset "UTF-8";

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 71px; /* clears the fixed 71px nav for every anchor */
}

body {
    padding-top: 71px; /* Height of the fixed nav bar */
    font-family: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Scroll targets live on the section headers. scroll-padding-top (above) clears
   the nav; this adds a little breathing room so the heading isn't flush to it. */
.section-anchor {
    scroll-margin-top: 30px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: "Tomorrow", "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 700;
    color: var(--dark-color);
}

p {
  text-wrap: pretty;
}

.section-heading {
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-heading::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--light-color);
    border-radius: 2px;
}

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

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

.eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--light-color);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* ============================================================
   3. NAVIGATION
   ============================================================ */

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

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

.bg-client-dark .navbar-nav li a {
    color: #ffffff !important;
}

.navbar-brand,
.navbar .nav-link {
    font-family: "Tomorrow", "Mulish", -apple-system, sans-serif;
}

.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: #ffffff;
        z-index: 1000;
        padding: 0;
    }

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

    #navbarCollapse .nav-item {
        border-bottom: 1px solid #e9e9e9;
        margin: 0 !important;
        text-align: left;
    }

    #navbarCollapse .nav-link {
        padding: 16px 20px !important;
        font-size: 1rem;
        color: #212529 !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: #212529;
        opacity: 0.5;
    }

    #navbarCollapse .nav-link:hover {
        background-color: #f8f9fa;
        color: #212529 !important;
    }
}

/* Dropdown / hover behaviour (desktop) */
@media all and (min-width: 1200px) {
    .navbar .nav-item:hover .nav-link {
        color: var(--med-color) !important;
    }

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

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

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

.hero {
    position: relative;
    height: 82vh;
    min-height: 460px;
    background: #0C2340 center/cover no-repeat;
    background-image: url("../imgs/hero.webp");
}

.hero .overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(12, 35, 64, 0.72) 0%, rgba(12, 35, 64, 0.35) 45%, rgba(12, 35, 64, 0.85) 100%);
}

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

.hero-logo {
    display: block;
    width: 90px;
    height: auto;
    margin: 0 auto 18px;
}

.welcome {
    color: #ffffff !important;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
}

.welcome-primary {
    display: block;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: 3px;
    color: #ffffff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.welcome-secondary {
    display: block;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

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

.btn-client {
    color: #ffffff !important;
    background-color: var(--light-color);
    border-color: var(--light-color);
    font-weight: 700;
    letter-spacing: 0.5px;
}

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

.btn-outline-client {
    color: var(--light-color) !important;
    background-color: transparent;
    border: 2px solid var(--light-color);
    font-weight: 700;
}

.btn-outline-client:hover {
    color: #ffffff !important;
    background-color: var(--light-color);
}

/* ============================================================
   6. ABOUT
   ============================================================ */

.about-block {
    background: #f6f8fb;
    border-left: 4px solid var(--light-color);
    border-radius: 6px;
    padding: 28px 30px;
    height: 100%;
}

.about-block h4 {
    color: var(--dark-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.about-block p {
    color: #3c4552;
    margin-bottom: 0;
}

/* ============================================================
   7. CAMP CARDS  (populated live by camps.js)
   ============================================================ */

.camp-category {
    color: var(--dark-color);
    font-weight: 700;
    letter-spacing: 1px;
    border-bottom: 2px solid #e6e9ee;
    padding-bottom: 8px;
}

.camp-card {
    border: 1px solid #e6e9ee;
    border-radius: 10px;
    padding: 26px 24px;
    height: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(12, 35, 64, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    display: flex;
    flex-direction: column;
}

.camp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(12, 35, 64, 0.14);
}

.camp-card .camp-name {
    font-family: "Tomorrow", "Mulish", -apple-system, sans-serif;
    color: var(--dark-color);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.camp-card .camp-teaser {
    color: #56606d;
    font-size: 0.94rem;
    flex-grow: 1;
    margin-bottom: 18px;
}

.camp-card .btn {
    align-self: flex-start;
}

/* --- Camp card v2 anatomy (dates / location / per-option rows) --- */
.camp-date {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--light-color);
    margin-bottom: 10px;
}

.camp-loc {
    font-size: 0.85rem;
    color: #8a929d;
    margin-bottom: 12px;
}

.camp-loc i { margin-right: 5px; }

.camp-options {
    border-top: 1px solid #eef0f3;
    margin-top: 4px;
}

.option-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eef0f3;
}

.option-info {
    flex: 1 1 auto;
    min-width: 0;
}

.option-name {
    display: block;
    font-size: 0.9rem;
    color: var(--dark-color);
}

.option-left {
    display: inline-block;
    margin-top: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 999px;
    background: #ffdcc2;
    color: #9a3412;
}

.option-price {
    font-weight: 700;
    color: var(--dark-color);
    white-space: nowrap;
}

.option-row.is-out .option-name,
.option-row.is-out .option-price {
    color: #aab0b8;
    text-decoration: line-through;
}

.btn-select {
    flex: 0 0 auto;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    line-height: 1.5;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 6px;
    color: #fff !important;
    background: var(--light-color);
    border: 1px solid var(--light-color);
    white-space: nowrap;
}

.btn-select:hover { background: var(--dark-color); border-color: var(--dark-color); text-decoration: none; }

.btn-select.is-out {
    color: #aab0b8 !important;
    background: #f1f3f5;
    border-color: #e3e6ea;
    pointer-events: none;
}

.camp-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 999px;
    margin-top: 16px;
}

.camp-badge i { margin-right: 7px; }

.badge-open  { background: #c9edd3; color: #15803d; }
.badge-spots { background: #ffdcc2; color: #9a3412; }
.badge-full  { background: #f1f3f5; color: #8a929d; }

.camp-status { line-height: 1; }
.camp-cta { margin-top: 14px; }
.camp-cta .btn { font-weight: 700; letter-spacing: 0.5px; }
.camp-cta .btn.disabled { opacity: 1; background: #eceef1; border-color: #eceef1; color: #9aa0a6 !important; }

/* --- Closed / sold-out card --- */
.camp-card-closed {
    background: #fbfbfc;
}

.camp-card-closed .camp-name {
    color: #5b6470;
}

.camp-card-closed .camp-date,
.camp-card-closed .camp-loc {
    color: #aab0b8;
}

.camp-closed {
    text-align: center;
    background: #f4f5f7;
    border-radius: 8px;
    padding: 18px 14px;
    margin-top: 16px;
}

.camp-closed-icon {
    font-size: 1.15rem;
    color: #8a929d;
}

.camp-closed-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #5b6470;
    margin-top: 6px;
}

.camp-closed-sub {
    font-size: 0.85rem;
    color: #8a929d;
    margin-top: 2px;
}

.camps-notice {
    max-width: 520px;
    margin: 10px auto;
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border: 1px solid #e6e9ee;
    border-radius: 10px;
}

.camps-notice-icon {
    font-size: 2rem;
    color: var(--light-color);
    margin-bottom: 14px;
}

.camps-notice h5 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.camps-notice p {
    color: #56606d;
    font-size: 0.95rem;
    margin-bottom: 22px;
}

/* ============================================================
   8. FACILITIES
   ============================================================ */

.facility-card {
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e6e9ee;
    height: 100%;
}

.facility-card .facility-body {
    padding: 26px 28px;
}

.facility-card h4 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 14px;
}

.facility-card p {
    color: #56606d;
    font-size: 0.95rem;
}

/* ============================================================
   9. TESTIMONIALS
   ============================================================ */

.testimonial-group-title {
    color: var(--light-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
}

.testimonial {
    background: #fff;
    border: 1px solid #e6e9ee;
    border-top: 4px solid var(--light-color);
    border-radius: 8px;
    padding: 24px 26px;
    height: 100%;
}

.testimonial p {
    color: #3c4552;
    font-style: italic;
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.testimonial .attribution {
    color: var(--dark-color);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.testimonial .quote-mark {
    color: var(--med-color);
    font-size: 2.4rem;
    line-height: 0.3;
    font-family: "Tomorrow", "Mulish", sans-serif;
}

/* ============================================================
   10. 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 3px;
    border-radius: 50%;
    transition: opacity 0.2s ease;
}

.social-icon:hover {
    opacity: 0.85;
    text-decoration: none;
    color: white !important;
}

.social-fb { background: #1877f2; color: white; }
.social-tw { background: #000000; color: white; }
.social-ig { background: #c13584; color: white; }

/* ============================================================
   11. FOOTER
   ============================================================ */

footer.site-footer {
    background-color: var(--dark-color);
}

.footer-text {
    color: #ffffff;
    font-size: 0.75rem;
}

/* ============================================================
   12. BACK TO TOP
   ============================================================ */

#b2topBtn {
    position: fixed;
    bottom: calc(28px + env(safe-area-inset-bottom));
    right: 24px;
    z-index: 99;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    color: #ffffff;
    background-color: var(--light-color);
    cursor: pointer;
    /* hidden by default; the .is-visible class fades it in */
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s ease;
}

#b2topBtn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

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

@media (prefers-reduced-motion: reduce) {
    #b2topBtn { transition: none; transform: none; }
}

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

@media (max-width: 767.98px) {
    .hero { height: 70vh; }
    .welcome-primary { font-size: 2.4rem; }
    .welcome-secondary { font-size: 1.3rem; }
}