/* ===================================
   CSS VARIABLES
   =================================== */
:root {
    /* Colors - Casual/Fast Food Restaurant Theme */
    --primary-color: #d32f2f;
    --primary-dark: #b71c1c;
    --primary-light: #ff6659;
    --secondary-color: #ffa726;
    --secondary-dark: #f57c00;
    --accent-color: #4caf50;

    /* Neutral Colors */
    --text-primary: #212121;
    --text-secondary: #757575;
    --text-light: #ffffff;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-dark: #1a1a1a;
    --border-color: #e0e0e0;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);

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

    /* Typography */
    --font-primary: 'Georgia', 'Times New Roman', serif;
    --font-secondary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);

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

    /* Z-index */
    --z-navbar: 1000;
    --z-lightbox: 2000;
    --z-scroll-top: 999;
}

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

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

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

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

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

ul {
    list-style: none;
}

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

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

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

.section-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto 20px;
    border-radius: 2px;
}

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

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 50px;
    transition: all var(--transition-base);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

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

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

.btn--small {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* ===================================
   NAVBAR
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    z-index: var(--z-navbar);
    transition: all var(--transition-base);
}

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

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

.navbar__brand {
    flex: 0 0 auto;
}

.navbar__title {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 24px;
    z-index: 10;
}

.navbar__toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

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

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

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

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

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

.navbar__item--cta {
    margin-left: 10px;
}

.navbar__cta {
    padding: 10px 24px;
    background: var(--gradient-primary);
    color: var(--text-light);
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-base);
}

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

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

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

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

@keyframes zoomIn {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
}

.hero__content {
    position: relative;
    z-index: 1;
    color: var(--text-light);
}

.hero__text {
    max-width: 700px;
}

.hero__title {
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero__rating {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

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

.star {
    font-size: 1.2rem;
    color: #ffa726;
}

.star--filled {
    color: #ffa726;
}

.star--partial {
    background: linear-gradient(90deg, #ffa726 50%, rgba(255,255,255,0.3) 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero__buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

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

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

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

.about__description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

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

.feature {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-secondary);
    border-radius: 15px;
    transition: all var(--transition-base);
}

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

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

.feature__title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

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

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

.info-card {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.info-card__title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

.info-card__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--text-secondary);
}

.info-card__item .icon {
    color: var(--accent-color);
    font-weight: 700;
}

.info-card__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.info-card__note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

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

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

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

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

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

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

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

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

.reviews__score {
    text-align: center;
    padding: 20px;
}

.score__number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 15px;
}

.score__stars {
    margin-bottom: 10px;
}

.score__stars .star {
    font-size: 1.5rem;
}

.score__text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.reviews__distribution {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
}

.distribution__bar {
    display: flex;
    align-items: center;
    gap: 15px;
}

.distribution__label {
    font-size: 0.9rem;
    font-weight: 600;
    width: 40px;
    color: var(--text-secondary);
}

.distribution__progress {
    flex: 1;
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.distribution__fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 5px;
    transition: width var(--transition-slow);
}

.distribution__count {
    font-size: 0.9rem;
    font-weight: 600;
    width: 30px;
    text-align: right;
    color: var(--text-secondary);
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

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

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

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

.review-card__date {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.review-card__text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 15px;
}

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

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

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

.detail-rating {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-rating__label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
}

.detail-rating__stars {
    font-size: 0.9rem;
    color: #ffa726;
}

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

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

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

.contact__card {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.contact__card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.contact__card-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.contact__link {
    color: var(--primary-color);
    font-weight: 600;
    transition: color var(--transition-fast);
}

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

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

.hours-list__item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.hours-list__item:last-child {
    border-bottom: none;
}

.day {
    font-weight: 600;
    color: var(--text-primary);
}

.time {
    color: var(--text-secondary);
}

.hours-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 10px;
}

.contact__map {
    border-radius: 15px;
    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-light);
    padding: 60px 0 30px;
}

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

.footer__brand {
    max-width: 350px;
}

.footer__title {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 15px;
}

.footer__tagline {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 20px;
}

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

.footer__rating .stars {
    display: flex;
    gap: 5px;
}

.footer__rating span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer__section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer__links,
.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__link {
    color: var(--text-light);
    opacity: 0.8;
    transition: all var(--transition-fast);
}

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

.footer__contact li {
    opacity: 0.8;
    line-height: 1.6;
}

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

.footer__copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

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

.lightbox.active {
    display: flex;
}

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

.lightbox__image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    animation: zoomInLightbox var(--transition-base);
}

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

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

.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

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

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

.lightbox__nav--prev {
    left: 30px;
}

.lightbox__nav--next {
    right: 30px;
}

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

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

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ===================================
   ANIMATIONS
   =================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Tablet */
@media (max-width: 1023px) {
    :root {
        --section-padding: 60px 0;
    }

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

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

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

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

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

/* Mobile */
@media (max-width: 767px) {
    :root {
        --section-padding: var(--section-padding-mobile);
    }

    .navbar__toggle {
        display: flex;
    }

    .navbar__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-base);
        overflow-y: auto;
    }

    .navbar__menu.active {
        right: 0;
    }

    .navbar__item {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .navbar__item--cta {
        margin-left: 0;
        margin-top: 20px;
    }

    .navbar__cta {
        display: block;
        text-align: center;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

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

    .btn {
        width: 100%;
        text-align: center;
    }

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

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

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

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

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

    .lightbox__close,
    .lightbox__nav {
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }

    .lightbox__close {
        top: 15px;
        right: 15px;
    }

    .lightbox__nav--prev {
        left: 15px;
    }

    .lightbox__nav--next {
        right: 15px;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

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

    .navbar__title {
        font-size: 1.5rem;
    }
}
