/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    /* Colors - Fast Food Theme */
    --primary-color: #d32f2f;
    --primary-dark: #b71c1c;
    --primary-light: #ff6659;
    --secondary-color: #ffa000;
    --secondary-dark: #f57c00;
    --secondary-light: #ffd149;

    /* Neutral Colors */
    --dark: #1a1a1a;
    --dark-gray: #2c2c2c;
    --gray: #757575;
    --light-gray: #e0e0e0;
    --lighter-gray: #f5f5f5;
    --white: #ffffff;

    /* Typography */
    --font-heading: 'Georgia', serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

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

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

    /* Shadows */
    --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);
    --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.25);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Container */
    --container-mobile: calc(100% - 40px);
    --container-tablet: 720px;
    --container-desktop: 960px;
    --container-wide: 1140px;
}

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

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

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

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

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

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

ul {
    list-style: none;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

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

/* ========================================
   LAYOUT COMPONENTS
   ======================================== */
.container {
    width: 100%;
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
}

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

.section-title {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: all var(--transition-normal);
}

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

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

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

.navbar__toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: var(--spacing-xs);
    z-index: 1001;
}

.navbar__toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    transition: all var(--transition-fast);
    border-radius: var(--radius-full);
}

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

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

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

.navbar__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    display: flex;
    flex-direction: column;
    padding: 80px var(--spacing-md) var(--spacing-md);
    gap: var(--spacing-sm);
    transition: right var(--transition-normal);
    box-shadow: var(--shadow-xl);
}

.navbar__menu.active {
    right: 0;
}

.navbar__link {
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    font-weight: 500;
}

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

.navbar__link--cta {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.navbar__link--cta:hover {
    background: var(--primary-dark);
    color: var(--white);
}

@media (min-width: 768px) {
    .navbar__toggle {
        display: none;
    }

    .navbar__menu {
        position: static;
        width: auto;
        height: auto;
        flex-direction: row;
        padding: 0;
        background: transparent;
        box-shadow: none;
        align-items: center;
    }
}

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

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

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

@keyframes slowZoom {
    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(211, 47, 47, 0.7), rgba(255, 160, 0, 0.7));
}

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

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

.hero__title {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: var(--spacing-xs);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

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

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

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

.star--half {
    position: relative;
    overflow: hidden;
}

.star--half::after {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    overflow: hidden;
    color: var(--secondary-color);
}

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

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

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: all var(--transition-fast);
    font-size: 1rem;
}

.btn__icon {
    width: 20px;
    height: 20px;
}

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

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

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

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

.btn--large {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1.1rem;
}

.hero__scroll {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--white);
    animation: bounce 2s ease-in-out infinite;
}

.hero__scroll svg {
    width: 24px;
    height: 24px;
}

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

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    padding: var(--spacing-2xl) 0;
    background: var(--lighter-gray);
}

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

.about__text {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    font-size: 1.1rem;
    color: var(--dark-gray);
}

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

.feature {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

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

.feature__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    padding: var(--spacing-sm);
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature__icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--white);
}

.feature__title {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.feature__text {
    color: var(--gray);
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
    padding: var(--spacing-2xl) 0;
}

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

.service-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 2px solid var(--light-gray);
    transition: all var(--transition-normal);
    text-align: center;
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--spacing-md);
    padding: var(--spacing-sm);
    background: var(--lighter-gray);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.service-card:hover .service-card__icon {
    background: var(--primary-color);
}

.service-card__icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--dark);
    transition: stroke var(--transition-fast);
}

.service-card:hover .service-card__icon svg {
    stroke: var(--white);
}

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

.service-card__text {
    color: var(--gray);
}

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

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

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

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

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

.gallery__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(211, 47, 47, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

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

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

.reviews__summary {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

@media (min-width: 768px) {
    .reviews__summary {
        grid-template-columns: 1fr 2fr;
    }
}

.reviews__score {
    text-align: center;
}

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

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

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

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

.rating-bar__label {
    min-width: 40px;
    font-weight: 600;
    color: var(--dark);
}

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

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

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

.reviews__slider {
    position: relative;
    overflow: hidden;
}

.review-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-md);
    animation: fadeIn 0.5s ease-out;
}

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

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

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

.review-card__text {
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.review-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
}

.review-card__badge {
    padding: 4px 12px;
    background: var(--lighter-gray);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--dark-gray);
}

.review-card__ratings {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    font-size: 0.9rem;
    color: var(--gray);
}

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

.reviews__arrow {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

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

.reviews__arrow svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

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

.contact__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

@media (min-width: 1024px) {
    .contact__container {
        grid-template-columns: 1fr 1fr;
    }
}

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

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

.contact__icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact__icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
}

.contact__details h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.contact__details p,
.contact__details a {
    color: var(--dark-gray);
    margin-bottom: 4px;
}

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

.contact__link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    margin-top: var(--spacing-xs);
}

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

.hours__item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--light-gray);
}

.hours__day {
    font-weight: 500;
}

.hours__time {
    color: var(--gray);
}

.hours__time--closed {
    color: var(--primary-color);
}

.hours__note {
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--white);
    border-radius: var(--radius-md);
    color: var(--gray);
    font-size: 0.9rem;
}

.contact__cta {
    margin-top: var(--spacing-md);
}

.contact__map {
    min-height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

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

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

.footer__brand h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-xs);
}

.footer__brand p {
    color: var(--light-gray);
}

.footer__payment {
    margin-top: var(--spacing-md);
}

.footer__payment span {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--light-gray);
}

.payment-icons {
    display: flex;
    gap: var(--spacing-xs);
}

.payment-icons svg {
    width: 48px;
    height: 32px;
}

.footer__links h4,
.footer__info h4 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.footer__links ul,
.footer__info ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

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

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

.footer__info li {
    color: var(--light-gray);
    font-size: 0.9rem;
}

.footer__bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--dark-gray);
    color: var(--gray);
    font-size: 0.9rem;
}

.footer__location {
    margin-top: var(--spacing-xs);
    color: var(--gray);
}

/* ========================================
   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;
}

.lightbox.active {
    display: flex;
}

.lightbox__close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: var(--radius-full);
    color: var(--dark);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 2001;
}

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

.lightbox__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 2001;
}

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

.lightbox__arrow--prev {
    left: var(--spacing-md);
}

.lightbox__arrow--next {
    right: var(--spacing-md);
}

.lightbox__arrow svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
}

.lightbox__image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    animation: zoomIn 0.3s ease-out;
}

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

.lightbox__counter {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
}

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

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

.slide-up {
    animation: fadeInUp 0.6s ease-out;
}

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

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

/* ========================================
   MEDIA QUERIES
   ======================================== */
@media (max-width: 767px) {
    .hero {
        height: 80vh;
    }

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

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

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

@media (min-width: 768px) and (max-width: 1023px) {
    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
