*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Outline appears when links/buttons are tabbed to with keyboard for accessibility. */
a:focus-visible {
    outline: 2px solid #C68C3E;
    outline-offset: 3px;
}

html {
    font-size: 16px;
    font-family: "Lexend Giga";
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

p {
    font-family: "Lexend Exa";
    font-weight: 500;
}

.grey-paragraph {
    color: #818181;
    font-weight: 400;
}

h1 {
     font-size: clamp(2rem, 8vw, 3.5rem);
    font-family: "Lexend Zetta";
    font-weight: 500;
}




h2 {
    font-family: "Lexend Peta";
    font-weight: 600;
}

.hero h2 {
    font-size: clamp(1rem, 5vw, 2.25rem);
    font-weight: 300;
    
}

.title {
    display: inline-flex;
    align-items: center;
    padding: .5rem;
    color: #C68C3E;
    font-size: 0.6rem;
    font-family: "Lexend Mega";
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: linear-gradient(to right, rgba(198, 140, 62, 0.12), transparent);
    border-radius: 999px;
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
}

/* Header and Hero Section */

header {
    width: 95%;
    padding-top: 0.75rem;
}

.header-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin: auto;
    max-width: 1200px;
}

.header-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-left: 0.75rem;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
}

/* Logo wrapper can be clicked and gets a subtle hover lift/glow. */
.logo-link {
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}

.logo-link:hover,
.logo-link:focus-visible {
    transform: translateY(-2px) scale(1.01);
    opacity: 0.95;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}

.logo {
    max-width: 7rem;
    min-width: 4rem;
    height: auto;
    display: block;
}

.header-buttons {
    display: inline-block;
    color: white;
    font-size: 0.75rem;
    font-family: "Lexend Mega";
    letter-spacing: 0.12em;
    text-align: right;
    line-height: 1.3;
    opacity: 0.9;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Small hover lift on header nav links. */
.header-buttons:hover {
    opacity: 1;
    transform: translateY(-1px);
}

/* Hero uses a large scenic background and fills most of the screen. */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url(Images/Hero.avif);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 2rem;
    min-height: 100vh;
}

/* Hero text block stays centered within the hero area. */
.hero-text {
    flex: 1;
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    gap: 2rem;
    padding-top: 2rem;
}

/* Base button style used across the site. */
.button {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    font-family: "Lexend Mega";
    font-size: 0.8rem;
    line-height: 1;
    text-decoration: none;
    color: white;
}

.plan-button {
    background-color: #C68C3E;
}

.highlights-button {
    background: linear-gradient(to bottom,
            rgba(20, 20, 20, 0.25),
            rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.black-button {
    color: black;
    border: 1.5px solid black;
    background: transparent;
}

.hero-buttons,
.two-buttons {
    
    max-width: 90vw;
    display: flex;
    gap: 0.75rem 1rem;
    flex-wrap: wrap;
}

.hero-buttons{
justify-content: center;
}

.two-buttons{
    margin-top: auto;
}

/* Shared transition for buttons and arrow links. */
.button,
.black-button,
.highlights-button,
.card-arrow {
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* Small lift on hover/focus so buttons feel clickable. */
.button:hover,
.black-button:hover,
.highlights-button:hover,
.card-arrow:hover,
.button:focus-visible,
.black-button:focus-visible,
.highlights-button:focus-visible,
.card-arrow:focus-visible {
    transform: translateY(-2px);
}

/* Hover glow on the gold CTA button. */
.plan-button:hover,
.plan-button:focus-visible {
    box-shadow: 0 10px 24px rgba(198, 140, 62, 0.28);
}

/* Brightens the glass button when hovered or keyboard focused. */
.highlights-button:hover,
.highlights-button:focus-visible {
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.22),
            rgba(255, 255, 255, 0.08));
    border-color: rgba(255, 255, 255, 0.35);
}

/* Black outline button gets a soft glass hover effect. */
.black-button:hover,
.black-button:focus-visible {
    background: linear-gradient(to bottom,
            rgba(20, 20, 20, 0.05),
            rgba(255, 255, 255, 0.12));
    border: 1px solid rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    color: black;
}

/* Brightens the circular arrow button on hover/focus. */
.card-arrow:hover,
.card-arrow:focus-visible {
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.26),
            rgba(255, 255, 255, 0.10));
}

/* END OF HEADER AND HERO SECTION */

/* Start of Stats Section */

.stats-container {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 1200px;
    background-color: #DCE6E9;
    border-radius: 15px;
    margin: auto;
    padding: 3.75rem 4rem;
    width: 90vw;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.stat-set {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    gap: .5rem;
    flex: 1;
    min-width: 0;
}

.stat-big {
    color: #C68C3E;
    font-family: "Lexend Tera";
    font-size: 1.75rem;
    line-height: 1;
}

.stat-small {
    font-family: "Lexend Exa";
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.7);
}

/* End of STATS section */

/* Start of Overview section */

.overview-container {
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    gap: 2rem;
    padding-bottom: 2rem;
    width: 90vw;
    border-bottom: 2px solid rgba(0, 0, 0, 0.21);
    border-radius: 10px;
}

.overview-text-card,
.overview-img,
.plan-text-card,
.plan-img {
    flex: 1 1 400px;
}

/* Text cards are aligned toward the top instead of sitting too centered. */
.overview-text-card,
.plan-text-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-width: 0;
    text-align: left;
    
}

/* Inner copy keeps heading and paragraph grouped with consistent spacing. */
.overview-copy,
.plan-copy,
.intro-copy {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding-top: 1rem;
    padding-bottom: 1.5rem;
}

.overview-img,
.plan-img {
    height: auto;
    overflow: hidden;
    border-radius: 15px;
}

.overview-img img,
.plan-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}



/* Start of Highlights Grid */

.grid-container {
    border-bottom: 2px solid rgba(0, 0, 0, 0.21);
    border-radius: 10px;
    width: 90vw;
    display: grid;
    max-width: 1200px;
    margin: auto;
    gap: 1rem;
    padding-bottom: 2rem;
    grid-template-areas:
        "a"
        "b"
        "c"
        "d"
        "e"
        "f"
        "g";
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    justify-content: space-between;
    width: 100%;
    border-radius: 15px;
    color: white;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-header {
    font-family: "Lexend Peta";
    font-size: clamp(1rem, 2vw, 1.5rem);
    letter-spacing: 0.06em;
    line-height: 1.05;
    text-transform: uppercase;
    font-weight: 500;
}

/* Cards lift slightly on hover for a more interactive feel. */
.card:hover {
    transform: translateY(-3px);
}

/* Hidden dark gradient overlay that fades in on hover to improve text readability. */
.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.62) 0%,
            rgba(0, 0, 0, 0.32) 25%,
            rgba(0, 0, 0, 0.10) 45%,
            rgba(0, 0, 0, 0.02) 60%,
            rgba(0, 0, 0, 0) 75%);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 1;
    pointer-events: none;
}

/* Card text stays above the hover overlay. */
.card-copy {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

/* Description text is hidden by default and revealed on hover. */
.card-description {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, max-height 0.25s ease;
    font-family: "Lexend Exa";
    font-size: 1rem;
    line-height: 1.4;
}

/* Reveal bottom overlay on hover or keyboard focus. */
.card:hover::before,
.card:focus-within::before {
    opacity: 1;
}

/* Reveal hidden description on hover or keyboard focus. */
.card:hover .card-description,
.card:focus-within .card-description {
    opacity: 1;
    max-height: 6rem;
    transform: translateY(0);
}

/* Remove hover overlay from the intro card since it is text-based. */
.intro::before {
    display: none;
}

/* Assign areas */

.intro {
    color: black;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    grid-area: a;
    padding: 0;
}



.winter {
    aspect-ratio: 1 / 1;
    grid-area: b;
    background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url(Images/Board_WEB.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right center;
}

.tours {
    aspect-ratio: 1 / 1;
    grid-area: c;
    background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url(Images/Tour_WEB.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.wildlife {
    aspect-ratio: 1 / 1;
    grid-area: d;
    background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url(Images/wildlife_WEB.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.water {
    aspect-ratio: 1 / 1;
    grid-area: e;
    background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url(Images/boat_WEB.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.mountains {
    aspect-ratio: 1 / 1;
    grid-area: f;
    background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url(Images/Scene_WEB.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
}

.trails {
    aspect-ratio: 1 / 1;
    grid-area: g;
    background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url(Images/TRAILS_WEB.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right center;
}

/* Glass arrow CTA sits above the overlay and brightens on hover. */
.card-arrow {
    position: relative;
    z-index: 2;
    align-self: flex-end;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.18),
            rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.card-arrow svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: white;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Start of Plan Your Visit section */

.plan-container {
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    gap: 1.5rem;
    padding-bottom: 2rem;
    width: 90vw;
}

/* Footer */

footer {
    background-color: #222222;
    color: white;
    padding: 3rem 0 1.5rem;
    border-top: 2rem solid #C68C3E;
}

.footer-container {
    width: 90vw;
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.19);
    border-radius: 10px;
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 24rem;
}

.footer-logo {
    width: clamp(6rem, 12vw, 8rem);
    height: auto;
    display: block;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-heading {
    font-family: "Lexend Mega";
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: #C68C3E;
    text-transform: uppercase;
}

/* Footer links get a lift and animated underline on hover. */
.footer-column a {
    color: white;
    font-family: "Lexend Exa";
    font-size: 0.78rem;
    opacity: 0.85;
    position: relative;
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Underline starts hidden and grows left-to-right on hover. */
.footer-column a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.2rem;
    width: 100%;
    height: 1px;
    background-color: #C68C3E;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.footer-column a:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.footer-column a:hover::after {
    transform: scaleX(1);
}

.footer-bottom {
    width: 90vw;
    max-width: 1200px;
    margin: 1.25rem auto 0;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
}

/* MEDIA QUERIES */

/* ========== TABLET (768px) ========== */
@media (min-width: 768px) {

    

    /* Hero gets a little shorter on tablet so it does not feel oversized. */
    .hero {
        min-height: 88vh;
    }

    /* Larger hero heading for bigger screens. */
  

    .overview-img,
    .plan-img {
        height: 22rem;
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .header-nav {
        margin-top: 0;
        flex-direction: row;
        gap: 2rem;
        border-radius: 999px;
        color: white;
        align-items: center;
        padding: 0.9rem 1.4rem;
        font-family: "Lexend Mega";
        font-size: 0.7rem;
        height: fit-content;
        background: linear-gradient(to bottom,
                rgba(20, 20, 20, 0.25),
                rgba(255, 255, 255, 0.06));
        border: 1px solid rgba(255, 255, 255, 0.22);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    }

    .stats-container {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }

    .stat-set {
        flex-direction: row;
    }

    .grid-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "a a"
            "c b"
            "d b"
            "f f"
            "e g";
    }

    .winter {
        grid-row: span 2;
        aspect-ratio: auto;
    }

    .mountains {
        aspect-ratio: 2 / 1;
    }

    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .footer-links {
        flex-direction: row;
        gap: 4rem;
    }
}

/* ========== DESKTOP (1024px) ========== */
@media (min-width: 1024px) {

    /* Hero gets slightly shorter than mobile on desktop too. */
    .hero {
        min-height: 84vh;
    }

 

    .grid-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-areas:
            "b a a"
            "b c c"
            "d e g"
            "f f g";
    }

    .intro-copy {
        padding-right: 10rem;
    }

    .intro {
        aspect-ratio: 2 / 1;
    }

    .tours {
        aspect-ratio: 2 / 1;
    }

    .trails {
        grid-row: span 2;
        aspect-ratio: auto;
    }
}