/* Navigation Styles */
.navbar {
    background-color: #000000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 2rem;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Logo Styles */
.nav-logo {
    display: flex;
    align-items: center;
}

.logo-text {
    color: white;
    text-decoration: none;
}

.logo-main {
    font-family: 'DM Serif Display', serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
}

.logo-sub {
    font-family: 'DM Serif Display', serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    opacity: 1;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
    align-items: center;
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffd230;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: #ffd230;
}

.dropdown-toggle:hover::after,
.dropdown-toggle.active::after {
    width: 0;
}

/* Contact Button Styling */
.nav-link[href="contact.html"],
.nav-link[href="../contact.html"] {
    background-color: #ffd230;
    color: black;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link[href="contact.html"]:hover,
.nav-link[href="../contact.html"]:hover {
    background-color: #e6bd2b;
    color: black;
}

.nav-link[href="contact.html"]::after,
.nav-link[href="../contact.html"]::after {
    display: none;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle::after {
    display: none !important;
}

.dropdown-toggle:hover {
    color: white;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #000000;
    min-width: 200px;
    max-width: 280px;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    max-height: 50vh;
    overflow-y: auto;
    overflow-x: hidden;
    border: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-link {
    display: block;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    transition: all 0.3s ease;
    border: none;
    break-inside: avoid;
    width: 100%;
    box-sizing: border-box;
}

.dropdown-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    transform: translateX(8px);
}

/* Custom Scrollbar for Dropdown */
.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: #ffd230;
    border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #e6bd2b;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: var(--spacing-xs);
    background: transparent;
    border: none;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Tablet/Small Desktop Styles */
@media screen and (max-width: 1024px) {
    .logo-main {
        font-size: 1rem;
    }
    
    .logo-sub {
        font-size: 1rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .nav-menu {
        gap: 1.2rem;
    }
}

@media screen and (max-width: 900px) {
    .logo-main {
        font-size: 1rem;
    }
    
    .logo-sub {
        font-size: 1rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
}

/* Mobile Styles */
@media screen and (max-width: 720px) {
    .nav-container {
        height: 70px;
        padding: 0 var(--spacing-sm);
    }
    
    .logo-main {
        font-size: 1.3rem;
    }
    
    .logo-sub {
        font-size: 1.3rem;
    }
    
    .nav-menu {
        position: fixed;
        right: -80vw;
        top: 0;
        flex-direction: column;
        background-color: #000000;
        width: 80vw;
        height: 100vh;
        text-align: center;
        transition: right 0.3s ease;
        box-shadow: -10px 0 27px rgba(0, 0, 0, 0.3);
        padding: 100px 0 var(--spacing-md) 0;
        gap: 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-item {
        margin: 0;
    }
    
    .nav-link {
        padding: 1rem;
        display: block;
        border-radius: 0;
        margin: 0;
        font-size: 1rem;
        font-weight: 500;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
        position: relative;
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Mobile Dropdown Styles */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        background-color: rgba(255, 210, 48, 0.1);
        margin: 0;
        padding: 0;
        border-radius: 6px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 400px;
        overflow-y: auto;
        padding: 0.5rem 0;
    }
    
    .dropdown-arrow {
        margin-left: auto;
    }
    
    .dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }
    
    .dropdown-link {
        padding: 0.5rem 1.5rem;
        font-size: 1.1rem;
        border-left: none;
        font-weight: 500;
    }
    
    .dropdown-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
        transform: none;
    }
}

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

@media screen and (max-width: 720px) {
    body {
        padding-top: 70px;
    }
}


/* Footer Styles */
.footer {
    background-color: #000000;
    color: white;
    padding: 3rem 0 1rem 0;
    margin-top: auto;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: white;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70%;
    height: 2px;
    background-color: #ffd230;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffd230;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-body);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-body);
    font-size: 0.85rem;
    margin: 0;
}

/* Responsive Footer Styles */
@media screen and (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer {
        padding: 2rem 0 1rem 0;
    }
}