/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    /* Colors - Casual/Fast Food Theme */
    --primary-color: #e74c3c;
    --primary-dark: #c0392b;
    --primary-light: #f39c12;
    --secondary-color: #2c3e50;
    --accent-color: #f39c12;

    /* Neutral Colors */
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --background-light: #ffffff;
    --background-gray: #f8f9fa;
    --background-dark: #2c3e50;
    --border-color: #e0e0e0;

    /* 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);

    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 0 1.5rem;

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

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

    /* Breakpoints */
    --mobile: 767px;
    --tablet: 1023px;
    --desktop: 1439px;
}

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

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

ul {
    list-style: none;
}

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

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

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

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    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);
}

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

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

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

.nav__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

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

.nav__toggle {
    display: none;
    width: 30px;
    height: 24px;
    position: relative;
}

.nav__toggle-icon,
.nav__toggle-icon::before,
.nav__toggle-icon::after {
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition-normal);
}

.nav__toggle-icon {
    top: 50%;
    transform: translateY(-50%);
}

.nav__toggle-icon::before,
.nav__toggle-icon::after {
    content: '';
    left: 0;
}

.nav__toggle-icon::before {
    top: -8px;
}

.nav__toggle-icon::after {
    top: 8px;
}

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

.nav__link {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

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

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

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

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.8), rgba(44, 62, 80, 0.7));
    z-index: -1;
}

.hero__content {
    text-align: center;
    color: var(--background-light);
    z-index: 1;
    animation: fadeInUp 1s ease;
}

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

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

.hero__stars {
    font-size: 1.5rem;
    color: var(--accent-color);
}

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

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

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

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

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

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.hero__scroll-icon {
    display: block;
    font-size: 2rem;
    color: var(--background-light);
    animation: bounce 2s infinite;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    background: var(--background-light);
}

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

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

.about__text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.about__text p {
    margin-bottom: 1rem;
}

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

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--background-gray);
    border-radius: 10px;
    transition: var(--transition-normal);
}

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

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

.stat__label {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.about__categories {
    text-align: center;
}

.about__categories-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.category-badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--background-light);
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    background: var(--background-gray);
}

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

.feature {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

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

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

.feature__title {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature__description {
    color: var(--text-light);
    line-height: 1.6;
}

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

.gallery__categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.gallery__category-btn {
    padding: 0.75rem 1.5rem;
    background: var(--background-gray);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-normal);
    color: var(--text-dark);
}

.gallery__category-btn:hover,
.gallery__category-btn--active {
    background: var(--primary-color);
    color: var(--background-light);
}

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

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

.gallery__item.hidden {
    display: none;
}

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

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

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

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

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    color: var(--background-light);
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 1rem;
    transition: var(--transition-normal);
    border-radius: 5px;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
    background: rgba(255, 255, 255, 0.3);
}

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

.lightbox__prev {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__next {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

/* ========================================
   REVIEWS SECTION
   ======================================== */
.reviews {
    background: var(--background-gray);
}

.reviews__summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--background-light);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.reviews__summary-score {
    text-align: center;
}

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

.reviews__stars {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin: 0.5rem 0;
}

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

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

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

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

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

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

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

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

.review {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

.review__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.review__stars {
    color: var(--accent-color);
    font-size: 1.2rem;
}

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

.review__badge {
    background: var(--primary-light);
    color: var(--background-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.review__text {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review__details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--background-gray);
    border-radius: 5px;
}

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

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

.review__rating-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: var(--background-gray);
    border-radius: 5px;
}

.review__rating-label {
    font-weight: 600;
    color: var(--text-dark);
}

.review__rating-value {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.review__source {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: 1rem;
}

.review__platform {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
}

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

.contact__content {
    display: grid;
    gap: 3rem;
}

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

.contact__card {
    background: var(--background-gray);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

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

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

.contact__card-title {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact__card-text {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.contact__card-link:hover {
    color: var(--primary-dark);
}

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

.contact__map iframe {
    width: 100%;
    display: block;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--background-dark);
    color: var(--background-light);
    padding: 3rem 0 1rem;
}

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

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

.footer__text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer__rating {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.footer__stars {
    color: var(--accent-color);
}

.footer__subtitle {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--background-light);
}

.footer__links,
.footer__info,
.footer__features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__links a,
.footer__info li,
.footer__features li {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

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

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

.footer__copyright,
.footer__attribution {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--background-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
}

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

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease;
}

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

/* Tablet and below */
@media (max-width: 1023px) {
    .hero__title {
        font-size: 3rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

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

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

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

    .nav__toggle {
        display: block;
    }

    .nav__menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--background-light);
        flex-direction: column;
        padding: 2rem;
        transform: translateX(-100%);
        transition: var(--transition-normal);
        box-shadow: var(--shadow-lg);
    }

    .nav__menu.active {
        transform: translateX(0);
    }

    .hero {
        min-height: 500px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

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

    .section-subtitle {
        font-size: 1rem;
    }

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

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

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

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

    .lightbox__prev {
        left: 1rem;
    }

    .lightbox__next {
        right: 1rem;
    }

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

    .scroll-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}