/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --beige: #f8f8f8;
    --beige-dark: #ececec;
    --black: #0A0903;
    --black-light: #1a1a1a;
    --white: #FFFFFF;
    --accent: #A25706;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Cormorant+Garamond:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Cormorant Garamond', 'Playfair Display', 'Times New Roman', 'Georgia', serif;
    background-color: var(--beige);
    color: var(--black);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Base Typography */
h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Mobile Menu Icon */
.menu-icon {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    width: 30px;
    height: 25px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}

.menu-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--black);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-icon.active span:nth-child(2) {
    opacity: 0;
}

.menu-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu Sidebar */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--beige);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-content {
    padding: 80px 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu-link {
    color: var(--black);
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    padding: 15px 0;
    border-bottom: 1px solid var(--beige-dark);
    transition: color 0.3s ease;
}

.mobile-menu-link:hover {
    color: var(--accent);
}

/* Desktop Navigation */
.desktop-nav {
    display: block;
    background-color: var(--beige);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 20px 10px;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 4px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 0 20px 15px;
}

.nav-link {
    color: var(--black);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
    text-transform: uppercase;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-secondary {
    background-color: var(--beige);
    color: var(--black);
    padding: 8px 0;
    font-size: 14px;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--accent);
}

.nav-secondary-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0 20px;
}

.nav-secondary-item strong {
    color: var(--accent);
    margin-right: 5px;
}

/* Main Content */
.main-content {
    flex: 1;
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('assets/restaurace.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 64px;
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 28px;
    font-style: italic;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 18px 45px;
    background-color: var(--accent);
    color: var(--black);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1.5px;
    border-radius: 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.cta-button:hover {
    background-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Section Shared Styles */
section {
    padding: 100px 20px;
}

.section-title {
    font-size: 42px;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: var(--accent);
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-category {
    margin-bottom: 40px;
}

.category-title {
    font-size: 28px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--beige-dark);
    padding-bottom: 10px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
    min-width: 0;
}

.item-info {
    flex: 1;
}

.item-name {
    font-size: 20px;
    font-weight: 600;
    overflow-wrap: break-word;
    min-width: 0;
}

.item-dots {
    flex: 1;
    border-bottom: 1px dotted var(--black-light);
    margin: 0 10px;
    margin-bottom: 5px;
}

.item-price {
    font-weight: 700;
    font-size: 18px;
    white-space: nowrap;
}

.menu-footer-note {
    max-width: 1200px;
    margin: 40px auto 0;
    text-align: center;
    font-style: italic;
    opacity: 0.8;
    font-size: 0.95em;
    padding-top: 20px;
    border-top: 1px solid var(--beige-dark);
}

/* About Us Section */
.about-section {
    background-color: var(--beige-dark);
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 20px;
    line-height: 1.8;
}

/* Footer */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 80px 20px 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h4 {
    font-size: 22px;
    margin-bottom: 30px;
    color: var(--accent);
}

.footer-col p {
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-address-link {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-address-link:hover {
    color: var(--accent);
}

.nav-secondary-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-secondary-link:hover {
    color: var(--accent);
}

.footer-bottom {
    margin-top: 60px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 14px;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-icon {
        display: flex;
    }

    .desktop-nav {
        display: block;
        position: static;
    }

    .nav-logo-container,
    .nav-container {
        display: none;
    }

    .nav-secondary-container {
        flex-direction: column;
        gap: 5px;
        padding: 5px 20px;
        font-size: 13px;
        text-align: center;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .menu-grid {
        grid-template-columns: minmax(280px, 1fr);
    }

    #daily-menu-container {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* References Carousel */
.references-section {
    background-color: transparent;
    text-align: center;
    overflow: hidden;
    /* Hide overflow from slides */
}

.section-subtitle {
    margin-top: -50px;
    margin-bottom: 40px;
    color: #666;
    font-style: italic;
    font-size: 16px;
}

/* Carousel Container */
.carousel-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 0 50px;
    /* Space for arrows */
}

/* Wrapper for slides */
.references-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Individual Slide */
.reference-item {
    min-width: 100%;
    padding: 20px;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Opacity transition for active state if needed, currently using transform */
}

.reference-text {
    font-size: 20px;
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.6;
    max-width: 800px;
}

.reference-author {
    font-weight: 700;
    color: var(--accent);
    font-family: 'Playfair Display', serif;
    font-size: 20px;
}

/* Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 40px;
    color: var(--black);
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
    padding: 10px;
}

.carousel-btn:hover {
    color: var(--accent);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}


/* Reservations Section */
.reservations-section {
    background-color: var(--beige-dark);
    text-align: center;
}

.reservations-container {
    max-width: 800px;
    margin: 0 auto;
}

.reservation-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 22px;
}

.reservation-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.reservation-label {
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 1px;
}

.reservation-link {
    color: var(--black);
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    transition: color 0.3s ease;
}

.reservation-link:hover {
    color: var(--accent);
}

.reservation-note {
    font-style: italic;
    opacity: 0.8;
    margin-top: 20px;
}

/* Responsive adjustments for Carousel */
@media (max-width: 768px) {
    .carousel-container {
        padding: 0 35px;
    }

    .reference-item {
        padding: 25px;
    }

    .reference-text {
        font-size: 16px;
    }

    .carousel-btn {
        font-size: 30px;
    }
}