@font-face {
    font-family: 'Hudson';
    src: url("fonts/HudsonNYPro-Bold.woff2") format("woff2");
    font-weight: normal;
}

@font-face {
    font-family: 'Arista-Pro-Thin';
    src: url("fonts/Arista-Pro-Thin-webfont.woff2") format("woff2"),
         url("fonts/Arista-Pro-Thin-webfont.woff") format("woff");
    font-weight: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --text-color: #f7f7f7;
    --outline-color: #f7f7f7;
    --light-text-color: #d3d3d3;
}

body {
    margin: 0;
    padding: 0;
    background-image: url('images/background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    overflow-y: hidden;
    height: 100vh;
    width: 100%;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.152); 
    z-index: -1;
}

.page-overlay {
    position:relative;
}

.page-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.43); 
    z-index: -1;
}

.page-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem;
}

.page-header h1 {
    margin: 0;
}

header {
    position: relative; 
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    top: 0; 
    margin: 0; 
    padding: 1.5rem; 
    text-align: center;
}

a {
    text-decoration: none;
    color: var(--light-text-color);
    font-family: 'Satoshi', sans-serif;
    font-size: 1.25rem;
    line-height: 0.5rem;
    letter-spacing: 0.20rem;
    font-weight: 100;
    transition: color 0.3s, border-bottom 0.3s;
}

a.active {
    color: var(--text-color);
    padding-bottom: 0.05rem;
}

a:hover {
    color: var(--text-color);
    border-bottom: 0.1rem solid var(--outline-color);
    padding-bottom: 0.05rem;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 3rem;
}

li {
    display: inline;
}

h1 {
    font-family: "Hudson";
    font-size: 6rem;
    color: var(--text-color);
    margin: 0;
}

h4 {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    color: var(--text-color);
    margin: 0;
}

h2 {
    font-family: 'Satoshi', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.15rem;
    margin: 0.5rem 0 0;
    font-weight: 100;
    color: var(--light-text-color);
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-color);
    height: 70vh; 
    margin: 0;
    box-sizing: border-box; 
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 100%; /* Take up full header width */
    height: 100%; /* Take up full header height */
    z-index: 1001;
    color: var(--text-color);
    font-size: 1.25rem;
    font-family: 'Satoshi', sans-serif;
    font-weight: 100;
    letter-spacing: 0.20rem;
    text-align: center; /* Center the text */
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

/* Remove hamburger lines since we're using text */
.hamburger-line {
    display: none;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8); /* Slightly darker for better visibility */
    backdrop-filter: blur(10px);
    z-index: 1000; /* Increased z-index */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    justify-content: center; /* Add this for centering */
    align-items: center; /* Add this for centering */
}

.mobile-nav.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh; 
    gap: 3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-list li {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-nav.active .mobile-nav-list li {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-list a {
    color: var(--text-color);
    font-size: 2rem;
    font-weight: 300;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav-list a:hover,
.mobile-nav-list a.active {
    color: var(--outline-color);
}


@media (max-width: 52.5rem) {
    h1 {
        font-size: 4rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h4 {
        font-size: 1.25rem;
    }
    
    a {
        font-size: 1.5rem;
    }
    
    ul {
        gap: 2rem;
    }
    
    .main-content {
        padding-top: 5rem; 
    }
}

@media (max-width: 768px) {
    body {
        background-size: cover;
        background-position: center center;
        background-attachment: fixed; 
    }
    
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex; /* Show the menu button */
    }
    
    .header-container {
        width: 100%; /* Ensure full width */
        justify-content: center;
        padding: 0; /* Remove any padding */
    }
    
    header {
        padding: 1rem 0; /* Only vertical padding, no horizontal */
        width: 100%; /* Ensure header doesn't exceed viewport */
        box-sizing: border-box; /* Include padding in width calculation */
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 1rem;
        margin: -10px;
    }
    
    h4 {
        font-size: 1rem;
    }
    
    a {
        font-size: 1.25rem;
    }
    
    ul {
        gap: 1.5rem;
    }
    
    .main-content {
        height: calc(100vh - 4rem);
        padding: 0 0.5rem 5rem 0.5rem;
        justify-content: center; 
        gap: 1rem;
    }
    
    body {
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
        min-height: 100vh;
    }
    
    header {
        padding: 0.5rem 0; /* Only vertical padding */
        width: 100%;
        box-sizing: border-box;
    }
    
    .mobile-nav-list {
        gap: 2rem;
    }
    
    .mobile-nav-list a {
        font-size: 1.5rem;
    }
    
    .mobile-menu-toggle {
        font-size: 1.1rem;
    }
}

@media (max-width: 320px) {
    h1 {
        font-size: 2.5rem; 
    }
    
    h2 {
        font-size: 1rem;
    }
    
    body {
        background-size: cover; 
        background-position: center center;
        min-height: 100vh;
    }
    
    .main-content {
        height: calc(100vh - 4rem); 
        padding: 0 0.5rem; 
    }
    
    header {
        padding: 0.5rem 0; /* Only vertical padding */
        width: 100%;
        box-sizing: border-box;
    }
    
    ul {
        gap: 1rem; 
    }
    
    .mobile-nav-list {
        gap: 2rem;
    }
    
    .mobile-nav-list a {
        font-size: 1.5rem;
    }
    
    .mobile-menu-toggle {
        font-size: 1.1rem;
    }
}