/* CSS Reset and Base Styles */
:root {
    --primary-gold: #d4a574;
    --accent-red: #9E3141;
    --text-dark: #2c1810;
    --text-light: #666;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--accent-red));
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
}

/* Accent text utility classes */
.text-accent {
    color: var(--accent-red);
}

.text-gold {
    color: var(--primary-gold);
}

.section-header {
    margin-bottom: 4rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(158, 49, 65, 0.1), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold), #b8925a);
    color: white;
    border-color: var(--primary-gold);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-red), #8e2a3a);
    border-color: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(158, 49, 65, 0.3);
}

/* Add red accent button variant */
.btn-accent {
    background: linear-gradient(135deg, var(--accent-red), #8e2a3a);
    color: white;
    border-color: var(--accent-red);
}

.btn-accent:hover {
    background: linear-gradient(135deg, var(--primary-gold), #b8925a);
    border-color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: var(--accent-red);
    color: white;
    border-color: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(158, 49, 65, 0.3);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 90px;
    width: auto;
}

/* Brand Name Styling */
.brand-name {
    font-weight: 700;
    letter-spacing: 1px;
}

.accent-a {
    color: var(--accent-red);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, var(--accent-red), var(--primary-gold));
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #2c1810;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(44, 24, 16, 0.4), rgba(44, 24, 16, 0.4)),
                url('./assets/optimized-images/DSC01719.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #d4a574;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll a {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
}

/* About Section - Reference Layout */
.about {
    padding: 8rem 0;
    background: #f8f6f3;
}

.about-reference-layout {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 6rem;
}

/* Left Column - Food Images */
.about-left-column {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.food-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.food-card:hover {
    transform: translateY(-5px);
}

.food-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

.rating-section {
    text-align: center;
}

.rating-section h3 {
    font-size: 1.2rem;
    color: #2c1810;
    margin-bottom: 1rem;
    font-weight: 600;
}

.rating-emojis-large {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 2rem;
}

/* Center Column - Stats and Customer Grid */
.about-center-column {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.main-stat {
    text-align: center;
}

.stat-with-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.stat-with-icon h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2c1810;
    font-family: 'Playfair Display', serif;
}

.trending-icon {
    color: #d4a574;
    font-size: 1.5rem;
}

.main-stat p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 250px;
}

.customer-avatars-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
    max-width: 280px;
}

.avatar-item {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.avatar-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-item:nth-child(1) { background: linear-gradient(135deg, #d4a574, #b8925a); }
.avatar-item:nth-child(2) { background: linear-gradient(135deg, #e8b881, #d4a574); }
.avatar-item:nth-child(3) { background: linear-gradient(135deg, #f2c68a, #e8b881); }
.avatar-item:nth-child(4) { background: linear-gradient(135deg, #d4a574, #c09660); }
.avatar-item:nth-child(5) { background: linear-gradient(135deg, #b8925a, #a67c52); }
.avatar-item:nth-child(6) { background: linear-gradient(135deg, #a67c52, #936b47); }
.avatar-item:nth-child(7) { background: linear-gradient(135deg, #d4a574, #b8925a); }
.avatar-item:nth-child(8) { background: linear-gradient(135deg, #c09660, #a67c52); }
.avatar-item:nth-child(9) { background: linear-gradient(135deg, #e8b881, #d4a574); }
.avatar-item:nth-child(10) { background: linear-gradient(135deg, #f2c68a, #e8b881); }
.avatar-item:nth-child(11) { background: linear-gradient(135deg, #b8925a, #a67c52); }
.avatar-item:nth-child(12) { background: linear-gradient(135deg, #936b47, #7a5a3f); }

/* Right Column - About Content */
.about-right-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.about-content {
    padding-top: 2rem;
}

.about-badge-small {
    color: #d4a574;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.about-main-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2c1810;
    margin-bottom: 2rem;
    line-height: 1.1;
    font-family: 'Playfair Display', serif;
}

.about-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.btn-explore {
    display: inline-block;
    background: #d4a574;
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 1rem;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.btn-explore::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(158, 49, 65, 0.1), transparent);
    transition: left 0.5s;
}

.btn-explore:hover::before {
    left: 100%;
}

.btn-explore:hover {
    background: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(158, 49, 65, 0.3);
}

/* Features Modern */
.features-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid #eee;
}

.feature-modern {
    text-align: center;
    padding: 2rem;
    background: #f8f6f3;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.feature-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d4a574, #b8925a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.feature-modern:hover .feature-icon {
    background: linear-gradient(135deg, var(--accent-red), #8e2a3a);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(158, 49, 65, 0.3);
}

.feature-modern h4 {
    font-size: 1.3rem;
    color: #2c1810;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-modern p {
    color: #555;
    line-height: 1.6;
}

/* Gallery Tabs */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-tab {
    background: transparent;
    border: 2px solid #e0e0e0;
    color: #666;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.gallery-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(158, 49, 65, 0.1), transparent);
    transition: left 0.5s;
}

.gallery-tab:hover::before {
    left: 100%;
}

.gallery-tab:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(158, 49, 65, 0.2);
}

.gallery-tab.active {
    background: linear-gradient(135deg, var(--accent-red), #8e2a3a);
    border-color: var(--accent-red);
    color: white;
    box-shadow: 0 4px 15px rgba(158, 49, 65, 0.3);
}

/* Updated Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(44, 24, 16, 0.7), rgba(212, 165, 116, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-overlay i {
    color: white;
    font-size: 2.5rem;
}

/* Gallery Category Badge */
.gallery-item::before {
    content: attr(data-category);
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(212, 165, 116, 0.9);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Menu Section */
.menu {
    padding: 6rem 0;
    background: #f8f6f3;
}

.menu-content {
    text-align: center;
}

.menu-placeholder {
    padding: 4rem 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.menu-placeholder i {
    font-size: 4rem;
    color: #d4a574;
    margin-bottom: 1rem;
}

.menu-placeholder h3 {
    font-size: 2rem;
    color: #2c1810;
    margin-bottom: 1rem;
}

/* PDF Viewer Styles */
.menu-pdf-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    overflow: hidden;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.menu-pdf-header {
    background: #2c1810;
    color: white;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.menu-pdf-header h3 {
    margin: 0;
    font-size: 1.5rem;
    flex: 1;
}

.menu-actions {
    display: flex;
    gap: 10px;
}

.menu-actions .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    background: #d4a574;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.menu-actions .btn:hover {
    background: #c19a6b;
}

.pdf-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pdf-nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.pdf-nav-btn:hover:not(:disabled) {
    background: rgba(158, 49, 65, 0.8);
    border-color: var(--accent-red);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(158, 49, 65, 0.3);
}

.pdf-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pdf-page-info {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    min-width: 80px;
    text-align: center;
    font-size: 0.9rem;
}

.pdf-viewer-wrapper {
    position: relative;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 2rem;
    text-align: center;
    width: 100%;
    height: 600px;
}

.pdf-viewer-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.pdf-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.pdf-viewer-wrapper:hover .pdf-overlay {
    opacity: 1;
}

.pdf-overlay-text {
    color: white;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
}

.pdf-overlay-text i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
    color: #d4a574;
}

.pdf-overlay-text span {
    display: block;
    margin-top: 5px;
}

.pdf-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-light);
}

.pdf-loading i {
    font-size: 2rem;
    color: var(--primary-gold);
}

.pdf-canvas {
    display: none;
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    /* Ensure the canvas fits within the container */
    object-fit: contain;
    /* Improve rendering quality */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    /* For high DPI displays */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.pdf-canvas:focus {
    outline: 3px solid var(--accent-red);
    outline-offset: 2px;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.pdf-canvas:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Legacy PDF viewer (iframe) - keep for fallback */
.menu-pdf-viewer {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.menu-pdf-viewer iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 5px;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: white;
}

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

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #d4a574;
    margin-top: 0.2rem;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    color: var(--accent-red);
    transform: scale(1.1);
}

.contact-item h4 {
    font-size: 1.2rem;
    color: #2c1810;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.contact-item:hover h4 {
    color: var(--accent-red);
}

.contact-item p {
    color: #555;
    line-height: 1.6;
}

.contact-item a {
    color: #d4a574;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.contact-item a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: var(--accent-red);
    transition: width 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-red);
}

.contact-item a:hover::after {
    width: 100%;
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background: #2c1810;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: #ccc;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    color: #d4a574;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: var(--accent-red);
    transition: width 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent-red);
}

.footer-links ul li a:hover::after {
    width: 100%;
}

.footer-contact p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: #d4a574;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-contact a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: var(--accent-red);
    transition: width 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent-red);
}

.footer-contact a:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #ccc;
}

/* Admin Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.close:hover {
    color: #333;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.admin-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1500;
    overflow-y: auto;
}

.admin-panel.show {
    right: 0;
}

.admin-header {
    padding: 1rem;
    background: #f8f6f3;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-content {
    padding: 2rem;
}

.admin-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.admin-section h3 {
    margin-bottom: 1rem;
    color: #2c1810;
}

/* Hours Editor Styles */
.hours-day {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.hours-day label {
    min-width: 80px;
    font-weight: 600;
    color: #2c1810;
}

.hours-day input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9rem;
}

.hours-day input:focus {
    outline: none;
    border-color: #d4a574;
    box-shadow: 0 0 0 2px rgba(212, 165, 116, 0.2);
}

/* Menu Manager Styles */
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f8f6f3;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.menu-item span {
    font-weight: 500;
    color: #2c1810;
}

#menu-upload {
    width: 100%;
    padding: 0.5rem;
    border: 2px dashed #d4a574;
    border-radius: 5px;
    background: #f8f6f3;
    margin-bottom: 1rem;
}

#menu-upload:hover {
    background: #f0ede8;
}

#menu-list {
    margin: 1rem 0;
    max-height: 200px;
    overflow-y: auto;
}

.hidden {
    display: none !important;
}

/* Success/Error Messages */
.alert {
    padding: 0.75rem 1rem;
    border-radius: 5px;
    margin: 1rem 0;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Loading Spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #d4a574;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 1rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

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

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    /* Modern About Section Mobile */
    .about-reference-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .about-right-column {
        order: 1;
    }
    
    .about-center-column {
        order: 2;
    }
    
    .about-left-column {
        order: 3;
    }

    .about-main-title {
        font-size: 2rem;
    }
    
    .food-card img {
        height: 200px;
    }
    
    .customer-avatars-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 150px;
        gap: 0.5rem;
    }
    
    .avatar-item {
        width: 30px;
        height: 30px;
    }

    .stats-section {
        justify-content: center;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }

    .food-showcase {
        max-width: 100%;
        justify-self: center;
    }

    .features-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-modern {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .gallery-tabs {
        gap: 0.5rem;
    }

    .gallery-tab {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .admin-panel {
        width: 100%;
        right: -100%;
    }

    .hours-day {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .hours-day label {
        min-width: auto;
    }

    .hours-day input {
        width: 100%;
    }

    /* Lightbox Mobile */
    .lightbox-content {
        max-width: 95%;
    }

    .lightbox-nav {
        padding: 0 10px;
    }

    .lightbox-nav button {
        padding: 10px 12px;
        font-size: 1.2rem;
    }

    .lightbox-info {
        bottom: -60px;
        font-size: 0.8rem;
        max-width: 90%;
    }

    /* PDF Viewer Mobile */
    .menu-pdf-container {
        margin-bottom: 2rem;
        max-width: 100%;
    }

    .menu-pdf-header {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .menu-pdf-header h3 {
        font-size: 1.2rem;
    }

    .pdf-controls {
        gap: 0.5rem;
    }

    .pdf-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .pdf-page-info {
        font-size: 0.8rem;
        min-width: 70px;
        padding: 0.4rem 0.8rem;
    }

    .pdf-viewer-wrapper {
        padding: 1rem;
        height: 400px; /* Smaller height for mobile */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

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

    .nav-container {
        padding: 0.5rem 15px;
    }

    .nav-logo img {
        height: 40px;
    }

    .modal-content {
        width: 95%;
        margin: 5% auto;
        padding: 1.5rem;
    }

    /* About Section Mobile */
    .about-main-title {
        font-size: 2rem;
    }

    .about-badge-small {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }

    .stat-with-icon h2 {
        font-size: 2.5rem;
    }

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

    .btn-explore {
        padding: 0.8rem 2rem;
        font-size: 0.8rem;
    }

    .food-card {
        padding: 1rem;
    }
    
    .food-card img {
        height: 200px;
    }

    .customer-avatars-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 150px;
        gap: 0.5rem;
    }

    .avatar-item {
        width: 30px;
        height: 30px;
    }
    
    .rating-emojis-large {
        font-size: 1.5rem;
        gap: 0.3rem;
    }

    .faces-group {
        justify-content: center;
    }

    .face-avatar {
        width: 35px;
        height: 35px;
    }

    .customer-text {
        font-size: 0.8rem;
    }

    .rating-emojis {
        font-size: 1rem;
    }

    .food-image-1 img, .food-image-2 img {
        height: 150px;
    }

    .food-image-2 {
        margin-top: 1rem;
    }

    .features-modern {
        gap: 1.5rem;
    }

    .feature-modern {
        padding: 1rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .feature-modern h4 {
        font-size: 1.1rem;
    }

    .feature-modern p {
        font-size: 0.9rem;
    }

    .gallery-tab {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }

    /* PDF Viewer Mobile Small */
    .menu-pdf-header {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .menu-pdf-header h3 {
        font-size: 1rem;
    }

    .pdf-controls {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .pdf-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .pdf-page-info {
        font-size: 0.8rem;
        min-width: 70px;
        padding: 0.4rem 0.8rem;
    }

    .pdf-viewer-wrapper {
        padding: 0.5rem;
        height: 350px; /* Even smaller for very small screens */
    }

    /* Lightbox Mobile Small */
    .lightbox-close {
        top: -40px;
        font-size: 1.5rem;
    }

    .lightbox-nav button {
        padding: 8px 10px;
        font-size: 1rem;
    }

    .lightbox-info {
        bottom: -50px;
        font-size: 0.7rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-scroll,
    .admin-panel,
    .modal,
    .gallery-tabs {
        display: none !important;
    }

    .hero {
        height: auto;
        padding: 2rem 0;
    }

    .about-reference-layout {
        grid-template-columns: 1fr;
    }

    .features-modern {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Customer Reviews */
.customer-reviews {
    margin-top: 2rem;
    max-width: 300px;
    text-align: left;
}

.review-item {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: relative;
}

.review-item p {
    font-size: 0.8rem;
    color: #555;
    line-height: 1.5;
    font-style: italic;
    margin: 0;
}

.review-item::before {
    content: '"';
    position: absolute;
    top: -5px;
    left: 10px;
    font-size: 2rem;
    color: #d4a574;
    font-family: serif;
}

.rating-emojis-large {
    font-size: 1.5rem;
    gap: 0.3rem;
}

.customer-reviews {
    max-width: 100%;
    margin-top: 1.5rem;
}

.review-item {
    padding: 0.8rem;
    margin-bottom: 0.8rem;
}

.review-item p {
    font-size: 0.75rem;
    line-height: 1.4;
}

/* Gallery More/Less buttons */
.gallery-more-button,
.gallery-less-button {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.btn-more,
.btn-less {
    background: linear-gradient(135deg, #d4a574, #c19660);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-more::before,
.btn-less::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(158, 49, 65, 0.1), transparent);
    transition: left 0.5s;
}

.btn-more:hover::before,
.btn-less:hover::before {
    left: 100%;
}

.btn-more:hover,
.btn-less:hover {
    background: linear-gradient(135deg, var(--accent-red), #8e2a3a);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(158, 49, 65, 0.4);
}

.btn-more:active,
.btn-less:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(158, 49, 65, 0.3);
}

.btn-more i,
.btn-less i {
    margin-right: 8px;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.btn-more:hover i,
.btn-less:hover i {
    transform: scale(1.1);
} 

/* WebP Fallback Support */
.no-webp .hero {
    background: linear-gradient(rgba(44, 24, 16, 0.4), rgba(44, 24, 16, 0.4)),
                url('./assets/optimized-images/DSC01719.jpg') center/cover no-repeat;
}

.no-webp .food-card img,
.no-webp .gallery-item img {
    /* Add fallback styles for non-WebP browsers */
    filter: brightness(0.95);
}

/* Ensure images load properly in all browsers */
img {
    transition: opacity 0.3s ease;
    opacity: 1; /* Make sure images are visible by default */
}

img[src*=".webp"] {
    /* WebP images get special handling */
    opacity: 1; /* Changed from 0 to 1 to ensure visibility */
}

img[src*=".webp"].loaded {
    opacity: 1;
}

/* Gallery Section */ 

/* Menu Lightbox Styles (Additional Option) */

/* Menu Lightbox */
.menu-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4000;
    animation: fadeIn 0.3s ease;
}

.menu-lightbox-content {
    background: white;
    border-radius: 12px;
    max-width: 95%;
    max-height: 95%;
    width: 1200px;
    height: 800px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.menu-lightbox-header {
    background: #2c1810;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px 12px 0 0;
}

.menu-lightbox-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.menu-lightbox-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.menu-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.menu-lightbox-body {
    flex: 1;
    padding: 20px;
    overflow: hidden;
    position: relative;
}

.menu-pdf-viewer {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.menu-pdf-viewer .pdf-loading {
    text-align: center;
    color: #666;
}

.menu-pdf-viewer .pdf-loading i {
    font-size: 2rem;
    color: #d4a574;
    margin-bottom: 15px;
}

.menu-pdf-viewer .pdf-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 25px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
}

.menu-pdf-viewer .pdf-nav-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.menu-pdf-viewer .pdf-nav-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
}

.menu-pdf-viewer .pdf-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.menu-pdf-viewer .pdf-page-info {
    font-size: 0.9rem;
    min-width: 60px;
    text-align: center;
}

.menu-pdf-viewer .pdf-canvas {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.menu-lightbox-footer {
    background: #f8f9fa;
    padding: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
    border-radius: 0 0 12px 12px;
    border-top: 1px solid #e9ecef;
}

.menu-lightbox-footer .btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-lightbox-footer .btn-secondary {
    background: #6c757d;
    color: white;
}

.menu-lightbox-footer .btn-secondary:hover {
    background: #5a6268;
}

.menu-lightbox-footer .btn-primary {
    background: #d4a574;
    color: white;
}

.menu-lightbox-footer .btn-primary:hover {
    background: #c19a6b;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .menu-card {
        padding: 20px;
    }
    
    .menu-lightbox-content {
        width: 95%;
        height: 90%;
        margin: 20px;
    }
    
    .menu-lightbox-header {
        padding: 15px;
    }
    
    .menu-lightbox-header h2 {
        font-size: 1.2rem;
    }
    
    .menu-lightbox-body {
        padding: 15px;
    }
    
    .menu-lightbox-footer {
        padding: 15px;
        flex-direction: column;
    }
    
    .menu-lightbox-footer .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Animation for lightbox */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* WebP Fallback Support - Ensure all images work */
.no-webp .hero {
    background: linear-gradient(rgba(44, 24, 16, 0.4), rgba(44, 24, 16, 0.4)),
                url('./assets/optimized-images/DSC01719.jpg') center/cover no-repeat;
}

.no-webp .food-card img,
.no-webp .gallery-item img {
    /* Add fallback styles for non-WebP browsers */
    filter: brightness(0.95);
}

/* Ensure images load properly in all browsers */
img {
    transition: opacity 0.3s ease;
    opacity: 1; /* Make sure images are visible by default */
}

img[src*=".webp"] {
    /* WebP images get special handling */
    opacity: 1; /* Changed from 0 to 1 to ensure visibility */
}

img[src*=".webp"].loaded {
    opacity: 1;
}

/* Debug styles for failed images */
img.failed {
    opacity: 0.3 !important;
    filter: grayscale(100%) !important;
    border: 2px solid red !important;
    position: relative;
}

img.failed::after {
    content: '❌ FAILED';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: red;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    z-index: 1000;
}

/* Debug info for gallery items */
.gallery-item {
    position: relative;
}

.image-debug-info { display: none !important; }