/*
 * TCC Venues — Book Topanga / "Boujie Granola" / Fancy Yoga Retreat
 * Aesthetic: Lululemon-meets-Topanga Canyon. Luxurious, earthy, natural.
 * Author: Topanga Chamber of Commerce
 * Version: 2.1.0
 */

/* =========================================================================
   1. CSS Custom Properties
   ========================================================================= */

:root {
    /* Canyon Palette */
    --tcc-bg:          #FAF7F2;
    --tcc-primary:     #2D4A3E;
    --tcc-accent:      #C4774C;
    --tcc-text:        #3D3D3D;
    --tcc-muted:       #8B9D83;
    --tcc-sand:        #E8DDD0;
    --tcc-sage:        #A8B5A0;
    --tcc-stone:       #8B7D6B;
    --tcc-bark:        #5C4A3A;
    --tcc-card-bg:     #FFFFFF;
    --tcc-detail-bg:   #FAF8F5;
    --tcc-border:      rgba(45, 74, 62, 0.12);
    --tcc-shadow-sm:   0 2px 12px rgba(0, 0, 0, 0.05);
    --tcc-shadow-md:   0 8px 30px rgba(0, 0, 0, 0.10);
    --tcc-shadow-lg:   0 12px 40px rgba(0, 0, 0, 0.14);
    --tcc-radius:      10px;
    --tcc-radius-pill: 24px;
    --tcc-radius-sm:   12px;
    --tcc-font-head:   'Cormorant Garamond', Georgia, serif;
    --tcc-font-body:   'DM Sans', 'Open Sans', sans-serif;
    --tcc-transition:  0.3s ease;
}

/* =========================================================================
   2. Wrapper Reset
   ========================================================================= */

.tcc-venues-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 28px 80px;
    background: var(--tcc-bg);
    font-family: var(--tcc-font-body);
    font-size: 15px;
    color: var(--tcc-text);
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.tcc-venues-wrap *,
.tcc-venues-wrap *::before,
.tcc-venues-wrap *::after {
    box-sizing: inherit;
}

/* =========================================================================
   3. Hero Section
   ========================================================================= */

.tcc-hero {
    padding: 80px 0 56px;
    text-align: center;
}

.tcc-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 640px;
    margin: 0 auto;
}

.tcc-hero-title {
    font-family: var(--tcc-font-head);
    font-size: 56px;
    font-weight: 600;
    color: var(--tcc-primary);
    line-height: 1.1;
    margin: 0 0 18px;
    letter-spacing: -0.5px;
}

.tcc-hero-sub {
    font-family: var(--tcc-font-head);
    font-size: 20px;
    font-style: italic;
    color: var(--tcc-stone);
    margin: 0 0 20px;
    font-weight: 400;
    line-height: 1.5;
}

.tcc-hero-trust {
    font-family: var(--tcc-font-body);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--tcc-sage);
    margin: 0 0 28px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tcc-hero-trust svg {
    flex-shrink: 0;
}

.tcc-hero-title-sub {
    display: block;
    font-size: 22px;
    font-weight: 400;
    font-style: italic;
    color: var(--tcc-stone);
    margin-top: 6px;
    letter-spacing: 0;
    line-height: 1.4;
}

.tcc-hero-intro {
    font-family: var(--tcc-font-body);
    font-size: 15px;
    color: var(--tcc-stone);
    line-height: 1.7;
    margin: 0 0 20px;
    max-width: 640px;
}

.tcc-hero-divider {
    width: 60px;
    height: 2px;
    background: var(--tcc-accent);
    border: none;
    border-radius: 2px;
}

/* =========================================================================
   4. Filter Bar
   ========================================================================= */

.tcc-filter-bar {
    margin-bottom: 40px;
}

.tcc-filter-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.tcc-venues-wrap select.tcc-filter-select,
select.tcc-filter-select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-color: var(--tcc-card-bg) !important;
    border: 1.5px solid var(--tcc-primary) !important;
    border-radius: var(--tcc-radius-pill) !important;
    padding: 10px 40px 10px 18px !important;
    font-family: var(--tcc-font-body) !important;
    font-size: 14px !important;
    color: var(--tcc-primary) !important;
    cursor: pointer;
    outline: none;
    transition: border-color var(--tcc-transition), box-shadow var(--tcc-transition);
    /* Custom dropdown arrow — forest green chevron */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%232D4A3E' d='M4 6l4 4 4-4'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px !important;
    min-width: 160px;
}

.tcc-filter-select:focus {
    border-color: var(--tcc-accent);
    box-shadow: 0 0 0 3px rgba(196, 119, 76, 0.18);
}

.tcc-filter-select:hover {
    border-color: var(--tcc-accent);
}

/* Kill Divi/theme extra arrows on selects */
.tcc-venues-wrap select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}
.tcc-filter-bar *::after,
.tcc-filter-bar *::before,
.tcc-filter-inner::after,
.tcc-filter-inner::before {
    display: none !important;
    content: none !important;
}

/* =========================================================================
   5. Buttons
   ========================================================================= */

.tcc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 24px;
    border-radius: var(--tcc-radius-pill);
    font-family: var(--tcc-font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--tcc-transition), color var(--tcc-transition),
                border-color var(--tcc-transition), transform var(--tcc-transition),
                box-shadow var(--tcc-transition);
    border: 1.5px solid transparent;
    white-space: nowrap;
}

/* Primary / Filled — forest green bg, white text */
.tcc-btn--primary {
    background: var(--tcc-primary);
    color: #FFFFFF;
    border-color: var(--tcc-primary);
}

.tcc-btn--primary:hover,
.tcc-btn--primary:focus {
    background: #1e3329;
    border-color: #1e3329;
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(45, 74, 62, 0.28);
}

/* Outline — transparent bg, green border, fills on hover */
.tcc-btn--outline {
    background: transparent;
    color: var(--tcc-primary);
    border-color: var(--tcc-primary);
}

.tcc-btn--outline:hover,
.tcc-btn--outline:focus {
    background: var(--tcc-primary);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(45, 74, 62, 0.22);
}

/* Ghost / Text — no border, muted color, accent on hover */
.tcc-btn--ghost {
    background: transparent;
    color: var(--tcc-muted);
    border-color: transparent;
    padding-left: 12px;
    padding-right: 12px;
}

.tcc-btn--ghost:hover,
.tcc-btn--ghost:focus {
    color: var(--tcc-accent);
    background: transparent;
}

/* Large modifier */
.tcc-btn--lg {
    padding: 14px 36px;
    font-size: 15px;
}

/* =========================================================================
   6. Venue Grid
   ========================================================================= */

.tcc-venues-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 72px;
}

/* =========================================================================
   7. Venue Cards
   ========================================================================= */

.tcc-venue-card {
    background: var(--tcc-card-bg);
    border-radius: var(--tcc-radius);
    box-shadow: var(--tcc-shadow-sm);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.tcc-venue-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tcc-shadow-lg);
}

/* Scroll reveal */
.tcc-venue-card {
    opacity: 0;
    transform: translateY(30px);
}

.tcc-venue-card.tcc-revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.4s ease;
}

.tcc-venue-card.tcc-revealed:hover {
    transform: translateY(-4px);
}

/* Expanded card spans full grid width */
.tcc-venue-card.is-expanded {
    grid-column: 1 / -1;
}

/* =========================================================================
   8. Card Image
   ========================================================================= */

.tcc-card-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    flex-shrink: 0;
    cursor: pointer;
}

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

.tcc-venue-card:hover .tcc-card-img {
    transform: scale(1.05);
}

/* Placeholder when no featured image */
.tcc-card-img--placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--tcc-primary) 0%, var(--tcc-sage) 100%);
}

/* Chamber Curated badge — top-left overlay */
.tcc-badge-curated {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(45, 74, 62, 0.88);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    font-family: var(--tcc-font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 5px 10px;
    border-radius: 6px;
    line-height: 1;
}

.tcc-badge-curated svg {
    flex-shrink: 0;
}

/* Photo count badge — bottom-left overlay */
.tcc-badge-photos {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 0, 0, 0.55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    font-family: var(--tcc-font-body);
    font-size: 11px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 6px;
    line-height: 1;
}

.tcc-badge-photos svg {
    flex-shrink: 0;
}

/* =========================================================================
   9. Card Body
   ========================================================================= */

.tcc-card-body {
    padding: 24px 24px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tcc-card-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
    min-height: 24px;
}

.tcc-venue-name {
    font-family: var(--tcc-font-head);
    font-size: 24px;
    font-weight: 600;
    color: var(--tcc-primary);
    margin: 0 0 6px;
    line-height: 1.2;
}

.tcc-venue-tagline {
    font-family: var(--tcc-font-head);
    font-size: 15px;
    font-style: italic;
    color: var(--tcc-stone);
    margin: 0 0 14px;
}

.tcc-card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

/* Price dots */
.tcc-price-dots {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tcc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D9D9D9;
    display: inline-block;
    flex-shrink: 0;
}

.tcc-dot--active {
    background: var(--tcc-accent);
}

.tcc-capacity {
    font-size: 13px;
    color: var(--tcc-muted);
    font-weight: 400;
}

/* =========================================================================
   10. Pills
   ========================================================================= */

.tcc-pill {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 12px;
    line-height: 1.6;
}

/* Venue type — sage green bg */
.tcc-pill--type {
    background: rgba(168, 181, 160, 0.25);
    color: var(--tcc-primary);
}

/* Use case — terracotta tint */
.tcc-pill--case {
    background: rgba(196, 119, 76, 0.12);
    color: var(--tcc-accent);
}

/* Feature — sage tint (shown in expanded detail) */
.tcc-pill--feature {
    background: rgba(168, 181, 160, 0.2);
    color: var(--tcc-primary);
    font-size: 12px;
    border-radius: 16px;
    padding: 5px 14px;
    font-weight: 600;
}

/* =========================================================================
   11. Explore / Toggle Button
   ========================================================================= */

.tcc-explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 12px 0;
    min-height: 44px;
    font-family: var(--tcc-font-body);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--tcc-primary);
    cursor: pointer;
    margin-top: auto;
    transition: color var(--tcc-transition);
}

.tcc-explore-btn:hover {
    color: var(--tcc-accent);
}

/* Arrow pseudo-element that flips when expanded */
.tcc-explore-btn::after {
    content: '▼';
    font-size: 10px;
    display: inline-block;
    transition: transform 0.3s ease;
    line-height: 1;
}

.tcc-explore-btn[aria-expanded="true"]::after,
.tcc-explore-btn.is-open::after {
    transform: rotate(180deg);
}

/* Arrow flips up when expanded */
.tcc-explore-btn[aria-expanded="true"] {
    color: var(--tcc-accent);
}

/* =========================================================================
   12. Card Detail / Expansion Panel
   ========================================================================= */

.tcc-card-detail {
    border-top: 1px solid var(--tcc-border);
    background: var(--tcc-detail-bg);
    padding: 28px 24px;
    animation: tccFadeIn 0.25s ease;
}

.tcc-card-detail[hidden] {
    display: none;
}

@keyframes tccFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================================
   13. Gallery
   ========================================================================= */

/* Carousel */
.tcc-carousel {
    position: relative;
    width: 100%;
    margin-bottom: 24px;
    border-radius: var(--tcc-radius);
    overflow: hidden;
    background: #f0ebe4;
}

.tcc-carousel-track {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
}

.tcc-carousel-slide {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tcc-carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.tcc-carousel-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

video.tcc-carousel-media {
    object-fit: contain;
    background: #000;
}

/* Prev/Next arrows */
.tcc-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    color: var(--tcc-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.tcc-carousel:hover .tcc-carousel-arrow {
    opacity: 1;
}

.tcc-carousel-arrow:hover {
    background: #fff;
}

.tcc-carousel-prev { left: 12px; }
.tcc-carousel-next { right: 12px; }

/* Dot indicators */
.tcc-carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 8px;
}

.tcc-carousel-dot {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Larger invisible tap area */
.tcc-carousel-dot::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    right: -16px;
    bottom: -16px;
}

.tcc-carousel-dot.active {
    background: #fff;
}

/* =========================================================================
   14. Venue Description
   ========================================================================= */

.tcc-venue-desc {
    font-size: 14px;
    line-height: 1.75;
    color: var(--tcc-text);
    margin-bottom: 20px;
}

.tcc-venue-desc p {
    margin: 0 0 12px;
}

.tcc-venue-desc p:last-child {
    margin-bottom: 0;
}

/* =========================================================================
   15. Features (pills inside detail)
   ========================================================================= */

.tcc-features {
    margin-bottom: 20px;
}

.tcc-section-label {
    font-family: var(--tcc-font-body);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--tcc-stone);
    margin: 0 0 10px;
}

.tcc-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* =========================================================================
   16. Contact Info
   ========================================================================= */

.tcc-contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-bottom: 20px;
}

.tcc-contact-item {
    font-size: 13px;
    color: var(--tcc-muted);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* =========================================================================
   17. Card CTAs (Visit Website + Send Inquiry row)
   ========================================================================= */

.tcc-card-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

/* =========================================================================
   18. Inquiry Form
   ========================================================================= */

.tcc-inquiry-wrapper {
    border-top: 1px solid var(--tcc-border);
    padding-top: 24px;
    margin-top: 4px;
}

.tcc-inquiry-wrapper[hidden] {
    display: none;
}

.tcc-inquiry-title {
    font-family: var(--tcc-font-head);
    font-size: 18px;
    font-weight: 700;
    color: var(--tcc-primary);
    margin: 0 0 16px;
}

.tcc-inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* =========================================================================
   19. Form Elements (shared across inquiry + submit forms)
   ========================================================================= */

.tcc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.tcc-input {
    width: 100%;
    padding: 11px 14px;
    font-family: var(--tcc-font-body);
    font-size: 14px;
    color: var(--tcc-text);
    background: #FFFFFF;
    border: 1.5px solid rgba(45, 74, 62, 0.25);
    border-radius: var(--tcc-radius);
    outline: none;
    transition: border-color var(--tcc-transition), box-shadow var(--tcc-transition);
    appearance: none;
    -webkit-appearance: none;
}

.tcc-input::placeholder {
    color: rgba(61, 61, 61, 0.45);
}

.tcc-input:focus {
    border-color: var(--tcc-accent);
    box-shadow: 0 0 0 3px rgba(196, 119, 76, 0.15);
}

.tcc-input:hover:not(:focus) {
    border-color: rgba(45, 74, 62, 0.45);
}

.tcc-venues-wrap select.tcc-input,
select.tcc-input {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%232D4A3E' d='M4 6l4 4 4-4'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 16px !important;
    padding-right: 36px;
    cursor: pointer;
}

.tcc-textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

/* Status messages */
.tcc-inquiry-status,
.tcc-submit-status {
    font-size: 13px;
    padding: 10px 14px;
    border-radius: var(--tcc-radius);
    margin-top: 4px;
    display: none;
}

.tcc-inquiry-status.is-success,
.tcc-submit-status.is-success {
    display: block;
    background: rgba(45, 74, 62, 0.08);
    color: var(--tcc-primary);
    border: 1px solid rgba(45, 74, 62, 0.2);
}

.tcc-inquiry-status.is-error,
.tcc-submit-status.is-error {
    display: block;
    background: rgba(196, 50, 50, 0.07);
    color: #C03232;
    border: 1px solid rgba(196, 50, 50, 0.2);
}

/* =========================================================================
   20a. FAQ Section
   ========================================================================= */

.tcc-faq-section {
    margin: 64px 0 0;
    padding: 48px 0;
    border-top: 1px solid var(--tcc-border);
}

.tcc-faq-inner {
    max-width: 720px;
    margin: 0 auto;
}

.tcc-faq-title {
    font-family: var(--tcc-font-head);
    font-size: 32px;
    font-weight: 600;
    color: var(--tcc-primary);
    margin: 0 0 28px;
    text-align: center;
}

.tcc-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tcc-faq-item {
    border-bottom: 1px solid var(--tcc-border);
    padding: 0;
}

.tcc-faq-item:first-child {
    border-top: 1px solid var(--tcc-border);
}

.tcc-faq-question {
    font-family: var(--tcc-font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--tcc-primary);
    cursor: pointer;
    padding: 18px 32px 18px 0;
    position: relative;
    list-style: none;
    line-height: 1.5;
}

.tcc-faq-question::-webkit-details-marker {
    display: none;
}

.tcc-faq-question::marker {
    display: none;
    content: '';
}

.tcc-faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 300;
    color: var(--tcc-stone);
    transition: transform var(--tcc-transition);
}

.tcc-faq-item[open] .tcc-faq-question::after {
    content: '−';
}

.tcc-faq-answer {
    font-family: var(--tcc-font-body);
    font-size: 14px;
    color: var(--tcc-stone);
    line-height: 1.7;
    margin: 0 0 18px;
    padding-right: 32px;
}

/* =========================================================================
   20b. Venue Submission Section
   ========================================================================= */

.tcc-submit-section {
    background: var(--tcc-primary);
    border-radius: var(--tcc-radius) var(--tcc-radius) 0 0;
    padding: 56px 48px 64px;
    color: #FFFFFF;
    margin: 0 -24px -80px;
    position: relative;
}

.tcc-submit-inner {
    max-width: 700px;
    margin: 0 auto;
}

.tcc-submit-title {
    font-family: var(--tcc-font-head);
    font-size: 32px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 10px;
    line-height: 1.2;
}

.tcc-submit-sub {
    font-family: var(--tcc-font-head);
    font-size: 17px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 32px;
    line-height: 1.65;
}

/* Inputs inside the green submit section */
.tcc-submit-form .tcc-input {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
}

.tcc-submit-form .tcc-input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.tcc-submit-form .tcc-input:focus {
    border-color: var(--tcc-accent);
    box-shadow: 0 0 0 3px rgba(196, 119, 76, 0.25);
    background: rgba(255, 255, 255, 0.18);
}

.tcc-submit-form .tcc-input:hover:not(:focus) {
    border-color: rgba(255, 255, 255, 0.45);
}

.tcc-venues-wrap .tcc-submit-form select.tcc-input,
.tcc-submit-form select.tcc-input {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M4 6l4 4 4-4'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px !important;
    color: rgba(255, 255, 255, 0.85);
}

.tcc-submit-form select.tcc-input option {
    background: var(--tcc-primary);
    color: #FFFFFF;
}

/* CTA submit button — terracotta */
.tcc-submit-form .tcc-btn--primary {
    background: var(--tcc-accent);
    border-color: var(--tcc-accent);
    color: #FFFFFF;
}

.tcc-submit-form .tcc-btn--primary:hover,
.tcc-submit-form .tcc-btn--primary:focus {
    background: #ad6440;
    border-color: #ad6440;
    box-shadow: 0 4px 14px rgba(196, 119, 76, 0.35);
}

.tcc-submit-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* File upload area */
.tcc-file-upload {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tcc-file-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    font-style: italic;
}

.tcc-file-input {
    font-family: var(--tcc-font-body);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.tcc-file-input::file-selector-button {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 6px 14px;
    font-family: var(--tcc-font-body);
    font-size: 13px;
    color: #FFFFFF;
    cursor: pointer;
    margin-right: 10px;
    transition: background var(--tcc-transition);
}

.tcc-file-input::file-selector-button:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* =========================================================================
   21. At a Glance — icon row in expanded detail
   ========================================================================= */

.tcc-at-a-glance {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding: 16px 20px;
    background: var(--tcc-sand);
    border-radius: 8px;
    margin-bottom: 24px;
}

.tcc-glance-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--tcc-font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--tcc-primary);
    white-space: nowrap;
}

.tcc-glance-item svg {
    flex-shrink: 0;
    color: var(--tcc-stone);
}

/* =========================================================================
   22. Drop Cap — editorial description
   ========================================================================= */

.tcc-venue-desc--editorial > p:first-child::first-letter {
    float: left;
    font-family: var(--tcc-font-head);
    font-size: 3.4em;
    font-weight: 600;
    line-height: 0.8;
    margin: 4px 8px 0 0;
    color: var(--tcc-primary);
}

/* =========================================================================
   23. Sticky Inquiry CTA — mobile bar when venue expanded
   ========================================================================= */

.tcc-sticky-cta {
    display: none;
}

@media (max-width: 768px) {
    .tcc-sticky-cta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background: var(--tcc-card-bg);
        border-top: 1px solid var(--tcc-border);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        padding: 12px 20px;
        transform: translateY(100%);
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.3s ease, visibility 0.3s ease;
    }

    .tcc-sticky-cta.is-visible {
        transform: translateY(0);
        visibility: visible;
        pointer-events: auto;
    }

    .tcc-sticky-cta-name {
        font-family: var(--tcc-font-head);
        font-size: 16px;
        font-weight: 600;
        color: var(--tcc-primary);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        flex: 1;
        min-width: 0;
    }

    .tcc-sticky-cta .tcc-btn {
        flex-shrink: 0;
    }
}

/* =========================================================================
   24. Filter fade animation
   ========================================================================= */

.tcc-venue-card.tcc-fading {
    opacity: 0 !important;
    transition: opacity 0.2s ease !important;
}

/* =========================================================================
   25. Empty State
   ========================================================================= */

.tcc-no-venues {
    grid-column: 1 / -1;
    text-align: center;
    font-style: italic;
    color: var(--tcc-muted);
    font-size: 16px;
    padding: 40px 0;
}

/* =========================================================================
   22. Responsive — 768px (tablet / single column)
   ========================================================================= */

@media (max-width: 768px) {

    .tcc-venues-wrap {
        padding: 0 16px 60px;
    }

    /* Hero */
    .tcc-hero {
        padding: 56px 0 40px;
    }

    .tcc-hero-title {
        font-size: 40px;
    }

    .tcc-hero-sub {
        font-size: 17px;
    }

    /* At a Glance stacks better */
    .tcc-at-a-glance {
        gap: 6px 16px;
        padding: 14px 16px;
    }

    /* Filter bar — stack vertically */
    .tcc-filter-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .tcc-filter-select {
        width: 100%;
    }

    /* Grid — single column */
    .tcc-venues-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Carousel arrows always visible on touch — 44px touch target */
    .tcc-carousel .tcc-carousel-arrow {
        opacity: 1;
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    /* Card CTAs stacked */
    .tcc-card-ctas {
        flex-direction: column;
    }

    .tcc-card-ctas .tcc-btn {
        width: 100%;
        justify-content: center;
    }

    /* Form rows — stack */
    .tcc-form-row {
        grid-template-columns: 1fr;
    }

    /* Submit section */
    .tcc-submit-section {
        padding: 40px 24px 48px;
        margin: 0 -16px -60px;
    }

    .tcc-submit-title {
        font-size: 24px;
    }

    /* Hero subtitle + intro */
    .tcc-hero-title-sub {
        font-size: 18px;
    }

    .tcc-hero-intro {
        font-size: 14px;
    }

    /* FAQ */
    .tcc-faq-section {
        margin-top: 48px;
        padding: 36px 0;
    }

    .tcc-faq-title {
        font-size: 26px;
    }
}

/* =========================================================================
   23. Responsive — 480px (mobile / small screen)
   ========================================================================= */

@media (max-width: 480px) {

    .tcc-venues-wrap {
        padding: 0 12px 48px;
    }

    /* Hero — smaller title */
    .tcc-hero {
        padding: 36px 0 28px;
    }

    .tcc-hero-title {
        font-size: 30px;
    }

    .tcc-hero-sub {
        font-size: 15px;
    }

    /* Sticky CTA extra bottom padding for cards */
    .tcc-venues-wrap {
        padding-bottom: 80px;
    }

    /* Card body — tighter padding */
    .tcc-card-body {
        padding: 16px;
    }

    .tcc-card-detail {
        padding: 20px 16px;
    }

    .tcc-venue-name {
        font-size: 20px;
    }

    /* Carousel — keep 44px touch targets on small screens */
    .tcc-carousel .tcc-carousel-arrow {
        width: 44px;
        height: 44px;
        font-size: 14px;
    }

    /* Submit section */
    .tcc-submit-section {
        padding: 32px 16px 40px;
        margin: 0 -12px -48px;
        border-radius: var(--tcc-radius) var(--tcc-radius) 0 0;
    }

    .tcc-submit-title {
        font-size: 22px;
    }

    .tcc-submit-sub {
        font-size: 14px;
    }

    /* Hero subtitle + intro */
    .tcc-hero-title-sub {
        font-size: 16px;
    }

    /* FAQ */
    .tcc-faq-section {
        margin-top: 36px;
        padding: 28px 0;
    }

    .tcc-faq-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .tcc-faq-question {
        font-size: 14px;
        padding: 14px 28px 14px 0;
    }

    .tcc-faq-answer {
        font-size: 13px;
    }

    /* Buttons full-width on tiny screens */
    .tcc-btn--lg {
        width: 100%;
    }
}
