/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
    /* Colors - Casual Restaurant Theme */
    --primary-color: #d4a574;
    --primary-dark: #b8864d;
    --primary-light: #e6c9a8;
    --secondary-color: #2c3e50;
    --secondary-dark: #1a252f;
    --secondary-light: #34495e;

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

    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #2c3e50;

    --border-color: #e9ecef;
    --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 20px rgba(0, 0, 0, 0.15);

    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-secondary: Georgia, 'Times New Roman', serif;

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

    /* Container */
    --container-max-width: 1140px;

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

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

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

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

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

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

ul {
    list-style: none;
}

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

/* ==========================================
   UTILITIES
   ========================================== */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

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

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

.section-title {
    font-family: var(--font-secondary);
    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-color: var(--primary-color);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 50px;
    transition: var(--transition-normal);
    cursor: pointer;
}

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

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

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

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

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
}

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

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

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav__toggle-line {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition-fast);
}

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

.nav__link {
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: var(--transition-fast);
}

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

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    margin-top: 70px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.03) 10px,
            rgba(255, 255, 255, 0.03) 20px);
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

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

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

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

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

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

.about__text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    text-align: justify;
}

/* ==========================================
   HIGHLIGHTS SECTION
   ========================================== */
.highlights {
    background-color: var(--bg-light);
}

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

.highlight-card {
    background-color: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

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

.highlight-card__title {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.highlight-card__text {
    color: var(--text-light);
    line-height: 1.6;
}

/* ==========================================
   AMENITIES SECTION
   ========================================== */
.amenities {
    background-color: var(--bg-white);
}

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

.amenity-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background-color: var(--bg-light);
    border-radius: 8px;
    transition: var(--transition-fast);
}

.amenity-item:hover {
    background-color: var(--primary-light);
}

.amenity-item__icon {
    font-size: 1.5rem;
}

.amenity-item__text {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

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

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

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

.rating-display__stars {
    display: flex;
    gap: 4px;
}

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

.star--filled {
    color: #ffa500;
}

.rating-display__score {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.reviews__count {
    color: var(--text-light);
    font-size: 1rem;
}

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

.review-card {
    background-color: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.review-card:hover {
    box-shadow: var(--shadow-md);
}

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

.review-card__stars {
    display: flex;
    gap: 3px;
}

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

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

.review-card__text {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
    font-style: italic;
}

.review-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.review-card__badge {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

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

/* Rating Distribution */
.reviews__distribution {
    max-width: 500px;
    margin: var(--spacing-lg) auto 0;
    background-color: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.reviews__distribution-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

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

.rating-bar__label {
    min-width: 40px;
    font-size: 0.875rem;
    color: var(--text-dark);
}

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

.rating-bar__fill {
    height: 100%;
    background-color: var(--primary-color);
    transition: width var(--transition-slow);
}

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

/* ==========================================
   RELATED PLACES SECTION
   ========================================== */
.related {
    background-color: var(--bg-white);
}

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

.related-card {
    background-color: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: 10px;
    transition: var(--transition-normal);
    cursor: pointer;
}

.related-card:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
}

.related-card__title {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.related-card__rating {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

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

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

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

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

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

.contact__item {
    display: flex;
    gap: var(--spacing-sm);
    background-color: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.contact__item-icon {
    font-size: 2rem;
    min-width: 50px;
}

.contact__item-title {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.contact__item-text {
    color: var(--text-light);
    line-height: 1.6;
}

.contact__map {
    position: relative;
}

.map {
    width: 100%;
    height: 400px;
    background-color: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    background-image: linear-gradient(45deg, #f0f0f0 25%, transparent 25%),
                      linear-gradient(-45deg, #f0f0f0 25%, transparent 25%),
                      linear-gradient(45deg, transparent 75%, #f0f0f0 75%),
                      linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

.map::before {
    content: '📍';
    font-size: 4rem;
}

.contact__map-link {
    width: 100%;
    text-align: center;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-white);
    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-lg);
}

.footer__title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

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

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

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

.footer__link:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

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

.footer__copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

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

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Tablet */
@media (max-width: 1023px) {
    .section-title {
        font-size: 2rem;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.25rem;
    }

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

/* Mobile */
@media (max-width: 767px) {
    .nav__toggle {
        display: flex;
    }

    .nav__list {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 70%;
        height: calc(100vh - 70px);
        flex-direction: column;
        background-color: var(--bg-white);
        padding: var(--spacing-md);
        box-shadow: var(--shadow-lg);
        transition: var(--transition-normal);
    }

    .nav__list.active {
        right: 0;
    }

    .nav__link {
        width: 100%;
        padding: var(--spacing-sm);
    }

    .hero {
        margin-top: 70px;
        min-height: 500px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

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

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

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

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

    .highlights__grid,
    .amenities__grid,
    .reviews__grid,
    .related__grid {
        grid-template-columns: 1fr;
    }

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

    .footer__links {
        align-items: center;
    }
}