:root {
    /* Color Palette */
    --bg-color: #11070A;
    --bg-gradient-top: #2D101C;
    --surface-color: rgba(45, 16, 28, 0.4);
    --surface-hover: rgba(65, 23, 40, 0.6);
    --accent-gold: #D4AF37;
    --accent-gold-glow: rgba(212, 175, 55, 0.3);
    --text-main: #FDFBF7;
    --text-muted: #D5C8C8;
    
    /* Typography */
    --font-title: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at 50% 0%, var(--bg-gradient-top) 0%, var(--bg-color) 70%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Subtle Background Particles (Incense dust simulation) */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(212,175,55,0.03) 0%, transparent 20%),
        radial-gradient(circle at 85% 30%, rgba(212,175,55,0.03) 0%, transparent 20%);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(17, 7, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: 8px; /* Slightly rounded corners */
    object-fit: cover;
}

.logo-text {
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-gold);
    letter-spacing: 0.5px;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text span {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.lang-selector {
    display: flex;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    padding: 4px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: var(--accent-gold);
    color: var(--bg-color);
    box-shadow: 0 2px 10px var(--accent-gold-glow);
}

/* Hero Section */
.hero {
    padding: 120px 20px 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeInDown 1s ease-out;
}

.hero h1 {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-style: italic;
    color: var(--accent-gold);
    margin-bottom: 15px;
    font-weight: 400;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

.divider {
    width: 60px;
    height: 2px;
    background: var(--accent-gold);
    margin: 30px auto;
    box-shadow: 0 0 10px var(--accent-gold-glow);
    border-radius: 2px;
}

/* Menu Container */
main {
    flex: 1;
    padding: 0 20px 60px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.menu-category {
    margin-bottom: 16px;
    border-radius: 12px;
    background: var(--surface-color);
    border: 1px solid rgba(212, 175, 55, 0.1);
    overflow: hidden;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    animation: fadeInUp 0.6s ease-out backwards;
}

/* Staggered animation delays for categories */
.menu-category:nth-child(1) { animation-delay: 0.1s; }
.menu-category:nth-child(2) { animation-delay: 0.2s; }
.menu-category:nth-child(3) { animation-delay: 0.3s; }
.menu-category:nth-child(4) { animation-delay: 0.4s; }
.menu-category:nth-child(5) { animation-delay: 0.5s; }
.menu-category:nth-child(6) { animation-delay: 0.6s; }
.menu-category:nth-child(7) { animation-delay: 0.7s; }

.menu-category.active-cat {
    background: rgba(45, 16, 28, 0.7);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.accordion-header {
    width: 100%;
    padding: 22px 24px;
    background: transparent;
    border: none;
    color: var(--accent-gold);
    font-family: var(--font-title);
    font-size: 1.3rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.accordion-header:active {
    background: rgba(255,255,255,0.05);
}

.chevron {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--accent-gold);
}

.accordion-header.active .chevron {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.items-wrapper {
    padding: 0 24px 24px;
}

.menu-item {
    padding: 16px 0;
    border-bottom: 1px dashed rgba(212, 175, 55, 0.2);
}

.menu-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 15px;
}

.item-name {
    font-family: var(--font-title);
    font-size: 1.15rem;
    color: var(--text-main);
    font-weight: 500;
}

.item-price {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--accent-gold);
    font-weight: 500;
    white-space: nowrap;
}

.item-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 6px;
    font-weight: 300;
    line-height: 1.4;
}

/* Footer */
footer {
    background: rgba(10, 3, 5, 0.9);
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    z-index: 1;
}

.footer-logo {
    margin-bottom: 20px;
    opacity: 0.7;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.footer-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.allergens-warning {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 15px;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-main);
    font-size: 0.9rem;
}

.allergens-warning i {
    display: block;
    margin-bottom: 8px;
    color: var(--accent-gold);
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.6);
}

/* Media Queries for Responsiveness */

/* Tablet & Desktop screens */
@media (min-width: 768px) {
    header {
        padding: 20px 40px;
    }
    
    .hero {
        padding: 160px 40px 60px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.25rem;
    }
    
    main {
        padding: 0 40px 80px;
    }
    
    .accordion-header {
        font-size: 1.5rem;
        padding: 24px 32px;
    }
    
    .items-wrapper {
        padding: 0 32px 32px;
    }
    
    .item-name {
        font-size: 1.25rem;
    }
    
    .item-price {
        font-size: 1.1rem;
    }
    
    .item-desc {
        font-size: 1rem;
    }
}

/* Small mobile devices */
@media (max-width: 375px) {
    header {
        padding: 12px 16px;
    }
    
    .logo-text {
        font-size: 1.05rem;
    }
    
    .logo-text span {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }
    
    .lang-btn {
        padding: 4px 8px;
        font-size: 0.8rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .accordion-header {
        font-size: 1.15rem;
        padding: 18px 20px;
    }
    
    .items-wrapper {
        padding: 0 20px 20px;
    }
    
    .item-name {
        font-size: 1.05rem;
    }
}

/* Location Section */
.location-section {
    padding: 40px 20px 80px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.location-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.location-card {
    background: var(--surface-color);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    padding: 30px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location-card h2 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--accent-gold);
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding-bottom: 12px;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.location-details p {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 300;
}

.location-details svg {
    color: var(--accent-gold);
    flex-shrink: 0;
}

.directions-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.05);
}

.directions-btn:hover {
    background: var(--accent-gold);
    color: var(--bg-color);
    box-shadow: 0 4px 15px var(--accent-gold-glow);
    transform: translateY(-2px);
}

.map-wrapper {
    width: 100%;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    position: relative;
}

#map {
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Custom Gold Marker Style */
.custom-gold-marker {
    position: relative;
}

.marker-pin {
    width: 30px;
    height: 30px;
    border-radius: 50% 50% 50% 0;
    background: var(--accent-gold);
    position: absolute;
    transform: rotate(-45deg);
    left: 50%;
    top: 50%;
    margin: -15px 0 0 -15px;
    box-shadow: 0 0 15px var(--accent-gold-glow);
}

.marker-pin::after {
    content: '';
    width: 12px;
    height: 12px;
    margin: 9px 0 0 9px;
    background: #11070A; /* --bg-color value */
    border-radius: 50%;
    position: absolute;
}

.custom-gold-marker::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    animation: marker-pulse 2s infinite ease-out;
    pointer-events: none;
}

@keyframes marker-pulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Adjust Leaflet's controls to match theme */
.leaflet-bar {
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5) !important;
}

.leaflet-bar a {
    background-color: rgba(45, 16, 28, 0.9) !important;
    color: var(--accent-gold) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15) !important;
    transition: all 0.2s ease;
}

.leaflet-bar a:hover {
    background-color: var(--accent-gold) !important;
    color: var(--bg-color) !important;
}

.leaflet-container {
    background: var(--bg-color) !important;
}

/* Leaflet Attribution styling */
.leaflet-container .leaflet-control-attribution {
    background: rgba(17, 7, 10, 0.8) !important;
    color: var(--text-muted) !important;
    font-size: 9px !important;
}

.leaflet-container .leaflet-control-attribution a {
    color: var(--accent-gold) !important;
}

/* Media Queries for Location Section */
@media (min-width: 768px) {
    .location-content {
        flex-direction: row;
        align-items: stretch;
    }
    
    .location-card {
        flex: 1;
        justify-content: center;
    }
    
    .map-wrapper {
        flex: 1.5;
        height: auto;
        min-height: 360px;
    }
}

/* Leaflet Popup Styling */
.custom-map-popup .leaflet-popup-content-wrapper {
    background: rgba(17, 7, 10, 0.95) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
    padding: 0 !important;
}

.custom-map-popup .leaflet-popup-content {
    margin: 12px 16px !important;
    color: var(--text-main) !important;
}

.custom-map-popup .leaflet-popup-tip {
    background: rgba(17, 7, 10, 0.95) !important;
    border-left: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3) !important;
    box-shadow: none !important;
}


