* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    /* background-color: #991A02; */
    background-color: rgb(255, 255, 255);
    height: 100vh;
    overflow: hidden;
    font-family: system-ui, sans-serif;
}


/* INTRO */
.intro {
    position: fixed;
    inset: 0;
    background-color: #991A02;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.intro-logo {
    width: 200px;
    opacity: 0;
    transform: scale(0.4);
    animation: logoFadeIn 3.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.4);
    }

    70% {
        opacity: 1;
        transform: scale(2.4);
        /* BIG */
    }

    100% {
        opacity: 1;
        transform: scale(2.2);
    }
}


.navbar {
    background-color: #991A02;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3000;
    /* higher than intro */

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0rem 2rem;

    transform: translateY(-120%);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar.show {
    transform: translateY(0);
}



.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}


.nav-btn.active {
    background: white;
    color: #991A02;
}


/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 3000;
}


.hamburger span {
    width: 26px;
    height: 3px;
    background: white;
}

/* HAMBURGER ANIMATION */
.hamburger {
    z-index: 3000;
}

.hamburger span {
    transition: transform 0.4s ease, opacity 0.3s ease;
}

/* When menu is open */
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}



/* MOBILE MENU */
/* MOBILE MENU (SLIDE FROM LEFT) */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 80vw;
    /* menu width */
    max-width: 320px;
    background-color: rgb(48, 47, 47, 0.8);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;

    padding-left: 2rem;

    transform: translateX(-100%);
    transition: transform 0.5s ease;
    z-index: 2500;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu a {
    color: white;
    font-size: 1.4rem;
    text-decoration: none;
}



@media (max-width: 768px) {
    .nav-buttons {
        display: none;
    }


    .hamburger {
        display: flex;
    }
}


.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo-img {
    height: 80px;
    /* Adjust this based on your logo's aspect ratio */
    width: auto;
    /* Maintains aspect ratio */
    display: block;
    /* Removes extra space below image */
}

.nav-buttons {
    display: flex;
    gap: 20px;
}

.nav-btn {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Hover effect on the default Red Background */
.nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

/* The Active Button (Default State) */
.nav-btn.active {
    background-color: white;
    color: #991A02;
}

@media (max-width: 768px) {
    .nav-buttons {
        display: none !important;
    }

    .hamburger {
        display: flex !important;
    }

    .navbar {
        transform: translateY(0) !important;
    }
}