/* ============================================
   Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B4513;
    --secondary-color: #A67C52;
    --accent-color: #2C1810;
    --text-dark: #2C2C2C;
    --text-light: #666;
    --bg-light: #F5F5F0;
    --bg-cream: #FAF9F6;
    --bg-white: #FFFFFF;
    --bg-black: #000000;
    --gold: #A67C52;
    --brown: #8B4513;
    --brown-light: #A67C52;
    --brown-lighter: #C4A082;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: #2C2C2C;
    background-color: #FAF9F6;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

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

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    padding-left: 30px;
    padding-right: 20px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #2C2C2C;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: auto;
    flex: 0 1 auto;
    min-width: 0;
}

#logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    white-space: nowrap;
    display: block;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    text-decoration: none;
    color: #2C2C2C;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--brown);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    flex-shrink: 0;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #2C2C2C;
    transition: var(--transition);
}

/* Language Selector */
.language-selector {
    position: relative;
    flex-shrink: 0;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #FAF9F6;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #2C2C2C;
    transition: var(--transition);
    font-family: 'Lato', sans-serif;
}

.lang-flag {
    font-size: 1.2rem;
    line-height: 1;
    display: inline-block;
}

.catalan-flag {
    background: linear-gradient(to bottom, 
        #FF0000 0%, 
        #FF0000 20%, 
        #FFD700 20%, 
        #FFD700 40%, 
        #FF0000 40%, 
        #FF0000 60%, 
        #FFD700 60%, 
        #FFD700 80%, 
        #FF0000 80%, 
        #FF0000 100%);
    width: 1.5em;
    height: 1.1em;
    border-radius: 2px;
    position: relative;
    font-size: 0;
}

.catalan-flag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0.3em;
    height: 100%;
    background: #FFD700;
}

.lang-btn:hover {
    background: var(--bg-light);
    border-color: var(--brown);
}

.lang-arrow {
    font-size: 0.7rem;
    transition: var(--transition);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: #FFFFFF;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
    color: #2C2C2C;
    transition: var(--transition);
    font-family: 'Lato', sans-serif;
}

.lang-option .lang-flag {
    font-size: 1.1rem;
    line-height: 1;
    flex-shrink: 0;
}

.lang-option:hover {
    background: var(--bg-light);
    color: var(--brown);
}

.lang-option:first-child {
    border-radius: 4px 4px 0 0;
}

.lang-option:last-child {
    border-radius: 0 0 4px 4px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: url('assets/gallery/exterior/exterior_main.webp') center/cover no-repeat,
                url('assets/gallery/exterior/exterior_main.webp') center/cover no-repeat;
    color: white;
    padding: 0 5%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, rgba(166, 124, 82, 0.4) 50%, rgba(44, 24, 16, 0.7) 100%);
}

.hero-overlay::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, transparent 0%, rgba(44, 24, 16, 0.4) 50%, rgba(44, 24, 16, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
    max-width: 650px;
    padding-right: 2rem;
}

.hero-title {
    font-size: 7rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 4px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gold);
    color: var(--accent-color);
    border: 2px solid var(--gold);
}

.btn-primary:hover {
    background: transparent;
    color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(166, 124, 82, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 10px; }
    100% { opacity: 0; top: 30px; }
}

/* ============================================
   Section Styles
   ============================================ */
section {
    padding: 120px 0;
    position: relative;
}

section.about {
    padding-top: 0;
    padding-bottom: 120px;
}

section.menu {
    padding-top: 0;
}

/* Add extra spacing between sections for better visual separation */
section + section {
    margin-top: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 3rem;
    color: #2C2C2C;
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gold);
    margin: 0 auto 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
}

/* ============================================
   About Section
   ============================================ */
.about {
    background: var(--bg-cream);
    position: relative;
}

/* Background image removed - using black background */

.about .container {
    position: relative;
    z-index: 1;
}

.about-content {
    margin-top: 3rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #2C2C2C;
}

/* ============================================
   Menu Section
   ============================================ */
.menu {
    background: var(--bg-cream);
    position: relative;
}

/* Background image removed - using black background */

.menu .container {
    position: relative;
    z-index: 1;
}

.menu-section-wrapper {
    margin-bottom: 4rem;
}

.menu-section-wrapper:last-child {
    margin-bottom: 2rem;
}

.menu-section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.menu-section-title {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.title-underline-small {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto;
}

.menu-del-dia {
    background: linear-gradient(135deg, var(--brown-light) 0%, rgba(166, 124, 82, 0.9) 100%);
    border-radius: 15px;
    padding: 3rem;
    margin: 2rem auto;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(166, 124, 82, 0.3);
}

.menu-del-dia-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    text-align: left;
}

.menu-del-dia-info {
    flex: 1;
    width: 100%;
}

.menu-del-dia-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.menu-del-dia-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    font-family: 'Playfair Display', serif;
}

.menu-del-dia-schedule {
    font-size: 1rem;
    color: var(--accent-color);
    opacity: 0.85;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.menu-del-dia-instagram {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(44, 24, 16, 0.3);
}

.instagram-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.98);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    padding: 0.875rem 2.25rem;
    border-radius: 8px;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(44, 24, 16, 0.15);
    border: 1.5px solid var(--accent-color);
    width: 100%;
    text-align: center;
    letter-spacing: 0.5px;
}

.instagram-link-btn:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 24, 16, 0.25);
    border-color: var(--accent-color);
}

.instagram-arrow {
    font-size: 1rem;
    transition: var(--transition);
    font-weight: 400;
}

.instagram-link-btn:hover .instagram-arrow {
    transform: translateX(3px);
}


.menu-categories {
    display: grid;
    gap: 4rem;
}

.menu-category {
    background: #FFFFFF;
    padding: 3.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.category-title {
    font-size: 2rem;
    color: #2C2C2C;
    margin-bottom: 2.5rem;
    text-align: center;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid var(--gold);
}

.menu-items {
    display: grid;
    gap: 2.5rem;
}

.menu-item {
    padding: 1.75rem 0;
    border-bottom: 1px solid rgba(166, 124, 82, 0.2);
    transition: var(--transition);
}

.menu-item:hover {
    transform: translateX(5px);
    padding-left: 0.5rem;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.item-name {
    font-size: 1.3rem;
    color: #2C2C2C;
    font-weight: 600;
}

.item-price {
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: 700;
    white-space: nowrap;
}

.item-description {
    color: #666;
    font-style: italic;
}

/* Menu Tabs */
/* Main Menu Tabs (Menú del Día / Carta) */
.main-menu-tabs-container {
    margin-top: 3rem;
}

.main-menu-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    border-bottom: 3px solid var(--gold);
    padding-bottom: 1.5rem;
}

.main-menu-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 3rem;
    background: #FFFFFF;
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #2C2C2C;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.main-menu-tab:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-color: var(--gold);
}

.main-menu-tab.active {
    background: linear-gradient(135deg, var(--brown-light) 0%, rgba(166, 124, 82, 0.9) 100%);
    color: #000000;
    border-color: var(--gold);
    box-shadow: 0 5px 20px rgba(166, 124, 82, 0.4);
}

.main-menu-tab-content {
    position: relative;
    min-height: 400px;
}

.main-menu-content {
    display: none;
    position: relative;
    width: 100%;
    min-height: 200px;
    visibility: hidden;
    opacity: 0;
}

.main-menu-content.active {
    display: block !important;
    position: relative;
    width: 100%;
    visibility: visible !important;
    opacity: 1 !important;
}

.menu-tabs-container {
    margin-top: 2rem;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 1rem;
}

.menu-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #FFFFFF;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2C2C2C;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.menu-tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: var(--gold);
}

.menu-tab.active {
    background: linear-gradient(135deg, var(--brown-light) 0%, rgba(166, 124, 82, 0.9) 100%);
    color: #000000;
    border-color: var(--gold);
    box-shadow: 0 4px 15px rgba(166, 124, 82, 0.4);
}

.tab-text {
    font-weight: 700;
}

.menu-tab-content {
    position: relative;
    min-height: 800px;
}

.menu-pdf-container,
.menu-text-container {
    display: none;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    margin-bottom: 2rem;
    min-height: 200px;
    visibility: visible;
    opacity: 1;
}

.menu-pdf-container.active,
.menu-text-container.active {
    display: block !important;
    animation: fadeIn 0.3s ease-in;
    visibility: visible !important;
    opacity: 1 !important;
}

.menu-written-content {
    display: grid;
    gap: 4rem;
}

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

.menu-pdf {
    width: 100%;
    height: 800px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Esmorzars Navigation */
.esmorzars-navigation {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.esmorzars-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 1rem;
}

.esmorzars-tab {
    padding: 0.75rem 1.5rem;
    background: #FFFFFF;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #2C2C2C;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.esmorzars-tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: var(--gold);
}

.esmorzars-tab.active {
    background: linear-gradient(135deg, var(--brown-light) 0%, rgba(166, 124, 82, 0.9) 100%);
    color: #000000;
    border-color: var(--gold);
    box-shadow: 0 4px 15px rgba(166, 124, 82, 0.4);
}

.esmorzars-pdf-container {
    position: relative;
    min-height: 800px;
}

.esmorzars-pdf {
    display: none;
    width: 100%;
    height: 800px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.esmorzars-pdf.active {
    display: block;
}

/* Combined PDFs */
.combined-pdfs {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.pdf-section {
    background: var(--bg-white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.pdf-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--brown);
    margin-bottom: 1.5rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gold);
}

.pdf-section .menu-pdf {
    height: 600px;
}

/* Allergy Legend */
.allergy-legend {
    background: var(--bg-white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.allergy-legend-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--brown);
    margin-bottom: 1.5rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gold);
}

.allergy-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

.allergy-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 8px;
    transition: var(--transition);
    cursor: help;
}

.allergy-item:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
}

.allergy-icon {
    font-size: 2rem;
    display: block;
}

.allergy-label {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
    text-align: center;
}

/* ============================================
   Reviews Section
   ============================================ */
.reviews {
    background: var(--bg-cream);
    position: relative;
}

/* Background image removed - using black background */

.reviews .container {
    position: relative;
    z-index: 1;
}

.reviews-container {
    margin-top: 4rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.review-item {
    background: #FFFFFF;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: visible;
}

.review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.review-item.show-full-review {
    z-index: 10;
}

.review-header {
    margin-bottom: 1rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.review-info {
    flex: 1;
}

.review-name {
    color: #2C2C2C;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.review-stars {
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: 2px;
}

.review-text {
    color: #2C2C2C;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
    transition: var(--transition);
}

.review-item:hover .review-text {
    white-space: normal;
    word-wrap: break-word;
}

.review-date {
    color: #666;
    font-size: 0.9rem;
    opacity: 0.7;
}

.reviews-cta {
    text-align: center;
    padding: 4rem 3rem;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.reviews-cta h3 {
    color: #2C2C2C;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.reviews-cta p {
    color: #2C2C2C;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery {
    background: var(--bg-cream);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 2rem;
    background: #FFFFFF;
    border: 2px solid var(--gold);
    color: #2C2C2C;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
}

.filter-btn:hover {
    background: var(--gold);
    color: var(--accent-color);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--gold);
    color: #000000;
    box-shadow: 0 5px 15px rgba(166, 124, 82, 0.3);
}

.gallery-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
}

.gallery-item.hidden {
    display: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: var(--transition);
}

.gallery-item:hover {
    border-color: var(--brown-light);
    box-shadow: 0 8px 25px rgba(166, 124, 82, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(166, 124, 82, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}


/* ============================================
   Contact Section
   ============================================ */
.contact {
    background: var(--bg-cream);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-left {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-info-center {
    display: flex;
    flex-direction: column;
}

.contact-info-right {
    display: flex;
    flex-direction: column;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0;
}

.contact-details {
    flex: 1;
}

.contact-details h3 {
    color: #2C2C2C;
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.contact-details p {
    color: #2C2C2C;
    line-height: 1.8;
    font-size: 1.05rem;
}

.contact-map {
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--brown-light);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--accent-color);
    color: white;
    padding: 2.5rem 0 1.5rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 2.5rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-about {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.footer-logo img {
    height: 35px;
    width: auto;
}

.footer-text {
    font-style: italic;
    opacity: 0.9;
    line-height: 1.5;
    font-size: 0.9rem;
}

.footer-section h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--brown-light);
}

.footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-nav a:hover {
    opacity: 1;
    color: var(--brown-light);
    transform: translateX(5px);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-info p {
    opacity: 0.9;
    line-height: 1.5;
    font-size: 0.85rem;
}

.footer-contact-info strong {
    color: var(--brown-light);
    font-weight: 600;
    display: block;
    margin-bottom: 0.15rem;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
}

.footer-social a:hover {
    opacity: 1;
    color: var(--brown-light);
    transform: translateY(-2px);
}

.footer-copyright {
    opacity: 0.7;
    font-size: 0.85rem;
    text-align: center;
}

/* ============================================
   Lightbox
   ============================================ */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.lightbox-close {
    top: 20px;
    right: 30px;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--gold);
    transform: scale(1.1);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .nav-wrapper {
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.5rem;
        padding: 0.75rem 0;
    }

    .logo {
        flex: 1 1 auto;
        margin-right: 0;
        min-width: 0;
    }

    #logo-img {
        height: 36px;
    }

    .logo-text {
        font-size: 1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.2;
    }

    .menu-toggle {
        display: flex;
        order: 2;
    }

    .nav-menu {
        position: fixed;
        top: 64px;
        left: -100%;
        flex-direction: column;
        align-items: stretch;
        background: #FFFFFF;
        width: 100%;
        padding: 2rem;
        gap: 1rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        flex: 0 0 auto;
        order: 4;
    }

    .nav-menu.active {
        left: 0;
    }

    .language-selector {
        margin-left: 0;
        margin-top: 0;
        order: 3;
    }

    .lang-dropdown {
        right: auto;
        left: 0;
    }

    .hero {
        padding: 0 3%;
        justify-content: center;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-location {
        font-size: 1.2rem;
    }

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

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info-left,
    .contact-info-center,
    .contact-info-right {
        gap: 2rem;
    }
    
    .contact-map {
        height: 400px;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-about {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
        gap: 0.75rem;
    }
    
    .footer-nav {
        align-items: center;
        gap: 0.4rem;
    }
    
    .footer-contact-info {
        align-items: center;
        gap: 0.6rem;
    }
    
    .footer-bottom {
        padding-top: 1rem;
        gap: 0.75rem;
    }
    
    .footer-social {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .about-bar-full {
        min-height: 70vh;
    }

    .about-bar-image-bw {
        min-height: 70vh;
    }

    .about-overlay {
        min-height: 70vh;
        padding: 40px 0;
    }

    .about-text-box {
        padding: 2rem 1.5rem;
        margin: 0 20px;
    }

    .about-text {
        font-size: 1rem;
    }

    .menu-section-wrapper {
        margin-bottom: 3rem;
    }

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

    .menu-del-dia {
        padding: 2rem 1.5rem;
        margin: 0 auto;
    }

    .menu-del-dia-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .menu-del-dia-title {
        font-size: 1.75rem;
    }

    .menu-del-dia-price {
        font-size: 2rem;
    }
    
    .instagram-link-btn {
        font-size: 0.95rem;
        padding: 0.75rem 1.5rem;
    }
    
    .instagram-arrow {
        font-size: 0.9rem;
    }

    .main-menu-tabs {
        gap: 1rem;
        padding-bottom: 1rem;
    }

    .main-menu-tab {
        padding: 1rem 2rem;
        font-size: 1.2rem;
    }

    .menu-tabs {
        gap: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .menu-tab {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }

    .menu-pdf {
        height: 600px;
    }

    .pdf-section .menu-pdf {
        height: 400px;
    }

    .menu-category {
        padding: 1.75rem 1.25rem;
    }

    .menu-items {
        gap: 1.5rem;
    }

    .menu-item {
        padding: 1rem 0;
    }

    .menu-item-header {
        gap: 0.75rem;
    }

    .item-name {
        font-size: 1.05rem;
        line-height: 1.3;
    }

    .item-price {
        font-size: 0.95rem;
    }

    .item-description {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .menu-tab-content {
        min-height: 600px;
    }

    .combined-pdfs {
        gap: 2rem;
    }

    .pdf-section {
        padding: 1.5rem;
    }

    .pdf-section-title {
        font-size: 1.5rem;
    }

    .allergy-icons {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1rem;
    }

    .allergy-icon {
        font-size: 1.5rem;
    }

    .allergy-label {
        font-size: 0.8rem;
    }

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

    .contact-map {
        height: 300px;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 2rem;
    }

    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 2rem;
    }
}

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

    .container {
        padding: 0 15px;
    }

    section {
        padding: 80px 0;
    }
    
    section.about {
        padding-bottom: 80px;
    }
    
    /* Background images removed - using black background */

    .main-menu-tabs {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .main-menu-tab {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }

    .menu-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .menu-tab {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }

    .menu-pdf {
        height: 500px;
    }

    .menu-tab-content {
        min-height: 500px;
    }

    .allergy-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .allergy-legend {
        padding: 1.5rem 1rem;
    }

    .allergy-legend-title {
        font-size: 1.2rem;
    }
}


