/* Header Styles */
.nav {
    background: rgba(0, 0, 0, 0.95);
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #D4AF37;
    height: 90px;
    overflow: visible; /* Allow logo to extend beyond header */
}

/* Logo styles */
.logo {
    display: flex;
    position: relative;
    height: 100px;
    margin-left: -2rem;
}

.logo-img {
    width: 150px;
    height: 130px;
    object-fit: scale-down;
    background: white;
    padding: 8px 12px;
    transition: opacity 0.3s ease;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 0;
    left: 2rem;
    transform: translateY(6px);
}

/* Navigation links */
.nav-links {
    display: flex;
    gap: 2rem;
    margin-left: auto;
    padding-left: 140px;
}

/* Hamburger menu button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #D4AF37;
    border-radius: 10px;
    transition: all 0.3s linear;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    .nav {
        padding: 0 1rem;
        height: 70px;
    }

    .logo {
        margin-left: 0;
        position: absolute;
        left: 0;
        top: -6px; /* Align with top of header */
    }

    .logo-img {
        width: 110px;
        height: 100px;
        left: 1.5rem;
        position: absolute;
        transform: translateY(0);
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: auto;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        padding: 1rem 0;
        transition: right 0.3s ease-in-out;
        margin: 0;
        text-align: center;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 1rem;
        width: 100%;
        display: block;
    }

    /* Animation for hamburger menu */
    .hamburger.active span:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }
}


.logo-img:hover {
    opacity: 0.9;
}

.logo-text {
    color: #D4AF37;
    font-size: 1.4rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #D4AF37;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 80%;
}

.nav-links a:hover,
.nav-links a.active {
    color: #D4AF37;
    background: rgba(212, 175, 55, 0.1);
}

/* Add padding to body to account for fixed header */
body {
    padding-top: 100px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav {
        padding: 1rem 2rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        padding: 0.5rem 1rem;
    }
}
