/* ===================================
   CSS Variables
   =================================== */
:root {
    /* Colors - Indian Restaurant Theme */
    --primary-color: #d4772b;
    --primary-dark: #b85f1f;
    --secondary-color: #8b4513;
    --accent-color: #ff9933;
    --dark-bg: #1a1108;
    --light-bg: #fff8f0;
    --text-dark: #2d1810;
    --text-light: #ffffff;
    --text-gray: #6b5d4f;
    --border-color: #e8d5c4;
    --shadow-light: rgba(212, 119, 43, 0.1);
    --shadow-medium: rgba(212, 119, 43, 0.2);
    --shadow-dark: rgba(26, 17, 8, 0.3);
    --overlay-dark: rgba(26, 17, 8, 0.7);

    /* Typography */
    --font-primary: 'Georgia', 'Times New Roman', serif;
    --font-secondary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', sans-serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-max-width: 1200px;

    /* 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-secondary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

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

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

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

.section-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    margin: 0 auto 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

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

.navbar.scrolled {
    box-shadow: 0 2px 30px var(--shadow-medium);
}

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

.navbar__logo-text {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px var(--shadow-light);
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

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

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

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

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

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

.navbar__link--cta {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 10px 25px;
    border-radius: 25px;
    transition: var(--transition-normal);
}

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

.navbar__link--cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-medium);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
}

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

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

.hero__title {
    font-family: var(--font-primary);
    font-size: 4rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.hero__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.star-rating {
    display: flex;
    gap: 3px;
}

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

.star.filled {
    color: #ffc107;
}

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

.hero__rating-text {
    font-size: 1.1rem;
}

.hero__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.btn {
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition-normal);
    display: inline-block;
}

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

.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.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);
    transform: translateY(-3px);
}

.hero__badges {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-light);
    animation: bounce 2s infinite;
}

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

.hero__scroll-arrow {
    font-size: 2rem;
    margin-top: 5px;
}

/* ===================================
   About Section
   =================================== */
.about {
    background: var(--light-bg);
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about__description {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
}

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

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow-light);
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.feature-card__icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card__title {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.feature-card__text {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.about__image img {
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow-medium);
    width: 100%;
    height: 500px;
    object-fit: cover;
}

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

.menu__category-btn {
    padding: 12px 30px;
    background: white;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition-normal);
}

.menu__category-btn:hover,
.menu__category-btn.active {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.menu__items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.menu-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-light);
    transition: var(--transition-normal);
    opacity: 1;
    transform: scale(1);
}

.menu-item.hidden {
    display: none;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.menu-item__image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.menu-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.menu-item__badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 15px;
    background: var(--accent-color);
    color: var(--text-light);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.menu-item__content {
    padding: 25px;
}

.menu-item__title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

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

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

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

.menu-item__tags {
    display: flex;
    gap: 8px;
}

.tag {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tag--halal {
    background: #e8f5e9;
    color: #2e7d32;
}

.tag--vegetarian {
    background: #fff3e0;
    color: #e65100;
}

.tag--vegan {
    background: #e0f2f1;
    color: #00695c;
}

.menu__footer {
    margin-top: 50px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow-light);
}

.menu__note {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ===================================
   Services Section
   =================================== */
.services {
    background: var(--light-bg);
}

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

.service-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow-light);
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.service-card__icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.service-card__title {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card__description {
    color: var(--text-gray);
    line-height: 1.7;
}

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

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 300px;
    cursor: pointer;
    box-shadow: 0 5px 20px var(--shadow-light);
}

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

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

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

.gallery__item:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 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;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 3rem;
    padding: 10px 20px;
    cursor: pointer;
    transition: var(--transition-normal);
    border-radius: 5px;
}

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

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

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

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

/* ===================================
   Reviews Section
   =================================== */
.reviews {
    background: var(--light-bg);
}

.reviews__summary {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 50px;
    max-width: 800px;
    margin: 40px auto;
    align-items: center;
}

.reviews__score {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow-light);
}

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

.reviews__score-text {
    display: block;
    margin-top: 10px;
    color: var(--text-gray);
}

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

.review-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-bar__label {
    min-width: 40px;
    font-weight: 600;
    color: var(--text-dark);
}

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

.review-bar__fill {
    height: 100%;
    background: var(--primary-color);
    transition: width 1s ease;
}

.review-bar__count {
    min-width: 40px;
    text-align: right;
    color: var(--text-gray);
}

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

.review-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow-light);
    transition: var(--transition-normal);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

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

.star-rating--small .star {
    font-size: 1rem;
}

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

.review-card__text {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 15px;
}

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

.review-detail {
    padding: 5px 12px;
    background: var(--light-bg);
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.review-card__ratings {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.rating-badge {
    padding: 5px 12px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.reviews__navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

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

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

/* ===================================
   Order Section
   =================================== */
.order__options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.order-card {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow-light);
    transition: var(--transition-normal);
    border: 3px solid transparent;
}

.order-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-medium);
    border-color: var(--primary-color);
}

.order-card__logo {
    margin-bottom: 25px;
}

.order-card__logo-text {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.order-card__title {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.order-card__description {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.order-card__link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

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

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

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

.contact__card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow-light);
}

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

.contact__card-text {
    color: var(--text-gray);
    line-height: 1.8;
}

.contact__card-text a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact__card-text a:hover {
    text-decoration: underline;
}

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

.opening-hours__row:last-child {
    border-bottom: none;
}

.opening-hours__day {
    font-weight: 600;
    color: var(--text-dark);
}

.opening-hours__time {
    color: var(--text-gray);
}

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

.contact__features li {
    color: var(--text-gray);
    line-height: 1.8;
}

.contact__map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-light);
    height: 500px;
}

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

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

.footer__title {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer__text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

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

.footer__links li,
.footer__links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-normal);
}

.footer__links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

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

.footer__copyright {
    color: rgba(255, 255, 255, 0.5);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }

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

    .contact__map {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .navbar__toggle {
        display: flex;
    }

    .navbar__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 40px 20px;
        transition: left var(--transition-normal);
        box-shadow: 0 5px 20px var(--shadow-light);
    }

    .navbar__menu.active {
        left: 0;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

    .hero__buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 30px;
    }

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

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

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

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

@media (max-width: 480px) {
    :root {
        --section-padding: 50px 0;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

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

    .menu-item__image {
        height: 200px;
    }

    .gallery__item {
        height: 250px;
    }
}

/* ===================================
   Animations
   =================================== */
.fade-in {
    animation: fadeIn 0.5s ease-out;
}

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

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}