/* ==================================== */
/* GLOBAL VARIABLES & RESET */
/* ==================================== */

:root {
    --primary-color: #38761D; /* Deep Forest Green */
    --secondary-color: #F8F6F1; /* Light Cream/Off-White */
    --accent-gold: #BC9C22; /* Coffee/Earthy accent */
    --text-dark: #333333;
    --text-light: #ffffff;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--secondary-color);
}

h1, h2, h3 {
    line-height: 1.1;
    color: var(--primary-color);
    margin-bottom: 0.5em;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
}

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

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

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

.bg-light {
    background-color: var(--secondary-color);
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: #666;
}

/* ==================================== */
/* CTA BUTTON STYLE */
/* ==================================== */

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s, transform 0.2s;
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    background-color: #5d9e43;
    transform: translateY(-2px);
}

/* ==================================== */
/* 1. HEADER / NAVIGATION */
/* ==================================== */

.main-header {
    background: var(--text-light);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.6rem;
    font-weight: 700;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* ==================================== */
/* 2. HERO SECTION */
/* ==================================== */

.hero-section {
    background-color: var(--secondary-color);
    /* Placeholder for the stunning image you will add here */
    /* background-image: url('public/images/hero-bg.jpg'); */
    background-size: cover;
    background-position: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.85); /* Slightly transparent background for text readability */
    border-radius: 8px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 25px;
}

.tagline {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 40px;
    font-weight: 300;
}

/* ==================================== */
/* 3. CORE FEATURES & ATMOSPHERE */
/* ==================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-item {
    padding: 30px;
    background: var(--text-light);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.feature-item h3 {
    color: var(--accent-gold);
    margin-bottom: 10px;
}

/* ==================================== */
/* 4. MENU TEASER */
/* ==================================== */

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.menu-item-card {
    background: var(--text-light);
    padding: 20px;
    border-radius: 6px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.menu-item-card h4 {
    color: var(--text-dark);
    margin-bottom: 5px;
}

.price {
    font-weight: 700;
    color: var(--accent-gold);
    font-size: 1.2rem;
    display: block;
    margin-top: 10px;
}

.menu-cta {
    display: block;
    width: fit-content;
    margin: 0 auto;
}


/* ==================================== */
/* 5. TESTIMONIALS */
/* ==================================== */

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

.testimonial-card {
    background: var(--secondary-color);
    padding: 25px;
    border-radius: 8px;
    border: 1px dashed var(--primary-color);
}

.quote {
    font-style: italic;
    margin-bottom: 15px;
}

.author {
    font-weight: 600;
    text-align: right;
    color: var(--primary-color);
}

.stars {
    color: gold;
}

/* ==================================== */
/* 6. LOYALTY TABLE (Portfolio Element) */
/* ==================================== */

.loyalty-table-wrapper {
    overflow-x: auto; /* Ensures table is scrollable on small screens */
    margin-bottom: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: var(--text-light);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

th {
    background-color: var(--primary-color);
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
}

/* Zebra stripes for readability */
tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

.loyalty-cta {
    display: block;
    width: fit-content;
    margin: 0 auto;
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.loyalty-cta:hover {
    background-color: #d1b54b;
}

/* ==================================== */
/* 7. FOOTER */
/* ==================================== */

.footer-section {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding-top: 50px;
}

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

.footer-section h3 {
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.social-links a {
    color: var(--accent-gold);
    margin-right: 15px;
}

.copyright {
    text-align: center;
    padding: 15px 0;
    background-color: #222;
    font-size: 0.9rem;
    color: #aaa;
}


/* ==================================== */
/* MEDIA QUERIES (Responsiveness) */
/* ==================================== */

@media (max-width: 768px) {
    
    /* General Adjustments */
    .section-padding {
        padding: 60px 0;
    }

    h2 {
        font-size: 2rem;
    }
    
    /* Navigation Adjustments */
    .main-header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-links {
        margin-top: 10px;
        gap: 15px;
        justify-content: center;
    }
    
    /* Hero Adjustments */
    .hero-content h1 {
        font-size: 2.2rem;
    }

    /* Footer Adjustments */
    .footer-content {
        grid-template-columns: 1fr; /* Stack footer content */
        text-align: center;
    }
    
    .contact-info, .hours {
        padding-bottom: 20px;
    }
}

/* ==================================== */
/* IMAGE INTEGRATION STYLES */
/* ==================================== */

/* Hero Section Background Image */
.hero-section {
    /* *** NEW RULE: Add your image path here *** */
    background-image: url('./public/images/hero-bg.jpg'); 
    /* The rest of the Hero rules are already defined and correct */
}

/* 3. Feature Icons (256x256 scaled down) */
.feature-icon-img {
    width: 64px; /* Display size */
    height: 64px;
    margin-bottom: 15px;
}

/* 4. Menu Item Images (400x300 display) */
.menu-image-card {
    padding: 0; /* Remove internal padding as the image is the content */
    border-left: none; /* Remove border line from the card */
    overflow: hidden; /* Ensure image corners align with card border-radius */
}

.menu-item-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px; /* Match card radius */
    transition: transform 0.3s ease;
}

.menu-item-img:hover {
    transform: scale(1.03); /* Subtle hover effect for polish */
}

/* 7. Footer Icons (48x48 scaled down) */
.footer-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

.social-icon {
    width: 32px;
    height: 32px;
    margin-right: 15px;
    margin-top: 10px;
    transition: opacity 0.3s;
}

.social-icon:hover {
    opacity: 0.7;
}

/* Adjust footer links to make room for icons */
.footer-section p {
    margin-bottom: 8px;
}