/* ===================================
   CSS VARIABLES
   =================================== */
:root {
    --primary-color: #d4211e;
    --primary-dark: #a51814;
    --primary-light: #ff5753;
    --secondary-color: #ffd700;
    --accent-color: #ff8c00;

    --text-dark: #1a1a1a;
    --text-light: #666;
    --text-white: #ffffff;

    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;
    --bg-overlay: rgba(0, 0, 0, 0.5);

    --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 30px rgba(0, 0, 0, 0.15);

    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;

    --border-radius: 8px;
    --border-radius-lg: 12px;

    --container-width: 1140px;
    --spacing: 1rem;
}

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

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

p {
    margin-bottom: 1rem;
}

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

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

ul {
    list-style: none;
}

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

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

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    color: var(--text-dark);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 1rem auto;
}

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

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-medium);
    cursor: pointer;
}

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

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

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

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

/* ===================================
   NAVIGATION
   =================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition-medium);
}

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

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

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

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

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

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

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

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition-fast);
}

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

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://lh3.googleusercontent.com/p/AF1QipN54A2xAZq8YbmJOFw1_VBbfho2ObWjAFFH1Q7j=w1920-h1080-k-no') center/cover no-repeat;
    animation: zoomIn 20s infinite alternate;
}

@keyframes zoomIn {
    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(212, 33, 30, 0.7), rgba(0, 0, 0, 0.6));
}

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

.hero__title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.hero__subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.stars {
    display: flex;
    gap: 0.25rem;
}

.star {
    color: #ddd;
    font-size: 1.5rem;
}

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

.star.half {
    background: linear-gradient(90deg, var(--secondary-color) 50%, #ddd 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rating-text {
    font-size: 1.1rem;
    font-weight: 500;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-white);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-left: 2px solid var(--text-white);
    border-bottom: 2px solid var(--text-white);
    transform: rotate(-45deg);
}

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

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

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

.about__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

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

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

.feature {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-medium);
}

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

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

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature p {
    margin: 0;
    color: var(--text-light);
}

.about__highlights {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.about__highlights h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.highlights-list {
    display: grid;
    gap: 0.75rem;
}

.highlights-list li {
    padding: 0.5rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    font-weight: 500;
}

/* ===================================
   MENU SECTION
   =================================== */
.menu {
    padding: 5rem 0;
    background: var(--bg-white);
}

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

.menu-item {
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    position: relative;
    transition: var(--transition-medium);
    border: 2px solid transparent;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.menu-item__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.menu-item__content h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.menu-item__content p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.menu-item__reviews {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--accent-color);
    font-weight: 500;
}

.menu__note {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--primary-color);
}

.menu__note p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.price-range {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem !important;
}

/* ===================================
   GALLERY SECTION
   =================================== */
.gallery {
    padding: 5rem 0;
    background: var(--bg-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: var(--border-radius-lg);
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    opacity: 0;
    transition: var(--transition-medium);
}

.gallery-item:hover::after {
    opacity: 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: 90vh;
    object-fit: contain;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    border: none;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

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

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

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

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

/* ===================================
   REVIEWS SECTION
   =================================== */
.reviews {
    padding: 5rem 0;
    background: var(--bg-white);
}

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

.rating-large {
    text-align: center;
}

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

.stars-large {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

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

.total-reviews {
    display: block;
    color: var(--text-light);
}

.rating-distribution {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.bar-label {
    font-weight: 600;
}

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

.bar-fill {
    height: 100%;
    background: var(--secondary-color);
    transition: var(--transition-slow);
}

.bar-count {
    text-align: right;
    font-weight: 500;
    color: var(--text-light);
}

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

.review-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition-medium);
}

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

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

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

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

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

.review-rating-details {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--text-light);
}

.reviews__controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.review-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--text-white);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

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

.review-dots {
    display: flex;
    gap: 0.5rem;
}

.review-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: var(--transition-fast);
}

.review-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* ===================================
   ORDER SECTION
   =================================== */
.order {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

.order-platform {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition-medium);
    border: 2px solid transparent;
    display: block;
}

.order-platform:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.platform-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.order-platform h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.order-platform p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.platform-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition-fast);
}

.order-platform:hover .platform-btn {
    background: var(--primary-dark);
}

.order__note {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
}

.order__note p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    padding: 5rem 0;
    background: var(--bg-white);
}

.contact__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-details {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--primary-color);
}

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

.contact-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-content p,
.contact-content a {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

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

.location-note {
    font-style: italic;
    font-size: 0.9rem;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hours-day {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    background: var(--bg-white);
    border-radius: var(--border-radius);
}

.hours-day.closed {
    opacity: 0.6;
}

.day {
    font-weight: 600;
}

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

.hours-note {
    margin-top: 1rem;
    padding: 0.75rem;
    background: #fff3cd;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-list li {
    padding: 0.5rem;
    background: var(--bg-white);
    border-radius: var(--border-radius);
}

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

.contact__map iframe {
    width: 100%;
    min-height: 450px;
}

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

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

.footer__brand h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer__rating {
    margin-top: 1rem;
}

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

.footer h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer a {
    color: #ccc;
    transition: var(--transition-fast);
}

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

.footer__order-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__order-links a {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    text-align: center;
}

.footer__order-links a:hover {
    background: var(--primary-color);
}

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

.footer__bottom p {
    margin-bottom: 0.5rem;
}

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

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

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

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

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

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

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

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

/* Tablet */
@media (max-width: 1023px) {
    :root {
        --spacing: 1.5rem;
    }

    .nav__menu {
        gap: 1.5rem;
    }

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

/* Mobile */
@media (max-width: 767px) {
    :root {
        --spacing: 1rem;
    }

    .nav__toggle {
        display: flex;
    }

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

    .nav__menu.active {
        left: 0;
    }

    .nav__link {
        font-size: 1.2rem;
    }

    .hero {
        margin-top: 60px;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

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

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

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

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

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

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

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

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

    .lightbox__prev,
    .lightbox__next {
        padding: 0.5rem;
        font-size: 1.5rem;
    }
}