/* ==========================================
   1. CSS VARIABLES
   ========================================== */
:root {
    /* Colors - Fast Food Energy */
    --primary-color: #ff6b35;
    --primary-dark: #cc5528;
    --secondary-color: #ffd23f;
    --accent-color: #2ec4b6;
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #2d2d2d;
    --text-light: #6c757d;
    --border-color: #e0e0e0;

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

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

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;

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

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

ul {
    list-style: none;
}

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

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

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

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

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

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

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

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

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

.navbar__menu {
    display: flex;
    gap: 30px;
}

.navbar__link {
    color: var(--text-dark);
    font-weight: 500;
    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);
}

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

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

.navbar__toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    center/cover no-repeat;
    animation: parallaxBg 20s ease-in-out infinite;
}

@keyframes parallaxBg {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

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

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 20px;
    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: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

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

.hero__rating {
    margin-bottom: 30px;
}

.stars {
    display: inline-flex;
    gap: 5px;
    font-size: 1.5rem;
}

.star {
    color: #ccc;
}

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

.rating-text {
    display: block;
    margin-top: 10px;
    font-size: 1.1rem;
}

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

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

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

.btn--primary:hover {
    background: var(--primary-dark);
    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--outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    display: inline-block;
    margin-top: 15px;
}

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

.hero__scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--white);
    text-align: center;
    animation: bounce 2s infinite;
}

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

.scroll-arrow {
    font-size: 2rem;
    margin-top: 5px;
}

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

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about__info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

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

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

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

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

.feature-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.price-range {
    background: var(--primary-color);
    color: var(--white);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.price-range h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.price-badge {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.about__image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about__image:hover img {
    transform: scale(1.05);
}

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

.gallery__filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border-radius: 50px;
    background: var(--white);
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--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: 12px;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery__item.hidden {
    display: none;
}

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

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

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

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

.gallery__zoom {
    font-size: 3rem;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
}

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

.reviews__summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
    background: var(--light-bg);
    padding: 40px;
    border-radius: 12px;
}

.summary__rating {
    text-align: center;
}

.rating-number {
    font-size: 5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stars-large {
    display: flex;
    justify-content: center;
    gap: 5px;
    font-size: 2rem;
    margin: 15px 0;
}

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

.summary__distribution {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.rating-bar .label {
    text-align: right;
    color: var(--text-dark);
    font-weight: 500;
}

.bar {
    height: 12px;
    background: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.fill {
    height: 100%;
    background: var(--secondary-color);
    transition: width 1s ease;
}

.rating-bar .count {
    color: var(--text-light);
    text-align: center;
}

.reviews__highlights {
    text-align: center;
    margin-bottom: 40px;
}

.reviews__highlights h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

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

.tag {
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
}

.reviews__carousel {
    position: relative;
    overflow: hidden;
    padding: 0 60px;
}

.reviews__track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.review-card {
    flex: 0 0 calc(33.333% - 20px);
    background: var(--light-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

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

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

.review-text {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

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

.detail-badge {
    background: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.review-ratings {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.carousel__btn:hover {
    background: var(--primary-dark);
}

.carousel__btn--prev {
    left: 0;
}

.carousel__btn--next {
    right: 0;
}

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

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

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

.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

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

.info-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.info-card p {
    color: var(--text-light);
    line-height: 1.8;
}

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

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

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

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

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

.footer__section h3,
.footer__section h4 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer__section p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.footer__section ul li {
    margin-bottom: 12px;
    color: rgba(255,255,255,0.8);
}

.footer__section ul li a {
    color: rgba(255,255,255,0.8);
}

.footer__section ul li a:hover {
    color: var(--secondary-color);
}

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

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

/* ==========================================
   11. LIGHTBOX
   ========================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.lightbox.active {
    display: flex;
}

.lightbox__close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

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

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

.lightbox__prev:hover,
.lightbox__next:hover {
    background: var(--primary-color);
}

.lightbox__prev {
    left: 30px;
}

.lightbox__next {
    right: 30px;
}

#lightboxImage {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}

/* ==========================================
   12. SCROLL TO TOP
   ========================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top.visible {
    display: flex;
}

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

/* ==========================================
   13. ANIMATIONS
   ========================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* ==========================================
   14. MEDIA QUERIES
   ========================================== */

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

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

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

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

    .review-card {
        flex: 0 0 calc(50% - 15px);
    }
}

/* Mobile - 768px and below */
@media (max-width: 768px) {
    .navbar__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 40px 20px;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
    }

    .navbar__menu.active {
        left: 0;
    }

    .navbar__toggle {
        display: flex;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

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

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

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

    .review-card {
        flex: 0 0 100%;
    }

    .reviews__carousel {
        padding: 0 50px;
    }

    .carousel__btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

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

/* Small Mobile - 480px and below */
@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }

    .hero__buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

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

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

    .gallery__filters {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
    }

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

    .lightbox__prev {
        left: 10px;
    }

    .lightbox__next {
        right: 10px;
    }
}