/* Global Styles */
:root {
    --primary-color: #d4af37;
    /* Gold */
    --secondary-color: #1a1a1a;
    /* Dark Gray/Black */
    --text-color: #f0f0f0;
    --bg-color: #121212;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Noto Serif KR', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
#main-header {
    background-color: rgba(18, 18, 18, 0.95);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--white);
}

nav a:hover {
    color: var(--primary-color);
}

.btn-online-order {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 2px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.btn-online-order:hover {
    background-color: #b39028;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    background-color: var(--white);
    height: 3px;
    width: 25px;
    margin: 3px 0;
}

.mobile-menu {
    display: none;
    background-color: var(--secondary-color);
    position: fixed;
    top: 90px;
    width: 100%;
    z-index: 999;
    text-align: center;
    padding: 20px 0;
}

.mobile-menu ul {
    flex-direction: column;
    gap: 20px;
}

/* Hero Section */
#hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-content {
    z-index: 1;
    margin-top: 10%;
    /* Approx 30% from top visually */
}

.hero-logo {
    position: absolute;
    top: 5%;
    left: 10%;
    z-index: 10;
}

.hero-logo img {
    height: 70px;
}

.hero-message {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px 40px;
    border-radius: 5px;
    margin-bottom: 30px;
    display: inline-block;
}

.hero-message h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.hero-message p {
    font-size: 1.2rem;
    color: var(--white);
}

/* Section Common */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* About Section */
#about {
    background-color: var(--secondary-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.about-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* Menu Slider (Ported from Speisekammer Notice) */
#dishes {
    background-color: var(--bg-color);
}

.menu-slideshow-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.menu-slides-wrapper {
    display: flex;
    overflow: hidden;
    border-radius: 15px;
    min-height: 450px;
    /* Ensure height for absolute positioning if needed */
}

.menu-slide {
    display: none;
    /* Default hidden, JS toggles to flex */
    min-width: 100%;
    justify-content: center;
    padding: 20px;
    animation: fadeEffect 1.5s;
    /* Optional fade effect */
}

@keyframes fadeEffect {
    from {
        opacity: 0.4
    }

    to {
        opacity: 1
    }
}

.menu-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 35px;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--primary-color);
    text-align: center;
}

.menu-card img {
    width: 100%;
    max-width: 600px;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.menu-card h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.menu-card p {
    color: var(--white);
    font-size: 1.2rem;
}

/* Navigation Buttons */
.menu-prev,
.menu-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.8);
    /* Gold */
    color: white;
    border: none;
    padding: 16px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
    z-index: 10;
    transition: background 0.3s;
}

.menu-prev:hover,
.menu-next:hover {
    background: rgba(212, 175, 55, 1);
}

.menu-prev {
    left: 15px;
}

.menu-next {
    right: 15px;
}

/* Dots */
.menu-dots-container {
    text-align: center;
    padding-top: 20px;
}

.menu-dot {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
    border: none;
}

.menu-dot.active {
    background-color: var(--primary-color);
}

/* Yelp Section */
#yelp {
    background-color: var(--secondary-color);
}

.yelp-slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.yelp-slider {
    width: 80%;
    text-align: center;
    overflow: hidden;
}

.yelp-slide {
    display: none;
    /* JS will handle showing */
    padding: 20px;
}

.yelp-slide.active {
    display: block;
}

.stars {
    color: #d32323;
    /* Yelp red */
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.yelp-slide p {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.author {
    font-weight: bold;
    color: var(--primary-color);
}

.slider-prev-yelp,
.slider-next-yelp {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 2rem;
    cursor: pointer;
    padding: 0 20px;
}

/* Gallery Section */
#gallery {
    background-color: var(--bg-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-item {
    cursor: pointer;
    overflow: hidden;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact Section */
#contact {
    background-color: var(--secondary-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.social-links {
    margin-top: 30px;
}

.social-links a {
    font-size: 1.5rem;
    margin-right: 20px;
    color: var(--white);
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Footer */
#main-footer {
    background-color: #000;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-logo h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-links {
    margin: 20px 0;
}

.footer-links a {
    margin: 0 15px;
    font-size: 0.9rem;
    color: #888;
}

.copyright p {
    font-size: 0.8rem;
    color: #666;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-message h1 {
        font-size: 2rem;
    }
}