/* ============================================================
   Venues — listing grid, category bar, taxonomy pages,
   single venue layout, related venues
   ============================================================ */

/* ---------- Venue Card (used in all grids) ---------- */
.venue-card-link,
a.venue-card-link:hover,
a.venue-card-link:focus {
    display: block;
    text-decoration: none;
    color: inherit;
}

.venue-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.venue-card-link:hover .venue-card,
.venue-card-link:focus .venue-card {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.venue-card .venue-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(45deg, #813b1c, #dfa626);
}

.venue-card .venue-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.venue-card-link:hover .venue-image img {
    transform: scale(1.04);
}

.venue-card .venue-label {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.venue-card .venue-content {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    text-align: center;
}

.venue-card-headline {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
}

.venue-card-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

.venue-card-tier {
    flex-shrink: 0;
    display: inline-block;
    padding: 2px 9px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.04em;
}

.venue-card-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.venue-card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: center;
    margin-top: auto;
    padding-top: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.venue-card-link:hover .venue-card-arrow,
.venue-card-link:focus .venue-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ---------- Venues grid (shared by list page, taxonomy, related) ---------- */
.venues-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin: 0;
}

@media (max-width: 900px) {
    .venues-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 560px) {
    .venues-grid { grid-template-columns: 1fr; }
}

.suggested-venues {
    padding: 50px 40px 70px;
    max-width: 1280px;
    margin: 0 auto;
}

.suggested-venues .category-headline,
.related-venues .category-headline {
    text-align: center;
    margin-bottom: 32px;
}

/* ---------- Category Bar ---------- */
.categories {
    padding: 30px 20px 10px;
    max-width: 1280px;
    margin: 0 auto;
}

.category-bar-header {
    text-align: center;
    margin-bottom: 24px;
}

.category-bar-title {
    font-size: 1.6rem;
    margin: 0 0 6px;
    color: var(--primary-color);
}

.category-bar-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

@media (max-width: 900px) {
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 12px;
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    text-align: center;
    transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.category-item:hover,
.category-item:focus {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    background: linear-gradient(to bottom, #FFD08C, #f8f9fa);
    text-decoration: none;
}

.category-item.active {
    border-color: var(--primary-color);
    background: rgba(223, 166, 38, 0.3);
    color: #000;
}

.category-icon {
    line-height: 0;
}

.category-icon-svg {
    display: block;
    width: 120px;
    height: 120px;
}

.category-name {
    display: block;
    font-family: 'DM Serif Display', serif;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
}

/* ---------- Venue list page template ---------- */
.venuelist-page {
    padding-bottom: 60px;
}

.venuelist-intro {
    padding: 60px 0 30px;
    text-align: center;
}

.venuelist-title {
    font-family: 'DM Serif Display', serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.2;
    margin: 0 0 16px;
}

@media (max-width: 700px) {
    .venuelist-title { font-size: 2.4rem; }
}

.venuelist-copy {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.6;
}

.venuelist-copy p { margin-bottom: 1em; }

/* ---------- Venue category (taxonomy) page ---------- */
.venue-category-page {
    padding-bottom: 60px;
}

.venues-hero {
    position: relative;
    min-height: 320px;
    background-color: var(--bg-dark);
    background-size: cover;
    background-position: center;
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 30px;
}

.venues-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.6));
}

.venues-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.venues-hero h1 {
    color: var(--text-white);
    font-size: 2.6rem;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.category-intro {
    padding: 40px 0 10px;
    text-align: center;
}

.category-intro p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 760px;
    margin: 0 auto 1em;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

.no-results {
    text-align: center;
    color: var(--text-light);
    padding: 40px 20px;
}

/* ---------- Single venue page ---------- */
.single-venue {
    padding-bottom: 70px;
}

.venue-hero {
    position: relative;
    min-height: 420px;
    background-color: var(--primary-color);
    background-image: linear-gradient(45deg, #813b1c, #dfa626);
    background-size: cover;
    background-position: center;
    color: var(--text-white);
    display: flex;
    align-items: flex-end;
    padding: 80px 0 50px;
}

.venue-hero.has-image .venue-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.7) 100%);
}

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

.venue-eyebrow-cats {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    opacity: 0.92;
}

.venue-eyebrow-cats a {
    color: var(--secondary-color);
    text-decoration: none;
}

.venue-eyebrow-cats a:hover { text-decoration: underline; }

.venue-hero-ribbon {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.venue-hero .venue-title {
    font-family: 'DM Serif Display', serif;
    color: var(--text-white);
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 12px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.venue-hero .venue-deck {
    font-size: 1.1rem;
    line-height: 1.5;
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 700px) {
    .venue-hero { min-height: 320px; padding: 60px 0 40px; }
    .venue-hero .venue-title { font-size: 2.1rem; }
}

.venue-body {
    padding: 50px 0 30px;
}

.venue-body-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 50px;
    align-items: start;
}

@media (max-width: 900px) {
    .venue-body-grid { grid-template-columns: 1fr; gap: 30px; }
}

.venue-main {
    min-width: 0;
}

.venue-prose {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.venue-prose h2,
.venue-prose h3 {
    margin-top: 1.5em;
    margin-bottom: 0.6em;
}

.venue-prose img { max-width: 100%; height: auto; border-radius: 10px; }

/* Sidebar */
.venue-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 100px;
}

@media (max-width: 900px) {
    .venue-sidebar { position: static; }
}

.sidebar-section {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 22px 24px;
    box-shadow: var(--shadow);
}

.sidebar-section h3 {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    margin: 0 0 14px;
    font-size: 1.35rem;
    line-height: 1.2;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 8px;
}

.venue-info,
.venue-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.venue-info li {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.venue-info strong {
    color: var(--primary-color);
    margin-right: 6px;
}

.venue-highlights li {
    position: relative;
    padding-left: 22px;
    font-size: 0.95rem;
    line-height: 1.45;
}

.venue-highlights li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

.venue-address {
    margin: 0 0 12px;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.sidebar-section iframe {
    width: 100%;
    border: 0;
    border-radius: 8px;
    margin-top: 8px;
    aspect-ratio: 4 / 3;
}

.venue-cta {
    text-align: center;
}

.venue-cta .button {
    display: inline-block;
    width: 100%;
    padding: 14px 24px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.95rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.venue-cta .button:hover,
.venue-cta .button:focus {
    background: var(--secondary-color);
    color: var(--text-dark);
    transform: translateY(-1px);
}

/* Related venues block */
.related-venues {
    padding-top: 60px;
    border-top: 1px solid var(--border-color);
    margin-top: 30px;
}

/* ============================================================
   Pass B additions — Hero pricing, Spaces, Client Quote,
   Quick Facts, Map block, Inquiry form placeholder
   ============================================================ */

/* Hero pricing strip */
.venue-hero-pricing {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
}

.venue-hero-tier {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
}

.venue-hero-min-spend {
    font-size: 1rem;
    letter-spacing: 0.01em;
}

/* Section headings inside the main column */
.venue-section-heading {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 1.2;
    margin-top: 2em;
    margin-bottom: 0.7em;
    color: var(--primary-color);
}

.single-venue h2 {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    line-height: 1.2;
}

/* Client Quote */
.venue-client-quote {
    margin: 2.5em 0 1.5em;
    padding: 28px 32px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #5d2810 100%);
    color: var(--text-white);
    border-radius: 14px;
    box-shadow: var(--shadow-hover);
}

.venue-client-quote blockquote {
    margin: 0;
    padding: 0;
    border: 0;
}

.venue-client-quote blockquote p {
    margin: 0 0 14px;
    font-size: 1.15rem;
    line-height: 1.55;
    font-style: italic;
}

.venue-client-quote-attribution {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: baseline;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-style: normal;
}

.venue-client-quote-name {
    font-weight: 700;
    font-style: normal;
    color: var(--secondary-color);
}

.venue-client-quote-event {
    color: rgba(255, 255, 255, 0.75);
}

/* Quick facts (sidebar) */
.venue-quick-facts .venue-info li {
    font-size: 0.95rem;
}

/* Location map block (Pass B placeholder) */
.venue-map-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.venue-map-name {
    margin: 10px 0 2px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
}

.venue-map-block .venue-address {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-dark);
}

.venue-map-link {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.venue-map-link:hover,
.venue-map-link:focus {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.venue-map-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.venue-map-link-text {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
    font-size: 0.95rem;
}

/* Inquiry CTA (button that opens the modal) */
.venue-inquiry-cta {
    text-align: center;
}

.venue-inquiry-cta .venue-section-heading {
    margin-top: 0;
    margin-bottom: 0.4em;
    font-size: 1.2rem;
}

.venue-inquiry-cta-copy {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0 0 16px;
}

.venue-inquiry-trigger {
    display: inline-block;
    width: 100%;
    padding: 14px 22px;
    background: var(--primary-color);
    color: var(--text-white);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.92rem;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.venue-inquiry-trigger:hover,
.venue-inquiry-trigger:focus {
    background: var(--secondary-color);
    color: var(--text-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* Venue 3D / 360 virtual tour */
.venue-tour-block {
    margin: 2rem 0;
}

.venue-tour-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f0f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.venue-tour-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.venue-tour-button {
    display: inline-block;
    padding: 12px 26px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.venue-tour-button:hover,
.venue-tour-button:focus {
    opacity: 0.92;
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}

/* Bigger, more immersive tour on desktop (the venue body is 2-column above 900px,
   so the 16:9 ratio leaves it short — give it a taller fixed height instead). */
@media (min-width: 901px) {
    .venue-tour-embed {
        aspect-ratio: auto;
        height: 600px;
    }
}
