:root {
    --color-primary-black: #0a0a0a;
    --color-accent-gold: #D4AF37;
    --color-neutral-white: #FFFFFF;
    --glassmorphism-background: rgba(10, 10, 10, 0.7); /* More black, maintained transparency */
    --glassmorphism-border: rgba(255, 255, 255, 0.2);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--color-neutral-white);
    background-color: var(--color-primary-black);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--color-neutral-white);
}

a {
    text-decoration: none;
    color: var(--color-neutral-white);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    background: var(--color-accent-gold);
    color: var(--color-primary-black);
    padding: 15px 30px;
    border-radius: 0px; /* Pill-like shape */
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background: #c09f2d; /* Slightly darker gold on hover */
    transform: translateY(-3px);
}

.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 40px; /* Reduced margin */
    color: var(--color-accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navbar */
.navbar {
    background: var(--glassmorphism-background);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glassmorphism-border);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo a {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--color-accent-gold);
    font-weight: bold;
    letter-spacing: 3px;
}

.navbar .nav-links {
    display: flex;
    gap: 30px;
}

.navbar .nav-links a {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

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

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

.navbar .nav-links a:hover {
    color: var(--color-accent-gold);
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: var(--color-neutral-white);
    transition: 0.4s;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--color-neutral-white);
}

.hero-section video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translate(-50%, -50%);
    background-size: cover;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.85); /* Darker overlay for more black, maintaining see-through */
    z-index: -1;
}

.hero-content {
    z-index: 1;
    background: var(--glassmorphism-background);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glassmorphism-border);
    padding: 40px 60px;
    border-radius: 20px;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    line-height: 1.1;
}

.hero-content p {
    font-family: 'Lato', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: var(--color-neutral-white); /* Changed to white */
    text-shadow: none;
    font-weight: bold;
}

/* Signature Dishes Section */
#signature-dishes {
    background-color: var(--color-primary-black);
}

.slideshow-container {
    position: relative;
    max-width: 1200px;
    margin: auto;
}

.menu-slides {
    /* Remove display: none; from here */
}

.dish-grid {
    display: none; /* Hide all dish-grids initially */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 20px; /* Reduced margin */
}

.dish-grid.slide-active {
    display: grid; /* Show only the active slide */
}

.dish-card {
    background: var(--glassmorphism-background);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glassmorphism-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 0 5px rgba(212, 175, 55, 0.1); /* Enhanced 3D with gold border effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dish-card:hover {
    transform: translateY(-15px) scale(1.03); /* More pronounced lift and slight scale */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 0 8px rgba(212, 175, 55, 0.2); /* Stronger shadow on hover */
}

.dish-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 20px 20px 0 0;
}

.dish-card .card-content {
    padding: 25px;
    text-align: center;
}

.dish-card h3 {
    font-size: 1.8rem;
    color: var(--color-accent-gold);
    margin-bottom: 10px;
}

.dish-card p {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: var(--color-neutral-white);
    margin-bottom: 15px;
}

.dish-card .price {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--color-accent-gold);
    font-weight: bold;
}

/* The Story Section */
#story {
    background-color: var(--color-primary-black);
}

.story-content {
    display: flex;
    align-items: center;
    gap: 20px; /* Reduced gap */
    margin-top: 20px; /* Reduced margin */
    flex-wrap: wrap;
}

.story-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.story-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 0 5px rgba(212, 175, 55, 0.1); /* Enhanced 3D with gold border effect */
}

.story-text-container {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    border-radius: 20px;
    text-align: left;
}

.story-text-container h3 {
    font-size: 2.5rem;
    color: var(--color-accent-gold);
    margin-bottom: 20px;
}

.story-text-container p {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-neutral-white);
    margin-bottom: 15px;
}

/* Footer */
#footer {
    background-color: var(--color-primary-black);
    padding: 60px 0 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--color-accent-gold);
    letter-spacing: 3px;
}

.footer-info p {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    margin: 5px 0;
    color: var(--color-neutral-white);
}

.footer-social a {
    color: var(--color-neutral-white);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--color-accent-gold);
}

.copyright {
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: var(--color-accent-gold);
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background with a little more opacity */
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: rgba(212, 175, 55, 0.4); /* Gold with transparency */
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active,
.dot:hover {
    background-color: var(--color-accent-gold);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 4rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .story-content {
        flex-direction: column;
        text-align: center;
    }

    .story-image, .story-text-container {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 90px; /* Adjusted to accommodate fixed navbar */
        left: 0;
        width: 100%;
        background: var(--color-primary-black);
        border-top: 1px solid var(--glassmorphism-border);
        padding: 20px 0;
        align-items: center;
        text-align: center;
        max-height: calc(100vh - 90px); /* Ensure menu is scrollable */
        overflow-y: auto;
    }

    .navbar .nav-links.active {
        display: flex;
    }

    .navbar .nav-links li {
        margin: 10px 0;
    }

    .navbar .nav-links a::after {
        width: 0; /* Hide underline on mobile */
    }

    .hamburger-menu {
        display: flex;
    }

    .hero-section {
        /* padding-top: 70px; Adjusted to accommodate fixed navbar */
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .btn {
        padding: 5px 5px;
        font-size: 0.9rem;
    }

    .hero-section .btn-primary {
        display: none;
    }

    #signature-dishes {
        /* margin-top: 70px; Adjusted to accommodate fixed navbar on mobile */
    }

    .section-title {
        font-size: 2.5rem;
    }

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

    .prev, .next {
        font-size: 20px;
        padding: 10px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-logo, .footer-info, .footer-social {
        text-align: center;
    }

    .menu-category-btn {
        width: 100%;
    }

    main {
        padding-top: 90px; /* Global padding for main content on mobile */
    }
}

/* General Mobile Optimizations for iOS/Android */
@media (max-width: 768px) {
    body {
        -webkit-text-size-adjust: 100%; /* Prevent font scaling on iOS */
    }

    /* Ensure sufficient touch target size for interactive elements */
    .btn, .navbar .nav-links a, .hamburger-menu, .prev, .next, .dot, .go-back-btn, .reservation-form .btn-primary, #backToTopBtn {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex; /* Use flex to center content if needed */
        justify-content: center;
        align-items: center;
    }

    /* Form input specific adjustments for mobile */
    .reservation-form input, .reservation-form textarea {
        -webkit-appearance: none; /* Remove iOS default styles */
        border-radius: 8px; /* Standardize border-radius */
        padding: 12px;
        font-size: 1rem;
    }

    /* Adjust overall padding for sections on smaller screens */
    .section {
        padding: 60px 0; /* Reduced vertical padding for more content density */
    }

    /* Adjust font sizes for better readability on small screens */
    .hero-content h1 {
        font-size: 2.8rem; /* Slightly smaller for very small screens */
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

/* New styles for Reservation Page */
#reservation {
    background-color: var(--color-primary-black);
    min-height: calc(100vh - 100px); /* Adjust for header/footer */
    display: flex;
    align-items: center;
    justify-content: center;
}

.reservation-form {
    max-width: 600px;
    margin: 40px auto;
    padding: 40px;
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
}

.reservation-form .form-group {
    margin-bottom: 20px;
}

.reservation-form label {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    color: var(--color-neutral-white);
    margin-bottom: 8px;
    font-weight: bold;
}

.reservation-form input[type="text"],
.reservation-form input[type="email"],
.reservation-form input[type="tel"],
.reservation-form input[type="date"],
.reservation-form input[type="time"],
.reservation-form input[type="number"],
.reservation-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--glassmorphism-border);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-neutral-white);
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.reservation-form input:focus,
.reservation-form textarea:focus {
    outline: none;
    border-color: var(--color-accent-gold);
    background-color: rgba(255, 255, 255, 0.15);
}

.reservation-form textarea {
    resize: vertical;
}

.reservation-form .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
    margin-top: 20px;
}

/* General styles for the new pages to ensure header/footer consistency */
#full-menu .section-title,
#reservation .section-title {
    margin-top: 80px; /* Space for fixed header */
}

.go-back-btn {
    margin-bottom: 30px;
    background-color: var(--glassmorphism-background);
    border: 1px solid var(--glassmorphism-border);
    color: var(--color-neutral-white);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.go-back-btn:hover {
    background-color: var(--color-accent-gold);
    color: var(--color-primary-black);
    border-color: var(--color-accent-gold);
}

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

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .navbar .logo a {
        font-size: 1.5rem;
    }

    .dish-card h3 {
        font-size: 1.5rem;
        margin-bottom: 5px; /* Reduced gap */
    }

    .dish-card .price {
        font-size: 1.2rem;
    }

    .dish-card p {
        margin-bottom: 10px; /* Reduced gap */
    }

    .story-text-container h3 {
        font-size: 2rem;
    }

    .story-text-container p {
        font-size: 1rem;
    }
}

/* Back to Top Button */
#backToTopBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed position */
    bottom: 30px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: var(--color-accent-gold); /* Set a background color */
    color: var(--color-primary-black); /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 50%; /* Rounded shape */
    font-size: 20px; /* Increase font size */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

#backToTopBtn:hover {
    background-color: #c09f2d; /* Slightly darker gold on hover */
    transform: translateY(-3px);
    opacity: 0.9;
}

/* Full Menu Section */
#full-menu .full-menu-items .menu-category {
    display: none; /* Hide all menu categories by default */
}

#full-menu .full-menu-items .menu-category.active {
    display: block; /* Show the active menu category */
}

.full-menu-items {
    margin-top: 40px;
}
