/* Restaurant Website - Custom Styles */
:root {
    --primary-color: #d4af37;
    --secondary-color: #2c3e50;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --black: #000000;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 20px;
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    padding: 20px 0;
    background: var(--white) !important;
    box-shadow: var(--shadow);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 15px;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?w=1600') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
}

.btn-primary-custom {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

/* About Section */
.about-section {
    background: var(--bg-light);
}

.about-content {
    padding: 30px;
}

.about-content h3 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.1);
}

/* Menu Section */
.menu-item-card {
    background: var(--white);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.menu-item-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.menu-item-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.menu-item-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.menu-item-description {
    color: var(--text-light);
    font-size: 0.95rem;
}

.menu-category {
    margin-bottom: 60px;
}

.menu-category-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
}

.popular-badge {
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 10px;
}

/* Popular Items */
.popular-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.popular-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.popular-item-image {
    height: 250px;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url('https://images.unsplash.com/photo-1546069901-ba9599a7e63c?w=600') center/cover;
    position: relative;
}

.popular-item-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
}

.popular-item-content {
    padding: 25px;
}

.popular-item-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.popular-item-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.popular-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popular-item-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Reservation Form */
.reservation-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=1600') center/cover;
    color: var(--white);
}

.reservation-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.reservation-form .form-label {
    color: var(--secondary-color);
    font-weight: 600;
}

.reservation-form .form-control {
    border: 2px solid #ddd;
    padding: 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.reservation-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

/* Contact Section */
.contact-info {
    background: var(--secondary-color);
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.contact-info h3 {
    margin-bottom: 30px;
    font-size: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    width: 40px;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer h5 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer p,
.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Admin Panel Styles */
.admin-sidebar {
    background: var(--secondary-color);
    min-height: calc(100vh - 56px);
    padding: 30px 0;
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 25px;
    margin-bottom: 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: var(--primary-color);
    color: var(--white);
}

.admin-card {
    border: none;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.admin-card .card-header {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    border-radius: 10px 10px 0 0 !important;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.9;
}

/* Admin Notifications */
.admin-notification {
    animation: slideInRight 0.5s ease-out;
    border: none;
    border-radius: 8px;
}

.admin-notification .alert-heading {
    color: var(--primary-color);
    font-weight: 600;
}

.admin-notification .btn-close {
    padding: 0.5rem;
}

#connection-status {
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
}

#connection-status i {
    margin-right: 0.25rem;
}

/* Notification animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.notification-pulse {
    animation: pulse 0.5s ease-in-out;
}

/* Recent reservations highlight */
.table-warning {
    background-color: rgba(255, 193, 7, 0.1) !important;
    border-left: 3px solid #ffc107;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
    }
    
    .admin-notification {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
}

