/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
    /* Colors - Fast Food Energy */
    --primary: #ff6b35;
    --primary-dark: #e74c3c;
    --primary-light: #ff8c5a;
    --secondary: #f4a259;
    --accent: #ffd700;
    --dark: #1a1a1a;
    --dark-light: #2d2d2d;
    --gray: #666;
    --gray-light: #999;
    --light: #f8f9fa;
    --white: #ffffff;

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

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

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

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

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

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

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

ul {
    list-style: none;
}

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

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--dark);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: var(--spacing-md) auto 0;
}

/* Stars */
.stars {
    display: inline-flex;
    gap: 2px;
}

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

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

.star.half {
    background: linear-gradient(90deg, var(--accent) 50%, #ddd 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stars--large .star {
    font-size: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

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

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

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

.btn--large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

/* Badges & Pills */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--light);
    color: var(--gray);
    border-radius: 20px;
    font-size: 0.875rem;
    margin-right: 0.5rem;
}

.pill {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--primary-light);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.875rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

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

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

.nav__brand {
    display: flex;
    flex-direction: column;
}

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

.nav__subtitle {
    font-size: 0.875rem;
    color: var(--gray);
}

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

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

.nav__menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav__link {
    color: var(--dark);
    font-weight: 500;
    position: relative;
}

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

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

.nav__link--cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 0.625rem 1.5rem;
    border-radius: var(--border-radius);
}

.nav__link--cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav__link--cta::after {
    display: none;
}

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

.hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero__slide.active {
    opacity: 1;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7), rgba(255, 107, 53, 0.3));
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: var(--spacing-md);
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero__subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: var(--spacing-md);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero__rating {
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero__rating-text {
    display: inline-block;
    margin-left: var(--spacing-sm);
    font-size: 1.125rem;
}

.hero__buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

.hero__scroll-arrow {
    width: 24px;
    height: 24px;
    border-left: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(-45deg);
}

/* ==========================================
   FEATURES SECTION
   ========================================== */
.features {
    padding: var(--spacing-xl) 0;
    background: var(--light);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

.feature-card__icon {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
}

.feature-card__title {
    font-size: 1.375rem;
    color: var(--dark);
    margin-bottom: var(--spacing-xs);
}

.feature-card__text {
    color: var(--gray);
    line-height: 1.6;
}

/* ==========================================
   HIGHLIGHTS SECTION
   ========================================== */
.highlights {
    padding: var(--spacing-xl) 0;
}

.highlights__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    align-items: center;
}

.highlights__title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-md);
    color: var(--dark);
}

.highlights__list {
    display: grid;
    gap: var(--spacing-sm);
}

.highlights__item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.125rem;
}

.highlights__icon {
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: bold;
}

.highlights__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
}

.stat-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.stat-card__number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

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

/* ==========================================
   GALLERY SECTION
   ========================================== */
.gallery {
    padding: var(--spacing-xl) 0;
    background: var(--light);
}

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

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

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

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

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

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

/* ==========================================
   REVIEWS SECTION
   ========================================== */
.reviews {
    padding: var(--spacing-xl) 0;
}

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

.reviews__rating {
    text-align: center;
}

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

.reviews__count {
    display: block;
    color: var(--gray);
    margin-top: var(--spacing-xs);
}

.reviews__distribution {
    display: grid;
    gap: var(--spacing-xs);
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.rating-bar__label {
    min-width: 40px;
    font-weight: 600;
}

.rating-bar__track {
    flex: 1;
    height: 12px;
    background: var(--light);
    border-radius: 6px;
    overflow: hidden;
}

.rating-bar__fill {
    height: 100%;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: width 0.5s ease;
}

.rating-bar__count {
    min-width: 30px;
    text-align: right;
    color: var(--gray);
}

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

.review-card {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    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: var(--spacing-sm);
}

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

.review-card__text {
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
    color: var(--dark);
}

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

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

.reviews__controls {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

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

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

/* ==========================================
   ORDER SECTION
   ========================================== */
.order {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.order__content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.order__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--spacing-sm);
}

.order__text {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.order__icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

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

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

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact {
    padding: var(--spacing-xl) 0;
    background: var(--light);
}

.contact__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.contact__info {
    display: grid;
    gap: var(--spacing-md);
}

.info-card {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.info-card__icon {
    font-size: 2.5rem;
}

.info-card__title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.info-card__text {
    color: var(--gray);
    line-height: 1.6;
}

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

.info-card__text a:hover {
    text-decoration: underline;
}

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

.map-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.map-link {
    display: block;
    position: relative;
}

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

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 107, 53, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.map-link:hover .map-overlay {
    opacity: 1;
}

.map-overlay__text {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
}

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

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

.footer__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.footer__text {
    color: var(--gray-light);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.footer__rating {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

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

.footer__links,
.footer__contacts,
.footer__hours {
    display: grid;
    gap: 0.75rem;
}

.footer__links a {
    color: var(--gray-light);
    transition: var(--transition);
}

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

.footer__contacts li,
.footer__hours li {
    color: var(--gray-light);
}

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

.footer__contacts a:hover {
    text-decoration: underline;
}

.footer__bottom {
    border-top: 1px solid var(--dark-light);
    padding-top: var(--spacing-md);
    text-align: center;
}

.footer__copyright,
.footer__credits {
    color: var(--gray-light);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* ==========================================
   LIGHTBOX MODAL
   ========================================== */
.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;
    padding: var(--spacing-md);
}

.lightbox.active {
    display: flex;
}

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

.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

.lightbox__arrow:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox__arrow--prev {
    left: 2rem;
}

.lightbox__arrow--next {
    right: 2rem;
}

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

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

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1023px) {
    :root {
        --spacing-xl: 4rem;
        --spacing-lg: 3rem;
    }
}

@media (max-width: 767px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
        --spacing-md: 1.5rem;
    }

    /* Navigation */
    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .nav__menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav__item {
        width: 100%;
    }

    .nav__link {
        display: block;
        padding: 0.75rem;
        text-align: center;
    }

    .nav__link--cta {
        margin-top: var(--spacing-sm);
    }

    /* Hero */
    .hero {
        margin-top: 70px;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

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

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

    .reviews__arrow {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    /* Lightbox */
    .lightbox__close,
    .lightbox__arrow {
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }

    .lightbox__arrow--prev {
        left: 1rem;
    }

    .lightbox__arrow--next {
        right: 1rem;
    }

    .lightbox__close {
        top: 1rem;
        right: 1rem;
    }
}

@media (max-width: 374px) {
    .nav__logo {
        font-size: 1.25rem;
    }

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

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1.125rem;
    }
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 2px solid var(--primary);
    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-width: 0;
}