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

/* CSS Variables */
:root {
    --primary-color: #d32f2f;
    --primary-dark: #9a0007;
    --primary-light: #ff6659;
    --secondary-color: #ffa000;
    --secondary-dark: #c67100;
    --secondary-light: #ffd149;
    --text-primary: #212121;
    --text-secondary: #757575;
    --text-light: #ffffff;
    --background-light: #f5f5f5;
    --background-white: #ffffff;
    --border-color: #e0e0e0;
    --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-speed: 0.3s;
    --border-radius: 8px;
    --max-width: 1140px;
}

/* Base Typography */
html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

p {
    margin-bottom: 1rem;
}

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

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

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

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

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

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

.navbar__brand {
    flex-shrink: 0;
}

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

.navbar__toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.navbar__toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-speed);
    border-radius: 2px;
}

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

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

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

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    overflow: hidden;
}

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

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: subtle-zoom 20s ease-in-out infinite alternate;
}

@keyframes subtle-zoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.8), rgba(255, 160, 0, 0.7));
}

.hero__content {
    position: relative;
    text-align: center;
    color: var(--text-light);
    z-index: 1;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

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

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

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

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

.rating__stars {
    display: flex;
    gap: 0.25rem;
}

.star {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.3);
}

.star.filled {
    color: #ffd700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.rating__text {
    font-size: 1rem;
    opacity: 0.9;
}

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

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

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

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

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

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

/* Section Styles */
section {
    padding: 4rem 0;
}

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

.section-title {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

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

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

/* About Section */
.about {
    background: var(--background-light);
}

.about__content {
    display: grid;
    gap: 2rem;
}

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

.info-card {
    background: var(--background-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed);
    text-align: center;
}

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

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

.info-card__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.info-card__list {
    list-style: none;
    padding: 0;
}

.info-card__list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.info-card__list li:last-child {
    border-bottom: none;
}

.info-card__text {
    font-size: 1.125rem;
    color: var(--text-primary);
    font-weight: 600;
}

/* Hours Section */
.hours__content {
    max-width: 600px;
    margin: 0 auto;
}

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

.hours__day {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-speed);
}

.hours__day:hover {
    background: var(--background-light);
}

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

.hours__day--weekend {
    background: #fff3e0;
}

.hours__day-name {
    font-weight: 600;
    color: var(--text-primary);
}

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

.hours__status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-indicator.open {
    background: #4caf50;
}

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

@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); }
}

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

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

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

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

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

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

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

.lightbox.active {
    display: flex;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 3rem;
    color: var(--text-light);
    cursor: pointer;
    transition: opacity var(--transition-speed);
}

.lightbox__close:hover {
    opacity: 0.7;
}

.lightbox__image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: fadeIn 0.3s ease-out;
}

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

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.lightbox__prev,
.lightbox__next {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.lightbox__prev:hover,
.lightbox__next:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Reviews */
.reviews__summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--background-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.reviews__rating {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.reviews__stars {
    margin-bottom: 0.5rem;
}

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

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

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

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

.distribution__bar {
    flex: 1;
    height: 20px;
    background: var(--background-light);
    border-radius: 10px;
    overflow: hidden;
}

.distribution__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    transition: width 1s ease-out;
}

.distribution__count {
    min-width: 30px;
    text-align: right;
    color: var(--text-secondary);
}

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

.review-card {
    background: var(--background-white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed);
}

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

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

.review-card__rating {
    display: flex;
    gap: 0.125rem;
}

.review-card__rating .star {
    font-size: 1rem;
    color: #ffd700;
}

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

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

.review-card__context {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.context-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--background-light);
    border-radius: 15px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

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

.review-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-speed);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Order Section */
.order {
    background: var(--background-light);
}

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

.order-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--background-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-speed);
    cursor: pointer;
}

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

.order-card__logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.order-card__action {
    color: var(--text-secondary);
    font-weight: 600;
    transition: color var(--transition-speed);
}

.order-card:hover .order-card__action {
    color: var(--primary-color);
}

.order__phone {
    text-align: center;
}

.order__text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.order__call-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: var(--border-radius);
    font-size: 1.25rem;
    font-weight: 600;
    transition: all var(--transition-speed);
    box-shadow: var(--shadow-md);
}

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

.phone-icon {
    font-size: 1.5rem;
}

/* Contact Section */
.contact__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

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

.contact__item {
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
}

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

.contact__address {
    font-style: normal;
    line-height: 1.8;
    color: var(--text-primary);
}

.contact__directions {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.contact__directions:hover {
    text-decoration: underline;
}

.contact__phone {
    display: block;
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 600;
}

.popular-times__current {
    padding: 0.5rem 1rem;
    background: #e8f5e9;
    border-radius: var(--border-radius);
    color: #2e7d32;
    font-weight: 500;
}

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

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

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

.footer__brand {
    margin-bottom: 1rem;
}

.footer__title {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

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

.footer__heading {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer__links {
    list-style: none;
    padding: 0;
}

.footer__links li {
    margin-bottom: 0.5rem;
}

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

.footer__links a:hover {
    color: var(--text-light);
}

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

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

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

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

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

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

/* Media Queries */
@media (max-width: 1024px) {
    .container {
        max-width: 960px;
    }

    .hero__title {
        font-size: 2.5rem;
    }

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

@media (max-width: 768px) {
    .container {
        max-width: 720px;
    }

    .navbar__toggle {
        display: flex;
    }

    .navbar__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--background-white);
        flex-direction: column;
        padding: 2rem;
        transition: left var(--transition-speed);
        box-shadow: var(--shadow-lg);
    }

    .navbar__menu.active {
        left: 0;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

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

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

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

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }

    .hero {
        min-height: 500px;
    }

    .hero__buttons {
        flex-direction: column;
        width: 100%;
    }

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

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

    .info-card {
        padding: 1.5rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--text-light);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Accessibility */
:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Print Styles */
@media print {
    .navbar,
    .hero__buttons,
    .order,
    .scroll-top,
    .lightbox {
        display: none;
    }

    body {
        color: black;
    }

    a {
        color: black;
        text-decoration: underline;
    }
}