/* CSS Variables */
:root {
    --color-primary: #d4a574;
    --color-secondary: #2c2c2c;
    --color-accent: #ff6b6b;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-background: #ffffff;
    --color-background-alt: #f8f8f8;
    --color-border: #e0e0e0;
    --color-success: #4ecdc4;
    --color-warning: #ffcc00;
    --color-star: #ffd700;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Georgia', 'Times New Roman', serif;
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --shadow-xl: 0 12px 36px rgba(0,0,0,0.2);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

/* Reset/Normalize */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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

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

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

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

/* Base Styles */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-secondary);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
}

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

/* Layout Components */

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

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

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

.navbar__brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar__logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-secondary);
    font-weight: 700;
}

.navbar__rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.navbar__stars {
    color: var(--color-star);
}

.navbar__score {
    font-weight: 700;
    color: var(--color-secondary);
}

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

.navbar__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 30px;
    gap: 4px;
}

.navbar__toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--color-secondary);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

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

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

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

.navbar__menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

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

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

/* Hero Section */
.hero {
    margin-top: 73px;
    position: relative;
    height: calc(100vh - 73px);
    min-height: 500px;
    overflow: hidden;
}

.hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero__slide.active {
    opacity: 1;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__content {
    text-align: center;
    color: white;
    animation: fadeInUp 1s ease-out;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero__subtitle {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero__badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-weight: 500;
}

.badge--price {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.badge--halal {
    background: var(--color-success);
    border-color: var(--color-success);
}

.badge--quality {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: white;
    background: rgba(0, 0, 0, 0.3);
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    cursor: pointer;
}

.hero__nav:hover {
    background: rgba(0, 0, 0, 0.5);
}

.hero__nav--prev {
    left: 2rem;
}

.hero__nav--next {
    right: 2rem;
}

/* UI Components */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition-base);
    border: 2px solid transparent;
    cursor: pointer;
}

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

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

.btn--secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn--secondary:hover {
    background: white;
    color: var(--color-secondary);
    transform: translateY(-2px);
}

.btn--large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn__icon {
    font-size: 1.25rem;
}

/* Cards */
.feature-card {
    padding: 2rem;
    background: var(--color-background);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition-base);
}

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

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

.feature-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-secondary);
}

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

/* Page Sections */

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--color-background-alt);
}

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

/* Menu Section */
.menu {
    padding: 5rem 0;
}

.menu__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.menu-item {
    padding: 1.5rem;
    background: var(--color-background);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

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

.menu-item__header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.75rem;
}

.menu-item__name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-secondary);
}

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

.menu-item__description {
    color: var(--color-text-light);
    line-height: 1.5;
}

.menu-item__badge {
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--color-accent);
    color: white;
    padding: 0.25rem 3rem;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
    text-transform: uppercase;
}

.menu-item__badge--veg {
    background: var(--color-success);
}

.menu__info {
    text-align: center;
}

.menu__note {
    display: inline-block;
    margin: 0 1rem;
    color: var(--color-text-light);
    font-style: italic;
}

/* Gallery Section */
.gallery {
    padding: 5rem 0;
    background: var(--color-background-alt);
}

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

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-base);
}

.gallery__item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

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

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

/* Reviews Section */
.reviews {
    padding: 5rem 0;
}

.reviews__summary {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--color-background-alt);
    border-radius: var(--radius-lg);
}

.reviews__rating {
    text-align: center;
    padding: 2rem;
    background: var(--color-background);
    border-radius: var(--radius-md);
}

.reviews__score {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.reviews__stars {
    color: var(--color-star);
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

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

.reviews__distribution {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-bar__label {
    width: 40px;
    text-align: right;
    font-weight: 500;
}

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

.rating-bar__fill {
    height: 100%;
    background: var(--color-star);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.rating-bar__count {
    width: 40px;
    text-align: left;
    color: var(--color-text-light);
    font-size: 0.875rem;
}

.reviews__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--color-background-alt);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--color-text-light);
    border: 1px solid var(--color-border);
}

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

.review-card {
    padding: 1.5rem;
    background: var(--color-background);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

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

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

.review-card__rating {
    color: var(--color-star);
    font-size: 1.125rem;
}

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

.review-card__text {
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-card__footer {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.review-card__badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--color-background-alt);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--color-text-light);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--color-background-alt);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.info-block {
    margin-bottom: 2rem;
}

.info-block__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.info-block__content {
    color: var(--color-text);
    line-height: 1.8;
}

.info-block__content a {
    color: var(--color-primary);
    font-weight: 500;
}

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

.opening-hours {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.opening-hours__item--closed {
    opacity: 0.6;
}

.opening-hours__item--closed .opening-hours__time {
    color: var(--color-accent);
}

.opening-hours__day {
    font-weight: 500;
}

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

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--color-primary);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
}

.contact__map iframe {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #4a4a4a 100%);
    color: white;
    text-align: center;
}

.cta__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta__subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--color-secondary);
    color: white;
    padding: 3rem 0 1rem;
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer__tagline {
    color: var(--color-primary);
    font-style: italic;
}

.footer__info p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer__info a {
    color: var(--color-primary);
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.875rem;
}

/* Utilities */

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

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

.lightbox__close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    transition: var(--transition-base);
}

.lightbox__close:hover {
    color: var(--color-primary);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    cursor: pointer;
}

.lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav--prev {
    left: 2rem;
}

.lightbox__nav--next {
    right: 2rem;
}

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 999;
    cursor: pointer;
}

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

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

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

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

/* Media Queries */

/* Tablet (768px - 1023px) */
@media screen and (max-width: 1023px) {
    .container {
        max-width: 720px;
    }

    .hero__nav {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

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

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

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

/* Mobile (320px - 767px) */
@media screen and (max-width: 767px) {
    .navbar__toggle {
        display: flex;
    }

    .navbar__menu {
        position: fixed;
        top: 73px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 73px);
        background: var(--color-background);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transition: var(--transition-base);
        box-shadow: var(--shadow-lg);
    }

    .navbar__menu.active {
        left: 0;
    }

    .navbar__rating {
        display: none;
    }

    .hero {
        height: 70vh;
    }

    .hero__nav {
        display: none;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

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

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

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

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

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

    .reviews__tags {
        display: none;
    }

    .cta__actions {
        flex-direction: column;
        align-items: center;
    }

    .lightbox__nav {
        display: none;
    }

    .contact__map iframe {
        height: 300px;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero,
    .gallery,
    .cta,
    .scroll-top {
        display: none;
    }

    body {
        font-size: 12pt;
    }

    .container {
        max-width: 100%;
    }

    .menu-item {
        break-inside: avoid;
    }
}