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

    --text-primary: #2d3436;
    --text-secondary: #636e72;
    --text-light: #b2bec3;

    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-dark: #2d3436;

    --border-color: #dfe6e9;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);

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

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

    /* Container */
    --container-mobile: calc(100% - 2rem);
    --container-tablet: 720px;
    --container-desktop: 960px;
    --container-wide: 1140px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

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

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

ul {
    list-style: none;
}

/* ===========================
   UTILITY CLASSES
   =========================== */
.container {
    width: 90%;
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 1rem;
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-primary);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 1rem auto 0;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-normal);
}

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

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

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

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

/* ===========================
   NAVIGATION
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-normal);
}

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

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

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

.navbar__toggle {
    display: none;
    flex-direction: column;
    width: 30px;
    height: 24px;
    justify-content: space-between;
    z-index: 1001;
}

.navbar__toggle span {
    display: block;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all var(--transition-fast);
}

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

.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;
    gap: 2rem;
}

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

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

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

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

/* ===========================
   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%;
}

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

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

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 0 2rem;
}

.hero__title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero__subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

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

.hero__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

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

/* Stars */
.stars {
    display: inline-flex;
    gap: 0.2rem;
}

.stars--large {
    gap: 0.3rem;
}

.star {
    color: #ffd700;
    font-size: 1.2rem;
}

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

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

.star.empty {
    color: rgba(255, 255, 255, 0.3);
}

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

.about__text {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-secondary);
}

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

.feature {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    transition: transform var(--transition-normal);
}

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

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

.feature__title {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

/* ===========================
   HIGHLIGHTS SECTION
   =========================== */
.highlights {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

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

.highlight-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

.highlight-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.highlight-card__title {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.highlight-card__list {
    list-style: none;
}

.highlight-card__list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.highlight-card__list li:last-child {
    border-bottom: none;
}

.highlight-card__list li::before {
    content: '✓ ';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

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

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

.gallery__tab {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-weight: 500;
    transition: all var(--transition-fast);
}

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

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

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

.gallery__item.hidden {
    display: none;
}

.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: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0);
    transition: background var(--transition-normal);
}

.gallery__item:hover::after {
    background: rgba(0,0,0,0.2);
}

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

.reviews__summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.reviews__overall {
    text-align: center;
}

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

.reviews__count {
    margin-top: 1rem;
    color: var(--text-secondary);
}

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

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

.rating-bar__label {
    width: 30px;
    font-weight: 500;
    color: var(--text-secondary);
}

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

.rating-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: width var(--transition-normal);
}

.rating-bar__count {
    width: 30px;
    text-align: right;
    color: var(--text-secondary);
}

.reviews__slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    padding: 1rem 0;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin: 0 0.5rem;
    display: none;
}

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

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

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

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

.review-card__text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 1.5rem 0;
    font-style: italic;
}

.review-card__ratings {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--bg-secondary);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.review-card__context {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.review-card__context p {
    margin: 0.3rem 0;
}

.reviews__navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

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

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

.reviews__highlight {
    max-width: 600px;
    margin: 3rem auto 0;
    text-align: center;
}

.reviews__highlight h3 {
    font-family: var(--font-primary);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border-radius: 25px;
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
}

.tag__count {
    font-size: 0.9rem;
    color: var(--text-light);
}

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

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

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact__item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

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

.contact__title {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

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

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

.hours-table {
    width: 100%;
}

.hours-table td {
    padding: 0.3rem 0;
    color: var(--text-secondary);
}

.hours-table td:last-child {
    text-align: right;
    font-weight: 500;
}

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

.contact__map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer__brand h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer__brand p {
    color: rgba(255,255,255,0.7);
}

.footer__links h4,
.footer__contact h4 {
    margin-bottom: 1rem;
    font-family: var(--font-primary);
}

.footer__links ul li {
    margin-bottom: 0.5rem;
}

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

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

.footer__contact p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
}

.footer__contact a {
    color: rgba(255,255,255,0.7);
}

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

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    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: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes zoomIn {
    from { transform: scale(0.8); }
    to { transform: scale(1); }
}

.lightbox__close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.lightbox__close:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

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

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

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

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

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

/* Tablet */
@media (max-width: 1023px) {
    :root {
        --spacing-xl: 3rem;
    }

    .container {
        max-width: var(--container-tablet);
    }

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

    .rating-bar {
        max-width: 400px;
        margin: 0 auto;
    }

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

/* Mobile */
@media (max-width: 767px) {
    :root {
        --spacing-xl: 2rem;
    }

    .navbar__toggle {
        display: flex;
    }

    .navbar__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition-normal);
        gap: 1rem;
    }

    .navbar__menu.active {
        right: 0;
    }

    .navbar__link {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }

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

    .btn {
        width: 100%;
        max-width: 300px;
    }

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

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

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

    .review-card {
        padding: 1.5rem;
    }

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

    .lightbox__close,
    .lightbox__nav {
        width: 45px;
        height: 45px;
        font-size: 2rem;
    }

    .lightbox__close {
        top: 1rem;
        right: 1rem;
    }

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

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

/* Small Mobile */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1.1rem;
    }

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

/* ===========================
   ANIMATIONS & INTERACTIONS
   =========================== */

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Loading state */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Smooth transitions */
* {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
