/* ===================================
   CSS VARIABLES
   =================================== */
:root {
    /* Colors - Fast Food Kebab Theme */
    --primary-color: #c41e1e;
    --primary-dark: #9e1818;
    --primary-light: #e63946;
    --secondary-color: #ffa500;
    --secondary-dark: #ff8c00;

    /* Neutral Colors */
    --dark: #1a1a1a;
    --gray-dark: #333333;
    --gray: #666666;
    --gray-light: #e5e5e5;
    --light: #f8f9fa;
    --white: #ffffff;

    /* Accent Colors */
    --success: #28a745;
    --warning: #ffc107;
    --info: #17a2b8;

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

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

    /* Container */
    --container-width: 1140px;

    /* Transitions */
    --transition-base: all 0.3s ease;
    --transition-fast: all 0.15s ease;

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

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

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

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

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

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

ul {
    list-style: none;
}

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

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

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    margin-bottom: var(--spacing-sm);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: var(--spacing-sm) auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
}

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

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

.navbar__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
}

.navbar__logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.navbar__menu {
    display: flex;
    gap: var(--spacing-md);
}

.navbar__link {
    color: var(--dark);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 4px;
    transition: var(--transition-base);
}

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

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

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

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

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenBurns 20s infinite alternate;
}

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

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.6));
}

.hero__content {
    position: relative;
    z-index: 2;
    color: var(--white);
    animation: fadeInUp 1s ease;
}

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

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    text-shadow: 1px 1px 4px 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);
}

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

.star {
    font-size: 1.5rem;
    color: var(--gray-light);
}

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

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

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

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

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-base);
    cursor: pointer;
    text-align: center;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

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

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

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

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    padding: var(--spacing-xl) 0;
    background-color: var(--light);
}

.about__content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.about__content.visible {
    opacity: 1;
    transform: translateY(0);
}

.about__text {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    text-align: center;
}

.about__text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
    color: var(--gray-dark);
}

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

.feature {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

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

.feature__icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.feature__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--spacing-xs);
}

.feature__text {
    color: var(--gray);
}

/* ===================================
   MENU SECTION
   =================================== */
.menu {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.menu__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.menu-item {
    background-color: var(--light);
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 2px solid transparent;
    transition: var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
}

.menu-item.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.menu-item__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: var(--spacing-sm);
}

.menu-item__name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
}

.menu-item__price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.menu-item__description {
    color: var(--gray-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.menu-item__badges {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge--halal {
    background-color: #28a745;
    color: var(--white);
}

.badge--popular {
    background-color: var(--secondary-color);
    color: var(--white);
}

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

.badge--vegetarian {
    background-color: #20c997;
    color: var(--white);
}

.badge--quick {
    background-color: var(--info);
    color: var(--white);
}

.badge--homemade {
    background-color: #6f42c1;
    color: var(--white);
}

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

.info-box {
    background-color: var(--light);
    padding: var(--spacing-md);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.info-box h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--spacing-sm);
}

.info-box ul {
    color: var(--gray-dark);
}

.info-box ul li {
    padding: 4px 0;
}

/* ===================================
   GALLERY SECTION
   =================================== */
.gallery {
    padding: var(--spacing-xl) 0;
    background-color: var(--light);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-sm);
}

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.4s ease;
}

.gallery__item.visible {
    opacity: 1;
    transform: scale(1);
}

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

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

.gallery__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

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

.gallery__zoom {
    font-size: 3rem;
}

/* ===================================
   REVIEWS SECTION
   =================================== */
.reviews {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.reviews__summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.rating-summary {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background-color: var(--light);
    padding: var(--spacing-md);
    border-radius: 12px;
}

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

.rating-summary__text {
    color: var(--gray);
    margin-top: var(--spacing-xs);
}

.rating-distribution {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    background-color: var(--light);
    padding: var(--spacing-md);
    border-radius: 12px;
}

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

.rating-bar__label {
    min-width: 30px;
    font-weight: 600;
    color: var(--gray-dark);
}

.rating-bar__track {
    flex: 1;
    height: 8px;
    background-color: var(--gray-light);
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar__fill {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: width 1s ease;
}

.rating-bar__count {
    min-width: 30px;
    text-align: right;
    color: var(--gray);
    font-size: 0.9rem;
}

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

.reviews__tags-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: var(--spacing-sm);
}

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

.tag {
    background-color: var(--light);
    color: var(--gray-dark);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    transition: var(--transition-base);
}

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

.reviews__carousel {
    position: relative;
    overflow: hidden;
}

.reviews__slider {
    display: flex;
    gap: var(--spacing-md);
    transition: transform 0.5s ease;
    padding: var(--spacing-sm) 0;
}

.review-card {
    min-width: 100%;
    background-color: var(--light);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

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

.review-card__date {
    color: var(--gray);
    font-size: 0.9rem;
}

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

.review-card__ratings {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xs);
    font-size: 0.9rem;
    color: var(--gray-dark);
}

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

.review-card__badge {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.review-card__price {
    color: var(--gray);
    font-size: 0.9rem;
}

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

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

.carousel__btn--prev {
    left: -20px;
}

.carousel__btn--next {
    right: -20px;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    padding: var(--spacing-xl) 0;
    background-color: var(--light);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

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

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

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

.info-card--highlight {
    border: 2px solid var(--primary-color);
}

.info-card__icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xs);
}

.info-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--spacing-xs);
}

.info-card__text {
    color: var(--gray-dark);
    line-height: 1.6;
}

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

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

.info-card__link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: var(--spacing-xs);
}

.info-card__link:hover {
    text-decoration: underline;
}

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

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-xs);
    background-color: var(--light);
    border-radius: 8px;
}

.hours-day {
    font-weight: 600;
    color: var(--dark);
}

.hours-time {
    color: var(--primary-color);
    font-weight: 600;
}

.amenities-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--gray-dark);
}

.amenities-list li {
    padding: 2px 0;
}

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

/* ===================================
   FOOTER
   =================================== */
.footer {
    background-color: var(--dark);
    color: var(--gray-light);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

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

.footer__title {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.footer__text {
    line-height: 1.8;
}

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

.footer__links a {
    color: var(--gray-light);
    transition: var(--transition-base);
}

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

.footer__bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gray-dark);
    color: var(--gray);
}

/* ===================================
   LIGHTBOX
   =================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: 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: 90%;
    object-fit: contain;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

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

.lightbox__prev {
    left: 20px;
}

.lightbox__next {
    right: 20px;
}

.lightbox__counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
}

/* ===================================
   SCROLL TO TOP BUTTON
   =================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    z-index: 999;
}

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

.scroll-top:hover {
    transform: translateY(-5px);
}

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

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

/* ===================================
   MEDIA QUERIES
   =================================== */

/* Tablet */
@media (max-width: 1023px) {
    :root {
        --container-width: 720px;
    }

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

    .hero__title {
        font-size: 3rem;
    }

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

    .carousel__btn--prev {
        left: 10px;
    }

    .carousel__btn--next {
        right: 10px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    :root {
        --container-width: 100%;
    }

    html {
        font-size: 14px;
    }

    .navbar__menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-md);
        transition: left 0.3s ease;
    }

    .navbar__menu.active {
        left: 0;
    }

    .navbar__toggle {
        display: flex;
    }

    .hero {
        height: 80vh;
        min-height: 500px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1.1rem;
    }

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

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

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

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

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

    .rating-summary {
        flex-direction: column;
        text-align: center;
    }

    .carousel__btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .lightbox__prev,
    .lightbox__next {
        width: 40px;
        height: 40px;
    }

    .lightbox__prev {
        left: 10px;
    }

    .lightbox__next {
        right: 10px;
    }

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

/* Small Mobile */
@media (max-width: 480px) {
    .hero__buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 var(--spacing-md);
    }

    .btn {
        width: 100%;
    }
}
