/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
    /* Colors - Asian Restaurant Theme */
    --primary-color: #c41e3a;
    --primary-dark: #8b0000;
    --primary-light: #e64a4a;
    --secondary-color: #f4a460;
    --accent-color: #ffd700;

    /* Neutral Colors */
    --dark: #1a1a1a;
    --dark-alt: #2d2d2d;
    --gray: #6c6c6c;
    --gray-light: #e5e5e5;
    --white: #ffffff;
    --background: #f8f8f8;

    /* Typography */
    --font-primary: 'Georgia', serif;
    --font-secondary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;

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

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

    /* Shadows */
    --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);
}

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

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

body {
    font-family: var(--font-secondary);
    color: var(--dark);
    background-color: var(--background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

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

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

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

.section--dark {
    background-color: var(--dark);
    color: var(--white);
}

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

.section-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

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

.section--dark .section-subtitle {
    color: var(--gray-light);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition-normal);
    text-align: center;
}

.btn--primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

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

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

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

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background-color: rgba(26, 26, 26, 0.98);
}

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

.navbar__logo {
    font-family: var(--font-primary);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
}

.navbar__menu {
    display: flex;
    gap: 2rem;
}

.navbar__link {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.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;
    padding: 5px;
}

.navbar__toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    border-radius: 3px;
    transition: var(--transition-normal);
}

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

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

.hero__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(196, 30, 58, 0.4) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.hero__title {
    font-family: var(--font-primary);
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease;
}

.hero__subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

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

.star {
    font-size: 1.5rem;
    color: var(--gray-light);
}

.star.filled {
    color: var(--accent-color);
}

.star.half {
    background: linear-gradient(90deg, var(--accent-color) 50%, var(--gray-light) 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about__description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about__highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.highlight-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.highlight-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.highlight-text p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ==========================================
   FEATURES SECTION
   ========================================== */
.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--dark-alt);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.feature-card__icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.feature-card__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.feature-card__description {
    color: var(--gray-light);
    line-height: 1.6;
}

/* ==========================================
   AMENITIES SECTION
   ========================================== */
.amenities__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.amenity-group {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.amenity-group__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.amenity-group__text {
    color: var(--gray);
    font-size: 1.125rem;
    font-weight: 500;
}

.amenity-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.amenity-list li {
    color: var(--gray);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ==========================================
   GALLERY SECTION
   ========================================== */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.gallery__item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

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

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

/* ==========================================
   REVIEWS SECTION
   ========================================== */
.reviews__stats {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 4rem;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.reviews__overall {
    text-align: center;
    padding: 1rem;
}

.reviews__score {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.reviews__count {
    margin-top: 1rem;
    color: var(--gray);
}

.reviews__distribution {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.distribution-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.distribution-label {
    min-width: 40px;
    font-weight: 600;
    color: var(--primary-color);
}

.distribution-progress {
    flex: 1;
    height: 12px;
    background-color: var(--gray-light);
    border-radius: 6px;
    overflow: hidden;
}

.distribution-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: width var(--transition-slow);
}

.distribution-count {
    min-width: 40px;
    text-align: right;
    color: var(--gray);
    font-weight: 500;
}

.reviews__carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.reviews__track {
    display: flex;
    transition: transform var(--transition-slow);
}

.review-card {
    min-width: 100%;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.review-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-card__stars {
    display: flex;
    gap: 4px;
}

.review-card__date {
    color: var(--gray);
    font-size: 0.9rem;
}

.review-card__text {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.review-card__details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-detail {
    padding: 0.5rem 1rem;
    background-color: var(--background);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--gray);
}

.review-card__images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.review-card__image {
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.review-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.review-card__image:hover img {
    transform: scale(1.1);
}

.reviews__controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.review-nav {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.review-nav:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact__content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact__item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.contact__subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact__item p {
    color: var(--gray);
    line-height: 1.6;
}

.contact__item a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact__item a:hover {
    color: var(--primary-dark);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background-color: var(--background);
    border-radius: 8px;
    font-size: 0.95rem;
}

.hours-list .day {
    font-weight: 600;
    color: var(--dark);
}

.hours-list .hours {
    color: var(--gray);
}

.hours-list .closed {
    opacity: 0.6;
}

.hours-list .closed .hours {
    color: var(--primary-color);
    font-weight: 600;
}

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

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__title {
    font-family: var(--font-primary);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer__text {
    color: var(--gray-light);
    line-height: 1.6;
}

.footer__subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer__menu {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__menu a {
    color: var(--gray-light);
    transition: var(--transition-fast);
}

.footer__menu a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer__contact p {
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer__contact a {
    color: var(--primary-light);
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-light);
}

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

.lightbox.active {
    display: flex;
}

.lightbox__image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox__close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: var(--white);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: var(--transition-normal);
}

.lightbox__close:hover {
    background-color: var(--primary-color);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: var(--white);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: var(--transition-normal);
}

.lightbox__nav:hover {
    background-color: var(--primary-color);
}

.lightbox__nav--prev {
    left: 2rem;
}

.lightbox__nav--next {
    right: 2rem;
}

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

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* ==========================================
   MEDIA QUERIES
   ========================================== */
@media (max-width: 1023px) {
    .section {
        padding: var(--section-padding-mobile);
    }

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

    .hero__title {
        font-size: 3rem;
    }

    .hero__subtitle {
        font-size: 1.25rem;
    }

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

    .reviews__stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 767px) {
    .navbar__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--dark);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: var(--transition-normal);
    }

    .navbar__menu.active {
        left: 0;
    }

    .navbar__toggle {
        display: flex;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.125rem;
    }

    .hero__buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

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

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

    .lightbox__nav {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .lightbox__nav--prev {
        left: 1rem;
    }

    .lightbox__nav--next {
        right: 1rem;
    }

    .lightbox__close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
}