/* ===================================
   CSS Variables
   =================================== */
:root {
    /* Colors - Fast Food Theme */
    --primary-color: #d32f2f;
    --primary-dark: #b71c1c;
    --primary-light: #ff6659;
    --secondary-color: #ffa000;
    --secondary-dark: #f57c00;
    --secondary-light: #ffb333;

    --text-primary: #212121;
    --text-secondary: #757575;
    --text-light: #ffffff;

    --background: #ffffff;
    --background-alt: #f5f5f5;
    --background-dark: #1a1a1a;

    --border-color: #e0e0e0;
    --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);

    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Georgia', serif;

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

    /* Transitions */
    --transition: all 0.3s ease;
}

/* ===================================
   Reset & Base Styles
   =================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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

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

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

ul {
    list-style: none;
}

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

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

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

.section-title {
    font-size: 2.5rem;
    color: var(--text-primary);
    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: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

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

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

.btn-primary {
    background: var(--primary-color);
    color: var(--text-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(--text-light);
    border: 2px solid var(--text-light);
}

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

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--background);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

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

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

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

.logo {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
}

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

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

.nav-link {
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link--cta {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 10px 24px;
    border-radius: 50px;
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    background: var(--primary-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 70px;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.8), rgba(255, 160, 0, 0.6));
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-features {
    display: flex;
    gap: 40px;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero-feature-icon {
    font-size: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-slider-prev,
.hero-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: var(--text-light);
    font-size: 3rem;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 2;
    transition: var(--transition);
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
    background: rgba(255,255,255,0.4);
}

.hero-slider-prev {
    left: 20px;
}

.hero-slider-next {
    right: 20px;
}

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

/* ===================================
   Status Bar
   =================================== */
.status-bar {
    background: var(--background-dark);
    color: var(--text-light);
    padding: 30px 20px;
}

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

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

.status-icon {
    font-size: 2rem;
}

.status-info {
    display: flex;
    flex-direction: column;
}

.status-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.status-value {
    font-size: 1.1rem;
    font-weight: 600;
}

.status-value--low {
    color: var(--secondary-color);
}

/* ===================================
   Features Section
   =================================== */
.features {
    background: var(--background-alt);
}

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

.feature-card {
    background: var(--background);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===================================
   Menu Section
   =================================== */
.menu-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 50px;
}

.menu-tag {
    background: var(--background-alt);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 2px solid var(--border-color);
}

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

.menu-item {
    background: var(--background);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.menu-item-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.menu-item-content {
    padding: 25px;
}

.menu-item-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.menu-item-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.menu-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-item-badge {
    background: var(--primary-light);
    color: var(--text-light);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.menu-item-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* ===================================
   Gallery Section
   =================================== */
.gallery {
    background: var(--background-alt);
}

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

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

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

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

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

/* ===================================
   Reviews Section
   =================================== */
.reviews-summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
    padding: 40px;
    background: var(--background-alt);
    border-radius: 15px;
}

.reviews-overall {
    text-align: center;
}

.reviews-score {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.reviews-stars {
    font-size: 2rem;
    margin: 10px 0;
}

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

.review-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-bar-label {
    min-width: 50px;
}

.review-bar-track {
    flex: 1;
    height: 10px;
    background: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.review-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transition: width 0.5s ease;
}

.review-bar-count {
    min-width: 40px;
    text-align: right;
    font-weight: 600;
}

.reviews-list {
    display: grid;
    gap: 30px;
}

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

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

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

.review-stars {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

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

.review-text {
    margin-bottom: 10px;
    line-height: 1.8;
    font-style: italic;
}

.review-text-en {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

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

.review-badge {
    background: var(--background-alt);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
}

.review-ratings {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.review-rating {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.review-owner-response {
    margin-top: 15px;
    padding: 15px;
    background: var(--background-alt);
    border-left: 3px solid var(--primary-color);
    border-radius: 5px;
}

/* ===================================
   Popular Times
   =================================== */
.popular-times {
    background: var(--background-alt);
}

.popular-times-chart {
    background: var(--background);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.popular-times-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

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

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 3px;
}

.legend-color--low {
    background: #4caf50;
}

.legend-color--medium {
    background: #ff9800;
}

.legend-color--high {
    background: #f44336;
}

.popular-times-days {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    overflow-x: auto;
}

.day-tab {
    padding: 10px 20px;
    background: var(--background-alt);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition);
}

.day-tab.active,
.day-tab:hover {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.popular-times-graph {
    min-height: 300px;
    display: flex;
    align-items: flex-end;
    gap: 5px;
    padding: 20px;
    background: var(--background-alt);
    border-radius: 10px;
}

/* ===================================
   Order Online
   =================================== */
.order-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.platform-card {
    background: var(--background);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

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

.platform-name {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.platform-description {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.platform-btn {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

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

.platform-card--phone .platform-btn {
    background: var(--secondary-color);
    font-size: 1.2rem;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    background: var(--background-alt);
}

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

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

.contact-item {
    display: flex;
    gap: 20px;
}

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

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

.contact-details p,
.contact-details a {
    color: var(--text-secondary);
    line-height: 1.8;
}

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

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

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

.hours-list li span:first-child {
    font-weight: 600;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.amenity {
    background: var(--background);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.contact-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 500px;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--background-dark);
    color: var(--text-light);
    padding: 60px 20px 30px;
}

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

.footer-logo {
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--primary-light);
    margin-bottom: 15px;
}

.footer-info p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
}

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

.footer-stars {
    color: var(--secondary-color);
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

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

.footer-contact p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
}

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

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

.footer-categories {
    margin-top: 10px;
    font-size: 0.9rem;
}

/* ===================================
   Scroll to Top Button
   =================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-light);
    font-size: 1.5rem;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

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

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

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

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

.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* ===================================
   Media Queries
   =================================== */

/* Tablet */
@media (max-width: 1023px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-features {
        gap: 20px;
    }

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

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

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

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

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--background);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        gap: 20px;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

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

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

    .hero {
        min-height: 500px;
    }

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

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

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

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

    .btn {
        width: 100%;
    }

    .status-bar-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .features-grid,
    .menu-grid,
    .gallery-grid,
    .order-platforms {
        grid-template-columns: 1fr;
    }

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

    .hero-slider-prev,
    .hero-slider-next {
        font-size: 2rem;
        padding: 5px 15px;
    }

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