/* Base styles with accessibility in mind - Dark Luxury Theme */
:root {
    --primary-color: #D4AF37; /* Gold as primary accent */
    --primary-dark: #B8860B; /* Darker gold for hover states */
    --background-dark: #0F1419; /* Deep navy/black background */
    --background-card: #1A1F26; /* Slightly lighter for cards */
    --background-light: #252B33; /* Even lighter for highlights */
    --accent-color: #F4C430; /* Bright gold for CTAs */
    --accent-red: #B01E27; /* Red as secondary accent */
    --button-color: #D4AF37; /* Gold buttons */
    --text-color: #E5E5E5; /* Light gray text */
    --text-muted: #A0A0A0; /* Muted text */
    --light-text: #FFFFFF; /* Pure white */
    --focus-outline: 3px solid #D4AF37;
    --font-primary: 'Montserrat', 'Arial', sans-serif;
    --font-secondary: 'Inter', 'Arial', sans-serif;
}

/* Basic reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-dark);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 0.5em;
    color: var(--light-text);
    letter-spacing: 0.5px;
}

h1 {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 1em;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 1.5em;
    font-weight: 700;
}

h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--primary-color) 100%);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
}

p {
    margin-bottom: 1em;
}

/* Accessibility helpers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for keyboard navigation */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: var(--focus-outline);
    outline-offset: 2px;
}

/* Skip to main content link for keyboard users */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-color);
    color: var(--background-dark);
    padding: 8px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Header Styles */
header {
    background-color: var(--background-dark);
    padding: 12px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.logo img {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    /* Inverts dark logo to light for dark backgrounds */
}

nav {
    flex: 2;
    display: flex;
    justify-content: center;
}

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

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent-color);
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.language-selector {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.language-selector ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

.language-selector a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1rem;
    transition: color 0.3s;
}

.language-selector a:hover {
    color: var(--primary-color);
}

/* Main Content Styles */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

section {
    margin-bottom: 80px;
    padding: 0 20px;
}

/* About Section */
#about {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
    padding: 60px 40px;
}

#about p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
    background-color: rgba(176, 30, 39, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

.lightbox-prev {
    margin-left: -60px;
}

.lightbox-next {
    margin-right: -60px;
}

/* Mobile lightbox adjustments */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }

    .lightbox-close {
        top: -30px;
        font-size: 1.5rem;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .lightbox-prev {
        margin-left: -50px;
    }

    .lightbox-next {
        margin-right: -50px;
    }
}

/* Menu Section */
#menu {
    background-color: var(--background-card);
    padding: 60px 50px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.15);
    max-width: 1200px;
    margin: 0 auto;
}

.menu-category {
    margin-bottom: 40px;
}

.menu-items {
    list-style: none;
}

.menu-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dotted rgba(212, 175, 55, 0.3);
    display: flex;
    flex-direction: column;
}

.menu-item h4 {
    margin-bottom: 5px;
    color: var(--light-text);
}

.menu-item p {
    margin-bottom: 5px;
    font-style: italic;
    color: var(--text-muted);
}

.price {
    font-weight: bold;
    color: var(--accent-color);
    font-size: 1.1rem;
}

/* Contact Section */
#contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background-color: var(--background-card);
    padding: 60px 50px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.15);
    max-width: 1200px;
    margin: 0 auto;
}

address {
    font-style: normal;
    line-height: 1.8;
}

address a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

address a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.hours-simple {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-color);
    text-align: left;
    margin: 0;
    line-height: 1.8;
}

/* Footer */
footer {
    background-color: var(--background-card);
    color: var(--text-color);
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

footer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
    }

    .logo {
        text-align: center;
    }

    nav ul {
        gap: 15px;
    }

    #contact {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .language-selector ul {
        justify-content: center;
    }

    #menu {
        padding: 20px;
    }
}

/* Add a hero section styling - similar to Chakra's large image */
.hero {
    width: 100%;
    height: 60vh;
    background-image: url('../images/maharaja_street.JPG');
    background-size: cover;
    background-position: center 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    margin-bottom: 60px;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 20, 25, 0.85), rgba(15, 20, 25, 0.75));
}

.hero-content {
    z-index: 2;
    text-align: center;
    padding: 20px;
}

.hero h1 {
    font-size: 5rem;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    font-weight: 700;
    letter-spacing: 2px;
}

/* Responsive hero text */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
    margin: 0 auto 2em;
}

/* Button styling */
.btn {
    display: inline-block;
    background-color: var(--button-color);
    color: var(--background-dark);
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn:hover, .btn:focus {
    background-color: var(--accent-color);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Gallery Section */
#gallery {
    max-width: 1200px;
    margin: 60px auto 80px;
    padding: 0 20px;
}

/* Gallery Feed Cards */
#gallery-feed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.instagram-card {
    display: block;
    background: var(--background-card);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.instagram-card:hover {
    border-color: var(--accent-color);
    background: var(--background-light);
    transform: translateY(-5px);
}

.instagram-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.instagram-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
}

.instagram-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.instagram-card p {
    margin: 0.5rem 0 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-color);
}

.view-link {
    display: inline-block;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.instagram-card:hover .view-link {
    color: var(--light-text);
}

@media (max-width: 768px) {
    #gallery-feed {
        grid-template-columns: 1fr;
    }
}

/* Load More Button */
.load-more-btn {
    display: block;
    margin: 3rem auto 0;
    padding: 16px 48px;
    background-color: var(--button-color);
    color: var(--background-dark);
    border: none;
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.load-more-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.load-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

