/* 
   --------------------------------------------------------------
   CSS Variables & Design System
   --------------------------------------------------------------
*/
:root {
    /* Colors */
    --primary-color: #e66c1a;
    /* Vibrant Red for accents */
    --secondary-color: #a93314;
    /* Deep Blue for headers */
    --text-color: #261204;
    /* Muted Blue for text */
    --text-dark: #100B05;
    --text-light: #712316;
    --bg-color: #FAF5EF;
    --white: #ffffff;
    --light-gray: #e9ecef;
    --border-color: #dee2e6;
    --success-color: #2a9d8f;
    --warning-color: #e9c46a;

    /* Shadows & Effects */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;

    /* Spacing */
    --container-width: 1300px;
}

/* 
   --------------------------------------------------------------
   Reset & Base Styles
   --------------------------------------------------------------
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-sm);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* 
   --------------------------------------------------------------
   Typography & Utilities
   --------------------------------------------------------------
*/
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.full-width {
    width: 100%;
    display: block;
    text-align: center;
}

.btn-primary,
.btn-outline,
.btn-text {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    border: 2px solid transparent;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
    background-color: #d62828;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(230, 57, 70, 0.4);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline.white-btn {
    border-color: var(--white);
    color: var(--white);
}

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

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

.btn-text {
    padding: 0;
    color: var(--primary-color);
    font-weight: 600;
    background: none;
    border: none;
    border-radius: 0;
}

.btn-text:hover {
    text-decoration: underline;
}

/* 
   --------------------------------------------------------------
   Header
   --------------------------------------------------------------
*/
/* 
   --------------------------------------------------------------
   Header Refactor
   --------------------------------------------------------------
*/
.main-header {
    background-color: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1,
.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    font-family: 'Playfair Display', serif;
    margin: 0;
    line-height: 1;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-list a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-light);
    position: relative;
    padding: 5px 0;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary-color);
}

.nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-list a:hover::after {
    transform: scaleX(1);
}

.special-link {
    background: var(--light-gray);
    padding: 6px 12px !important;
    border-radius: 4px;
    font-size: 0.85rem !important;
}

.mobile-only {
    display: none;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* 
   --------------------------------------------------------------
   New Hero Section (with content inside)
   --------------------------------------------------------------
*/
.hero-section {
    position: relative;
    padding: 60px 0;
    margin-bottom: 0;
    color: var(--white);
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 80px;
    /* Space for the overlapping card */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(29, 53, 87, 0.9) 0%, rgba(29, 53, 87, 0.4) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.badge-category {
    background-color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--white);
}

.place-title {
    font-size: 3.2rem;
    color: var(--white);
    margin-bottom: 5px;
    line-height: 1.1;
}

.place-tagline {
    font-size: 1rem;
    opacity: 1;
    font-weight: 400;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-page-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

/* 
   --------------------------------------------------------------
   Info Card (Floating Glass)
   --------------------------------------------------------------
*/
.info-card-wrapper {
    position: relative;
    margin-top: -60px;
    /* Negative margin creates overlap */
    z-index: 10;
    padding-bottom: 20px;
}

.hero-info-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    padding: 25px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.info-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    /* Changed to primary from white */
}

.info-item address,
.info-item a,
.review-count {
    color: var(--text-dark);
    /* Dark text for contrast on white card */
    font-style: normal;
    font-weight: 500;
}

.open-status-text {
    font-weight: 600;
}


/* 
   --------------------------------------------------------------
   Main Layout & Content
   --------------------------------------------------------------
*/
.main-layout {
    padding-top: 40px;
    display: block;
    /* Single column flow */
}

.single-column {
    max-width: var(--container-width);
    /* Matches hero/container width */
}

.section-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
    border: 1px solid var(--light-gray);
    scroll-margin-top: 150px;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

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

/* Amenities - Categorized Grid (Accordion Style) */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 Columns */
    gap: 20px;
    align-items: start;
}

.amenity-group.accordion-style {
    margin-bottom: 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-color);
}

.amenity-accordion-header {
    padding: 15px 20px;
    background: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.amenity-accordion-header:hover {
    background: #f1f1f1;
}

.amenity-category-title {
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary-color);
}

.amenity-category-title i {
    color: var(--primary-color);
}

.amenity-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: var(--white);
}

.amenities-items-wrapper {
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
}

.amenity-item {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.amenity-item:last-child {
    margin-bottom: 0;
}

.amenity-item i {
    font-size: 0.8rem;
    color: var(--success-color);
}

.accordion-icon {
    font-size: 0.9rem;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

/* Active State for Amenity Accordion */
.amenity-group.active .accordion-icon {
    transform: rotate(180deg);
}

/* 
   --------------------------------------------------------------
   Gallery
   --------------------------------------------------------------
*/
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.view-all-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 220px);
    gap: 15px;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--radius-sm);
    position: relative;
    cursor: pointer;
}

.gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* 
   --------------------------------------------------------------
   Menu Styles (Restored)
   --------------------------------------------------------------
*/
.menu-preview {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-cta {
    text-align: center;
    margin-top: 30px;
}

.menu-item {
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 15px;
}

.menu-item:last-child {
    border: none;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.menu-item-price {
    color: var(--primary-color);
}

.menu-item-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* 
   --------------------------------------------------------------
   Reviews Styles (Restored)
   --------------------------------------------------------------
*/
/* Summary Box */
.reviews-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.review-stat-box {
    background: var(--bg-color);
    padding: 25px;
    border-radius: var(--radius-sm);
}

.review-stat-box h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.liked h3 {
    color: var(--success-color);
}

.disliked h3 {
    color: var(--primary-color);
}

.review-stat-box ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.review-stat-box ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-light);
}

/* Reviews List */
.review-item {
    border-bottom: 1px solid var(--border-color);
    padding: 25px 0;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.reviewer-avatar {
    width: 45px;
    height: 45px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.reviewer-info h4 {
    margin: 0;
    font-size: 1rem;
}

.review-date {
    margin-left: auto;
    font-size: 0.85rem;
    color: var(--text-light);
}

.review-body p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

.review-footer {
    margin-top: 10px;
}

.helpful-btn {
    font-size: 0.85rem;
    color: var(--text-light);
    cursor: pointer;
}

.helpful-btn:hover {
    color: var(--text-dark);
}

/* Add Review Form */
.add-review-container {
    margin-top: 40px;
    background: var(--bg-color);
    padding: 25px;
    border-radius: var(--radius-md);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.star-input i {
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--warning-color);
}



/* 
   --------------------------------------------------------------
   Location Section (Split Columns)
   --------------------------------------------------------------
*/
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.subsection-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 10px;
}

.hours-list .hour-row {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
    display: flex;
    justify-content: space-between;
}

.hour-row.today {
    color: var(--success-color);
    font-weight: 700;
}

.hour-row.closed {
    color: var(--primary-color);
}

.map-embed {
    border-radius: var(--radius-sm);
    overflow: hidden;
}

/* 
   --------------------------------------------------------------
   FAQ Styles (Restored)
   --------------------------------------------------------------
*/
.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-header {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    padding-bottom: 20px;
    color: var(--text-light);
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-header i {
    transition: transform 0.3s ease;
}

/* 
   --------------------------------------------------------------
   Related Places Styles (Restored)
   --------------------------------------------------------------
*/
.related-section {
    padding: 60px 0;
}

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

.place-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.card-image {
    position: relative;
    height: 180px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--success-color);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.card-badge.closed {
    background: var(--text-light);
}

.card-content {
    padding: 15px;
}

.card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-family: 'Outfit', sans-serif;
}

.card-rating {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--warning-color);
    margin-bottom: 5px;
}

.card-rating span {
    color: var(--text-light);
    font-weight: 400;
    font-size: 0.8rem;
}

.card-address {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* 
   --------------------------------------------------------------
   Footer
   --------------------------------------------------------------
*/
.main-footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 300px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-col ul a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* 
   --------------------------------------------------------------
   Lightbox
   --------------------------------------------------------------
*/
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

/* 
   --------------------------------------------------------------
   Responsiveness
   --------------------------------------------------------------
*/
@media (max-width: 992px) {
    :root {
        --container-width: 95%;
    }

    .info-card-wrapper {
        margin-top: -30px;
    }

    .hero-info-card {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .info-divider {
        display: none;
    }

    .info-item {
        width: 100%;
    }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

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

@media (max-width: 768px) {
    .main-header {
        padding: 10px 0;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        align-items: flex-start;
        gap: 0;
    }

    .nav-list a {
        display: block;
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-list .mobile-only {
        display: block;
        width: 100%;
        margin-top: 10px;
    }

    .special-link {
        text-align: center;
        width: 100%;
        display: block;
    }

    .nav-list.active {
        display: flex;
    }

    .hero-section {
        min-height: auto;
        padding-top: 60px;
        padding-bottom: 80px;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .hero-header-center {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .place-title {
        font-size: 2.5rem;
    }

    .info-card-wrapper {
        margin-top: -40px;
    }

    .hero-info-card {
        padding: 20px;
    }

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

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

    .gallery-item:first-child {
        grid-column: auto;
        grid-row: auto;
        height: 250px;
    }

    .gallery-item {
        height: 250px;
    }

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

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