:root {
    --primary-bg: hsl(210, 10%, 12%); /* Dark charcoal/blue-grey */
    --secondary-bg: hsl(210, 10%, 18%); /* Slightly lighter */
    --text-color: hsl(0, 0%, 95%); /* Off-white */
    --accent-color: hsl(38, 70%, 55%); /* Gold-ish */
    --accent-light: hsl(38, 70%, 70%); /* Lighter gold */
    --border-color: hsl(210, 5%, 30%); /* Subtle border */

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--primary-bg);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-color);
    margin-bottom: 0.5em;
    line-height: 1.2;
}

h1 { font-size: 3.5em; }
h2 { font-size: 2.5em; }
h3 { font-size: 1.8em; }

p {
    margin-bottom: 1em;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.section-padding {
    padding: 80px 0;
}

.dark-section {
    background-color: var(--secondary-bg);
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 40px;
}

.section-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: rgba(255, 255, 255, 0.7);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.primary-btn {
    background-color: var(--accent-color);
    color: var(--primary-bg);
}

.primary-btn:hover {
    background-color: var(--accent-light);
    color: var(--primary-bg);
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.secondary-btn:hover {
    background-color: var(--accent-color);
    color: var(--primary-bg);
    transform: translateY(-2px);
}

.large-btn {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* Header */
header {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2.2em;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 400;
    font-size: 1.1em;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
#hero {
    height: 100vh;
    background: url('images/image_8.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--text-color);
    max-width: 900px;
    padding: 20px;
}

#hero h1 {
    font-size: 4.5em;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

#hero p {
    font-size: 1.4em;
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-buttons .btn {
    margin: 0 10px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-content h2 {
    margin-bottom: 25px;
}

.about-content p {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

/* Menu Preview Section */
#menu-preview h2,
#menu-preview .section-description {
    text-align: center;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.menu-item {
    background-color: var(--primary-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.menu-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.menu-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.menu-item h3 {
    margin: 20px 0 10px;
    font-size: 1.6em;
    color: var(--accent-color);
}

.menu-item p {
    padding: 0 20px 20px;
    font-size: 1em;
    color: rgba(255, 255, 255, 0.7);
}

/* Reservations Section */
#reservations h2 {
    margin-bottom: 25px;
}

#reservations .section-description {
    margin-bottom: 50px;
}

.call-text {
    font-size: 1.2em;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.call-text a {
    font-weight: 600;
}

/* Footer */
footer {
    padding: 60px 0 20px;
    background-color: var(--primary-bg);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.6em;
}

.footer-col p,
.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95em;
    margin-bottom: 10px;
    display: block;
}

.footer-col a:hover {
    color: var(--accent-light);
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links img {
    width: 25px;
    height: 25px;
    transition: transform 0.3s ease;
}

.social-links img:hover {
    transform: translateY(-3px);
}

.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 { font-size: 3em; }
    h2 { font-size: 2em; }

    #hero h1 { font-size: 3.5em; }
    #hero p { font-size: 1.2em; }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-image {
        margin-bottom: 40px;
    }
    .about-image img {
        max-width: 80%;
        margin: 0 auto;
    }

    .menu-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }
    .header-content {
        flex-direction: column;
    }
    .logo {
        margin-bottom: 15px;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 10px;
    }
    nav ul li {
        margin: 0 15px 10px;
    }

    .section-padding {
        padding: 60px 0;
    }

    #hero {
        height: 80vh;
    }
    #hero h1 {
        font-size: 2.8em;
    }
    #hero p {
        font-size: 1.1em;
    }
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .hero-buttons .btn {
        margin: 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col {
        margin-bottom: 30px;
    }
    .footer-col:last-child {
        margin-bottom: 0;
    }
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.5em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.4em; }

    #hero h1 {
        font-size: 2.2em;
    }
    #hero p {
        font-size: 1em;
    }
    .btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .large-btn {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .about-image img {
        max-width: 100%;
    }
}

/* Visible state helpers */
+ .animate-fade-in-up.visible,
+ .animate-fade-in-left.visible,
+ .animate-fade-in-right.visible,
+ .animate-bounce-y.visible,
+ .section-scroll-animate.visible,
+ .text-animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Safe visibility overrides (auto-added) */
:root, html, body, main, header, footer, section, .container, .content {
  opacity: 1 !important;
  visibility: visible !important;
}
