/* General Page Body Styles for Drink Menu */
body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fdfdfd; /* Very light background for a fresh feel */
}

/* Drink Menu Page Header (Hero Section) */
.menu-page-header {
    color: #fff;
    padding: 5rem 0;
    text-align: center;
    margin-bottom: 2rem;
    position: relative; /* For pseudo-element overlay if needed */
}

.menu-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    z-index: 1;
}

.menu-page-header .container {
    position: relative; /* Ensure content is above overlay */
    z-index: 2;
}

.menu-page-header h1 {
    font-family: 'Lora', serif;
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.menu-page-header .lead {
    font-size: 1.25rem;
    font-weight: 300;
}

/* Sticky Sub-Navigation for Drink Categories */
.menu-sub-nav {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 0.75rem 0;
    position: sticky;
    top: 60px; /* Adjust based on your main navbar height when sticky */
    z-index: 1010; /* Below main navbar (1020), above content */
    box-shadow: 0 3px 6px rgba(0,0,0,0.08);
}

.menu-sub-nav .nav {
    justify-content: center;
}

.menu-sub-nav .nav-link {
    color: #444;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 0.25rem;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.menu-sub-nav .nav-link:hover {
    color: #fff;
    background-color: #E07A10; /* Slightly darker orange for hover */
    transform: translateY(-2px);
}
.menu-sub-nav .nav-link.active {
    color: #fff;
    background-color: #F4931E; /* Theme color for active */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Menu Section Styling */
.menu-section {
    padding: 3.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.menu-section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-family: 'Lora', serif;
    font-size: 2.8rem;
    color: #2c3e50; /* Dark blue/grey for titles */
    margin-bottom: 3rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 100px;
    height: 4px;
    background-color: #F4931E; /* Theme color */
    border-radius: 2px;
}

.sub-section-title {
    font-family: 'Lora', serif;
    font-size: 1.8rem;
    color: #34495e; /* Slightly lighter blue/grey */
    margin-top: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
    text-align: left;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed #ddd;
}

/* Individual Menu Item Styling */
.menu-item {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    transition: box-shadow 0.3s ease-in-out, background-color 0.3s ease-in-out; /* For hover effect */
    display: flex;
    flex-direction: column;
    height: 100%; /* Make all cards in a row same height */
    cursor: default; /* Default cursor, as click is handled by sub-nav */
}

.menu-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
    background-color: #f9f9f9; /* Slight background color change on hover */
}

.menu-item-img {
    max-width: 100%;
    height: 200px; /* Fixed height for uniform look */
    object-fit: cover; /* Ensures image covers the area, might crop */
    border-radius: 8px;
    transition: transform 0.3s ease-in-out; /* For zoom effect */
}

.menu-item:hover .menu-item-img {
    transform: scale(1.05); /* Zoom-in effect */
}

.menu-item-content {
    text-align: left;
    flex-grow: 1; /* Allows content to fill space, pushing description down */
    display: flex;
    flex-direction: column;
}

.menu-item h5 {
    font-size: 1.25rem;
    color: #333;
    margin-top: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-item .price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #B18F40; /* Accent color for price */
}

.menu-item .description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    flex-grow: 1; /* Ensures description takes available space */
}

/* Sticky Sub-navigation Active State */
.menu-sub-nav .nav-link.active {
    background-color: #B18F40 !important; /* Use your theme's primary/accent color */
    color: white !important;
    font-weight: bold;
}

/* Ensure proper spacing and alignment for sub-section titles */
.sub-section-title {
    font-size: 1.5rem; /* Slightly smaller than main section titles */
    color: #444;
    margin-top: 2rem; /* Space above sub-section title */
    margin-bottom: 1.5rem; /* Space below sub-section title */
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}

.responsible-drinking-note {
    margin-top: 40px;
    padding: 20px;
    background-color: #f8f9fa;
    border-left: 5px solid #B18F40;
    text-align: center;
}

.responsible-drinking-note p {
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #555;
}

/* Responsive adjustments if needed */
@media (max-width: 768px) {
    .menu-item h5 {
        font-size: 1.1rem;
    }
    .menu-item .price {
        font-size: 1rem;
    }
    .menu-item-img {
        height: 150px; /* Adjust image height for smaller screens */
    }
}

@media (max-width: 576px) {
    .menu-section .row > div[class*="col-"] {
        margin-bottom: 20px; /* Ensure spacing between items on smallest screens */
    }
    .menu-item {
        padding: 15px;
    }
    .menu-item-img {
        height: 120px; /* Further adjust image height */
    }
}

/* Navbar specific styles - for #navbarIDM */
#navbarIDM .btn-primary {
    background-color: #F4931E; 
    border-color: #F4931E;
}

#navbarIDM .btn-primary:hover {
    background-color: #d98307; 
    border-color: #d98307;
}

#navbarIDM .navbar-nav .nav-item.active .nav-link {
    color: #F4931E !important; 
    font-weight: bold;
}

#navbarIDM .dropdown-menu .dropdown-item.active,
#navbarIDM .dropdown-menu .dropdown-item:active {
    background-color: #F4931E;
    color: #fff !important;
}
