/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Colors - Casual Restaurant Theme */
    --primary-color: #e74c3c;
    --primary-dark: #c0392b;
    --primary-light: #ec7063;
    --secondary-color: #f39c12;
    --secondary-dark: #d68910;

    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --text-white: #ffffff;

    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #2c3e50;
    --bg-overlay: rgba(44, 62, 80, 0.7);

    --border-color: #e1e8ed;
    --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: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-headings: Georgia, 'Times New Roman', serif;

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

    /* 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
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    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: color var(--transition-fast);
}

ul {
    list-style: none;
}

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

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

.section {
    padding: var(--spacing-lg) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-family: var(--font-headings);
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

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

.section-subtitle {
    color: var(--text-light);
    font-size: 1.125rem;
}

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

.navbar.hidden {
    transform: translateY(-100%);
}

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

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

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
}

.navbar__toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition-fast);
}

.navbar__menu {
    display: flex;
    gap: 2rem;
}

.navbar__link {
    color: var(--text-dark);
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

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

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

.navbar__link:hover::after,
.navbar__link.active::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%;
    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: var(--bg-overlay);
}

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

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

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

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

.hero__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.rating-stars {
    display: flex;
    gap: 0.25rem;
}

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

.star.filled {
    color: var(--secondary-color);
}

.rating-text {
    font-size: 1.125rem;
}

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

.badge {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

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

.btn {
    padding: 0.875rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all var(--transition-normal);
    display: inline-block;
}

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

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

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

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

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-white);
    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); }
}

.scroll-indicator {
    width: 2px;
    height: 30px;
    background: var(--text-white);
    margin: 0.5rem auto 0;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--bg-white);
}

.about__content {
    max-width: 800px;
    margin: 0 auto;
}

.about__info h3 {
    font-family: var(--font-headings);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about__info p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

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

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

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

.feature-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.875rem;
}

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

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

.service-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

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

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.875rem;
}

.amenities {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 10px;
}

.amenities h3 {
    font-family: var(--font-headings);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

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

.amenity-tag {
    background: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
    background: var(--bg-white);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.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%);
    font-size: 2rem;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-item:hover::after {
    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;
    color: var(--text-white);
    font-size: 2rem;
    background: rgba(255,255,255,0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

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

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

.lightbox__prev {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__next {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__counter {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-white);
    font-size: 1.125rem;
}

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

.reviews-summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
}

.reviews-score {
    text-align: center;
}

.score-number {
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary-color);
    font-family: var(--font-headings);
}

.score-stars {
    font-size: 1.5rem;
    margin: 1rem 0;
}

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

.reviews-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.breakdown-item span:first-child {
    min-width: 100px;
    font-weight: 500;
}

.breakdown-bar {
    flex: 1;
    height: 8px;
    background: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.breakdown-fill {
    height: 100%;
    background: var(--secondary-color);
    transition: width 1s ease;
}

.breakdown-item span:last-child {
    min-width: 40px;
    text-align: right;
    font-weight: 600;
}

.reviews-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
}

.review-card {
    flex: 0 0 350px;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    scroll-snap-align: start;
}

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

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

.review-translation {
    color: var(--text-light);
    font-style: italic;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.review-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

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

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

.carousel-btn {
    background: var(--primary-color);
    color: var(--text-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

.carousel-btn:hover {
    background: var(--primary-dark);
}

/* ============================================
   POPULAR TIMES SECTION
   ============================================ */
.popular-times {
    background: var(--bg-white);
}

.current-status {
    text-align: center;
    margin-bottom: 2rem;
}

.status-indicator {
    display: inline-block;
    background: #27ae60;
    color: var(--text-white);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
}

.times-chart {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
}

.day-chart {
    margin-bottom: 2rem;
}

.day-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.hours-bars {
    display: flex;
    gap: 2px;
    height: 60px;
    align-items: flex-end;
}

.hour-bar {
    flex: 1;
    background: var(--border-color);
    border-radius: 2px 2px 0 0;
    position: relative;
    transition: all var(--transition-fast);
}

.hour-bar:hover {
    background: var(--primary-light);
}

.hour-bar::after {
    content: attr(data-hour);
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: var(--text-light);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.hour-bar:hover::after {
    opacity: 1;
}

/* ============================================
   OPENING HOURS SECTION
   ============================================ */
.hours {
    background: var(--bg-light);
}

.hours-list {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-fast);
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item:hover {
    background: var(--bg-light);
}

.hours-item--highlight {
    background: var(--primary-light);
    color: var(--text-white);
}

.hours-item--highlight:hover {
    background: var(--primary-color);
}

.day {
    font-weight: 600;
}

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

.hours-item--highlight .time {
    color: var(--text-white);
    opacity: 0.9;
}

.hours-note {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background: var(--secondary-color);
    color: var(--text-white);
    border-radius: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--bg-white);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    transition: transform var(--transition-normal);
}

.info-card:hover {
    transform: translateX(5px);
}

.info-icon {
    font-size: 2rem;
}

.info-details h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.info-details p {
    color: var(--text-light);
    font-size: 0.875rem;
}

.contact-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.map-link {
    display: block;
    position: relative;
    height: 100%;
}

.map-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.map-link:hover .map-overlay {
    opacity: 1;
}

.map-overlay span {
    color: var(--text-white);
    font-size: 1.25rem;
    font-weight: 600;
}

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

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

.footer-section h3 {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section a {
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.footer-section a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.6;
}

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

/* Tablet */
@media (max-width: 1023px) {
    .container {
        max-width: var(--container-tablet);
    }

    .hero__title {
        font-size: 3rem;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
    }

    .reviews-summary {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

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

    .navbar__toggle {
        display: flex;
    }

    .navbar__menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-normal);
        box-shadow: var(--shadow-md);
    }

    .navbar__menu.active {
        max-height: 400px;
    }

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

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.25rem;
    }

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

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

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

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

    .review-card {
        flex: 0 0 300px;
    }

    .lightbox__prev,
    .lightbox__next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .lightbox__prev {
        left: 1rem;
    }

    .lightbox__next {
        right: 1rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease;
}

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

.slide-in-right {
    animation: slideInRight 0.6s ease;
}

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

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

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}