/* ===================================
   CSS VARIABLES
   =================================== */
:root {
    /* Colors - Fast Food Theme */
    --primary-color: #d32f2f;
    --primary-dark: #b71c1c;
    --primary-light: #ff6659;
    --secondary-color: #ffc107;
    --secondary-dark: #ffa000;
    --secondary-light: #ffecb3;

    --text-dark: #212121;
    --text-light: #757575;
    --text-white: #ffffff;

    --bg-light: #ffffff;
    --bg-dark: #1a1a1a;
    --bg-gray: #f5f5f5;
    --bg-overlay: rgba(0, 0, 0, 0.6);

    --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: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Georgia', serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* 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;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* ===================================
   UTILITY CLASSES
   =================================== */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section {
    padding: var(--spacing-xl) 0;
}

.section--dark {
    background-color: var(--bg-dark);
    color: var(--text-white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: inherit;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-top: var(--spacing-sm);
}

.section--dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

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

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

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

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

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

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

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

.navbar__logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

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

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

.navbar__toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition-normal);
}

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

.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: 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: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
}

.hero__content {
    text-align: center;
    color: var(--text-white);
    z-index: 1;
    animation: fadeInUp 1s ease;
}

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

.hero__title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 2px;
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

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

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

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

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

.hero__badges {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.badge {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    background-color: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.badge--halal {
    background-color: rgba(76, 175, 80, 0.9);
}

.badge--price {
    background-color: rgba(255, 193, 7, 0.9);
}

.badge--fast {
    background-color: rgba(33, 150, 243, 0.9);
}

.hero__buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about__content {
    max-width: 900px;
    margin: 0 auto;
}

.about__description {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    text-align: center;
    color: var(--text-light);
}

.about__highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.highlight-item {
    text-align: center;
    padding: var(--spacing-md);
    background-color: var(--bg-gray);
    border-radius: 12px;
    transition: var(--transition-normal);
}

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

.highlight-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: var(--spacing-sm);
}

.highlight-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

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

/* ===================================
   SPECIALTIES SECTION
   =================================== */
.specialties__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.specialty-card {
    background-color: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: var(--spacing-md);
    text-align: center;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.specialty-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(211, 47, 47, 0.3);
}

.specialty-card__icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
}

.specialty-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-white);
}

.specialty-card__description {
    color: rgba(255,255,255,0.8);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.specialty-card__price {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.service-item {
    text-align: center;
    padding: var(--spacing-md);
    background-color: var(--bg-gray);
    border-radius: 12px;
    transition: var(--transition-normal);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background-color: var(--bg-light);
}

.service-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: var(--spacing-sm);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

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

/* ===================================
   GALLERY SECTION
   =================================== */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    aspect-ratio: 4/3;
}

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

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

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

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

.gallery__icon {
    font-size: 3rem;
    color: var(--text-white);
}

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

.lightbox.active {
    display: flex;
}

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

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    color: var(--text-white);
    font-size: 3rem;
    background-color: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
}

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

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

.lightbox__prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-white);
    font-size: 1.125rem;
    background-color: rgba(0,0,0,0.5);
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

/* ===================================
   REVIEWS SECTION
   =================================== */
.reviews__summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.reviews__overall {
    text-align: center;
}

.reviews__score {
    font-size: 4rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
    line-height: 1;
}

.reviews__stars {
    margin: var(--spacing-sm) 0;
}

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

.reviews__distribution {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.distribution-bar {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.distribution-label {
    min-width: 40px;
    font-weight: 600;
}

.distribution-progress {
    flex: 1;
    height: 8px;
    background-color: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.distribution-fill {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: width var(--transition-slow);
}

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

.reviews__slider {
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: var(--spacing-sm) 0;
    scrollbar-width: none;
}

.reviews__slider::-webkit-scrollbar {
    display: none;
}

.review-card {
    min-width: 350px;
    background-color: var(--bg-gray);
    border-radius: 12px;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

.review-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.review-card__stars {
    display: flex;
    gap: 0.25rem;
}

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

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

.review-card__details {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
}

.review-detail {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background-color: rgba(0,0,0,0.05);
    border-radius: 12px;
    color: var(--text-light);
}

.review-card__rating-details {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-color);
}

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

.reviews__navigation {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

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

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

/* ===================================
   CONTACT SECTION
   =================================== */
.contact__content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-item {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background-color: rgba(255,255,255,0.05);
    border-radius: 12px;
    transition: var(--transition-normal);
}

.contact-item:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateX(5px);
}

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

.contact-label {
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--secondary-color);
}

.contact-value {
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
}

.contact-value--link {
    color: var(--secondary-color);
    transition: var(--transition-normal);
}

.contact-value--link:hover {
    color: var(--secondary-light);
}

.contact-note {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    margin-top: var(--spacing-xs);
}

.opening-hours {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.hours-row.today {
    background-color: rgba(255, 193, 7, 0.1);
    padding: 0.5rem;
    border-radius: 4px;
    font-weight: 700;
}

.hours-day {
    color: rgba(255,255,255,0.9);
}

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

.hours-row.closed .hours-time {
    color: var(--primary-color);
}

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

.map-actions {
    margin-top: var(--spacing-sm);
    text-align: center;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background-color: #0d0d0d;
    color: var(--text-white);
    padding: var(--spacing-lg) 0 var(--spacing-sm);
}

.footer__container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.footer__logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.footer__tagline {
    color: rgba(255,255,255,0.7);
    font-style: italic;
}

.footer__info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.footer__title {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

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

.footer__section a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition-normal);
}

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

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--spacing-sm);
}

.footer__copyright {
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
}

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

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

    .hero__title {
        font-size: 3rem;
    }

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

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

/* Mobile */
@media (max-width: 767px) {
    .navbar__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-light);
        flex-direction: column;
        justify-content: flex-start;
        padding: var(--spacing-md);
        transition: var(--transition-normal);
        box-shadow: var(--shadow-lg);
    }

    .navbar__menu.active {
        left: 0;
    }

    .navbar__toggle {
        display: flex;
    }

    .navbar__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translateY(10px);
    }

    .navbar__toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .navbar__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-10px);
    }

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

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.125rem;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .about__highlights,
    .specialties__grid,
    .services__grid {
        grid-template-columns: 1fr;
    }

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

    .review-card {
        min-width: 280px;
    }

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

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

    .lightbox__prev {
        left: 10px;
    }

    .lightbox__next {
        right: 10px;
    }
}

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

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

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

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

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

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

/* ===================================
   ACCESSIBILITY
   =================================== */
:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
