/* ===================================
   CSS VARIABLES & ROOT STYLES
   =================================== */
:root {
    /* Colors - Casual Restaurant Theme */
    --primary-color: #ff6b6b;
    --primary-dark: #ee5a52;
    --primary-light: #ff8787;
    --secondary-color: #4ecdc4;
    --secondary-dark: #45b8b0;

    /* Neutral Colors */
    --dark: #1a1a1a;
    --dark-gray: #2d2d2d;
    --medium-gray: #666;
    --light-gray: #f5f5f5;
    --white: #ffffff;

    /* Text Colors */
    --text-primary: #1a1a1a;
    --text-secondary: #666;
    --text-light: #999;

    /* Typography */
    --font-heading: 'Georgia', serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

    /* Spacing */
    --container-width: 1140px;
    --section-padding: 100px;
    --grid-gap: 30px;

    /* Effects */
    --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 cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
}

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

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

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

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

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

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

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

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

.section-label {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--dark);
    font-weight: 700;
    line-height: 1.2;
}

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

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

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

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

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

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

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

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

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

.navbar__menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.navbar__link {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

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

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

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

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

.navbar__link--cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    height: 22px;
}

.navbar__toggle span {
    width: 100%;
    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;
    color: var(--white);
    overflow: hidden;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero__image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    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(255, 107, 107, 0.8), rgba(78, 205, 196, 0.6));
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    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-heading);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    font-size: 1.25rem;
    margin-bottom: 24px;
    opacity: 0.95;
}

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

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

.star {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.3);
}

.star.filled {
    color: #ffd700;
}

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

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

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--white);
    opacity: 0.8;
    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);
    }
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    padding: var(--section-padding) 0;
}

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

.about__text p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

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

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

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

.feature-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

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

.about__image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about__image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--transition);
}

.about__image:hover img {
    transform: scale(1.05);
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services {
    padding: var(--section-padding) 0;
    background: var(--light-gray);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

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

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

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

.service-item__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-item__text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ===================================
   GALLERY SECTION
   =================================== */
.gallery {
    padding: var(--section-padding) 0;
}

.gallery__filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.gallery__filter {
    padding: 10px 24px;
    border-radius: 50px;
    background: var(--light-gray);
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
}

.gallery__filter:hover,
.gallery__filter--active {
    background: var(--primary-color);
    color: var(--white);
}

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

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

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

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

.gallery__item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 107, 107, 0.8);
    opacity: 0;
    transition: var(--transition);
}

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

/* ===================================
   REVIEWS SECTION
   =================================== */
.reviews {
    padding: var(--section-padding) 0;
    background: var(--light-gray);
}

.reviews__stats {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.reviews__overall {
    text-align: center;
}

.reviews__score {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.stars--large {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

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

.rating-bar {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.rating-bar__label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.rating-bar__track {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar__fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    transition: width 0.6s ease;
}

.rating-bar__count {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: right;
}

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

.review-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    display: none;
}

.review-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

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

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

.review-card__text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.review-card__ratings {
    display: flex;
    gap: 20px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--light-gray);
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
}

.review-rating__label {
    color: var(--text-secondary);
}

.review-rating__value {
    font-weight: 600;
    color: var(--primary-color);
}

.review-card__images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.review-card__image {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
}

.review-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: var(--transition);
}

.review-card__image img:hover {
    transform: scale(1.05);
}

.reviews__controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.reviews__arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.reviews__arrow:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

/* ===================================
   HOURS SECTION
   =================================== */
.hours {
    padding: var(--section-padding) 0;
}

.hours__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.hours__item {
    display: flex;
    justify-content: space-between;
    padding: 16px 24px;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.hours__item:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(8px);
}

.hours__day {
    font-weight: 600;
}

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

.hours__item:hover .hours__time {
    color: var(--white);
    opacity: 0.9;
}

.hours__note {
    text-align: center;
    margin-top: 32px;
    font-size: 1.125rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    padding: var(--section-padding) 0;
    background: var(--light-gray);
}

.contact__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact__details {
    margin: 40px 0;
}

.contact__item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.contact__icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.contact__text h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.contact__text p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.map-wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 100%;
    min-height: 400px;
}

/* ===================================
   ORDER SECTION
   =================================== */
.order {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.order__content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.order__title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 20px;
}

.order__text {
    font-size: 1.125rem;
    margin-bottom: 48px;
    opacity: 0.95;
}

.order__options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.order-option {
    background: rgba(255, 255, 255, 0.15);
    padding: 32px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.order-option:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-8px);
}

.order-option__icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

.order-option h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.order-option p {
    opacity: 0.9;
}

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

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

.footer__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.footer__subtitle {
    font-size: 1.125rem;
    margin-bottom: 16px;
    font-weight: 600;
}

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

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 12px;
}

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

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

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

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

.lightbox.active {
    display: flex;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: var(--white);
    z-index: 2001;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

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

.lightbox__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2001;
}

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

.lightbox__arrow--prev {
    left: 30px;
}

.lightbox__arrow--next {
    right: 30px;
}

.lightbox__content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox__content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

/* ===================================
   MEDIA QUERIES - RESPONSIVE
   =================================== */

/* Tablet */
@media (max-width: 1023px) {
    :root {
        --section-padding: 80px;
    }

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

    .hero__title {
        font-size: 3rem;
    }

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

    .about__features {
        grid-template-columns: repeat(3, 1fr);
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer__content {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* Mobile */
@media (max-width: 767px) {
    :root {
        --section-padding: 60px;
    }

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

    .navbar__menu.active {
        left: 0;
    }

    .navbar__toggle {
        display: flex;
    }

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

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

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

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

    .hero {
        height: 80vh;
    }

    .hero__title {
        font-size: 2.25rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero__buttons {
        flex-direction: column;
    }

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

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

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

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

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

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

    .order__title {
        font-size: 2rem;
    }

    .lightbox__arrow {
        width: 40px;
        height: 40px;
    }

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

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