/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
    /* Colors - Casual Snack Bar Theme */
    --primary-color: #d4573b;
    --primary-dark: #b54432;
    --primary-light: #e67a5f;
    --secondary-color: #f4a261;
    --accent-color: #e76f51;

    --text-dark: #2d2d2d;
    --text-medium: #5a5a5a;
    --text-light: #8a8a8a;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gray: #f1f3f5;

    --border-color: #e0e0e0;
    --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);

    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: Georgia, 'Times New Roman', serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-max-width: 1140px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

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

.section {
    padding: var(--section-padding);
}

.section--gray {
    background-color: var(--bg-gray);
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--text-dark);
    margin-bottom: 15px;
}

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

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
}

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

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

.navbar__logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

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

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

.navbar__menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.navbar__link {
    font-weight: 500;
    color: var(--text-medium);
    position: relative;
    padding: 5px 0;
}

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

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

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

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

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

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

@keyframes zoomIn {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.7), rgba(212, 87, 59, 0.4));
}

.hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--bg-white);
    animation: fadeInUp 1s ease-out;
}

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

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 20px;
    opacity: 0.95;
    font-style: italic;
}

.hero__description {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 25px;
    opacity: 0.9;
}

.hero__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

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

.star {
    font-size: 1.2rem;
    color: #ffd700;
}

.star.filled {
    color: #ffd700;
}

.star.partial {
    background: linear-gradient(90deg, #ffd700 50%, rgba(255, 255, 255, 0.3) 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.star.empty {
    color: rgba(255, 255, 255, 0.3);
}

.hero__rating-text {
    font-size: 1rem;
    opacity: 0.95;
}

.hero__buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    display: inline-block;
}

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

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

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

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

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

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

.about__description {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: center;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

.stat-card__icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.stat-card__number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-card__label {
    font-size: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================
   FEATURES SECTION
   ========================================== */
.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-white);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

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

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

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

/* ==========================================
   GALLERY SECTION
   ========================================== */
.gallery__filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery__filter {
    padding: 10px 25px;
    border-radius: 25px;
    background: var(--bg-white);
    color: var(--text-medium);
    font-weight: 500;
    transition: var(--transition-normal);
    border: 2px solid var(--border-color);
}

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

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

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: var(--transition-normal);
}

.gallery__item.hidden {
    display: none;
}

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

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

.gallery__item::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 2;
}

.gallery__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(212, 87, 59, 0.7);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 1;
}

.gallery__item:hover::before,
.gallery__item:hover::after {
    opacity: 1;
}

/* ==========================================
   REVIEWS SECTION
   ========================================== */
.reviews__summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.reviews__overall {
    text-align: center;
}

.reviews__score {
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stars--large {
    font-size: 1.5rem;
    justify-content: center;
    margin-bottom: 10px;
}

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

.reviews__distribution {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-bar__label {
    min-width: 40px;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.rating-bar__track {
    flex: 1;
    height: 8px;
    background: var(--bg-gray);
    border-radius: 10px;
    overflow: hidden;
}

.rating-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    transition: width var(--transition-slow);
}

.rating-bar__count {
    min-width: 30px;
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-light);
}

.reviews__slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.review-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    transition: var(--transition-normal);
}

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

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

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

.review-card__text {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 15px;
}

.review-card__images {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.review-card__image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.review-card__image:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.reviews__controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.reviews__arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--bg-white);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

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

/* ==========================================
   HOURS SECTION
   ========================================== */
.hours__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
}

.hours__schedule {
    background: var(--bg-white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

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

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

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

.hours__day-time {
    color: var(--text-medium);
}

.hours__chart {
    background: var(--bg-white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.hours__chart-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.hours__chart-subtitle {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

#popular-times-chart {
    max-width: 100%;
    height: 250px;
}

.hours__chart-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.hours__chart-legend-item::before {
    content: '•';
    color: var(--primary-color);
    margin-right: 8px;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

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

.contact__item {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

.contact__icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact__label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.contact__text {
    color: var(--text-medium);
    line-height: 1.6;
}

.contact__link {
    color: var(--primary-color);
    font-weight: 500;
}

.contact__link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact__status {
    font-weight: 600;
}

.contact__status.open {
    color: #28a745;
}

.contact__status.closed {
    color: #dc3545;
}

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

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 20px;
}

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

.footer__title {
    color: var(--bg-white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer__text {
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__link {
    transition: var(--transition-normal);
}

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

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

.footer__copyright {
    font-size: 0.9rem;
}

/* ==========================================
   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: 90%;
    object-fit: contain;
    animation: zoomInLightbox 0.3s ease-out;
}

@keyframes zoomInLightbox {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox__close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    color: var(--bg-white);
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.lightbox__close:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
}

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

.lightbox__prev {
    left: 30px;
}

.lightbox__next {
    right: 30px;
}

.lightbox__prev:hover,
.lightbox__next:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

/* ==========================================
   UTILITIES
   ========================================== */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

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

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================
   MEDIA QUERIES
   ========================================== */

/* Tablet */
@media (max-width: 1023px) {
    .navbar__menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 70%;
        max-width: 300px;
        height: calc(100vh - 60px);
        background: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition-normal);
        gap: 20px;
    }

    .navbar__menu.active {
        left: 0;
    }

    .navbar__toggle {
        display: flex;
    }

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

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

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

/* Mobile */
@media (max-width: 767px) {
    :root {
        --section-padding: 60px 0;
    }

    .hero {
        min-height: 500px;
    }

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

    .btn {
        text-align: center;
    }

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

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

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

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

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

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

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

    .lightbox__prev,
    .lightbox__next {
        width: 45px;
        height: 45px;
        font-size: 2rem;
    }

    .lightbox__prev {
        left: 10px;
    }

    .lightbox__next {
        right: 10px;
    }

    .lightbox__close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
}

/* Wide Desktop */
@media (min-width: 1440px) {
    :root {
        --container-max-width: 1320px;
    }
}