/* ====== Montserrat ====== */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");

*,
*::before,
*::after {
    box-sizing: border-box;
    color: #faac00;
}

body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
}

/* ===== HERO WRAPPER ===== */
.hero {
    position: relative;
    height: 570px;

    /* tweak height as needed */
    width: 100%;
    background: url("img/project-tearus_mainpage-00.jpg") center no-repeat;
    color: rgb(0, 0, 0);
}

/* ===== LOGO ===== */
.logo {
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: lowercase;
    z-index: 10;
}

/* ===== NAV BAR ===== */
nav {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

nav li {
    position: relative;
}

nav > ul > li > a {
    display: block;
    padding: 0.875rem 0.5rem;
    font-size: 0.9rem;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

nav > ul > li > a:hover {
    opacity: 0.7;
}

/* ===== DROPDOWNS ===== */
nav li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: rgba(0, 0, 0, 0.85);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(3px);
}

nav li:hover > ul {
    display: block;
}

nav li ul li a {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    display: block;
    color: #fff;
    white-space: nowrap;
}

nav li ul li a:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* ===== HAMBURGER (mobile) ===== */
.nav-toggle {
    display: none;
    position: absolute;
    right: 1rem;
    bottom: 0.6rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.7rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.5rem;
        left: 1rem;
    }

    nav ul {
        flex-direction: column;
        display: none;
        padding: 0.5rem 0;
    }

    nav.active ul {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    nav li ul {
        position: static;
        box-shadow: none;
    }
}
