/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #d4a574;
    --primary-dark: #b88a5f;
    --secondary-color: #2c2c2c;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-white: #ffffff;
    --bg-light: #f8f8f8;
    --bg-dark: #1a1a1a;
    --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);
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1140px;
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--text-white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 600;
    line-height: 1.2;
}

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

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

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

ul {
    list-style: none;
}

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

.section {
    padding: 80px 0;
}

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

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    transition: var(--transition-smooth);
    cursor: pointer;
}

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

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

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

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

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    z-index: 1000;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
}

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

.navbar__title {
    font-size: 1.5rem;
    color: var(--primary-color);
}

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

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

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

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

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

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

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 60px;
}

.hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero__slide.active {
    opacity: 1;
}

.hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.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.6));
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-white);
    padding: 0 20px;
}

.hero__title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.9);
}

.hero__rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

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

.star {
    color: #ddd;
    font-size: 1.5rem;
}

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

.star.half {
    background: linear-gradient(to right, var(--primary-color) 50%, #ddd 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rating__text {
    font-size: 1.1rem;
}

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

.hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255,255,255,0.2);
    color: var(--text-white);
    font-size: 3rem;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    transition: var(--transition-fast);
    backdrop-filter: blur(5px);
}

.hero__nav:hover {
    background: rgba(255,255,255,0.3);
}

.hero__nav--prev {
    left: 20px;
}

.hero__nav--next {
    right: 20px;
}

/* ===== FEATURES ===== */
.features {
    background: var(--bg-light);
    padding: 60px 0;
}

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

.feature {
    text-align: center;
    padding: 2rem;
    background: var(--text-white);
    border-radius: 8px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

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

.feature__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature__title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature__text {
    color: var(--text-light);
}

/* ===== ABOUT ===== */
.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__subtitle {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about__text {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about__amenities,
.about__pricing {
    margin-bottom: 2rem;
}

.amenities__title,
.pricing__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.amenities__list {
    display: grid;
    gap: 0.75rem;
}

.amenity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.amenity__icon {
    font-size: 1.5rem;
}

.pricing__text {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
}

.about__image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about__image:hover img {
    transform: scale(1.05);
}

/* ===== GALLERY ===== */
.gallery {
    background: var(--bg-light);
}

.gallery__filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery__filter {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    background: var(--text-white);
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition-fast);
    border: 2px solid transparent;
}

.gallery__filter:hover {
    border-color: var(--primary-color);
}

.gallery__filter.active {
    background: var(--primary-color);
    color: var(--text-white);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

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

.gallery__item.hidden {
    display: none;
}

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

.gallery__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

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

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 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: 90vh;
    object-fit: contain;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 3rem;
    color: var(--text-white);
    cursor: pointer;
    z-index: 2001;
    transition: var(--transition-fast);
}

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

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: var(--text-white);
    background: rgba(255,255,255,0.1);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 2001;
}

.lightbox__nav:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox__nav--prev {
    left: 40px;
}

.lightbox__nav--next {
    right: 40px;
}

/* ===== REVIEWS ===== */
.reviews__summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.summary__rating {
    text-align: center;
}

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

.summary__count {
    color: var(--text-light);
    margin-top: 0.5rem;
}

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

.distribution__bar {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    gap: 1rem;
}

.bar__label {
    font-weight: 600;
}

.bar__fill {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.bar__progress {
    height: 100%;
    background: var(--primary-color);
    transition: width 0.5s ease;
}

.bar__count {
    text-align: right;
    color: var(--text-light);
}

.reviews__carousel {
    position: relative;
}

.reviews__slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
}

.reviews__slider::-webkit-scrollbar {
    height: 8px;
}

.reviews__slider::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 4px;
}

.reviews__slider::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.review-card {
    flex: 0 0 calc(50% - 1rem);
    background: var(--text-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    scroll-snap-align: start;
}

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

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

.review-card__text {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.review-card__ratings,
.review-card__context {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.rating-badge,
.context-badge {
    padding: 0.4rem 0.8rem;
    background: var(--bg-light);
    border-radius: 4px;
    font-size: 0.85rem;
}

.review-card__image {
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.review-card__image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.carousel__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--text-white);
    color: var(--primary-color);
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.carousel__nav:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.carousel__nav--prev {
    left: -25px;
}

.carousel__nav--next {
    right: -25px;
}

/* ===== HOURS ===== */
.hours {
    background: var(--bg-light);
}

.hours__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.hours__subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hours__list {
    background: var(--text-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.hours__item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.hours__item:last-child {
    border-bottom: none;
}

.hours__item--special {
    color: var(--primary-color);
    font-weight: 600;
}

.hours__day {
    font-weight: 600;
}

.hours__time {
    color: var(--text-light);
}

.hours__order-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.order-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 4px;
    transition: var(--transition-smooth);
    font-weight: 500;
}

.order-link:hover {
    background: var(--primary-dark);
    transform: translateX(5px);
}

.order-link__icon {
    font-size: 1.5rem;
}

.popular-times {
    background: var(--text-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.popular-times__title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.popular-times__chart {
    margin-bottom: 1rem;
}

.popular-times__legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.legend__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.legend__color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.legend__color--low {
    background: #90ee90;
}

.legend__color--medium {
    background: #ffd700;
}

.legend__color--high {
    background: #ff6b6b;
}

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

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

.info-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
}

.info-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.info-card__text {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-link {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-link:hover {
    text-decoration: underline;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.payment-badge {
    padding: 0.5rem 1rem;
    background: var(--text-white);
    border-radius: 4px;
    font-size: 0.9rem;
}

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

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 4rem 0 2rem;
}

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

.footer__title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer__subtitle {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

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

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__links a,
.footer__contact li {
    color: rgba(255,255,255,0.7);
    transition: var(--transition-fast);
}

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

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

.footer__delivery {
    display: flex;
    gap: 1rem;
}

.delivery-badge {
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    border-radius: 4px;
    transition: var(--transition-fast);
}

.delivery-badge:hover {
    background: var(--primary-dark);
}

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

.footer__copyright {
    color: rgba(255,255,255,0.5);
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

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

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

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

    .review-card {
        flex: 0 0 100%;
    }

    .carousel__nav {
        display: none;
    }
}

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

    .navbar__menu.active {
        left: 0;
    }

    .navbar__toggle {
        display: flex;
    }

    .hero {
        margin-top: 60px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1.1rem;
    }

    .hero__buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    .hero__nav {
        font-size: 2rem;
        padding: 0.5rem 1rem;
    }

    .hero__nav--prev {
        left: 10px;
    }

    .hero__nav--next {
        right: 10px;
    }

    .section {
        padding: 60px 0;
    }

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

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

    .lightbox__close,
    .lightbox__nav {
        font-size: 2rem;
        padding: 0.5rem 1rem;
    }

    .lightbox__close {
        top: 10px;
        right: 20px;
    }

    .lightbox__nav--prev {
        left: 20px;
    }

    .lightbox__nav--next {
        right: 20px;
    }

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

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

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

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Loading animation for images */
.gallery__item img,
.about__image img {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.gallery__item img[src],
.about__image img[src] {
    animation: none;
    background: none;
}

/* Print styles */
@media print {
    .navbar,
    .hero__nav,
    .scroll-top,
    .lightbox,
    .carousel__nav {
        display: none !important;
    }

    .section {
        page-break-inside: avoid;
    }
}