/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    /* Colors - Warm barbecue theme */
    --primary: #d4521f;
    --primary-dark: #a83d14;
    --primary-light: #e67a47;
    --secondary: #f4a460;
    --accent: #ff6b35;

    --bg-primary: #fff;
    --bg-secondary: #f8f9fa;
    --bg-dark: #1a1a1a;

    --text-primary: #2c3e50;
    --text-secondary: #6c757d;
    --text-light: #fff;

    --border-color: #e0e0e0;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.2);

    /* Typography */
    --font-heading: 'Georgia', serif;
    --font-body: -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;

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    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;
    overflow-x: hidden;
}

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

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

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

/* ========================================
   LAYOUT COMPONENTS
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

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

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

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

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.header {
    background: var(--bg-primary);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
}

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

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 30px;
    height: 24px;
    padding: 0;
}

.nav__toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
}

.nav__list {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav__link {
    padding: var(--spacing-xs) var(--spacing-sm);
    color: var(--text-primary);
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--primary);
    background: var(--bg-secondary);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

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

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero__slide.active {
    opacity: 1;
}

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

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

.hero__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-light);
}

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

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

.hero__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

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

.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;
}

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

.hero__buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

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

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

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

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

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

.hero__prev,
.hero__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255,255,255,0.2);
    color: var(--text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.hero__prev:hover,
.hero__next:hover {
    background: rgba(255,255,255,0.4);
}

.hero__prev {
    left: 20px;
}

.hero__next {
    right: 20px;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about__highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.highlight {
    text-align: center;
    padding: var(--spacing-md);
    border-radius: 10px;
    background: var(--bg-secondary);
    transition: var(--transition);
}

.highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow);
}

.highlight__icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.highlight h3 {
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    background: var(--bg-secondary);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.feature {
    background: var(--bg-primary);
    padding: var(--spacing-md);
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow);
    border-color: var(--primary-light);
}

.feature__icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.feature__title {
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
}

/* ========================================
   MENU SECTION
   ======================================== */
.menu__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.menu-item {
    background: var(--bg-secondary);
    padding: var(--spacing-md);
    border-radius: 10px;
    transition: var(--transition);
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow);
}

.menu-item__icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.menu-item__name {
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
}

.menu-item__desc {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.menu-item__tags {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.tag {
    background: var(--primary);
    color: var(--text-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.tag--highlight {
    background: var(--accent);
}

.price-info {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border-radius: 10px;
    font-size: 1.1rem;
}

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

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

.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: var(--transition);
}

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

/* ========================================
   REVIEWS SECTION
   ======================================== */
.reviews__summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border-radius: 10px;
}

.rating-summary {
    text-align: center;
}

.rating-summary__score {
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary);
    font-family: var(--font-heading);
}

.rating-summary__stars {
    margin: var(--spacing-sm) 0;
}

.rating-distribution {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.rating-bar__label {
    min-width: 30px;
    font-weight: 500;
}

.rating-bar__fill {
    flex: 1;
    height: 8px;
    background: var(--primary);
    border-radius: 4px;
}

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

.reviews__slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.review-card {
    background: var(--bg-secondary);
    padding: var(--spacing-md);
    border-radius: 10px;
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow);
}

.review-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.review-card__stars .star {
    font-size: 1.2rem;
}

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

.review-card__text {
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.review-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.badge {
    background: var(--primary-light);
    color: var(--text-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

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

.hours__grid {
    max-width: 600px;
    margin: 0 auto var(--spacing-md);
}

.hours__item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm);
    border-bottom: 1px solid var(--border-color);
}

.hours__item:last-child {
    border-bottom: none;
}

.hours__day {
    font-weight: 600;
}

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

.hours__item--closed .hours__time {
    color: var(--primary);
    font-weight: 600;
}

.reservation-info {
    text-align: center;
    padding: var(--spacing-md);
    background: #fff3cd;
    border-radius: 10px;
    border-left: 4px solid var(--accent);
    max-width: 600px;
    margin: var(--spacing-md) auto 0;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact__item h3 {
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
}

.contact__item .icon {
    margin-right: var(--spacing-xs);
}

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

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

.contact__map iframe {
    border-radius: 10px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

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

.footer h3,
.footer h4 {
    font-family: var(--font-heading);
    color: var(--primary-light);
    margin-bottom: var(--spacing-sm);
}

.footer__links ul {
    list-style: none;
}

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

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

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

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

.footer__bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

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

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

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    color: var(--text-light);
    background: rgba(255,255,255,0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--transition);
}

.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;
}

.lightbox__next {
    right: 20px;
}

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

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

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

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

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

    .hero__title {
        font-size: 2.5rem;
    }
}

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

    .nav__list {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-primary);
        flex-direction: column;
        padding: var(--spacing-md);
        transition: var(--transition);
        box-shadow: 0 4px 6px var(--shadow);
    }

    .nav__list.active {
        left: 0;
    }

    .hero {
        height: 400px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1.1rem;
    }

    .hero__prev,
    .hero__next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

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

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

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

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

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

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

    .hero__title {
        font-size: 1.75rem;
    }

    .hero__buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 var(--spacing-sm);
    }

    .btn {
        width: 100%;
    }

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

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