/* =================================
   CSS VARIABLES
   ================================= */
:root {
    /* Colors - Fast Food Energy Theme */
    --primary-color: #ff6b35;
    --primary-dark: #d9531a;
    --primary-light: #ff8556;
    --secondary-color: #ffc107;
    --accent-color: #4ecdc4;

    /* Neutrals */
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-white: #ffffff;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;

    /* Borders & Shadows */
    --border-light: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);

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

    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;

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

ul {
    list-style: none;
}

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

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

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

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

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

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

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    text-align: center;
}

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

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

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

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

/* =================================
   NAVIGATION
   ================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    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: 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(--primary-color);
    border-radius: 2px;
    transition: var(--transition-fast);
}

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

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

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

.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;
}

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

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

@keyframes kenBurns {
    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(255, 107, 53, 0.8), rgba(0, 0, 0, 0.6));
    z-index: 2;
}

.hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--text-white);
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    animation: fadeInUp 0.8s ease;
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 25px;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    animation: fadeInUp 1.2s ease 0.4s both;
}

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

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

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

.hero__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1.4s ease 0.6s both;
}

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

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

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

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

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

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

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

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

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

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

/* =================================
   GALLERY SECTION
   ================================= */
.gallery {
    padding: var(--section-padding);
    background: var(--bg-white);
}

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

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.gallery__item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

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

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

/* =================================
   REVIEWS SECTION
   ================================= */
.reviews {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.reviews__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-top: 30px;
}

.reviews__summary {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    height: fit-content;
}

.reviews__score {
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 25px;
}

.reviews__score-number {
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
}

.reviews__stars {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin: 10px 0;
}

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

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

.reviews__bar {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.reviews__bar-label {
    min-width: 40px;
    color: var(--text-light);
}

.reviews__bar-container {
    flex: 1;
    height: 8px;
    background: var(--bg-light);
    border-radius: 4px;
    overflow: hidden;
}

.reviews__bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transition: var(--transition-normal);
}

.reviews__bar-count {
    min-width: 30px;
    text-align: right;
    color: var(--text-light);
}

.reviews__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

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

.review-card__author {
    display: flex;
    gap: 15px;
}

.review-card__author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: bold;
    font-size: 1.2rem;
}

.review-card__author-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.review-card__meta {
    display: flex;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.review-card__platform {
    font-weight: 500;
}

.review-card__rating {
    display: flex;
    gap: 2px;
}

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

.review-card__details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.review-card__badge {
    background: var(--bg-light);
    color: var(--text-light);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.review-card__rating-details {
    display: flex;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
}

.review-card__rating-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.review-card__rating-item span:first-child {
    color: var(--text-light);
}

.review-card__rating-stars {
    display: flex;
    gap: 2px;
}

.review-card__rating-stars .star {
    font-size: 1rem;
}

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

.order .section-title {
    color: var(--text-white);
}

.order .section-title::after {
    background: var(--text-white);
}

.order .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

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

.order__platform {
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 30px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

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

.order__platform-icon {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.order__platform-icon svg {
    width: 100%;
    height: 100%;
}

.order__platform-content {
    flex: 1;
}

.order__platform-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 5px;
}

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

.order__platform-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition-fast);
}

.order__platform:hover .order__platform-arrow {
    transform: translateX(5px);
}

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

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 30px;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact__item {
    display: flex;
    gap: 20px;
    background: var(--bg-white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.contact__item-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.contact__item-title {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact__item-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact__buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.contact__map iframe {
    width: 100%;
    height: 100%;
}

/* =================================
   FOOTER
   ================================= */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 60px 0 30px;
}

.footer__content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer__brand {
    max-width: 400px;
}

.footer__logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.footer__description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

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

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

.footer__rating-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer__column-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-white);
}

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

.footer__link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

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

.footer__text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.footer__copyright {
    color: rgba(255, 255, 255, 0.5);
    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__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.lightbox__close {
    top: 30px;
    right: 30px;
    font-size: 2rem;
}

.lightbox__prev {
    left: 30px;
}

.lightbox__next {
    right: 30px;
}

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

/* =================================
   ANIMATIONS
   ================================= */
.fade-in {
    animation: fadeIn 0.6s ease;
}

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

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

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

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

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

/* =================================
   RESPONSIVE DESIGN
   ================================= */

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

    .hero__subtitle {
        font-size: 1.2rem;
    }

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

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

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

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

    .footer__links {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .navbar__toggle {
        display: flex;
    }

    .navbar__menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition-normal);
    }

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

    .hero {
        min-height: 500px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero__buttons {
        flex-direction: column;
    }

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

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

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

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

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

    .lightbox__close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .lightbox__prev,
    .lightbox__next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .lightbox__prev {
        left: 15px;
    }

    .lightbox__next {
        right: 15px;
    }
}

/* Small Mobile (320px - 480px) */
@media screen and (max-width: 480px) {
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .contact__item {
        flex-direction: column;
        text-align: center;
    }

    .review-card__header {
        flex-direction: column;
        gap: 15px;
    }

    .review-card__rating-details {
        flex-direction: column;
        gap: 10px;
    }
}
