/* CSS Variables */
:root {
    --color-primary: #d4a574;
    --color-secondary: #2c3e50;
    --color-dark: #1a1a1a;
    --color-light: #f8f9fa;
    --color-text: #333333;
    --color-text-light: #6c757d;
    --color-success: #28a745;
    --color-warning: #ffc107;
    --color-danger: #dc3545;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-heading: 'Georgia', 'Times New Roman', serif;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-max: 1140px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-light);
}

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

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

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

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-primary);
}

.section-subtitle {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.navbar__title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-dark);
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.navbar__toggle-bar {
    width: 25px;
    height: 3px;
    background: var(--color-dark);
    margin: 3px 0;
    transition: var(--transition);
}

.navbar__menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

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

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: 70px;
    overflow: hidden;
}

.hero__background {
    position: absolute;
    inset: 0;
}

.hero__slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero__slide.active {
    opacity: 1;
}

.hero__slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
}

.hero__content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

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

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

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

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

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

.btn--outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 0.6rem 1.8rem;
}

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

/* Quick Info Section */
.quick-info {
    background: white;
    padding: 3rem 0;
    border-bottom: 1px solid #eee;
}

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

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

.quick-info__icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.quick-info__title {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 0.25rem;
}

.quick-info__text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-dark);
}

/* About Section */
.about {
    padding: 5rem 0;
    background: white;
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

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

.about__categories {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: var(--color-primary);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.about__features h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.features-list {
    list-style: none;
}

.features-list__item {
    padding: 0.5rem 0;
    color: var(--color-text);
    position: relative;
    padding-left: 1.5rem;
}

/* Specialties Section */
.specialties {
    padding: 5rem 0;
    background: var(--color-light);
}

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

.specialty-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

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

.specialty-card__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.specialty-card__description {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.specialty-card__tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--color-success);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Gallery Section */
.gallery {
    padding: 5rem 0;
    background: white;
}

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

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    height: 250px;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,0.9);
    animation: fadeIn 0.3s;
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

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

/* Popular Times */
.popular-times {
    padding: 5rem 0;
    background: var(--color-light);
}

.popular-times__live {
    text-align: center;
    margin-bottom: 2rem;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
}

.live-indicator__dot {
    width: 12px;
    height: 12px;
    background: var(--color-danger);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.live-indicator__text {
    font-weight: 600;
    color: var(--color-text);
}

.day-selector {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.day-btn {
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.day-btn.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.histogram {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 200px;
    background: white;
    padding: 1rem;
    border-radius: 10px;
}

.histogram-bar {
    flex: 1;
    background: var(--color-primary);
    margin: 0 2px;
    position: relative;
    transition: var(--transition);
    border-radius: 3px 3px 0 0;
}

.histogram-bar:hover {
    background: #b8935f;
}

.histogram-bar__label {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    white-space: nowrap;
}

/* Reviews Section */
.reviews {
    padding: 5rem 0;
    background: white;
}

.reviews__summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--color-light);
    border-radius: 15px;
}

.reviews__rating {
    text-align: center;
}

.rating-value {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--color-dark);
}

.rating-stars {
    margin: 0.5rem 0;
}

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

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

.star.half {
    position: relative;
    color: #ddd;
}

.star.half::before {
    content: '★';
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: var(--color-warning);
}

.rating-count {
    color: var(--color-text-light);
    font-size: 1rem;
}

.reviews__distribution {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}

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

.distribution-bar {
    flex: 1;
    height: 8px;
    background: #eee;
    border-radius: 4px;
}

.distribution-fill {
    height: 100%;
    background: var(--color-warning);
    border-radius: 4px;
}

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

.review-card {
    background: var(--color-light);
    padding: 1.5rem;
    border-radius: 10px;
    transition: var(--transition);
}

.review-card:hover {
    box-shadow: var(--shadow-md);
}

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

.review-stars .star {
    font-size: 1rem;
}

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

.review-card__content p {
    color: var(--color-text);
    line-height: 1.6;
    font-style: italic;
}

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

.review-badge {
    background: var(--color-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

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

.review-card__ratings {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}

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

.reviews__tags h3 {
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--color-text);
    transition: var(--transition);
}

.tag:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--color-light);
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

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

.contact__item h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

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

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

.opening-hours__row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.payment-icon {
    font-size: 2rem;
    filter: grayscale(0.3);
}

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

/* Similar Places */
.similar-places {
    padding: 5rem 0;
    background: white;
}

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

.place-card {
    padding: 1.5rem;
    background: var(--color-light);
    border-radius: 10px;
    transition: var(--transition);
}

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

.place-card__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.place-card__rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text);
}

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

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

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

.footer__section h3,
.footer__section h4 {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.footer__section ul {
    list-style: none;
}

.footer__section ul li {
    padding: 0.25rem 0;
}

.footer__section a {
    color: rgba(255,255,255,0.8);
}

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

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

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
}

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

.scroll-to-top:hover {
    background: #b8935f;
    transform: translateY(-3px);
}

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

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

/* Media Queries */
@media (max-width: 1023px) {
    .about__content,
    .contact__content {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 767px) {
    .navbar__toggle {
        display: flex;
    }

    .navbar__menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 1rem 0;
        box-shadow: var(--shadow-md);
        transition: left 0.3s;
    }

    .navbar__menu.active {
        left: 0;
    }

    .navbar__item {
        padding: 0.5rem 20px;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

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

    .quick-info__container {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .btn {
        width: 100%;
        text-align: center;
    }
}