/* --- GLOBAL STYLES & VARIABLES --- */
:root {
    --primary-color: #c59d5f; /* Gold accent */
    --dark-color: #1a1a1a;
    --light-color: #ffffff;
    --body-bg: #f9f9f9;
    --text-color: #555;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Poppins', sans-serif;
    --border-radius: 8px;
    --shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    background-color: var(--body-bg);
    color: var(--text-color);
    line-height: 1.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- BUTTONS --- */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.btn-primary:hover {
    background-color: #b38b50;
    transform: translateY(-2px);
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
.navbar.scrolled {
    background-color: var(--light-color);
    box-shadow: var(--shadow);
    padding: 15px 0;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar .logo {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.4s ease;
}
.navbar.scrolled .logo {
    color: var(--dark-color);
}
.navbar nav a {
    color: var(--light-color);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 500;
    transition: color 0.3s ease;
}
.navbar.scrolled nav a {
    color: var(--dark-color);
}
.navbar nav a:hover {
    color: var(--primary-color);
}
.navbar nav a.btn-primary {
    color: var(--light-color) !important;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?q=80&w=2070') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--light-color);
}
.hero-content h1 {
    font-family: var(--heading-font);
    font-size: 5rem;
    margin-bottom: 1rem;
}
.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}
.btn-hero {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* --- MENU SECTION --- */
.menu-section {
    padding: 100px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title span {
    color: var(--primary-color);
    font-family: var(--heading-font);
    font-size: 1.5rem;
}
.section-title h2 {
    font-family: var(--heading-font);
    font-size: 3rem;
    color: var(--dark-color);
    margin-top: 5px;
}

/* Filter Buttons */
.menu-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}
.filter-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 50px;
    font-family: var(--body-font);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    border-color: var(--primary-color);
}
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--light-color);
    border-color: var(--primary-color);
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.menu-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--light-color);
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    /* UPDATED: Added transition for hover and filtering */
    transition: transform 0.3s ease, opacity 0.4s ease, box-shadow 0.3s ease; 
}

/* NEW: Hover effect */
.menu-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.menu-item.hide {
    transform: scale(0.9);
    opacity: 0;
    display: none;
}
.menu-item img {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    object-fit: cover;
    flex-shrink: 0;
}
.item-details {
    width: 100%;
}
.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 5px;
    margin-bottom: 5px;
}
.item-header h3 {
    font-size: 1.1rem;
    color: var(--dark-color);
    font-weight: 600;
}
.item-header .price {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 700;
}
.item-details p {
    font-size: 0.9rem;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--dark-color);
    color: #a0a0a0;
    padding: 30px 0;
    text-align: center;
}

/* --- ANIMATIONS --- */
.anim-fade-in { animation: fadeIn 1s ease-out forwards; opacity: 0; }
.anim-fade-in-delay1 { animation: fadeIn 1s 0.3s ease-out forwards; opacity: 0; }
.anim-fade-in-delay2 { animation: fadeIn 1s 0.6s ease-out forwards; opacity: 0; }

@keyframes fadeIn {
    to { opacity: 1; }
}

/* NEW: On-scroll animation classes */
.anim-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.anim-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- CONTACT SECTION (from previous step) --- */
.contact-section { padding: 100px 0; background-color: var(--light-color); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; margin-top: 40px; align-items: flex-start; }
.contact-info h3 { font-family: var(--heading-font); font-size: 1.8rem; color: var(--dark-color); margin-bottom: 1rem; }
.contact-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 25px; }
.contact-item svg { flex-shrink: 0; width: 24px; height: 24px; color: var(--primary-color); margin-top: 5px; }
.contact-item h4 { color: var(--dark-color); font-size: 1.1rem; margin-bottom: 3px; }
.contact-item p { margin: 0; line-height: 1.6; }
.contact-form .form-row { display: flex; gap: 20px; }
.contact-form .form-group { margin-bottom: 20px; width: 100%; }
.contact-form input, .contact-form textarea { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: var(--border-radius); font-family: var(--body-font); font-size: 1rem; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 2px rgba(197, 157, 95, 0.2); }
.contact-form button { border: none; cursor: pointer; font-size: 1rem; }
.map-container { margin-top: 60px; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.map-container iframe { width: 100%; height: 450px; border: 0; }


/* --- RESPONSIVENESS --- */
@media (max-width: 992px) {
    .menu-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 3.5rem; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .navbar { background-color: var(--light-color); padding: 15px 0; }
    .navbar .logo, .navbar nav a { color: var(--dark-color); }
    .navbar nav a:not(.btn-primary) { display: none; } 
    .hero-content h1 { font-size: 2.5rem; }
    .contact-form .form-row { flex-direction: column; gap: 0; }
}

/*
========================================
Team Section Styles (Circular Images)
========================================
*/

.team-section {
    padding: 80px 0;
    background-color: #fcfcfc; /* A very light gray to separate from other sections */
}

/* This creates the fading effect on the left and right of the slider */
.team-slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.team-slider-track {
    display: flex;
    /* 6 cards + 6 duplicates = 12 cards */
    /* (280px card + 30px margin) * 12 cards = 3720px */
    width: 3720px; 
    animation: scroll 40s linear infinite;
}

/* This pauses the animation when you hover over the slider */
.team-slider-wrapper:hover .team-slider-track {
    animation-play-state: paused;
}

/* The scrolling animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* This moves the track left by half its width (the length of the 6 original cards) */
        transform: translateX(-1860px); /* 3720px / 2 */
    }
}

.team-card {
    flex-shrink: 0;
    width: 280px; /* Card width */
    margin: 15px; /* Spacing between cards */
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Add a slight "lift" effect on hover for individual cards */
.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* === MODIFIED STYLES FOR CIRCULAR IMAGE === */
.team-card img {
    width: 100%;            /* Use the full width of the padded container */
    aspect-ratio: 1 / 1;  /* Force the image to be a perfect square */
    object-fit: cover;      /* Cover the square area, cropping if needed */
    border-radius: 50%; /* This makes it a perfect circle */
    margin-bottom: 20px;
    border: 4px solid #f0f0f0; /* Added a slightly thicker border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06); /* Soft shadow for depth */
}
/* === END OF MODIFIED STYLES === */

.team-card h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 5px;
}

.team-card p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: #e67e22; /* Using your site's primary color */
    margin: 0;
}

/* Make slider responsive on smaller screens */
@media (max-width: 768px) {
    .team-card {
        width: 240px;
    }
    
    /* No height rule needed for img, aspect-ratio handles it */

    /* Adjust track width and animation for new card size */
    .team-slider-track {
        /* (240px + 30px) * 12 = 3240px */
        width: 3240px;
        animation-name: scroll-mobile;
    }

    @keyframes scroll-mobile {
        0% {
            transform: translateX(0);
        }
        100% {
            /* 3240px / 2 */
            transform: translateX(-1620px);
        }
    }
}

@media (max-width: 480px) {
    .team-card {
        width: 200px;
    }

    /* No height rule needed for img, aspect-ratio handles it */
    
    /* Adjust track width and animation for smallest card size */
    .team-slider-track {
        /* (200px + 30px) * 12 = 2760px */
        width: 2760px;
        animation-name: scroll-small-mobile;
    }

    @keyframes scroll-small-mobile {
        0% {
            transform: translateX(0);
        }
        100% {
            /* 2760px / 2 */
            transform: translateX(-1380px);
        }
    }
}