/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #d4af37;
    color: #1a1a1a;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    font-weight: 600;
}

.skip-link:focus {
    top: 6px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: #f5f5f0;
    background-color: #1a1a1a;
    letter-spacing: 0.3px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(26, 26, 26, 0.5);
    z-index: 1000;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #d4af37;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #f5f5f0;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-link:hover {
    color: #d4af37;
    transform: translateY(-2px);
}

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

.nav-link.active {
    color: #d4af37;
}

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

#language {
    padding: 0.5rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    color: #f5f5f0;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

#language:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 2s ease-out 0.5s both;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    max-width: 800px;
    letter-spacing: 1px;
    animation: float 3s ease-in-out infinite;
}

.reserve-btn {
    background: linear-gradient(135deg, #d4af37, #f4e87c);
    color: #1a1a1a;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    animation: fadeInUp 2s ease-out 1s both;
}

.reserve-btn:hover {
    background: linear-gradient(135deg, #f4e87c, #d4af37);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}


/* Sections */
section {
    padding: 5rem 2rem;
}

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

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #d4af37;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Gallery Section */
.gallery {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

/* Menu Section */
.menu {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.menu-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.menu-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    filter: brightness(0.9);
}

.menu-image img:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    filter: brightness(1.1);
}

.menu-text {
    flex: 1;
}

.menu-text h2 {
    text-align: left;
    margin-bottom: 1rem;
}

.menu-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.menu-btn {
    background: linear-gradient(135deg, #d4af37, #f4e87c);
    color: #1a1a1a;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.menu-btn:hover {
    background: linear-gradient(135deg, #f4e87c, #d4af37);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

/* About Gallery Section */
.about-gallery {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.about-gallery p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.gallery-container {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-vertical {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.gallery-vertical img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    filter: brightness(0.9);
}

.gallery-vertical img:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    filter: brightness(1.1);
}

.gallery-horizontal {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    flex: 2;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.gallery-horizontal::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.gallery-horizontal img {
    width: 300px;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
    filter: brightness(0.9);
}

.gallery-horizontal img:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    filter: brightness(1.1);
}

.about-image img {
    width: 100%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Chef Section */
.chef {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.chef-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.chef-text {
    flex: 1;
}

.chef-text h2 {
    text-align: left;
}

.chef-text p {
    font-size: 1.1rem;
    margin-top: 1rem;
}

.chef-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    filter: brightness(0.9);
}

.chef-image img:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    filter: brightness(1.1);
}

/* Contact Section */
.contact {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.contact-content {
    display: flex;
    gap: 3rem;
    align-items: start;
}

.contact-form {
    flex: 1;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 5px;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    color: #f5f5f0;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #d4af37;
    size: 5cm;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.contact-form button {
    background: linear-gradient(135deg, #d4af37, #f4e87c);
    color: #1a1a1a;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.contact-form button:hover {
    background: linear-gradient(135deg, #f4e87c, #d4af37);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-family: 'Playfair Display', serif;
    color: #d4af37;
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 1rem;
}

.contact a {
    color: #d4af37;
    transition: color 0.3s ease, transform 0.3s ease;
    opacity: 0.8;
}

.contact a:hover {
    color: #d4af37;
    transform: scale(1.1);
    opacity: 1;
}

.contact a:visited {
    color: #d4af37;
}

.map-placeholder img {
    width: 100%;
    border-radius: 10px;
    margin-top: 1rem;
}

/* Footer */
footer {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(20px);
    padding: 2rem 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
}

.social-icons a {
    color: #f5f5f0;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    opacity: 0.8;
    position: relative;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-icons a:hover {
    color: #d4af37;
    transform: scale(1.1) translateY(-2px);
    opacity: 1;
}

.social-icons a:hover::before {
    opacity: 1;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1001;
    animation: modalFade 0.4s ease;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 2rem;
    border-radius: 10px;
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
    transform: translateY(-50px);
    transition: transform 0.4s ease;
    color: #f5f5f0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.gallery-modal-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#gallery-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 2rem;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 1002;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.close {
    position: fixed;
    top: 20px;
    right: 20px;
    cursor: pointer;
    font-size: 2rem;
    color: #d4af37;
    transition: color 0.3s ease;
    z-index: 1002;
    padding: 0.5rem;
    border-radius: 50%;
}

/* Reservation Form */
.reservation-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #2d5016;
}

.form-group input,
.form-group select {
    padding: 0.75rem;
    border: 1px solid rgba(45, 80, 22, 0.5);
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
}

.confirm-btn {
    background: linear-gradient(135deg, #d4af37, #f4e87c);
    color: #1a1a1a;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.confirm-btn:hover {
    background: linear-gradient(135deg, #f4e87c, #d4af37);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.menu-categories {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.category h3 {
    font-family: 'Playfair Display', serif;
    color: #d4af37;
    margin-bottom: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(34, 34, 34, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.category h3:hover {
    background: rgba(51, 51, 51, 0.9);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.1);
}

.category .dishes {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.category.expanded .dishes {
    max-height: 500px;
}

.category li {
    padding: 1rem;
    border-bottom: 1px solid #333;
}

.category li:last-child {
    border-bottom: none;
}

/* Dish styling */
.dishes {
    margin-top: 1rem;
}

.dish {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 5px;
}

.dish-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.dish-name {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: #f5f5f0;
    font-size: 1.1em;
    letter-spacing: 0.5px;
}

.dish-ingredients {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    font-size: 0.9em;
    align-self: flex-start;
}

.dish-price {
    font-weight: 600;
    color: #d4af37;
    font-size: 1em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.arrow {
    transition: transform 0.3s ease;
}

.category.expanded .arrow {
    transform: rotate(180deg);
}

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

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes modalFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: row;
        gap: 1rem;
        padding: 1rem;
    }

    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        height: 0;
        flex-direction: column;
        background: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(212, 175, 55, 0.3);
        overflow: hidden;
        transition: height 0.4s ease;
        gap: 0;
        padding: 0;
        z-index: 999;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    
    nav.open {
        height: auto;
        padding: 1rem 0;
    }

    nav a {
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
        font-size: 1.1rem;
        transition: all 0.3s ease;
    }
    
    nav a:hover {
        background: rgba(212, 175, 55, 0.1);
        border-bottom-color: rgba(212, 175, 55, 0.4);
    }

    nav a:last-child {
        border-bottom: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        padding: 0 1rem;
        letter-spacing: 0.5px;
    }

    section {
        padding: 4rem 1rem;
    }

    .menu-btn, .reserve-btn {
        padding: 1.2rem 2.5rem;
        font-size: 1.2rem;
        min-height: 48px; /* Touch-friendly */
    }

    .contact-form button {
        padding: 1.2rem;
        font-size: 1.2rem;
        min-height: 48px;
        width: 100%;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

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

    .menu-image img {
        max-width: 80%;
        height: auto;
    }

    .chef-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .chef-image img {
        max-width: 80%;
        height: auto;
    }

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

    .contact-form {
        display: flex;
        justify-content: center;
    }

    .contact-form form {
        width: 100%;
        max-width: 500px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 1rem;
        width: 96vw;
        padding: 1.2rem;
        align-items: center;
        text-align: center;
    }

    .contact-info p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    .social-icons {
        flex-direction: row;
        gap: 1.5rem;
        justify-content: center;
    }

    .social-icons a {
        font-size: 2rem;
    }

    .dish-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .dish-ingredients {
        align-self: flex-start;
    }

    .dish-price {
        align-self: flex-end;
    }

    .menu-categories {
        gap: 1rem;
    }

    .reservation-modal {
        max-width: 90%;
    }

    .gallery-container {
        flex-direction: column;
        gap: 1rem;
    }

    .gallery-vertical img {
        height: 200px;
    }

    .gallery-horizontal {
        flex: none;
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .gallery-horizontal img {
        min-width: 250px;
        height: 200px;
        object-fit: cover;
    }

    .modal-content {
        max-width: 95%;
        max-height: 95%;
        padding: 1rem;
    }

    .close {
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.5rem 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        padding: 0 0.5rem;
        letter-spacing: 0.3px;
    }

    h2 {
        font-size: 1.9rem;
        letter-spacing: 0.5px;
    }

    section {
        padding: 3rem 0.5rem;
    }

    .menu-btn, .reserve-btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .contact-form button {
        padding: 1rem;
        font-size: 1.1rem;
        width: 100%;
    }

    nav a {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }

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

    .gallery-horizontal img {
        min-width: 200px;
        height: 180px;
        object-fit: cover;
    }

    .modal-content {
        max-width: 100%;
        max-height: 100%;
        padding: 0.5rem;
        border-radius: 0;
    }

    .gallery-modal-content {
        padding: 0;
    }

    .close {
        top: 5px;
        right: 5px;
        padding: 0.3rem;
    }

    .nav-btn {
        padding: 0.8rem;
        font-size: 1.5rem;
    }

    .social-icons a {
        font-size: 1.8rem;
    }
}
