/* CSS Variables */
:root {
    --primary-color: #d4a574;
    --secondary-color: #8B4513;
    --dark-color: #1a1a1a;
    --light-color: #f5f5f5;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --success-color: #4CAF50;
    --warning-color: #ff9800;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Georgia', serif;
    --font-secondary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --container-max: 1140px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
}

/* Reset/Normalize */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

/* Base Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

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

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

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

address {
    font-style: normal;
}

/* Layout Components */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xxl) 0;
}

.section__header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section__title {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: var(--spacing-sm);
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.nav__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) var(--spacing-md);
}

.nav__brand {
    flex-shrink: 0;
}

.nav__logo {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin: 0;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark-color);
    transition: var(--transition);
}

.nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav__link {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: var(--spacing-xs) 0;
}

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

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

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

.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 1.5s ease-in-out;
}

.hero__slide--active {
    opacity: 1;
}

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

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__content {
    text-align: center;
    color: white;
    padding: var(--spacing-lg);
    animation: fadeInUp 1s ease-out;
}

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

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.hero__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

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

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

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

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

.hero__buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    min-width: 150px;
}

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

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

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

.btn--secondary:hover {
    background: white;
    color: var(--dark-color);
    transform: translateY(-2px);
}

/* About Section */
.about__content {
    display: grid;
    gap: var(--spacing-xl);
}

.about__info {
    display: grid;
    gap: var(--spacing-xl);
}

.about__text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about__text p {
    font-size: 1.125rem;
    line-height: 1.8;
}

.about__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.feature {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--light-color);
    border-radius: 12px;
    transition: var(--transition);
}

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

.feature__icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.feature__title {
    color: var(--dark-color);
    margin-bottom: var(--spacing-sm);
}

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

/* Gallery Section */
.gallery {
    background: var(--light-color);
}

.gallery__categories {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.gallery__filter {
    padding: var(--spacing-xs) var(--spacing-md);
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.gallery__filter:hover,
.gallery__filter--active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

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

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    height: 250px;
    transition: var(--transition);
}

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

.gallery__item.hidden {
    display: none;
}

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

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

/* Reviews Section */
.reviews__summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.reviews__average {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--light-color);
    border-radius: 12px;
}

.reviews__score {
    font-size: 4rem;
    font-weight: bold;
    color: var(--dark-color);
    display: block;
    margin-bottom: var(--spacing-sm);
}

.reviews__stars {
    margin-bottom: var(--spacing-sm);
}

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

.reviews__distribution {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--spacing-sm);
}

.reviews__bar {
    display: grid;
    grid-template-columns: 40px 1fr 30px;
    align-items: center;
    gap: var(--spacing-sm);
}

.reviews__bar-label {
    text-align: right;
    font-size: 0.875rem;
}

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

.reviews__bar-fill {
    height: 100%;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.reviews__carousel {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
}

.reviews__track {
    display: flex;
    gap: var(--spacing-md);
    transition: transform 0.5s ease;
}

.review__card {
    flex: 0 0 100%;
    background: white;
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.review__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.review__rating {
    display: flex;
    gap: 2px;
}

.review__date {
    color: var(--text-light);
    font-size: 0.875rem;
}

.review__text {
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.review__details {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.review__detail {
    font-size: 0.875rem;
    color: var(--text-light);
    padding: 4px 8px;
    background: var(--light-color);
    border-radius: 4px;
}

.review__badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-sm);
}

.review__source {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
}

.review__source-icon {
    width: 20px;
    height: 20px;
}

.review__source-name {
    font-size: 0.875rem;
    color: var(--text-light);
}

.reviews__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.reviews__nav--prev {
    left: 0;
}

.reviews__nav--next {
    right: 0;
}

/* Opening Hours Section */
.hours {
    background: var(--light-color);
}

.hours__content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xl);
    max-width: 800px;
    margin: 0 auto;
}

.hours__schedule {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

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

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

.hours__day--current {
    background: var(--light-color);
    padding: var(--spacing-sm) var(--spacing-md);
    margin: 0 calc(-1 * var(--spacing-lg));
    border-radius: 8px;
    font-weight: 600;
}

.hours__day-name {
    font-weight: 500;
}

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

.hours__status {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hours__status-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-bottom: var(--spacing-sm);
    animation: pulse 2s infinite;
}

.hours__status-indicator.open {
    background: var(--success-color);
}

.hours__status-indicator.closed {
    background: #f44336;
}

.hours__status-text {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.hours__update {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Contact Section */
.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact__item {
    display: flex;
    gap: var(--spacing-md);
}

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

.contact__label {
    margin-bottom: var(--spacing-xs);
    color: var(--dark-color);
}

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

.contact__neighborhood,
.contact__coordinates {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: var(--spacing-xs);
}

.contact__link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: underline;
    margin-bottom: var(--spacing-xs);
}

.contact__link:hover {
    color: var(--secondary-color);
}

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

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

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

.footer__title {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.footer__heading {
    color: white;
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
}

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

.footer__list {
    list-style: none;
}

.footer__list li {
    margin-bottom: var(--spacing-xs);
}

.footer__link {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer__copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer__google {
    color: var(--primary-color);
    text-decoration: underline;
}

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* Utilities */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* Media Queries */
@media (max-width: 1024px) {
    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.25rem;
    }

    .section__title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav__menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    /* Hero */
    .hero {
        height: 80vh;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

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

    /* About */
    .about__features {
        grid-template-columns: 1fr;
    }

    /* Gallery */
    .gallery__grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

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

    .reviews__carousel {
        padding: 0;
    }

    .reviews__nav {
        display: none;
    }

    /* Hours */
    .hours__content {
        grid-template-columns: 1fr;
    }

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

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

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    .section {
        padding: var(--spacing-xl) 0;
    }

    .hero__title {
        font-size: 1.75rem;
    }

    .btn {
        min-width: 120px;
        padding: var(--spacing-xs) var(--spacing-md);
    }

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

/* Print Styles */
@media print {
    .nav,
    .hero__buttons,
    .gallery__categories,
    .reviews__nav,
    .footer {
        display: none;
    }

    .hero {
        height: auto;
        margin-top: 0;
    }

    .section {
        padding: var(--spacing-lg) 0;
    }

    .contact__map {
        display: none;
    }
}