/* Global Styles */
:root {
    --primary-color: #d4af37;
    /* Gold */
    --secondary-color: #1a1a1a;
    /* Dark Byte */
    --accent-color: #333;
    --text-light: #f3f4f6;
    --text-dark: #1f2937;
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Raleway', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

.section {
    padding: 80px 0;
}

.dark-bg {
    background-color: var(--secondary-color);
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.separator {
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 10px auto;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(18, 18, 18, 0.95);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1.05);
    /* Slight zoom effect */
    animation: zoomEffect 20s infinite alternate;
}

.slide.active {
    opacity: 1;
}

@keyframes zoomEffect {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.about-text ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.about-text li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
    padding-left: 0.5rem;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Parallax Banner */
.parallax-banner {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px;
    /* Adjust height as needed */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Dark overlay */
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-content {
    text-align: center;
    z-index: 2;
}

.parallax-content h2 {
    font-size: 3.5rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.parallax-content .separator {
    background-color: #fff;
    /* White separator on dark image */
    width: 80px;
}

/* Weekly Menu Section */
#weekly-menu-container {
    min-height: 200px;
}

.weekly-selector {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.selector-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 600;
    transition: var(--transition);
}

.selector-btn.active,
.selector-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.weekly-grid {
    display: grid;
    grid-template-columns: 100px repeat(5, 1fr);
    gap: 1rem;
    overflow-x: auto;
}

.grid-header {
    background: #333;
    padding: 1rem;
    text-align: center;
    border-radius: 4px;
    font-weight: 600;
}

.grid-row-label {
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: 700;
    border-radius: 4px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.menu-card {
    background: var(--bg-card);
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: var(--transition);
    position: relative;
    /* For absolute positioning of details */
    overflow: hidden;
    /* To contain the hover effect */
}

.menu-card-title-container {
    cursor: help;
    /* Indicate hoverability */
}

.menu-card-title-container:hover~.menu-details-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-details-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 30, 30, 0.95);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    transform: translateY(10px);
    z-index: 20;
    pointer-events: none;
    /* Prevent flickering and allow clicks to pass through if needed (though overlay covers button visually) */
}

.menu-details-overlay img.detail-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 0.5rem;
    border: 2px solid var(--primary-color);
}

.menu-details-overlay p.description {
    font-size: 0.8rem;
    color: #ddd;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.badges {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.badge {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    color: #fff;
}

.badge.allergen {
    background-color: #e53e3e;
    /* Red for allergens */
}

.badge.dietary {
    background-color: #38a169;
    /* Green for dietary */
}

.menu-card h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.price {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.add-btn {
    width: 100%;
    padding: 8px;
    background: #333;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 2px;
    transition: var(--transition);
}

.add-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

/* Promotions Section */
.promo-featured-image {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.promo-featured-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.promo-featured-image:hover img {
    transform: scale(1.02);
}

.promo-caption {
    /* Positioned normally */
    background: transparent;
    color: var(--primary-color);
    padding: 1rem 0;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.promo-card {
    background: var(--bg-card);
    padding: 2.5rem;
    text-align: center;
    border-radius: 8px;
    border-top: 4px solid var(--primary-color);
}

.promo-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.promo-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Events Section */
.events-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.events-text ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.events-text li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
    color: #ccc;
}

.events-image img {
    border-radius: 8px;
    opacity: 0.9;
}

/* Standard Menu Section */
#menu-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.menu-filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    background: transparent;
    color: var(--primary-color);
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-item {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.menu-item-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
    background: #2a2a2a;
}

.menu-item-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.menu-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.menu-item p {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.menu-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.menu-footer .price {
    font-size: 1.2rem;
    margin-bottom: 0;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    /* Full width map */
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
}

.contact-info {
    padding: 3rem;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
}

.phone-link {
    font-size: 1.2rem;
    font-weight: 700;
}

.map-container {
    min-height: 400px;
}

/* Footer */
footer {
    background: #000;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Add JS toggle later if needed */
        flex-direction: column;
        background: #121212;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        text-align: center;
        padding: 2rem 0;
    }

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

    .hamburger {
        display: block;
    }

    .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background-color: white;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-content,
    .events-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .events-image {
        order: -1;
    }

    .weekly-grid {
        min-width: 800px;
        /* Force horizontal scroll */
    }
}

/* Custom Scrollbar for Weekly Menu */
.weekly-table-container {
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #333;
    /* Firefox */
    cursor: grab;
    /* Indicate draggable */
}

.weekly-table-container:active {
    cursor: grabbing;
}

.weekly-table-container::-webkit-scrollbar {
    height: 12px;
}

.weekly-table-container::-webkit-scrollbar-track {
    background: #333;
    border-radius: 10px;
}

.weekly-table-container::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
    border: 3px solid #333;
    /* Padding around thumb */
}

/* Fix Row Label Height */
.weekly-row-label {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: bold;
    padding: 2rem 1rem;
    /* Adjust padding for vertical text */
    border-radius: 8px;
    text-align: center;
    white-space: nowrap;
    /* removed height constraints to let it fit content */
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 1.2rem;
    letter-spacing: 2px;
    align-self: center;
    /* Center within flex container if needed, though it's inside a TD */
    margin: auto;
    /* Center in TD */
}

/* Scroll Indicator */
.weekly-table-wrapper {
    position: relative;
}

.scroll-indicator {
    position: absolute;
    right: 0;
    top: 0;
    /* Aligned to top */
    bottom: 0;
    /* Full height */
    background: linear-gradient(to left, rgba(0, 0, 0, 0.8), transparent);
    width: 60px;
    display: flex;
    align-items: flex-start;
    /* Align arrow to top */
    justify-content: flex-end;
    padding-right: 10px;
    padding-top: 2rem;
    /* Push arrow down to align with header text */
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.scroll-indicator.left {
    right: auto;
    left: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), transparent);
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 10px;
}

.scroll-indicator.visible {
    opacity: 1;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    /* Yellow */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
    /* Enable clicks */
    cursor: pointer;
    /* Show pointer */
    animation: bounceRight 1.5s infinite;
}

.scroll-indicator.left .scroll-arrow {
    animation: bounceLeft 1.5s infinite;
}

@keyframes bounceRight {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

@keyframes bounceLeft {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-5px);
    }
}

@keyframes bounceRight {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

/* Cookie Consent Popup */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    /* Fixed bottom position */
    left: 50%;
    transform: translate(-50%, 150%);
    /* Hidden: moved down 150% of height */
    width: 90%;
    max-width: 600px;
    background: rgba(18, 18, 18, 0.95);
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    padding: 1.5rem;
    z-index: 2000;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Animate transform */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-banner.show {
    transform: translate(-50%, 0);
    /* Shown: centered and in place */
}

.cookie-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.cookie-content p {
    color: var(--text-light);
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-content .btn-sm {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 50px;
    /* Rounded button */
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.cookie-content .btn-sm:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

@media (min-width: 600px) {
    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .cookie-banner {
        align-items: stretch;
    }
}

.cookie-details {
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    display: none;
    animation: fadeIn 0.3s ease;
}

.cookie-details h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cookie-details ul {
    list-style: disc;
    padding-left: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.cookie-details li {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.cookie-details p {
    color: var(--text-light);
    font-size: 0.9rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}