/* ==========================================================================
   1. CSS RESET & VARIABLES
   ========================================================================== */
:root {
    cursor: default;
    /* Colors */
    --dark-green: #061F18;
    --medium-green: #123A2A;
    --light-green: #2E6B4A;
    --linen: #F1F2EB;
    --gray: #D8DAD3;

    /* Typographic Scale (Rem-based for accessibility) */
    --fs-h1: 3rem;      /* ~48px */
    --fs-h2: 2.25rem;   /* ~36px */
    --fs-h3: 1.75rem;   /* ~28px */
    --fs-body: 1rem;    /* ~16px */
    --fs-nav: 1rem;   /* ~14.4px */
    --fs-btn: 1rem;
    --fs-main: 1.2rem;
}

* {
    /* Critical fix: includes padding/border in the width calculation */
    box-sizing: border-box;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/resources/Montserrat-VariableFont_wght.ttf');
    font-display: swap; /* Improves loading performance */
}

/* ==========================================================================
   2. GLOBAL STYLES
   ========================================================================== */
body {
    margin: 0;
    padding: 0;
    background-color: var(--linen);
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-green);
    /* Prevents any tiny horizontal slips */
    overflow-x: hidden; 
    line-height: 1.6;
}

h1, h2, h3 {
    margin: 0;
    line-height: 1.1;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero-vid-container {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;    /* Changed from 100vw */
    height: 100vh;
    background-color: black;
    overflow: hidden;
}


.hero-vid-container video {
    width: 100%;
    height: 100%;
    /* Ensures video fills space without stretching or overflow */
    object-fit: cover; 
    filter:brightness(0.9);
}

.content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;    /* Changed from 100vw */
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    text-align: center;
    padding: 20px;
}

.content h1 {
    color: var(--linen);
    font-weight:300;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
}

/* ==========================================================================
   4. COMPONENTS (Buttons & Nav)
   ========================================================================== */
.button {
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: var(--fs-btn);
    background-color: rgba(0, 0, 0, 0);
    color: var(--linen);
    border-radius: 30px;
    padding: 12px 24px;
    border: none;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0);
    transition: all 0.2s ease-in-out;
    text-transform: uppercase;
}

.button:hover {
    background-color: var(--linen);
    color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0px 6px 25px rgba(255, 255, 255, 0.3);
}

nav {
    background-color: transparent;
    color: var(--linen);
    padding: 40px 40px;
    position: static;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title img {
width:60px;
}

.title{
    text-transform: uppercase;
    font-size:1rem;
}

.links {
    display: flex;
    gap: 30px; /* Clean spacing between links */
}

.links a {
    padding:10px 16px;
    font-size: var(--fs-nav);
    font-weight: 500;
    text-decoration-line: 0px 0px 30px rgba(0, 0, 0, 0);
    transition: all 0.15s;
}


.links a:hover {
    color: white;
    text-shadow: 0px 0px 20px white;
    transition: all 0.15s;
}

main{
    padding: 40px 40px;
    font-size: var(--fs-main);
}

a:hover, button:hover{
    cursor:pointer;
}

.big{
    font-size: 1.6rem;
    color:white;
}