/* ===================================
   CSS VARIABLES & RESET
   =================================== */
:root {
    --primary: #e74c3c;
    --primary-dark: #c0392b;
    --secondary: #f39c12;
    --dark: #2c3e50;
    --dark-alt: #34495e;
    --light: #ecf0f1;
    --white: #ffffff;
    --gray: #95a5a6;
    --gray-light: #bdc3c7;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);

    --transition: all 0.3s ease;
    --border-radius: 12px;

    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    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: var(--white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

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

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

.section-header__subtitle {
    display: block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-header__title {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.section-header--light .section-header__title {
    color: var(--white);
}

.section-header__divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 0 auto;
    border-radius: 2px;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

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

.nav__logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

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

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

.nav__link--cta {
    background: var(--primary);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 24px;
}

.nav__link--cta::after {
    display: none;
}

.nav__link--cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
}

.nav__toggle span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: 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: linear-gradient(135deg, rgba(44, 62, 80, 0.8), rgba(231, 76, 60, 0.6));
    z-index: 1;
}

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

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

.hero__title {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.hero__subtitle {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 32px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero__rating {
    margin-bottom: 24px;
}

.rating {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.rating__stars {
    display: flex;
    gap: 4px;
}

.star {
    font-size: 20px;
    color: #f39c12;
}

.star--full::before { content: '★'; }
.star--half::before { content: '★'; }
.star--empty::before { content: '☆'; }

.rating__score {
    font-size: 24px;
    font-weight: 700;
}

.rating__count {
    font-size: 14px;
    opacity: 0.9;
}

.hero__badges {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

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

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

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

.btn--secondary:hover {
    background: var(--light);
    transform: translateY(-4px);
}

.btn__icon {
    width: 20px;
    height: 20px;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 14px;
    animation: bounce 2s infinite;
}

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

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

.about__description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--dark-alt);
    margin-bottom: 24px;
    text-align: center;
}

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

.feature {
    text-align: center;
    padding: 40px 24px;
    background: var(--light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

.feature__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature__icon svg {
    stroke: var(--white);
}

.feature__title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature__text {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.6;
}

/* ===================================
   MENU SECTION
   =================================== */
.menu__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.menu-item {
    background: var(--dark-alt);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

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

.menu-item__image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.menu-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.menu-item__content {
    padding: 24px;
}

.menu-item__title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--white);
}

.menu-item__description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-light);
    margin-bottom: 20px;
}

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

.menu-item__price {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary);
}

.menu-item__badge {
    background: var(--primary);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.menu-item__badge.badge--veg {
    background: #27ae60;
}

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

.info-card {
    background: var(--dark-alt);
    padding: 32px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.info-card__icon {
    margin: 0 auto 16px;
    stroke: var(--secondary);
}

.info-card h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--white);
}

.info-card p {
    font-size: 15px;
    color: var(--gray-light);
    line-height: 1.6;
}

/* ===================================
   REVIEWS SECTION
   =================================== */
.reviews__summary {
    display: flex;
    gap: 60px;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
    padding: 40px;
    background: var(--light);
    border-radius: var(--border-radius);
    flex-wrap: wrap;
}

.reviews__rating {
    text-align: center;
}

.reviews__score {
    font-size: 72px;
    font-weight: 700;
    color: var(--primary);
    display: block;
    line-height: 1;
    margin-bottom: 12px;
}

.rating__stars--large {
    margin-bottom: 12px;
}

.rating__stars--large .star {
    font-size: 28px;
}

.reviews__count {
    font-size: 14px;
    color: var(--gray);
}

.reviews__distribution {
    flex: 1;
    min-width: 300px;
}

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

.distribution-bar__label {
    width: 50px;
    font-size: 14px;
    font-weight: 600;
}

.distribution-bar__track {
    flex: 1;
    height: 10px;
    background: #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.distribution-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 5px;
}

.distribution-bar__count {
    width: 40px;
    text-align: right;
    font-size: 14px;
    color: var(--gray);
}

.reviews__carousel {
    position: relative;
}

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

.review-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--light);
    transition: var(--transition);
}

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

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

.review-card__date {
    font-size: 13px;
    color: var(--gray);
}

.review-card__text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--dark-alt);
    margin-bottom: 16px;
}

.review-card__details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--light);
    border-bottom: 1px solid var(--light);
    margin-bottom: 16px;
}

.review-detail {
    font-size: 13px;
    font-weight: 500;
    color: var(--dark-alt);
}

.review-card__context {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.context-tag {
    background: var(--light);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    color: var(--dark-alt);
}

.review-card__owner {
    margin-top: 16px;
    padding: 16px;
    background: #fff3cd;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
}

.review-card__owner strong {
    color: var(--primary);
}

.carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
}

.reviews__carousel:hover .carousel__btn {
    opacity: 1;
    pointer-events: all;
}

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

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

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

.carousel__btn:hover svg {
    stroke: var(--white);
}

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

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

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

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

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

.gallery__overlay svg {
    stroke: var(--white);
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

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

.info-block__title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--dark);
}

.info-block__icon {
    stroke: var(--primary);
}

.info-block p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark-alt);
    margin-bottom: 8px;
}

.info-block__link {
    color: var(--primary);
    font-weight: 500;
    display: inline-block;
    margin-top: 8px;
}

.info-block__link:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

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

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--light);
}

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

.hours-item__time {
    color: var(--gray);
}

.service-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.service-badge {
    background: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

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

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 24px;
}

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

.footer__brand {
    grid-column: span 1;
}

.footer__logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.footer__tagline {
    font-size: 14px;
    color: var(--gray-light);
    margin-bottom: 16px;
}

.footer__rating {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.footer__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

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

.footer__links a,
.footer__contact a {
    color: var(--gray-light);
    font-size: 14px;
    transition: var(--transition);
}

.footer__links a:hover,
.footer__contact a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer__contact li,
.footer__hours li {
    color: var(--gray-light);
    font-size: 14px;
    line-height: 1.8;
}

.footer__bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: var(--gray-light);
}

.footer__bottom p {
    margin: 8px 0;
}

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

.lightbox.active {
    display: flex;
}

.lightbox__image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomInLightbox 0.3s ease;
}

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

.lightbox__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox__close:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

.lightbox__close svg {
    stroke: var(--white);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

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

.lightbox__nav:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.lightbox__nav svg {
    stroke: var(--white);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .hero__title {
        font-size: 56px;
    }

    .hero__subtitle {
        font-size: 22px;
    }

    .section-header__title {
        font-size: 36px;
    }

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

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
    }

    .nav__menu.active {
        left: 0;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

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

    .nav__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero__title {
        font-size: 42px;
    }

    .hero__subtitle {
        font-size: 18px;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .section {
        padding: 60px 0;
    }

    .section-header__title {
        font-size: 32px;
    }

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

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

    .reviews__summary {
        flex-direction: column;
        gap: 32px;
    }

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

    .carousel__btn {
        display: none;
    }

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

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

    .lightbox__nav {
        display: none;
    }
}

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

    .hero__subtitle {
        font-size: 16px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .section-header__title {
        font-size: 28px;
    }

    .reviews__score {
        font-size: 56px;
    }

    .rating__stars--large .star {
        font-size: 22px;
    }
}

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

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

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* Print Styles */
@media print {
    .navbar,
    .hero__buttons,
    .hero__scroll,
    .lightbox {
        display: none;
    }

    .section {
        page-break-inside: avoid;
    }
}