/* ============================
   CSS VARIABLES
   ============================ */
:root {
    /* Colors - Casual Dining Theme */
    --primary-color: #d32f2f;
    --primary-dark: #b71c1c;
    --primary-light: #ff6659;
    --secondary-color: #ffa000;
    --secondary-dark: #c67100;
    --secondary-light: #ffd149;

    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #666666;

    --bg-white: #ffffff;
    --bg-light: #f5f5f5;
    --bg-dark: #2c2c2c;
    --bg-overlay: rgba(0, 0, 0, 0.6);

    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);

    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: Georgia, 'Times New Roman', serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-max-width: 1140px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================
   RESET & BASE STYLES
   ============================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

ul {
    list-style: none;
}

/* ============================
   LAYOUT COMPONENTS
   ============================ */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

.section--dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: inherit;
}

.section--dark .section-title {
    color: var(--text-light);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.section--dark .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================
   NAVIGATION
   ============================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.navbar__logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--primary-color);
    font-weight: 700;
}

.navbar__menu {
    display: flex;
    gap: 32px;
}

.navbar__link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
}

.navbar__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-normal);
}

.navbar__link:hover::after,
.navbar__link.active::after {
    width: 100%;
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 24px;
}

.navbar__toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition-normal);
}

/* ============================
   HERO SECTION
   ============================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenBurns 20s ease infinite alternate;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 16px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 32px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.rating-stars {
    display: flex;
    gap: 4px;
}

.star {
    color: var(--secondary-color);
    font-size: 1.25rem;
}

.rating-stars--large .star {
    font-size: 2rem;
}

.rating-text {
    font-size: 1.125rem;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.btn--primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn--primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn--secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.scroll-indicator {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--text-light), transparent);
    margin: 8px auto 0;
}

/* ============================
   ABOUT SECTION
   ============================ */
.about__content {
    max-width: 900px;
    margin: 0 auto;
}

.about__text h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.about__text p {
    font-size: 1.125rem;
    margin-bottom: 24px;
    line-height: 1.8;
    color: var(--text-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.feature-card h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-gray);
}

/* ============================
   SERVICES SECTION
   ============================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.service-card {
    text-align: center;
    padding: 40px 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-light);
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================
   GALLERY SECTION
   ============================ */
.gallery__filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    background: var(--bg-light);
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--text-light);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.gallery__item:hover img {
    transform: scale(1.1);
}

.gallery__item:hover .gallery__overlay {
    opacity: 1;
}

.gallery__zoom {
    color: var(--text-light);
    font-size: 3rem;
    font-weight: 300;
}

/* ============================
   REVIEWS SECTION
   ============================ */
.reviews__summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    margin-bottom: 48px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

.reviews__overall {
    text-align: center;
}

.reviews__score {
    font-size: 4rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.reviews__count {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.reviews__distribution {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.distribution-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.distribution-bar span:first-child {
    width: 50px;
    text-align: right;
}

.distribution-bar span:last-child {
    width: 40px;
}

.bar {
    flex: 1;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--secondary-color);
    transition: var(--transition-slow);
}

.reviews__tags {
    margin-bottom: 48px;
}

.reviews__tags h3 {
    margin-bottom: 16px;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.875rem;
}

.reviews-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.review-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.review-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.review-text {
    margin-bottom: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.review-ratings {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.detail-rating {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 0.875rem;
}

.review-context {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-top: 12px;
}

.owner-response {
    margin-top: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--primary-color);
    border-radius: 8px;
}

.owner-response strong {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.review-image {
    width: 100%;
    margin-top: 16px;
    border-radius: 8px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--text-light);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.slider-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* ============================
   ORDER SECTION
   ============================ */
.order-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.order-card {
    text-align: center;
    padding: 48px 32px;
    background: var(--bg-light);
    border-radius: 16px;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.order-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.order-icon {
    font-size: 4rem;
    margin-bottom: 24px;
}

.order-card h3 {
    font-size: 1.75rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.order-card p {
    margin-bottom: 24px;
    color: var(--text-gray);
}

/* ============================
   HOURS SECTION
   ============================ */
.hours-grid {
    max-width: 600px;
    margin: 0 auto 48px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-item--weekend {
    background: rgba(255, 255, 255, 0.05);
}

.day {
    font-weight: 600;
}

.time {
    color: var(--secondary-color);
}

.popular-times {
    max-width: 600px;
    margin: 0 auto;
    padding: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-align: center;
}

.popular-times h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.popular-times > p {
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.8);
}

.popular-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.popular-day {
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

/* ============================
   AMENITIES SECTION
   ============================ */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.amenity-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition-normal);
}

.amenity-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.amenity-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.amenity-card h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.amenity-card p {
    color: var(--text-gray);
}

/* ============================
   CONTACT SECTION
   ============================ */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-text h4 {
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.info-text p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ============================
   FOOTER
   ============================ */
.footer {
    background: #1a1a1a;
    color: var(--text-light);
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 32px;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-links h4,
.footer-hours h4 {
    margin-bottom: 16px;
    color: var(--secondary-color);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-hours p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-bottom p {
    margin-bottom: 4px;
}

/* ============================
   LIGHTBOX
   ============================ */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

#lightboxImage {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* ============================
   ANIMATIONS
   ============================ */
.fade-in {
    animation: fadeIn 0.6s ease;
}

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

.slide-up {
    animation: slideUp 0.6s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================
   RESPONSIVE DESIGN
   ============================ */
@media (max-width: 1023px) {
    .section-title {
        font-size: 2rem;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .reviews__summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    :root {
        --section-padding: 60px 0;
    }

    .navbar__menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 24px;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition-normal);
        gap: 16px;
    }

    .navbar__menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .navbar__toggle {
        display: flex;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1.125rem;
    }

    .hero__buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
    }

    .features-grid,
    .services-grid,
    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .gallery__grid {
        grid-template-columns: 1fr;
    }

    .reviews-slider {
        grid-template-columns: 1fr;
    }

    .order-options {
        grid-template-columns: 1fr;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
    }
}

/* ============================
   UTILITIES
   ============================ */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.hidden {
    display: none;
}