/* Navigation and Footer Styles */

/* Navigation Styles */
.navbar {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    flex-direction: column;
    color: #EBE9E1;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    line-height: 1.2;
}

.logo-liverpool {
    font-size: 1.1rem;
    letter-spacing: 1px;
    font-weight: 400;
}

.logo-dance {
    font-size: 1.1rem;
    letter-spacing: 2px;
    font-weight: 300;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: #EBE9E1;
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-menu a:hover {
    opacity: 0.8;
}

.arrow {
    font-size: 0.7rem;
}

/* Dropdown Styles */
.dropdown-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background-color: #000;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    border-radius: 8px;
    max-height: 400px;
    overflow-y: auto;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

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

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    color: #EBE9E1;
    padding: 0.8rem 1rem;
    display: block;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background-color: rgba(228, 61, 18, 0.2);
    opacity: 1;
    padding-left: 1.3rem;
    border-left-color: #E43D12;
}

.dropdown-divider {
    height: 0;
    margin: 0.5rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #EBE9E1;
    margin: 3px 0;
    transition: 0.3s;
}

/* Footer Styles */
.footer {
    background-color: #1a1a1a;
    color: #EBE9E1;
    padding: 4rem 0 1rem;
    margin-top: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
}

/* Footer Brand Section */
.footer-brand .footer-logo {
    display: flex;
    flex-direction: column;
    color: var(--color-accent-secondary);
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.footer-brand .logo-liverpool {
    font-size: 1.8rem;
    letter-spacing: 1px;
    line-height: 1.2;
}

.footer-brand .logo-dance {
    font-size: 1.3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #999;
    margin-bottom: 1.5rem;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #444;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    border-color: var(--color-accent-secondary);
    color: var(--color-accent-secondary);
    transform: translateY(-2px);
}

/* Footer Sections */
.footer-section h3 {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: #999;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--color-accent-secondary);
}

/* Contact List */
.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #999;
    font-size: 0.95rem;
}

.contact-list i {
    color: var(--color-accent-secondary);
    width: 20px;
    text-align: center;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding: 2rem 2rem 1.5rem;
    margin-top: 3rem;
    border-top: 1px solid #333;
    color: #666;
    font-size: 0.9rem;
}

/* Mobile Menu Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background-color: #000000;
        flex-direction: column;
        padding: 5rem 0 2rem;
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        right: 0;
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(235, 233, 225, 0.1);
    }

    .nav-menu > li > a {
        padding: 1rem 2rem;
        display: block;
        font-size: 1.1rem;
    }

    .dropdown-menu {
        visibility: visible;
        opacity: 1;
        position: static;
        width: 100%;
        box-shadow: none;
        background-color: rgba(235, 233, 225, 0.05);
        margin-top: 0;
        transform: none;
        border-radius: 0;
        border: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .dropdown-menu.show {
        max-height: 300px;
        overflow-y: auto;
    }
    
    .dropdown-menu.show::-webkit-scrollbar {
        width: 5px;
    }
    
    .dropdown-menu.show::-webkit-scrollbar-track {
        background: rgba(235, 233, 225, 0.1);
    }
    
    .dropdown-menu.show::-webkit-scrollbar-thumb {
        background: rgba(235, 233, 225, 0.3);
        border-radius: 5px;
    }
    
    .dropdown-menu.show::-webkit-scrollbar-thumb:hover {
        background: rgba(235, 233, 225, 0.5);
    }
    
    .dropdown-menu a {
        padding: 0.6rem 2rem 0.6rem 3rem;
        font-size: 0.95rem;
    }

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

    .arrow {
        transition: transform 0.3s ease;
    }

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

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 2rem;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-section h3 {
        margin-top: 1.5rem;
    }
    
    .contact-list {
        text-align: left;
    }
}