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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* ============================================
   Navigation
   ============================================ */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #d4af37;
    text-decoration: none;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

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

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4af37;
    transition: width 0.3s;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: #d4af37;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?w=1600') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    z-index: 1;
    animation: fadeInUp 1s;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #d4af37;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #d4af37;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background: #b8941f;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: 5rem 2rem;
    background: white;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #d4af37;
}

.feature-card p {
    color: #666;
}

/* ============================================
   Carousel Section
   ============================================ */
.carousel-section {
    padding: 5rem 2rem;
    background: #f8f8f8;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #d4af37;
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    height: 500px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 3rem 2rem 2rem;
}

.carousel-caption h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(212, 175, 55, 0.8);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: #d4af37;
    width: 30px;
    border-radius: 6px;
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: white;
    text-align: center;
    padding: 8rem 2rem 4rem;
    margin-top: 60px;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* ============================================
   Menu Section
   ============================================ */
.menu-section {
    padding: 5rem 2rem;
    background: white;
}

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

.filter-btn {
    padding: 0.7rem 2rem;
    background: white;
    border: 2px solid #d4af37;
    color: #333;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 1rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: #d4af37;
    color: white;
}

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

.menu-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
}

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

.menu-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.menu-item-content {
    padding: 1.5rem;
}

.menu-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.menu-item p {
    color: #666;
    margin-bottom: 1rem;
}

.menu-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.5rem;
    color: #d4af37;
    font-weight: bold;
}

/* ==========================
   Responsive Styles
   ========================== */

/* Small desktop / tablet */
@media (max-width: 992px) {
    .container { padding: 0 1.5rem; }
    .hero-content h1 { font-size: 3rem; }
    .hero-content p { font-size: 1.2rem; }
    .carousel { height: 380px; }
    .carousel-caption h3 { font-size: 1.6rem; }
    .feature-grid { gap: 2rem; }
}

/* Tablets and phones */
@media (max-width: 768px) {
    /* Navigation */
    .nav-container { padding: 0.8rem 1rem; }
    .nav-links { display: flex; gap: 1rem; }
    .nav-toggle { display: block; }

    /* Make nav-links a hidden sliding panel when closed */
    .nav-links {
        position: fixed;
        top: 64px;
        right: 0;
        width: 260px;
        max-width: 80%;
        height: calc(100% - 64px);
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
        gap: 1rem;
        box-shadow: -10px 0 30px rgba(0,0,0,0.08);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1100;
    }

    .nav-links.open { transform: translateX(0); }

    .nav-links li { width: 100%; }
    .nav-links a { display: block; width: 100%; padding: 0.6rem 0; }

    /* Nav toggle (hamburger) */
    .nav-toggle {
        display: none; /* default hidden for larger viewports; will be shown below */
    }
}

/* Mobile phones */
@media (max-width: 600px) {
    .nav-toggle { display: block; border: none; background: transparent; cursor: pointer; }
    .nav-toggle span { display: block; width: 22px; height: 2px; background: #333; margin: 5px 0; transition: all 0.3s; }
    .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Header spacing */
    .logo { font-size: 1.4rem; }
    .nav-container { align-items: center; }

    /* Hero */
    .hero { height: 60vh; padding: 2rem 1rem; }
    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 1rem; }

    /* Carousel */
    .carousel { height: 260px; }
    .carousel-caption { padding: 1.2rem; }

    /* Features */
    .feature-grid { grid-template-columns: 1fr; }

    /* Menu and gallery grids */
    .menu-grid, .gallery-grid, .team-grid { grid-template-columns: 1fr; }

    .menu-item img { height: 200px; }
    .about-img img { width: 100%; height: auto; }

    /* Footer stacking */
    .footer-content { display: flex; flex-direction: column; gap: 1.5rem; text-align: center; }
}

/* Minor performance hint: promote transform changes to their own layer */
.menu-item { will-change: transform, opacity; }


.category-tag {
    background: #f0f0f0;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #666;
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: 5rem 2rem;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
}

.about-content.reverse {
    direction: rtl;
}

.about-content.reverse > * {
    direction: ltr;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.philosophy-list {
    list-style: none;
    margin-top: 1.5rem;
}

.philosophy-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

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

.about-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    height: 400px;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-section {
    margin-top: 5rem;
}

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

.team-member {
    text-align: center;
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: #d4af37;
    font-weight: 600;
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery-section {
    padding: 5rem 2rem;
    background: white;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    height: 300px;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(212, 175, 55, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.gallery-overlay span {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

/* 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-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 4rem;
    color: white;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: #d4af37;
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    transition: background 0.3s;
}

.lightbox-btn:hover {
    background: rgba(212, 175, 55, 0.8);
}

.lightbox-btn.prev {
    left: 20px;
}

.lightbox-btn.next {
    right: 20px;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    padding: 5rem 2rem;
    background: white;
}

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

.contact-info h2 {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 2rem;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.info-item p {
    color: #666;
    line-height: 1.8;
}

.reservation-form h2 {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 2rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
}

.form-group textarea {
    resize: vertical;
}

.map-section {
    margin-top: 3rem;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* ============================================
   Footer
   ============================================ */
footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 2rem 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: #d4af37;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.8;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

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

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

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .carousel {
        height: 300px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}