* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #121212;
    color: #f5f5f5;
    padding-bottom: 50px;
    background-image: url('https://via.placeholder.com/100/121212/181818?text=+');
    background-repeat: repeat;
}

header {
    background-color: rgba(0, 0, 0, 0.8);
    color: #f5f5f5;
    text-align: center;
    padding: 25px 20px;
    position: relative;
    border-bottom: 1px solid #333;
    background-image: url('https://via.placeholder.com/800x300/000000/333333?text=Restaurant+Background');
    background-size: cover;
    background-position: center;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(23, 23, 23, 0.7);
    z-index: 0;
}

.header-content {
    position: relative;
    z-index: 1;
    padding: 5px 5px; /* Adjust padding as needed */
    text-align: center;
    
    /* Background Image */
    background-image: url('images/bg2.jpg'); /* Replace with your actual image file */
    background-size: cover; /* Ensures the image covers the entire section */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents repeating */
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    background-blend-mode: overlay; /* Blends the overlay with the image */
}

.hotel-name {
    font-size: 28px;
    margin-bottom: 5px;
    font-weight: bold;
    color: #e0e0e0;
}

.tagline {
    font-size: 14px;
    font-style: italic;
    margin-bottom: 10px;
    color: #bdbdbd;
}

.offers-section {
    background-color: #1e1e1e;
    padding: 20px 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
}

.section-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: #e0e0e0;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.offers-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding: 5px 0;
    scrollbar-width: thin;
    scrollbar-color: #555 #1e1e1e;
}

.offers-container::-webkit-scrollbar {
    height: 6px;
}

.offers-container::-webkit-scrollbar-track {
    background: #1e1e1e;
}

.offers-container::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 10px;
}

.offer-card {
    min-width: 280px;
    scroll-snap-align: start;
    background-color: #252525;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    padding: 15px;
    display: flex;
    flex-direction: column;
    border: 1px solid #333;
}

.offer-title {
    font-weight: bold;
    margin-bottom: 5px;
    color: #ff9800;
}

.offer-description {
    font-size: 14px;
    color: #bdbdbd;
    margin-bottom: 10px;
}

.offer-price {
    font-weight: bold;
    color: #4caf50;
    margin-top: auto;
}

.category-container {
    padding: 10px 15px;
}

.category-item {
    background-color: #252525;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border: 1px solid #333;
}

.category-header {
    padding: 15px;
    background-color: #1e1e1e;
    color: #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid #333;
    transition: all 0.3s ease; /* Smooth transition */
}

.category-header:hover {
    background-color: hwb(36 2% 0%); /* Darker background on hover */
    color: #fff; /* Lighter text color on hover */
}

.category-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.category-item.active .category-content {
    max-height: 1000px;
}

.category-item.active .category-icon {
    transform: rotate(180deg);
}

.menu-item {
    display: flex;
    padding: 15px;
    border-bottom: 1px solid #333;
}

.menu-item:last-child {
    border-bottom: none;
}

.item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
    border: 1px solid #333;
}

.item-details {
    flex: 1;
}

.item-name {
    font-weight: bold;
    margin-bottom: 5px;
    color: #e0e0e0;
}

.item-description {
    font-size: 14px;
    color: #bdbdbd;
    margin-bottom: 5px;
}

.item-price {
    font-weight: bold;
    color: #4caf50;
}

.veg-icon {
    width: 18px;
    height: 18px;
    margin-left: 5px;
    vertical-align: middle;
}

/* Animation for category opening */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.category-item.active .category-content {
    animation: fadeIn 0.5s ease;
}
