@font-face {
    font-display: swap;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: url('../esc-loft/assets/fonts/lato-v25-latin-regular.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    src: url('../esc-loft/assets/fonts/lato-v25-latin-300.woff2') format('woff2');
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

:root {
    --text-color: #222222;
    --accent-color: #007a5e;
    --font-logo: 'Cinzel Decorative', cursive;
    --font-main: 'Montserrat', sans-serif;
    --page-limit: 1440px;
    --limit: min(95%, var(--page-limit) 1440px);

}

body {
    margin: 0;
    font-family: 'Lato';
    background-color: var(--bg-color);
    color: var(--text-color);
}

.site-header {
    background-color: #fff;
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(44, 76, 59, 0.1);
}

.header-container {
    max-width: 1400px;
    height: 90px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 400;
    color: black;
    letter-spacing: 1px;
}

.site-logo img {
    display: block;
    width: 40px;
    height: auto;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 100;
}

.burger-line {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color, #000);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.is-active .burger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-active .burger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .burger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    padding: 30px 0;
    margin: 0;
    gap: 20px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    z-index: 99;
    list-style: none;
}


.nav-list.is-active {
    display: flex;
    padding-left: 25px;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-color, #000);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

footer {
    background: #2f2e2d;
    width: 100%;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#footer-logo {
    color: #fff;
}

.footer-content {
    color: #abab9e;
    font-size: 0.8rem;
}

/* --- DESKTOP VIEW (1080px+) --- */
@media (min-width: 1080px) {
    .menu-toggle {
        display: none;
    }

    .nav-list {
        display: flex;
        flex-direction: row;
        position: static;
        width: auto;
        background-color: transparent;
        padding: 0;
        box-shadow: none;
        gap: 40px;
    }

    .nav-list a {
        font-size: 0.875rem;
        font-weight: 500;
        letter-spacing: 1.5px;
    }

    .nav-list a:hover {
        color: var(--accent-color, #2C4C3B);
    }

    .site-header {
        padding: 0 40px;
    }

    .site-logo {
        font-size: 1.25rem;
    }

    .footer-content {
        font-size: 1rem;
    }
}