/* CSS Variables */
:root {
    --primary-color: #8b4513;
    --secondary-color: #d2691e;
    --accent-color: #ffa500;
    --text-primary: #2c1810;
    --text-secondary: #5a4a42;
    --background: #faf8f5;
    --background-light: #ffffff;
    --border-color: #e8e0d5;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    overflow-x: hidden;
}

/* Base Styles */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

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

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

.section {
    padding: 80px 0;
}

.section__header {
    text-align: center;
    margin-bottom: 48px;
}

.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-family: 'Georgia', serif;
}

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

/* Navigation */
.navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--background-light);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

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

.nav__brand {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.nav__logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    font-family: 'Georgia', serif;
}

.nav__tagline {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

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

.nav__toggle span {
    width: 24px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

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

.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;
    margin-top: 68px;
    overflow: hidden;
}

.hero__slider {
    position: relative;
    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;
}

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

.hero__content {
    text-align: center;
    color: white;
    animation: fadeInUp 1s ease-out;
}

.hero__title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-family: 'Georgia', serif;
}

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

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

.badge {
    padding: 8px 16px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-weight: 500;
}

.badge--24h {
    background: rgba(255,165,0,0.9);
}

.badge--rating {
    background: rgba(139,69,19,0.9);
}

.badge--price {
    background: rgba(210,105,30,0.9);
}

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

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

.hero__nav:hover {
    background: rgba(0,0,0,0.5);
}

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

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

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
    text-align: center;
}

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

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

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

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

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

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

/* About Section */
.about__content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}

.about__text p {
    margin-bottom: 16px;
    font-size: 1.125rem;
    line-height: 1.8;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.stat {
    text-align: center;
    padding: 16px;
    background: var(--background-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.stat__number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat__label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.about__live {
    background: var(--background-light);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.live-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.live-status__indicator {
    width: 12px;
    height: 12px;
    background: #00c851;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.live-status__text {
    font-weight: 600;
    color: #00c851;
}

.live-traffic__label {
    font-weight: 600;
    margin-bottom: 8px;
}

.live-traffic__status {
    color: var(--text-secondary);
    margin-bottom: 12px;
}

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

.live-traffic__level {
    height: 100%;
    background: var(--accent-color);
    transition: width 0.5s ease;
}

/* Features Section */
.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--background-light);
    padding: 32px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

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

.feature-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card__description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Gallery Section */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
}

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

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

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

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.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: white;
}

.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: white;
    padding: 20px;
}

.lightbox__prev {
    left: 20px;
}

.lightbox__next {
    right: 20px;
}

/* Reviews Section */
.reviews__summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    max-width: 800px;
    margin: 0 auto 48px;
}

.rating-summary {
    text-align: center;
    background: var(--background-light);
    padding: 24px;
    border-radius: var(--border-radius);
}

.rating-summary__score {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}

.rating-summary__stars {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin: 8px 0;
}

.rating-summary__count {
    color: var(--text-secondary);
}

.rating-distribution {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rating-bar {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    gap: 12px;
}

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

.rating-bar__fill {
    height: 100%;
    background: var(--accent-color);
}

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

.review-card {
    background: var(--background-light);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.review-card__rating {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.review-card__text {
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.review-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.review-card__badge {
    background: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
}

.reviews__nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.reviews__prev,
.reviews__next {
    width: 48px;
    height: 48px;
    background: var(--background-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.reviews__prev:hover,
.reviews__next:hover {
    background: var(--primary-color);
    color: white;
}

/* Hours Section */
.hours__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.hours__schedule {
    background: var(--background-light);
    border-radius: var(--border-radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

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

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

.hours__day--active {
    font-weight: 600;
}

.hours__day--active .hours__day-time {
    color: #00c851;
}

.hours__traffic {
    background: var(--background-light);
    border-radius: var(--border-radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.hours__traffic-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.traffic-chart {
    height: 150px;
    display: flex;
    align-items: flex-end;
    gap: 2px;
    margin-bottom: 20px;
}

.traffic-bar {
    flex: 1;
    background: var(--border-color);
    border-radius: 2px 2px 0 0;
    transition: var(--transition);
}

.traffic-bar:hover {
    background: var(--accent-color);
}

.hours__traffic-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Contact Section */
.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact__item {
    background: var(--background-light);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.contact__label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.contact__item address {
    font-style: normal;
    line-height: 1.6;
}

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

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

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

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 48px 0 24px;
}

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

.footer__brand h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-family: 'Georgia', serif;
}

.footer__brand p {
    opacity: 0.8;
}

.footer__quick h4,
.footer__tags h4 {
    font-size: 1.125rem;
    margin-bottom: 16px;
}

.footer__quick ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__quick a {
    opacity: 0.8;
}

.footer__quick a:hover {
    opacity: 1;
}

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

.tag {
    padding: 4px 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    font-size: 0.875rem;
    opacity: 0.8;
}

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

.footer__plus-code {
    opacity: 0.6;
    font-size: 0.875rem;
}

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

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

/* Media Queries */
@media (max-width: 1023px) {
    .section__title {
        font-size: 2rem;
    }

    .hero__title {
        font-size: 3rem;
    }

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

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

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

    .nav__menu {
        position: fixed;
        top: 68px;
        left: -100%;
        width: 100%;
        background: var(--background-light);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        transition: var(--transition);
    }

    .nav__menu.active {
        left: 0;
    }

    .hero {
        height: 70vh;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1.125rem;
    }

    .hero__badges {
        flex-wrap: wrap;
    }

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

    .section {
        padding: 60px 0;
    }

    .section__title {
        font-size: 1.75rem;
    }

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

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

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

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