/* General Styles */
:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --dark-color: #292f36;
    --light-color: #f7f7f7;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-color);
    color: var(--dark-color);
}

/* Restaurant Header */
.restaurant-header {
    background-color: var(--dark-color);
    color: white;
    padding: 2rem 0;
    position: relative;
}

.restaurant-logo img {
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.restaurant-name {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.restaurant-info {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

/* Categories Section */
.categories-section {
    background-color: white;
    padding: 3rem 0;
}

.category-card {
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    border: none;
    border-radius: 10px;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-img {
    height: 200px;
    object-fit: cover;
}

.card-title {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #ff5252;
    border-color: #ff5252;
}

/* Menu Items Section */
.menu-items-section {
    padding: 3rem 0;
    background-color: var(--light-color);
}

.menu-items-section:nth-child(even) {
    background-color: white;
}

.section-title {
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.menu-item-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.menu-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.menu-item-img {
    height: 180px;
    object-fit: cover;
}

.price {
    font-size: 1rem;
    background-color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .category-img, .menu-item-img {
        height: 160px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #ff5252;
    color: white;
}
