/* =========================================================
   VILLAGERS SKI CLUB
   ABOUT PAGE
   ========================================================= */


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    color: #10213d;
    background: #ffffff;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 16px;
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 92%;
    max-width: 1220px;

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */
   
   .header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background: rgba(4, 19, 45, 0.90);
}

.nav {
    height: 96px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    width: 300px;
    height: 85px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.40));
    flex-shrink: 0;
}

.nav-links {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
}

.nav-links a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.nav-links a:hover,
.nav-links a.active {
    color: #69b4ff;
}

.join-btn {
    background: #0878ee !important;
    color: #ffffff !important;
    padding: 12px 22px;
    border-radius: 25px;
}

.join-btn:hover {
    background: #0568d5 !important;
}

.menu {
  display: none;
  color: #fff;
  font-size: 26px;
  background: none;
  border: 0;
}

.menu-btn {
    display: none;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 26px;
    cursor: pointer;
}



.brand-villagers {
    color: #ffffff;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -1.8px;
    line-height: 0.9;
    text-transform: uppercase;

    text-shadow:
        2px 2px 0 #0878ee,
        3px 3px 0 #0568d5,
        0 5px 10px rgba(0,0,0,0.5);
}

.site-header {
    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    z-index: 50;

    background: rgba(4, 19, 45, 0.94);
}

.header-inner {
    width: 92%;
    max-width: 1220px;

    height: 78px;

    margin: 0 auto;

    display: flex;
    align-items: center;

    gap: 25px;
}


/* LOGO */

.site-brand {
    display: flex;
    flex-direction: column;

    justify-content: center;

    color: #ffffff;

    line-height: 0.9;

    white-space: nowrap;
}

.site-brand span {
    font-size: 25px;

    font-weight: 900;

    letter-spacing: 1.5px;
}

.site-brand strong {
    margin-top: 4px;

    color: #69b4ff;

    font-size: 13px;

    font-weight: 900;

    letter-spacing: 3px;
}



/* JOIN BUTTON */

.join-button {
    padding: 11px 20px;

    color: #ffffff !important;

    background: #0878ee;

    border-radius: 24px;

    font-size: 12px !important;

    font-weight: 900 !important;
}

.join-button:hover {
    background: #0568d5;
}


/* MOBILE MENU BUTTON */

.menu-button {
    display: none;

    margin-left: auto;

    color: #ffffff;

    background: transparent;

    border: 0;

    font-size: 29px;

    cursor: pointer;
}


/* =========================================================
   COMPACT PAGE HEADER
   ========================================================= */

.page-header {
    position: relative;

    padding-top: 130px;
    padding-bottom: 55px;

    color: #ffffff;

    background:
        linear-gradient(
            110deg,
            #061a3b 0%,
            #09295d 55%,
            #0d4389 100%
        );
}

.page-header .container {
    position: relative;
    z-index: 2;
}


/* EYEBROW */

.eyebrow {
    margin-bottom: 9px;

    color: #0878ee;

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.page-header .eyebrow {
    color: #69b4ff;
}


/* PAGE TITLE */

.page-header h1 {
    margin: 0 0 12px;

    color: #ffffff;

    font-size: 54px;

    line-height: 1;

    font-weight: 900;

    letter-spacing: -1px;
}


/* PAGE DESCRIPTION */

.page-header p {
    max-width: 800px;

    margin: 0;

    color: rgba(255,255,255,0.92);

    font-size: 18px;

    line-height: 1.5;
}


/* =========================================================
   ABOUT SECTION
   ========================================================= */

.about-section {
    padding: 80px 0;

    background: #ffffff;
}

.about-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 65px;

    align-items: center;
}


/* =========================================================
   ABOUT TEXT
   ========================================================= */

.about-content h2,
.history-content h2 {
    margin: 0 0 20px;

    color: #09295d;

    font-size: 38px;

    line-height: 1.12;

    font-weight: 900;
}

.about-content p,
.history-content p {
    margin: 0 0 18px;

    color: #5d6d83;

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================================
   PRIMARY BUTTON
   ========================================================= */

.primary-button {
    display: inline-block;

    margin-top: 10px;

    padding: 14px 23px;

    color: #ffffff;

    background: #0878ee;

    border-radius: 26px;

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 0.3px;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.primary-button:hover {
    background: #0568d5;

    transform: translateY(-2px);
}


/* =========================================================
   IMAGE PLACEHOLDER
   ========================================================= */

.image-placeholder {
    width: 100%;
    min-height: 390px;
    overflow: hidden;
}

.image-placeholder img {
    display: block;
    width: 100%;
    height: 390px;
    object-fit: cover;
    object-position: center center;
}

.placeholder-content {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    color: #5d6d83;
}

.placeholder-icon {
    margin-bottom: 12px;

    font-size: 42px;

    opacity: 0.65;
}

.placeholder-content strong {
    color: #09295d;

    font-size: 15px;

    letter-spacing: 1px;
}

.placeholder-content span {
    margin-top: 4px;

    font-size: 12px;

    color: #718197;
}


/* =========================================================
   HISTORY SECTION
   ========================================================= */

.history-section {
    padding: 80px 0;

    background: #eaf4ff;
}

.history-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 65px;

    align-items: center;
}


/* HISTORY IMAGE */

.history-image {
    min-height: 390px;
}


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

.site-footer {
    padding: 45px 0 20px;

    color: #d5e1f1;

    background: #041329;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.6fr
        1fr
        1fr
        1.4fr;

    gap: 35px;
}


/* FOOTER BRAND */

.footer-logo {
    display: flex;

    flex-direction: column;

    margin-bottom: 15px;

    color: #ffffff;

    font-size: 25px;

    font-weight: 900;

    line-height: 0.9;

    letter-spacing: 1.5px;
}

.footer-logo strong {
    margin-top: 5px;

    color: #69b4ff;

    font-size: 13px;

    letter-spacing: 3px;
}

.footer-brand p {
    margin: 0;

    color: #9fb1c9;

    font-size: 13px;
}


/* FOOTER LINKS */

.site-footer h4 {
    margin: 0 0 13px;

    color: #ffffff;

    font-size: 14px;
}

.site-footer a {
    display: block;

    margin: 7px 0;

    color: #c8d6e9;

    font-size: 13px;
}

.site-footer a:hover {
    color: #ffffff;
}


/* COPYRIGHT */

.copyright {
    margin-top: 30px;

    padding-top: 18px;

    color: #8ea3bf;

    border-top:
        1px solid rgba(255,255,255,0.12);

    text-align: center;

    font-size: 12px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .brand-villagers {
        font-size: 25px;
    }

    .about-grid,
    .history-grid {
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns:
            1.5fr 1fr 1fr;
    }
}

/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 760px) {

    .header {
        position: absolute;
    }

    .nav {
        height: 70px;
        position: relative;
        display: flex;
        align-items: center;
    }

    .brand-villagers {
        font-size: 22px;
        white-space: nowrap;
    }

    /* Show hamburger */

    .menu {
        display: block;
        margin-left: auto;

        color: #ffffff;
        background: transparent;
        border: 0;

        font-size: 30px;
        line-height: 1;

        cursor: pointer;
    }

    /* Hide navigation by default */

    .nav-links {
        display: none;

        position: absolute;

        top: 70px;
        left: 0;
        right: 0;

        margin: 0;
        padding: 20px;

        background: #061a3b;

        flex-direction: column;

        align-items: flex-start;

        gap: 17px;

        z-index: 100;
    }

    /* JavaScript adds .open to .nav */

    .nav.open .nav-links {
        display: flex;
    }

    .nav-links a {
        width: 100%;

        color: #ffffff;

        font-size: 14px;
    }

    .join-btn {
        width: auto;

        margin-top: 5px;
    }


    /* PAGE HEADER */

    .page-header {
        padding-top: 105px;
        padding-bottom: 40px;
    }

    .page-header h1 {
        font-size: 44px;
    }

    .page-header p {
        font-size: 16px;
    }


    /* BODY */

    .about-grid,
    .history-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .about-section,
    .history-section {
        padding: 60px 0;
    }

    .about-content h2,
    .history-content h2 {
        font-size: 32px;
    }


    /* IMAGES */

    .image-placeholder {
        min-height: 300px;
    }

    .image-placeholder img {
        height: 300px;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr 1fr;

        gap: 30px;
    }
}


/* =========================================================
   PHONE
   ========================================================= */

@media (max-width: 480px) {

    .container {
        width: 94%;
    }

    .nav {
        height: 68px;
    }

    .brand-villagers {
        font-size: 19px;
        letter-spacing: -1px;
    }

    .menu {
        font-size: 28px;
    }

    .nav-links {
        top: 68px;
    }


    /* PAGE HEADER */

    .page-header {
        padding-top: 95px;
        padding-bottom: 35px;
    }

    .page-header h1 {
        font-size: 38px;
    }

    .page-header p {
        font-size: 15px;
    }


    /* BODY */

    .about-section,
    .history-section {
        padding: 50px 0;
    }

    .about-content h2,
    .history-content h2 {
        font-size: 29px;
    }

    .about-content p,
    .history-content p {
        font-size: 15px;
    }


    /* BUTTON */

    .primary-button {
        width: 100%;
        text-align: center;
    }


    /* IMAGES */

    .image-placeholder {
        min-height: 250px;
    }

    .image-placeholder img {
        height: 250px;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 22px;
    }
}