@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CSS for the page */
html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* --- Top Navigation Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(14, 14, 14, 0.90);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    height: 74px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

/* Left Navigation */
.nav-left {
    justify-self: start;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    letter-spacing: 0.03em;
    transition: color 0.25s ease, opacity 0.25s ease;
    cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-arrow {
    transition: transform 0.25s ease;
    opacity: 0.75;
}

.nav-item:hover .nav-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

/* Dropdown Menus */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgba(14, 14, 14, 0.96);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    padding: 8px 0;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 1001;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 18px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding-left: 22px;
}

/* Center Brand */
.nav-center {
    justify-self: center;
    text-align: center;
}

.nav-brand {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1.22rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.nav-brand:hover {
    opacity: 0.85;
}

/* Right CTA Button */
.nav-right {
    justify-self: end;
}

.nav-cta-btn {
    display: inline-block;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.85);
    padding: 10px 22px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-cta-btn:hover {
    background: #ffffff;
    color: #111111;
    border-color: #ffffff;
}

/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    z-index: 1002;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #ffffff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Footer --- */
.site-footer {
    background-color: #080808;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 48px 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer-brand {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 0.92rem;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.footer-meta {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.04em;
    margin: 0 0 16px 0;
}

.footer-nav {
    margin: 0 0 16px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.25s ease;
}

.footer-nav a:hover {
    color: #e5a93c;
    text-decoration: underline;
}

.footer-copy {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
}

.footer-credit {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.70rem;
    color: rgba(255, 255, 255, 0.35);
    margin: 8px 0 0 0;
    letter-spacing: 0.02em;
}

.footer-credit a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-credit a:hover {
    color: #ffffff;
}

/* --- Responsive Navigation --- */
@media (max-width: 992px) {
    .header-container {
        display: flex;
        justify-content: space-between;
        padding: 0 20px;
        height: 64px;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-left {
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        background: rgba(14, 14, 14, 0.98);
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding: 20px 24px 30px;
        box-sizing: border-box;
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
    }

    .nav-left.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        width: 100%;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        justify-content: space-between;
        padding: 10px 0;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(25, 25, 25, 0.6);
        border: none;
        box-shadow: none;
        padding: 4px 0 10px 16px;
        display: none;
    }

    .nav-item.is-expanded .dropdown-menu {
        display: block;
    }

    .nav-brand {
        font-size: 0.95rem;
        letter-spacing: 0.22em;
    }

    .nav-cta-btn {
        padding: 8px 14px;
        font-size: 0.68rem;
        letter-spacing: 0.1em;
    }
}

@media (max-width: 580px) {
    .nav-brand {
        font-size: 0.82rem;
        letter-spacing: 0.16em;
    }
    .nav-cta-btn {
        padding: 7px 10px;
        font-size: 0.62rem;
    }
}

