/* --- 1. Global Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    color: #f0f0f0;
    line-height: 1.7;
    font-weight: 300; }

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1.25rem; }

h1 { font-size: 3.2rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #c0c0c0;
    max-width: 70ch; }

/* --- 3. Header (Sticky) --- */
header {
    position: static;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    height: 5rem;
    padding: 0 5%;

    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); }

header .logo h1 {
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 1rem;
    width: 183px;
    height: 33px;
    background-image: url('../../assets/images/vesper-logo-header.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    text-indent: -9999px;
    overflow: hidden;
    color: transparent;
}

header nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem; }
header nav a {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease; /* Changed from 'color' to 'all' */

    /* --- ADD THESE LINES --- */
    display: block; /* Allows padding to work */
    padding: 1.5rem 0; /* Adds clickable space above/below */
    border-radius: 2px;
}

header nav a {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease; }

header nav a:hover {
    color: #aaa; }

/* --- 4. Hero Section --- */
#hero {
    position: relative;
    height: calc(100vh - 5rem);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;

    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.2)), url('../../assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center; }

#hero .hero-content {
    max-width: 1300px; }

#hero h1 {
    font-size: 4.5rem;
    font-weight: 300;
    margin-bottom: 2.5rem; }

#hero p {
    font-size: 1.25rem;
    color: #e0e0e0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5rem; }

.btn {
    display: inline-block;
    width: auto;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    border: 1px solid #ffffff;
    padding: 1rem 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    line-height: 1.2;
    border-radius: 7px;
    border-color: #FFFFFF80;
}

.btn:hover {
    background-color: #2d4c5b;
    color: white; }

/* --- 5. Mission Section --- */
#mission {
    padding: 10rem 5%;
    background-color: #0a0a0a; }

.mission-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto; }

.mission-left h1 {
    font-size: 2.5rem; }

.mission-left h3 {
    font-weight: 400;
    color: #aaa; }

.mission-right h4 {
    color: #ccc;
    font-weight: 700; }

.mission-right p {
    color: #aaa;
    font-size: 1.25rem; }

/* --- 6. Spotlight Sections --- */
.spotlight {
    position: relative;
    height: 825px;
    display: flex;
    align-items: center;
    width: 100%;

    /* Base styles, will be overridden by IDs */
    background-color: #000;
    background-size: cover;
    background-position: center; }

.spotlight .spotlight-content {
    position: relative;
    z-index: 2;
    width: 45%; /* Content takes up slightly less than half */
    max-width: 600px; }

/* Helper class to position content on the LEFT */
.spotlight.text-left {
    padding-left: 5%; }

/* Helper class to position content on the RIGHT */
.spotlight.text-right {
    padding-right: 5%;
    justify-content: flex-end; /* Pushes content to the right */
    text-align: right; }

.spotlight h1 {
    margin: 0;
    padding: 0;
    font-size: 3rem;
    font-weight: 700; }

.spotlight h3 {
    font-size: 1.75rem;
    color: white;
    font-weight: 300;
    margin-bottom: 1.5rem; }
.spotlight h4 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem; }

.spotlight p a {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.3s ease; }

.spotlight p a:hover {
    color: #aaa; }


/* --- 7. Spotlight Specific Backgrounds --- */

#ppm {
    background-image: url('../../assets/images/ppm-bg.jpg');
    background-position: center; }
#aurelis {
    background-image: url('../../assets/images/aurelis-bg.jpg');
    background-position: center; }
#censa {
    background-image: url('../../assets/images/censa-bg.jpg');
    background-position: center; }
#reach {
    background-image: url('../../assets/images/reach-bg.jpg');
    background-position: center; }
#vital {
    background-image: url('../../assets/images/vital-bg.jpg');
    background-position: center; }
#synth {
    background-image: url('../../assets/images/synth-bg.jpg');
    background-position: center; }


/* --- 8. Footer --- */
footer {
    background-color: #111;
    padding: 5rem 5% 3rem 5%;
    border-top: 1px solid #333; }

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem; }

.footer-logo h4 {
    margin: 0;
    font-weight: 700; }

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem; }

footer ul {
    list-style: none; }

footer ul li {
    margin-bottom: 0.75rem; }

/* List Titles */
footer ul li:first-child {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px; }

footer ul li a {
    color: #999;
    font-size: 0.95rem;
    transition: color 0.3s ease; }

footer ul li a:hover {
    color: #fff;
    text-decoration: underline; }

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem; }

.footer-bottom p {
    color: #777;
    font-size: 0.85rem;
    margin: 0; }

/* --- 9. Hamburger Menu Styles (Base) --- */

/* Hide the checkbox itself */
.nav-toggle {
    display: none;
}

/* Style the hamburger icon label */
.nav-toggle-label {
    display: none; /* Hidden on desktop */
    position: relative;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 5000; /* Above the header */
}

/* Create the three hamburger lines */
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle-label span::before {
    content: '';
    top: -8px;
}

.nav-toggle-label span::after {
    content: '';
    top: 8px;
}








@media (max-width: 900px) {

    header {
        position: relative;
        z-index: 9999; }
    header .logo h1 {
        width: 183px;
        height: 33px;
        background-image: url('../../assets/images/vesper-logo-header.png');
    }

    /* --- General Typography & Sizing --- */
    h1 { font-size: 2rem; }
    p { font-size: 1.2rem; }

    /* --- Hero Section --- */

    #hero {
        position: static;
        margin: 0;
        padding: -100px 5%;
        display: flex;
        flex-direction: column; /* Stack content vertically */
        justify-content: center; /* Center vertically */
        align-items: flex-start; /* Align text to the left */ }
    #hero h1 {
        font-size: 2.2rem; }
    #hero p {
        font-size: 1rem;
        margin-bottom: 3rem; }
    .btn {
        width: 80vw;
        font-size: 1.2rem;
        line-height: 1.2; }

    /* --- Mission Section --- */
    #mission {
        padding: 3rem 5% 8rem 5%;
        display: flex;
        flex-direction: column;
        justify-content: center; }

    #mission .mission-inner {
        grid-template-columns: 1fr;
        gap: 3rem; }

    #mission h1 {
        font-weight: 300;
        margin-top: 75px; }
    #mission h3 {
        font-size: 1.3rem;
        margin-bottom: 20px; }
    #mission p {
        font-size: 1rem;
        line-height: 1.4 !important;
        margin-bottom: 10px; }

    /* --- Spotlight Sections --- */
    .spotlight {
        padding: 3rem 5% !important;
        background-position: center center !important; }
    .spotlight p {
        font-size: 1rem;
        line-height: 1.5 !important;
    }
    .spotlight h1 {
        font-size: 3rem !important;
    }
    .spotlight h3 {
        font-size: 1.4rem;
    }

    .spotlight.text-left,
    .spotlight.text-right {
        justify-content: flex-start;
        padding: 0;
        text-align: left; }

    .spotlight .spotlight-content {
        width: 100%; /* Content takes full width */
        max-width: 100%;
        margin: 0; }

    /* Spotlight background overlays */
    #ppm { background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5)), url('../../assets/images/ppm-bg.jpg'); }
    #aurelis { background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5)), url('../../assets/images/aurelis-bg.jpg'); }
    #censa { background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5)), url('../../assets/images/censa-bg.jpg'); }
    #reach { background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5)), url('../../assets/images/reach-bg.jpg'); }
    #vital { background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5)), url('../../assets/images/vital-bg.jpg'); }
    #synth { background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5)), url('../../assets/images/synth-bg.jpg'); }

    /* --- Footer Section --- */
    footer {
        padding: 3rem 5%;
        /* Use flex to center content vertically */
        display: flex;
        flex-direction: column;
        justify-content: center; }
    footer .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 3rem; }
    footer .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 2rem; }
    .footer-bottom {
        padding-top: 2rem; }



    /* --- Hamburger Menu (Mobile) --- */

    /* Show the hamburger icon */
    .nav-toggle-label {
        display: block;
    }

    /* Hide the desktop nav links */
    header nav ul {
        display: none;
    }

    /* Style the mobile menu container */
    header nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);

        /* Hide it off-screen to the left */
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;

        /* Centering the links */
        display: flex;
        justify-content: center;
        align-items: center;

        z-index: 1001; /* Below the icon, above the page */
    }

    /* Show the mobile menu when checked */
    .nav-toggle:checked ~ nav {
        transform: translateX(0);
    }

    /* Show the links and stack them */
    .nav-toggle:checked ~ nav ul {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    /* Style the mobile links */
    header nav ul li {
        margin: 0;
    }
    header nav ul li a {
        font-size: 1.5rem;
        font-weight: 700;
        color: #fff;
    }

    /* --- Animate Hamburger to an 'X' --- */
    .nav-toggle:checked + .nav-toggle-label span {
        background: transparent; /* Middle line disappears */
    }
    .nav-toggle:checked + .nav-toggle-label span::before {
        transform: rotate(45deg);
        top: 0;
    }
    .nav-toggle:checked + .nav-toggle-label span::after {
        transform: rotate(-45deg);
        top: 0;
    }

}