/* CSS Variables */
:root {
    --gold: #C9A86C;
    --gold-dark: #B8956A;
    --gold-light: #D4BC8E;
    --cream: #FAF8F5;
    --charcoal: #2D2D2D;
    --charcoal-light: #4A4A4A;
    --white: #FFFFFF;
    --overlay: rgba(45, 45, 45, 0.5);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--charcoal);
    line-height: 1.6;
    background-color: var(--cream);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Announcement Banner */
.announcement-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--white);
    padding: 14px 20px;
    padding-right: 50px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideDown 0.3s ease;
}

/* Banner color variants */
.announcement-banner-gold {
    background: linear-gradient(135deg, #C9A86C 0%, #B8956A 100%);
}

.announcement-banner-red {
    background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
}

.announcement-banner-blue {
    background: linear-gradient(135deg, #3498DB 0%, #2980B9 100%);
}

.announcement-banner-green {
    background: linear-gradient(135deg, #27AE60 0%, #229954 100%);
}

.announcement-banner-purple {
    background: linear-gradient(135deg, #9B59B6 0%, #8E44AD 100%);
}

.announcement-banner-orange {
    background: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
}

.announcement-banner-pink {
    background: linear-gradient(135deg, #E8B4D4 0%, #D99BC4 100%);
}

.announcement-banner-hotpink {
    background: linear-gradient(135deg, #FF1493 0%, #FF69B4 100%);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

.announcement-text {
    flex: 1;
}

.announcement-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.announcement-close:hover {
    opacity: 0.8;
}

.announcement-close svg {
    width: 20px;
    height: 20px;
}

/* Adjust navbar position when banner is present */
#announcementBanner + nav {
    top: 50px;
}

body:has(#announcementBanner) .navbar {
    top: 50px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 26px 40px;
    z-index: 1000;
    background: rgba(45, 45, 45, 0.85);
    backdrop-filter: blur(2px);
    transition: background-color 0.3s ease, padding 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.scrolled {
    background: rgba(45, 45, 45, 0.9);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--white);
    text-transform: capitalize;
    position: relative;
    padding: 12px 24px;
    border-radius: 2px;
    transition: all 0.3s ease;
    background: transparent;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
    display: none;
}

.nav-links a:hover {
    color: var(--white);
    background: var(--gold);
    transform: translateY(-2px);
}

.nav-links a:hover::after {
    width: 100%;
    display: none;
}

/* Navigation Dropdown Submenu */
.nav-item-dropdown {
    position: relative;
}

.nav-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(45, 45, 45, 0.95);
    list-style: none;
    min-width: 180px;
    border-radius: 4px;
    margin-top: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-top: 2px solid var(--gold);
    z-index: 1001;
}

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

.nav-submenu li {
    list-style: none;
}

.nav-submenu a {
    display: block;
    padding: 12px 20px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: var(--white);
    text-transform: capitalize;
    transition: all 0.2s ease;
    border-radius: 0;
}

.nav-submenu a:hover {
    background: var(--gold);
    color: var(--white);
    padding-left: 28px;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.logo-image {
    height: 73px;
    width: auto;
    display: block;
}

.logo-text {
    display: block;
    font-family: 'Allura', cursive;
    font-size: 3.4rem;
    font-weight: 400;
    font-style: normal;
    color: var(--white);
    letter-spacing: 0px;
    line-height: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}


.logo-sub {
    display: block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--gold);
    margin-top: -2px;
}

.nav-right {
    display: flex;
    align-items: center;
}

.btn-gift {
    background: var(--gold);
    color: var(--white);
    padding: 12px 24px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 2px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-gift:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* Keep hamburger menu white at all times */
.navbar.scrolled .mobile-menu-toggle span {
    background: var(--white);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #2D2D2D 0%, #4A4A4A 100%);
    margin-top: 50px;
}

.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-video,
.hero-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-fallback {
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(45, 45, 45, 0.3) 0%,
        rgba(45, 45, 45, 0.5) 50%,
        rgba(45, 45, 45, 0.4) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 40px;
    max-width: 800px;
    background: rgba(45, 45, 45, 0.6);
    backdrop-filter: blur(2px);
    border-radius: 4px;
}

.hero-title {
    font-family: 'Great Vibes', cursive;
    font-size: 5rem;
    font-weight: 400;
    letter-spacing: 0px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--gold);
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-book {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    padding: 16px 40px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.btn-book:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 168, 108, 0.3);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: var(--charcoal);
    margin-bottom: 30px;
    letter-spacing: 0px;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--charcoal-light);
    margin-bottom: 20px;
}

.about-image img {
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--cream);
}

.services h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 0px;
    color: var(--charcoal);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-card-clickable {
    cursor: pointer;
    user-select: none;
}

.service-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--charcoal-light);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Service card decorative backgrounds */
.service-card h3,
.service-card p {
    position: relative;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    font-size: 120px;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.service-manicures::before {
    content: '💅';
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.service-pedicures::before {
    content: '🦶';
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.service-dip::before {
    content: '✨';
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.service-gel::before {
    content: '💎';
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.service-art::before {
    content: '🎨';
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.service-lash::before {
    content: '👁️';
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: var(--white);
}

.gallery h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 0px;
    color: var(--charcoal);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Instagram Feed Section */
.instagram-section {
    margin-top: 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.instagram-section iframe {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.instagram-section h3 {
    font-size: 1.8rem;
    color: var(--charcoal);
    margin-top: 30px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.instagram-section > p {
    font-size: 0.95rem;
    color: var(--charcoal-light);
    margin-bottom: 0;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.instagram-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 1;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.instagram-item:hover {
    transform: scale(1.05);
}

.instagram-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.instagram-item:hover::after {
    background: rgba(0, 0, 0, 0.2);
}

.btn-follow-ig {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    padding: 14px 36px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.btn-follow-ig:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 168, 108, 0.3);
}

/* Responsive Instagram Grid */
@media (max-width: 1200px) {
    .instagram-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .instagram-section h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

.testimonials h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 0px;
    color: var(--charcoal);
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 300px;
    min-height: 300px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-slide.active {
    opacity: 1;
}

.testimonial-quote {
    text-align: center;
    padding: 40px 20px;
}

.testimonial-stars {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.testimonial-stars svg {
    width: 120px;
    height: 24px;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.1));
}

.testimonial-quote p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--charcoal);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-quote p:first-child {
    font-size: 1.1rem;
    color: var(--charcoal-light);
}

.testimonial-author {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gold);
    font-style: normal;
    letter-spacing: 0.5px;
}

.testimonials-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.testimonial-dot.active {
    background: var(--gold);
    transform: scale(1.2);
}

.testimonial-dot:hover {
    background: var(--gold-light);
}

/* Book Section */
.book {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    text-align: center;
}

.book h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 0px;
}

.book > .container > p {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 40px;
    opacity: 0.9;
}

#square-appointments {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

#square-appointments .btn-book {
    background: var(--white);
    color: var(--gold-dark);
}

#square-appointments .btn-book:hover {
    background: var(--cream);
    color: var(--gold);
}

.book-note {
    font-size: 0.85rem;
    color: var(--white);
    opacity: 0.8;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--cream);
}

.contact .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: var(--charcoal);
    margin-bottom: 40px;
    letter-spacing: 0px;
}

.contact-details {
    display: grid;
    gap: 30px;
}

.contact-item h3 {
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--charcoal-light);
    line-height: 1.8;
}

.contact-item a {
    color: var(--gold);
}

.contact-item a:hover {
    color: var(--gold-dark);
}

.contact-map iframe {
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Gift Cards Section */
.gift-cards {
    padding: 80px 0;
    background: var(--charcoal);
    text-align: center;
}

.gift-cards h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 15px;
    letter-spacing: 0px;
}

.gift-cards p {
    font-size: 1rem;
    color: var(--white);
    opacity: 0.8;
    margin-bottom: 30px;
}

.btn-gift-large {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    padding: 16px 40px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.btn-gift-large:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 998;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--gold-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Footer */
.footer {
    padding: 50px 0;
    background: var(--charcoal);
    text-align: center;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer .logo-image {
    height: 117px;
    width: auto;
    margin-bottom: 5px;
}

.footer .logo-text {
    font-size: 1.8rem;
    color: var(--white);
}

.footer .logo-sub {
    color: var(--gold);
}

.footer p {
    font-size: 0.85rem;
    color: var(--white);
    opacity: 0.6;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--white);
    opacity: 0.7;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    opacity: 1;
    color: var(--gold);
}

/* Mobile - Announcement Banner and Header */
@media (max-width: 1024px) {
    .announcement-banner {
        position: relative;
        top: auto;
        z-index: 999;
        padding: 10px 15px;
        padding-right: 45px;
        font-size: 0.8rem;
        /* margin-top is set dynamically via JavaScript based on navbar height */
    }

    .announcement-close {
        right: 10px;
    }

    .announcement-close svg {
        width: 18px;
        height: 18px;
    }

    /* Navbar stays fixed on mobile */
    .navbar {
        position: fixed !important;
        top: 0 !important;
        z-index: 1000;
    }

    /* Hero section doesn't need extra margin on mobile */
    .hero {
        margin-top: 0 !important;
    }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .navbar {
        padding: 15px 20px;
    }

    .nav-links,
    .nav-right {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .logo {
        position: static;
        transform: none;
    }

    .logo-text {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 3.5rem;
        letter-spacing: 0px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .about .container,
    .contact .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content h2,
    .services h2,
    .gallery h2,
    .book h2,
    .contact h2 {
        font-size: 2.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 3rem;
        letter-spacing: 0px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .btn-book {
        padding: 14px 30px;
    }
}

/* Mobile Menu Active State */
.navbar.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 30px;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.navbar.menu-open .nav-links a {
    color: var(--charcoal);
}

.navbar.menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar.menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
}

.navbar.menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Submenu Styles */
@media (max-width: 1024px) {
    .nav-submenu {
        position: static;
        background: transparent;
        margin-top: 0;
        padding: 0;
        opacity: 0;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        border: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-item-dropdown:hover .nav-submenu {
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 200px;
    }

    .navbar.menu-open .nav-submenu {
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        padding: 0 0 0 20px;
    }

    .navbar.menu-open .nav-item-dropdown.submenu-open .nav-submenu {
        opacity: 1;
        visibility: visible;
        max-height: 200px;
        overflow: visible;
    }

    .navbar.menu-open .nav-submenu a {
        color: var(--gold-dark) !important;
        font-weight: 500;
        padding: 10px 15px;
        font-size: 0.8rem;
    }

    .navbar.menu-open .nav-submenu a:hover {
        background: var(--gold-light);
        color: var(--charcoal) !important;
        padding-left: 23px;
    }

}

/* Music Player */
.gallery-music-player {
    margin-top: 40px;
    text-align: center;
}

.music-player {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: var(--charcoal);
    border: 1px solid var(--gold);
    border-radius: 10px;
    padding: 14px 20px 10px;
}

.music-player .mp-label {
    width: 100%;
    text-align: center;
    color: var(--gold);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.music-player .mp-title {
    width: 100%;
    text-align: center;
    color: var(--cream);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.mp-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.mp-equalizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 18px;
    margin-right: 4px;
}

.mp-equalizer .eq-bar {
    display: block;
    width: 5px;
    height: 4px;
    background: var(--gold);
    border-radius: 1px;
}

.mp-equalizer.playing .eq-bar {
    animation: eq-bounce 1s ease-in-out infinite;
}

.mp-equalizer.playing .eq-bar:nth-child(1) { animation-duration: 0.8s; }
.mp-equalizer.playing .eq-bar:nth-child(2) { animation-duration: 0.6s; animation-delay: 0.1s; }
.mp-equalizer.playing .eq-bar:nth-child(3) { animation-duration: 0.7s; animation-delay: 0.2s; }
.mp-equalizer.playing .eq-bar:nth-child(4) { animation-duration: 0.5s; animation-delay: 0.05s; }
.mp-equalizer.playing .eq-bar:nth-child(5) { animation-duration: 0.9s; animation-delay: 0.15s; }
.mp-equalizer.playing .eq-bar:nth-child(6) { animation-duration: 0.55s; animation-delay: 0.12s; }
.mp-equalizer.playing .eq-bar:nth-child(7) { animation-duration: 0.75s; animation-delay: 0.08s; }
.mp-equalizer.playing .eq-bar:nth-child(8) { animation-duration: 0.65s; animation-delay: 0.18s; }
.mp-equalizer.playing .eq-bar:nth-child(9) { animation-duration: 0.85s; animation-delay: 0.03s; }
.mp-equalizer.playing .eq-bar:nth-child(10) { animation-duration: 0.7s; animation-delay: 0.13s; }

@keyframes eq-bounce {
    0%, 100% { height: 4px; }
    50% { height: 18px; }
}

.music-player .mp-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--gold);
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--gold);
    padding: 5px 10px;
    line-height: 1;
    transition: background 0.15s, color 0.15s;
}

.music-player .mp-btn:hover {
    color: var(--gold-light);
    background: rgba(255, 255, 255, 0.2);
}

.music-player .mp-time {
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
    color: var(--gold-light);
    min-width: 38px;
    text-align: right;
}

.mp-seek {
    flex: 1;
    min-width: 50px;
    max-width: 80px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.mp-seek::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
    cursor: pointer;
    margin-top: -4px;
}

.mp-seek::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
    border: none;
    cursor: pointer;
}

.mp-seek::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 2px;
}

.mp-seek::-moz-range-track {
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
    .gallery-music-player {
        display: flex;
        justify-content: center;
        padding: 0 15px;
    }

    .music-player {
        max-width: 100%;
        box-sizing: border-box;
    }

    .mp-controls {
        flex-wrap: wrap;
        justify-content: center;
    }
}
