/* Modern CSS Reset and Variables - RED & BLACK THEME */
:root {
    --primary: #B91C1C;
    --primary-dark: #991B1B;
    --primary-light: #DC2626;
    --secondary: #000000;
    --accent: #7F1D1D;
    --light: #FEF2F2;
    --dark: #1F2937;
    --text: #374151;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.page-background {
    position: fixed;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    transform: scale(1.03);
    filter: brightness(0.8);
}

/* Loading Screen - Enhanced */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-logo {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    animation: logoPulse 2s infinite alternate;
}

@keyframes logoPulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.loading-logo .red {
    color: var(--primary);
}

.loading-logo .black {
    color: var(--secondary);
}

.loading-logo::after {
    content: 'Hassi Messaoud';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    color: var(--text);
    font-weight: normal;
    letter-spacing: 2px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--light);
    border-top: 4px solid var(--primary);
    border-right: 4px solid var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header & Navigation - Enhanced */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    transform: translateY(0);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.header.hidden {
    transform: translateY(-100%);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: height 0.3s ease;
}

.header.scrolled .nav-container {
    height: 70px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo .red {
    color: var(--primary);
}

.logo .black {
    color: var(--secondary);
}

.logo::after {
    content: 'Hassi messaoud';
    position: absolute;
    bottom: -8px;
    left: 0;
    font-size: 0.7rem;
    color: var(--text);
    font-weight: normal;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--secondary);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary);
}

.book-now-btn {
    background: var(--primary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.book-now-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.book-now-btn:hover::before {
    left: 100%;
}

.book-now-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(185, 28, 28, 0.4);
}

/* Hero Section - Enhanced */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('_IMP1785.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 769px) {
    .hero {
        background-attachment: fixed;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(185, 28, 28, 0.1) 0%, transparent 50%);
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(-10px) translateY(-10px); }
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease, textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from { text-shadow: 0 0 10px rgba(255,255,255,0.5); }
    to { text-shadow: 0 0 20px rgba(255,255,255,0.8); }
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

/* Booking Widget - Enhanced */
.booking-widget {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease 0.4s both, float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.booking-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    align-items: end;
}

.form-group {
    text-align: left;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--dark);
    transition: var(--transition);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.1);
    transform: translateY(-2px);
}

.check-availability {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.check-availability::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.check-availability:hover::before {
    left: 100%;
}

.check-availability:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(185, 28, 28, 0.4);
}

/* Room Booking Modal */
.booking-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2100;
}

.booking-modal.open {
    display: flex;
}

.booking-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
}

.booking-modal-content {
    position: relative;
    background: var(--white);
    border-radius: 12px;
    padding: 25px 25px 20px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    z-index: 1;
    animation: fadeInUp 0.3s ease;
}

.booking-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    border: none;
    background: transparent;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--secondary);
}

.booking-modal h2 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.booking-modal-room {
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.booking-form-modal {
    margin-top: 0.5rem;
}

/* Sections */
.section {
    padding: 80px 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.section-title h2:hover::after {
    width: 100px;
}

.section-title p {
    color: var(--text);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 2rem auto 0;
}

/* Stats Section */
.stats {
    background: radial-gradient(circle at top left, rgba(185, 28, 28, 0.05), transparent 55%),
                radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.05), transparent 55%);
}

.stats-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
}

.stat-item {
    background: var(--white);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid #f0f0f0;
    transform: translateY(20px) scale(0.98);
    opacity: 0;
    transition: all 0.5s ease;
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark);
}

/* Rooms Grid - Enhanced */
.rooms-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.room-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
    opacity: 0;
    transform: translateY(30px);
}

.room-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.room-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(185, 28, 28, 0.15);
}

.room-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.room-card:hover .room-image {
    transform: scale(1.1);
}

.room-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.room-content {
    padding: 25px;
    position: relative;
    z-index: 1;
}

.room-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.4rem;
    transition: var(--transition);
}

.room-card:hover .room-content h3 {
    color: var(--primary-dark);
}

.room-price {
    color: var(--secondary);
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.room-features {
    list-style: none;
    margin-bottom: 20px;
}

.room-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.room-features li:hover {
    transform: translateX(5px);
    color: var(--primary);
}

.room-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    margin-right: 10px;
    transition: var(--transition);
}

.room-features li:hover::before {
    transform: scale(1.2);
}

/* Amenities - Enhanced */
.amenities-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.amenity-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
    opacity: 0;
    transform: translateY(30px);
}

.amenity-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.amenity-item:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 15px 30px rgba(185, 28, 28, 0.15);
}

.amenity-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: inline-block;
    transition: var(--transition);
}

.amenity-item:hover .amenity-icon {
    transform: scale(1.2) rotate(10deg);
}

/* Testimonials - Enhanced */
.testimonials {
    background: var(--light);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    animation: gradientFlow 3s ease-in-out infinite;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.testimonial-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateX(-30px);
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-card:nth-child(even) {
    transform: translateX(30px);
}

.testimonial-card:nth-child(even).visible {
    transform: translateX(0);
}

.testimonial-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-light);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
    transition: var(--transition);
}

.testimonial-card:hover::before {
    transform: scale(1.1);
    opacity: 0.5;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary);
    transition: var(--transition);
}

.testimonial-card:hover .testimonial-author {
    transform: translateX(10px);
}

/* Conference Rooms Section */
.conference-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.conference-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.conference-info p {
    margin-bottom: 1.5rem;
    color: var(--text);
}

.conference-features {
    list-style: none;
    margin-bottom: 1.8rem;
}

.conference-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    border-bottom: 1px dashed #e5e5e5;
}

.conference-features li::before {
    content: '•';
    color: var(--primary);
    font-size: 1.4rem;
    margin-right: 10px;
}

.conference-visual {
    position: relative;
}

.conference-image {
    border-radius: 15px;
    height: 320px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s ease;
}

.section.visible .conference-image {
    opacity: 1;
    transform: translateY(0);
}

.conference-highlight {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0,0,0,0.8);
    color: var(--white);
    padding: 12px 18px;
    border-radius: 12px;
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.highlight-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-light);
}

.highlight-text {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.conference-tagline {
    margin-top: 15px;
    font-size: 0.95rem;
    color: var(--dark);
    background: var(--light);
    padding: 10px 15px;
    border-left: 3px solid var(--primary);
    border-radius: 8px;
}

/* Footer - Enhanced */
.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 50px 20px 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-section:hover h3::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(185, 28, 28, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px) scale(1.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-container {
        height: 64px;
    }

    .nav-toggle {
        display: flex;
        margin-left: auto;
        margin-right: 10px;
    }

    .nav-menu {
        position: fixed;
        top: 64px;
        right: 0;
        left: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        gap: 0;
        padding: 10px 20px 20px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

    .nav-menu li {
        border-bottom: 1px solid #eee;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 12px 0;
    }

    .header.nav-open .nav-menu {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .book-now-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 60px 15px;
    }

    .booking-form {
        grid-template-columns: 1fr;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
    }
    
    .loading-logo {
        font-size: 2rem;
    }
    
    .logo::after {
        font-size: 0.6rem;
        bottom: -6px;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .conference-grid {
        grid-template-columns: 1fr;
    }

    .conference-image {
        height: 260px;
    }
}

/* Extra small screens (phones <= 480px) */
@media (max-width: 480px) {
    .hero {
        height: auto;
        padding: 110px 16px 70px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .booking-widget {
        padding: 20px;
    }

    .section-title h2 {
        font-size: 1.9rem;
    }

    .section-title p {
        font-size: 0.95rem;
    }

    .room-image {
        height: 200px;
    }

    .room-content {
        padding: 18px;
    }

    .restaurant-image {
        height: 220px;
    }

    .restaurant-content {
        padding: 22px;
    }

    .amenity-item,
    .testimonial-card {
        padding: 22px 18px;
    }

    .booking-modal-content {
        max-width: 95%;
        padding: 20px 16px 16px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
/* Gallery Section */
.gallery-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    padding-bottom: 70%;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease, box-shadow 0.4s ease;
}

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.6));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 15px 20px;
    color: var(--white);
    font-weight: 600;
    letter-spacing: 0.5px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 18px 35px rgba(0,0,0,0.2);
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 2000;
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    background: var(--secondary);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    animation: fadeInUp 0.4s ease;
}

.lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 70vh;
    border-radius: 6px;
}

.lightbox-caption {
    margin-top: 10px;
    color: var(--white);
    text-align: center;
    font-size: 0.95rem;
}

.lightbox-close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 1.8rem;
    color: var(--white);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.lightbox-close:hover {
    transform: scale(1.1);
}
/* Restaurants Section - Enhanced */
.restaurants-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

.restaurant-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
}

.restaurant-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.restaurant-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(185, 28, 28, 0.15);
}

.restaurant-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.6s ease;
}

.restaurant-card:hover .restaurant-image {
    transform: scale(1.05);
}

.restaurant-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
    animation: badgePulse 2s infinite;
}

.restaurant-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px;
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.restaurant-card:hover .restaurant-overlay {
    transform: translateY(0);
}

.restaurant-hours {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.hours-icon {
    font-size: 1.2rem;
}

.restaurant-content {
    padding: 30px;
    position: relative;
    z-index: 1;
}

.restaurant-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.6rem;
    transition: var(--transition);
}

.restaurant-card:hover .restaurant-content h3 {
    color: var(--primary-dark);
}

.restaurant-description {
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1rem;
}

.restaurant-features {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--light);
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 1.2rem;
}

.restaurant-info {
    background: var(--light);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 3px solid var(--primary);
}

.restaurant-info p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.restaurant-info p:last-child {
    margin-bottom: 0;
}

.restaurant-info strong {
    color: var(--primary);
    min-width: 100px;
    display: inline-block;
}

.restaurant-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.book-now-btn.secondary {
    background: var(--secondary);
}

.book-now-btn.secondary:hover {
    background: #333;
}

/* Special animation for restaurant cards */
@keyframes slideInRestaurant {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.restaurant-card:nth-child(even) {
    animation-delay: 0.2s;
}

/* Restaurant Section Background */
#restaurants {
    position: relative;
    overflow: hidden;
}

#restaurants::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(185, 28, 28, 0.03) 0%, transparent 50%);
    pointer-events: none;
}