/* ================== MENU HERO ================== */
#menu-hero {
    /* Fixed background image path */
    background: linear-gradient(rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.8)), url('./photos/t2.jpg') no-repeat center center/cover;
    text-align: center;
    padding: 180px 0 100px 0;
}

/* NEW: Wrapper for the golden line */
.hero-title-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
}

.hero-title-wrapper::after {
    content: '';
    position: absolute;
    width: 70%;
    height: 3px;
    background: var(--accent-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

#menu-hero h1 {
    font-size: 4rem;
    color: #fff;
    margin: 0;
}

#menu-hero p {
    font-size: 1.2rem;
    color: var(--primary-text);
    margin-top: 10px;
}


/* ================== FULL MENU SECTION ================== */
#full-menu {
    background-color: var(--bg-color);
    padding-top: 60px;
}

.menu-category {
    margin-bottom: 80px;
}

.menu-category h2 {
    font-size: 2.8rem;
    text-align: center;
    color: var(--accent-color);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.menu-category h2::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 2px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 20%;
}

.menu-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* This is the property that centers the items */
    gap: 30px;
}

.menu-item-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    text-align: center;
    padding: 20px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 12px;
    
    /* Define a flexible but bounded size for the cards */
    flex: 1 1 280px; /* flex-grow, flex-shrink, flex-basis */
    max-width: 350px; /* Prevent cards from becoming too large */
}
.menu-item-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    text-align: center;
    padding: 20px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 12px; /* NEW: Curvy edges */
}

.menu-item-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-color);
}

.menu-item-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px; /* NEW: Curvy edges for image inside */
}

.menu-item-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    flex-grow: 1; 
}

.btn-details {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    align-self: center; 
    border-radius: 4px; /* NEW: Slight curve for button */
}

.menu-item-card:hover .btn-details {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

/* ================== DINE-IN DRINKS SECTION STYLES ================== */
/* ================== STYLES FOR NON-INTERACTIVE CARDS ================== */

/* This makes the card not look clickable */
.menu-item-card.non-interactive {
    cursor: default;
}

/* We remove the hover effects for non-interactive cards */
.menu-item-card.non-interactive:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border-color);
}

/* Style for the "Dine-In Only" text */
.dine-in-only-text {
    color: var(--accent-color);
    font-style: italic;
    font-size: 0.9rem;
    margin-top: -10px; /* Adjust spacing */
    margin-bottom: 10px;
}


/* Call to Action styling (keep this if you haven't already added it) */
.visit-us-cta {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background-color: var(--card-bg);
    border: 1px dashed var(--accent-color);
    border-radius: 15px;
}

.visit-us-cta p {
    font-size: 1.2rem;
    color: var(--primary-text);
    margin-bottom: 20px;
}

/* ================== RESPONSIVE FOR DINE-IN SECTION ================== */
@media (max-width: 768px) {
    .dine-in-grid {
        grid-template-columns: 1fr; /* Stack on mobile */
    }

    .dine-in-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal-content {
        grid-template-columns: 1fr;
        max-height: 90vh;
        overflow-y: auto;
        padding: 30px;
    }
    .modal-details h2 {
        font-size: 2rem;
    }
    .hero-title-wrapper h1 {
        font-size: 2.8rem;
    }
}