/* style.css */

/* --- CSS Variables & Resets --- */
:root {
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --bg-lighter: #2c2c2c;
    --text-main: #f5f5f5;
    --text-muted: #a3a3a3;
    --gold: #dfc385;
    --gold-hover: #c9af75;
    --primary-green: #3ab54a;
    --primary-green-hover: #329d40;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.padding-section {
    padding: 80px 0;
}

.text-primary{
    color: #329d40;
}

.text-light{
    color: #f5f5f5;
}

/* Typography */
h1, h2, h3, h4, .logo span {
    font-family: var(--font-heading);
}

h2.section-title {
    text-align: center;
    color: var(--gold);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 600;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-green);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-green-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border-color: var(--gold);
}

.btn-outline:hover {
    background-color: var(--gold);
    color: var(--bg-dark);
}

/* --- Header & Nav --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.logo-icon {
    width: 35px;
    height: 35px;
    border: 2px solid var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    color: var(--primary-green);
    font-weight: bold;
}

.logo span strong {
    font-weight: 700;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

nav a:hover, nav a.active {
    color: var(--gold);
}

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

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../img/bg.png') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(18,18,18,0.5), rgba(18,18,18,0.9));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #fff;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* --- Signature Dishes --- */
.dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.dish-card {
    background-color: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.dish-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.dish-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.dish-info {
    padding: 20px;
}

.dish-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.dish-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* --- About Us --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-images {
    position: relative;
    height: 450px;
}

.img-back {
    width: 80%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    position: absolute;
    top: 0;
    left: 0;
}

.img-front {
    width: 60%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    position: absolute;
    bottom: 0;
    right: 0;
    border: 8px solid var(--bg-dark);
}

.about-content h3 {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.about-content .mt-4 {
    margin-top: 30px;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 1rem;
}

/* --- Menu Preview --- */
.menu-tabs {
    display: flex;
    justify-content: center;
    background-color: var(--bg-lighter);
    max-width: 600px;
    margin: 0 auto 40px;
    border-radius: 4px;
    overflow: hidden;
}

.tab-btn {
    flex: 1;
    padding: 15px 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
    background-color: var(--bg-card);
    color: var(--gold);
}

.menu-content {
    display: none;
}

.menu-content.active {
    display: block;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.menu-item {
    margin-bottom: 30px;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
    position: relative;
}

.menu-item-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5px;
    border-bottom: 1px dashed var(--bg-lighter);
    z-index: -1;
}

.menu-item h4 {
    font-size: 1.2rem;
    background-color: var(--bg-dark);
    padding-right: 10px;
}

.menu-item .price {
    font-family: var(--font-heading);
    color: var(--gold);
    background-color: var(--bg-dark);
    padding-left: 10px;
    font-size: 1.1rem;
}

.menu-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 85%;
}

/* --- Testimonials Slider --- */
.testimonials-slider-wrapper {
    overflow: hidden;  
    width: 100%;
    padding: 20px 0;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;  
    width: 100%;
}

.testimonial-card {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--bg-lighter);  
    border-radius: 12px;
     flex: 0 0 calc(33.333% - 20px); 
}

.quote-mark {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 5rem;
    line-height: 1;
    margin-bottom: -20px;
}

.testimonial-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.testimonial-card .author {
    color: var(--text-main);
    font-style: italic;
    font-size: 0.9rem;
    font-weight: bold;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: var(--bg-lighter);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--gold);
    transform: scale(1.3);  
}

 
@media (max-width: 992px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 15px);  
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 100%;  
    }
}
/* --- CTA Section --- */
.cta-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    background: url('../img/contact-background.webp') center/cover fixed;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 18, 18, 0.85);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.1rem;
    color: #ddd;
    margin-bottom: 30px;
}

/* --- Footer --- */
footer {
    background-color: var(--bg-card);
    padding: 60px 0 20px;
    border-top: 1px solid var(--bg-lighter);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    margin-bottom: 20px;
    display: inline-flex;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    max-width: 90%;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 1px solid var(--bg-lighter);
    border-radius: 50%;
    color: var(--text-main);
    font-size: 0.9rem;
}

.social-icons a:hover {
    background-color: var(--gold);
    color: var(--bg-dark);
    border-color: var(--gold);
}

.info-block {
    margin-bottom: 25px;
}

.info-block h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.info-block p, .info-block a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.info-block a:hover {
    color: var(--gold);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.footer-map img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-map img:hover {
    opacity: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--bg-lighter);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a:hover {
    color: var(--gold);
}

/* --- Media Queries (Responsive) --- */

/* Tablet (768px and down) */
@media (max-width: 992px) {
    .about-grid, .menu-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-images {
        height: 350px;
        max-width: 500px;
        margin: 0 auto;
    }

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

    .hero h1 {
        font-size: 3rem;
    }
}

/* Mobile (768px and down - Header) */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    nav#nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--bg-card);
        padding: 100px 40px;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }

    nav#nav-menu.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Small Mobile (375px and down) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    h2.section-title {
        font-size: 2rem;
    }

    .menu-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
        border-bottom: 1px solid var(--bg-dark);
    }

    .menu-item-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .menu-item-header::after {
        display: none;
    }
    
    .menu-item h4 {
        padding: 0;
        margin-bottom: 5px;
    }
    
    .menu-item .price {
        padding: 0;
        margin-bottom: 5px;
    }
    
    .menu-item p {
        max-width: 100%;
    }
}