/* ===== VARIABLES & RESET ===== */
:root {
    --burgundy: #7B2D3B;
    --burgundy-dark: #5A1F2B;
    --amber: #D4943A;
    --amber-light: #E8B76A;
    --cream: #FFF8F0;
    --cream-dark: #F5EDE3;
    --charcoal: #2C2C2C;
    --gray-700: #444;
    --gray-500: #777;
    --gray-300: #CCC;
    --gray-100: #F5F5F5;
    --white: #FFFFFF;
    --star-color: #D4943A;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
}

a { color: var(--burgundy); text-decoration: none; }
a:hover { color: var(--burgundy-dark); }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px; }

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--cream-dark);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--charcoal);
}

.logo-icon { font-size: 28px; }

.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 20px; color: var(--burgundy); }
.logo-tagline { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--gray-500); font-weight: 500; }

.main-nav { display: flex; gap: 32px; }
.main-nav a {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 15px;
    transition: color var(--transition);
    position: relative;
}
.main-nav a:hover { color: var(--burgundy); }
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--burgundy);
    transition: width var(--transition);
}
.main-nav a:hover::after { width: 100%; }

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    padding: 100px 0 80px;
    text-align: center;
    color: var(--white);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 16px;
}

.hero h1 em {
    font-style: italic;
    color: var(--amber-light);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    max-width: 560px;
    margin: 0 auto 40px;
    font-weight: 300;
}

.hero-search {
    display: flex;
    max-width: 560px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-search input {
    flex: 1;
    border: none;
    padding: 16px 24px;
    font-size: 16px;
    font-family: inherit;
    outline: none;
    color: var(--charcoal);
}

.hero-search button {
    background: var(--amber);
    color: var(--white);
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background var(--transition);
}
.hero-search button:hover { background: var(--amber-light); }

/* ===== SECTION TITLES ===== */
.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 12px;
    color: var(--charcoal);
}

.section-intro {
    text-align: center;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto 48px;
    font-size: 1.05rem;
}

/* ===== FILTER BAR ===== */
.browse-section { padding: 60px 0 20px; }

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
    background: var(--cream);
    padding: 24px;
    border-radius: var(--radius-lg);
    margin-top: 24px;
}

.filter-group {
    flex: 1;
    min-width: 150px;
}

.filter-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
    margin-bottom: 6px;
}

.filter-group select,
.filter-group input[type="text"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    background: var(--white);
    color: var(--charcoal);
    outline: none;
    transition: border-color var(--transition);
}

.filter-group select:focus,
.filter-group input[type="text"]:focus {
    border-color: var(--burgundy);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
}

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

/* ===== RESTAURANT GRID ===== */
.latest-section,
.articles-section { padding: 60px 0; }

.restaurant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 32px;
}

.restaurant-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition);
    color: var(--charcoal);
    display: block;
}
.restaurant-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    color: var(--charcoal);
}

.restaurant-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--cream-dark);
    position: relative;
}

.price-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--burgundy);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.restaurant-card-body { padding: 20px; }

.restaurant-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 6px;
    font-family: 'Playfair Display', serif;
}

.restaurant-meta {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 10px;
}

.restaurant-rating { display: flex; align-items: center; gap: 6px; }

.stars { color: var(--star-color); font-size: 16px; letter-spacing: 1px; }
.rating-num { font-weight: 600; font-size: 14px; }
.review-count { font-size: 13px; color: var(--gray-500); }

.restaurant-reviewers {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 8px;
    font-style: italic;
}

/* ===== REVIEWERS SECTION ===== */
.reviewers-section {
    padding: 80px 0;
    background: var(--cream);
}

.reviewers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 32px;
}

.reviewer-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    color: var(--charcoal);
    display: block;
}
.reviewer-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    color: var(--charcoal);
}

.reviewer-headshot {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 4px solid var(--cream-dark);
    box-shadow: var(--shadow-md);
}

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

.reviewer-card h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.reviewer-specialty {
    font-size: 13px;
    color: var(--amber);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.reviewer-location {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 10px;
}

.reviewer-bio-short {
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.5;
}

/* ===== ARTICLES LIST ===== */
.articles-list {
    max-width: 800px;
    margin: 32px auto 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.article-card {
    display: flex;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
    border: 1px solid var(--cream-dark);
}
.article-card:hover { box-shadow: var(--shadow-md); }

.article-card-content { padding: 24px; flex: 1; }

.article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.article-author-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.article-author { font-weight: 600; font-size: 14px; }
.article-date { font-size: 13px; color: var(--gray-500); }

.article-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.article-card h3 a { color: var(--charcoal); }
.article-card h3 a:hover { color: var(--burgundy); }

.article-excerpt { font-size: 14px; color: var(--gray-700); margin-bottom: 12px; }

.article-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.tag {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    background: var(--cream);
    color: var(--gray-700);
}

/* ===== REVIEWER DETAIL ===== */
.reviewer-hero {
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    padding: 60px 0;
    color: var(--white);
}

.reviewer-profile {
    display: flex;
    align-items: center;
    gap: 40px;
}

.reviewer-headshot-large {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(255,255,255,0.3);
    flex-shrink: 0;
    box-shadow: var(--shadow-lg);
}

.reviewer-headshot-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-info h1 { font-size: 2.5rem; margin-bottom: 8px; }

.reviewer-specialty-large {
    font-size: 15px;
    color: var(--amber-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}

.reviewer-location-large {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.reviewer-stats { display: flex; gap: 32px; }

.stat { text-align: center; }
.stat-num { display: block; font-size: 1.8rem; font-weight: 700; font-family: 'Playfair Display', serif; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 1px; }

.reviewer-bio-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--cream-dark);
}

.reviewer-bio-section h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.bio-content {
    font-size: 1.05rem;
    color: var(--gray-700);
    line-height: 1.8;
}

.reviewer-reviews-section { padding: 60px 0; }

.reviewer-reviews-section h2 {
    font-size: 1.5rem;
    margin-bottom: 32px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.review-card-horizontal {
    background: var(--white);
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition);
}
.review-card-horizontal:hover { box-shadow: var(--shadow-md); }

.review-card-content { padding: 24px; }

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 6px;
}

.review-card-header h3 { font-size: 1.2rem; }
.review-card-header h3 a { color: var(--charcoal); }
.review-card-header h3 a:hover { color: var(--burgundy); }

.review-rating-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.review-restaurant-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--burgundy);
    margin-bottom: 8px;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.review-date { font-size: 13px; color: var(--gray-500); }

.review-excerpt { font-size: 14px; color: var(--gray-700); line-height: 1.6; margin-bottom: 12px; }

.read-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--burgundy);
}
.read-more:hover { color: var(--amber); }

/* ===== RESTAURANT DETAIL ===== */
.restaurant-hero {
    height: 400px;
    background-size: cover;
    background-position: center;
    background-color: var(--charcoal);
    position: relative;
}

.restaurant-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 100%);
    display: flex;
    align-items: flex-end;
}

.restaurant-hero-content {
    padding-bottom: 40px;
    color: var(--white);
}

.price-badge-large {
    display: inline-block;
    background: var(--amber);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
}

.restaurant-hero-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 8px;
}

.restaurant-tagline {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 12px;
}

.stars-large { font-size: 24px; color: var(--star-color); letter-spacing: 2px; }
.rating-num-large { font-size: 1.1rem; font-weight: 600; color: var(--white); margin-left: 8px; }

.restaurant-rating-large { display: flex; align-items: center; }

/* Details Grid */
.restaurant-details { padding: 60px 0; }

.details-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}

.restaurant-about h2,
.restaurant-gallery h2,
.restaurant-reviews h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--cream-dark);
}

.restaurant-about p {
    font-size: 1.05rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 40px;
}

.gallery-item { border-radius: var(--radius); overflow: hidden; }
.gallery-item img { width: 100%; height: 160px; object-fit: cover; }
.gallery-caption { font-size: 13px; color: var(--gray-500); padding: 8px 4px; }

/* Reviews */
.review-full {
    padding: 28px 0;
    border-bottom: 1px solid var(--cream-dark);
}
.review-full:last-child { border-bottom: none; }

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-author-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.review-author-name {
    font-weight: 600;
    font-size: 15px;
    display: block;
}

.review-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.review-body {
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 16px;
}

.review-images {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.review-images img {
    width: 200px;
    height: 140px;
    object-fit: cover;
    border-radius: var(--radius);
}

.review-video {
    margin-top: 16px;
}

.review-video iframe {
    width: 100%;
    height: 360px;
    border: none;
    border-radius: var(--radius);
}

/* Sidebar */
.sidebar-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-card h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--cream-dark);
}

.details-list { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; }
.details-list dt { font-weight: 600; font-size: 14px; color: var(--gray-500); }
.details-list dd { font-size: 14px; }
.details-list dd a { color: var(--burgundy); }

/* Menu */
.menu-category { margin-bottom: 20px; }
.menu-category:last-child { margin-bottom: 0; }
.menu-category h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--burgundy);
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.menu-item {
    padding: 8px 0;
    border-bottom: 1px dashed var(--gray-300);
}
.menu-item:last-child { border-bottom: none; }

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}

.menu-item-name { font-weight: 500; font-size: 14px; }
.menu-item-price { font-weight: 600; font-size: 14px; color: var(--burgundy); white-space: nowrap; }
.menu-item-desc { font-size: 13px; color: var(--gray-500); margin-top: 2px; }

/* ===== SEARCH PAGE ===== */
.search-hero {
    background: var(--burgundy);
    color: var(--white);
    padding: 50px 0 40px;
    text-align: center;
}

.search-hero h1 { font-size: 2rem; margin-bottom: 8px; }
.search-hero p { color: rgba(255,255,255,0.8); }

.search-section { padding: 40px 0 60px; }

.search-results-count {
    margin: 24px 0 8px;
    font-size: 14px;
    color: var(--gray-500);
}

.no-results {
    text-align: center;
    padding: 80px 20px;
    color: var(--gray-500);
}
.no-results h3 { font-size: 1.5rem; margin-bottom: 8px; color: var(--charcoal); }

/* ===== 404 ===== */
.error-page {
    text-align: center;
    padding: 120px 20px;
}
.error-page h1 { font-size: 6rem; color: var(--burgundy); margin-bottom: 16px; }
.error-page p { font-size: 1.2rem; color: var(--gray-500); margin-bottom: 32px; }

/* ===== FOOTER ===== */
.site-footer {
    background: var(--charcoal);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}

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

.footer-about .logo { margin-bottom: 16px; }
.footer-about .logo-name { color: var(--white); }
.footer-about p { font-size: 14px; line-height: 1.7; }

.footer-links h4 {
    color: var(--white);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    padding: 4px 0;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--amber-light); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .details-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .reviewer-profile { flex-direction: column; text-align: center; }
    .reviewer-stats { justify-content: center; }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .main-nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px 24px;
        box-shadow: var(--shadow-md);
        gap: 16px;
    }
    .mobile-menu-toggle { display: flex; }

    .hero { padding: 60px 0 50px; }

    .filter-bar { flex-direction: column; }
    .filter-group { min-width: 100%; }

    .restaurant-grid { grid-template-columns: 1fr; }
    .reviewers-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

    .restaurant-hero { height: 280px; }
    .review-card-header { flex-direction: column; }
}

@media (max-width: 480px) {
    .reviewers-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .reviewer-headshot { width: 80px; height: 80px; }
    .reviewer-card { padding: 20px 12px; }
    .reviewer-bio-short { display: none; }
}
