.hero-section {
    min-height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/home/images-1.jpg');
    background-size: cover;
    background-position: center;
}

.about-image {
    height: 500px;
    object-fit: cover;
}

.menu-image {
    height: 200px;
    object-fit: cover;
}

.logo-image {
    height: 40px;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 50vh;
    }
}

.toast-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #28a745;
    color: white;
    padding: 15px 25px;
    border-radius: 4px;
    z-index: 1000;
    animation: slideIn 0.5s, fadeOut 0.5s 2.5s;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.navbar-brand {
    font-size: 24px;
    font-weight: bold;
}
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1374&q=80');
    background-size: cover;
    background-position: center;
    height: 40vh;
    display: flex;
    align-items: center;
    color: white;
}
.story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Modern Typography */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    padding-top: 80px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Enhanced Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
}

.nav-link {
    font-weight: 500;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #e74c3c;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Button Styles */
.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #e74c3c;
    border-color: #e74c3c;
}

.btn-primary:hover {
    background-color: #c0392b;
    border-color: #c0392b;
    transform: translateY(-2px);
}

/* Section Spacing */
section {
    padding: 5rem 0;
}

/* Footer Enhancement */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 4rem 0 2rem;
}

footer h5 {
    color: #fff;
    margin-bottom: 1.5rem;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
}

/* Form Styles */
.form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 0.8rem;
}

.form-control:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25);
}

/* Image Hover Effects */
.menu-image, .about-image {
    transition: transform 0.3s ease;
}

.menu-image:hover, .about-image:hover {
    transform: scale(1.05);
}

/* Responsive Improvements */
@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    .navbar-brand {
        font-size: 20px;
    }
}

/* Loading Animation */
.loading {
    display: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #e74c3c;
    border-radius: 50%;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Cart Styles */
.cart-item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.cart-quantity-input {
    width: 120px;
}

/* Logo Styles */
.login-logo {
    width: 80px;
    height: 80px;
}

/* Form Styles */
.message-textarea {
    height: 150px;
}

/* Map Styles */
.map-container {
    width: 100%;
    height: 450px;
    border: 0;
}

/* Hero Section */
.hero-section {
    background-image: url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?q=80&w=2070&auto=format&fit=crop');
}

.admin-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.section-card {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    overflow: hidden;
    background-color: #fff;
}

.section-header {
    background-color: #f8f9fa;
    padding: 20px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #dee2e6;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.stats-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s;
    height: 100%;
}

.stats-card:hover {
    transform: translateY(-5px);
}

.stats-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.action-btn {
    transition: all 0.3s;
}

.action-btn:hover {
    transform: scale(1.1);
}

#scrollToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0d6efd;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    z-index: 999;
    display: none;
}

.anchor-target {
    display: block;
    height: 80px;
    margin-top: -80px;
    visibility: hidden;
}

/* Cho hình ảnh món ăn trong table */
#menuTable img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

#menuTable img:hover {
    transform: scale(1.5);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* CSS cho image manager */
.image-manager-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.image-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.image-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.6);
    padding: 5px;
    text-align: center;
}

.image-overlay a {
    color: white;
    font-size: 14px;
    margin: 0 5px;
    text-decoration: none;
}

.image-preview-container {
    text-align: center;
    margin-bottom: 15px;
}

.image-preview {
    max-height: 200px;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}