/* ==========================================================================
   VenueHub – public website styles (Bootstrap 5 + custom)
   ========================================================================== */
:root {
    --brand: #4f46e5;
    --brand-dark: #4338ca;
    --brand-2: #a855f7;
    --brand-soft: #eef2ff;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e5e7eb;
    --bg-soft: #f8fafc;
    --radius: 18px;
    --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
    --bs-primary: var(--brand);
    --bs-primary-rgb: 79, 70, 229;
    --bs-link-color: var(--brand);
    --bs-link-color-rgb: 79, 70, 229;
    --bs-link-hover-color: var(--brand-dark);
    --bs-body-font-family: 'Inter', system-ui, sans-serif;
    --bs-body-color: #1e293b;
}
h1, h2, h3, h4, h5, .display-font { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; color: var(--ink); letter-spacing: -.02em; }
.btn { font-weight: 600; border-radius: 12px; padding: .6rem 1.2rem; }
.btn-lg { padding: .85rem 1.6rem; border-radius: 14px; }
.btn-primary { --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand-dark); --bs-btn-hover-border-color: var(--brand-dark); --bs-btn-active-bg: var(--brand-dark); --bs-btn-disabled-bg: #a5b4fc; --bs-btn-disabled-border-color: #a5b4fc; box-shadow: 0 8px 20px -8px rgba(79,70,229,.6); }
.btn-outline-primary { --bs-btn-color: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand); --bs-btn-hover-border-color: var(--brand); }
.text-primary { color: var(--brand) !important; }
.bg-soft { background: var(--bg-soft); }
.form-control, .form-select { border-radius: 12px; border-color: var(--line); padding: .65rem .9rem; }
.form-control:focus, .form-select:focus { border-color: #a5b4fc; box-shadow: 0 0 0 .25rem rgba(79,70,229,.12); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: 8px; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: .6rem; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.section-lead { color: var(--muted); font-size: 1.08rem; max-width: 620px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid rgba(229,231,235,.7); }
.site-header .navbar { padding: .85rem 0; }
.navbar-brand { display: flex; align-items: center; gap: .6rem; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.35rem; color: var(--ink); }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); font-size: 1.15rem; }
.site-header .nav-link { font-weight: 500; color: #334155; padding: .5rem .9rem !important; border-radius: 10px; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--brand); background: var(--brand-soft); }
.dropdown-menu { border-radius: 14px; padding: .5rem; }
.dropdown-item { border-radius: 8px; padding: .5rem .8rem; }
.dropdown-item:active { background: var(--brand); }

/* Hero */
.hero { position: relative; padding: 6rem 0 7rem; color: #fff; overflow: hidden; background: #0f172a; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .55; transform: scale(1.03); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(15,23,42,.92) 10%, rgba(79,70,229,.55) 60%, rgba(168,85,247,.35)); }
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.5vw, 4rem); font-weight: 800; line-height: 1.05; }
.hero h1 span { background: linear-gradient(90deg, #c7d2fe, #f0abfc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: rgba(255,255,255,.85); max-width: 600px; }
.search-box { background: #fff; border-radius: 22px; padding: .6rem; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
.search-box .field { padding: .45rem 1rem; border-right: 1px solid var(--line); }
.search-box .field:last-of-type { border-right: 0; }
.search-box label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 0; }
.search-box .form-control, .search-box .form-select { border: 0; padding: .15rem 0; box-shadow: none; font-weight: 600; color: var(--ink); background-color: transparent; }
.search-box .btn { height: 100%; min-height: 58px; border-radius: 16px; }
@media (max-width: 991.98px) { .search-box .field { border-right: 0; border-bottom: 1px solid var(--line); } }
.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 2.5rem; }
.hero-stats strong { display: block; font-size: 1.7rem; font-family: 'Plus Jakarta Sans'; }
.hero-stats span { color: rgba(255,255,255,.7); font-size: .9rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; text-decoration: none; font-size: .88rem; border: 1px solid rgba(255,255,255,.18); transition: .2s; }
.chip:hover { background: #fff; color: var(--brand); }

/* Venue cards */
.venue-card { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.venue-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.venue-card-img { display: block; position: relative; aspect-ratio: 3/2; overflow: hidden; background: #e2e8f0; }
.venue-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.venue-card:hover .venue-card-img img { transform: scale(1.06); }
.badge-featured { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--ink); font-size: .75rem; font-weight: 700; padding: .35rem .65rem; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.badge-featured i { color: #f59e0b; }
.wishlist-btn { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: var(--ink); display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0,0,0,.12); transition: .2s; }
.wishlist-btn:hover, .wishlist-btn.active { color: #e11d48; transform: scale(1.08); }
.venue-card-body { padding: 1rem 1.15rem 1.15rem; }
.venue-type { font-size: .78rem; font-weight: 600; color: var(--brand); text-transform: uppercase; letter-spacing: .05em; }
.rating { font-size: .85rem; font-weight: 600; white-space: nowrap; }
.rating i, .stars i { color: #f59e0b; }
.venue-title { font-size: 1.08rem; font-weight: 700; margin: .1rem 0 .4rem; }
.venue-title a { color: var(--ink); text-decoration: none; }
.venue-title a:hover { color: var(--brand); }
.venue-meta { display: flex; gap: 1rem; color: var(--muted); font-size: .88rem; margin-bottom: .75rem; }
.venue-price { display: flex; align-items: baseline; gap: .3rem; padding-top: .75rem; border-top: 1px dashed var(--line); }
.venue-price strong { font-size: 1.2rem; color: var(--ink); }
.venue-price span { color: var(--muted); font-size: .88rem; }
.venue-price .instant { color: #059669; font-weight: 600; font-size: .78rem; }

/* Category / city tiles */
.type-tile { display: flex; flex-direction: column; align-items: center; gap: .6rem; text-align: center; padding: 1.4rem 1rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: .2s; height: 100%; }
.type-tile i { font-size: 1.7rem; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; background: var(--brand-soft); color: var(--brand); transition: .2s; }
.type-tile:hover { border-color: #c7d2fe; box-shadow: var(--shadow); transform: translateY(-3px); }
.type-tile:hover i { background: var(--brand); color: #fff; }
.type-tile small { color: var(--muted); }
.city-tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; color: #fff; text-decoration: none; }
.city-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.city-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(15,23,42,.85)); }
.city-tile:hover img { transform: scale(1.07); }
.city-tile .info { position: absolute; left: 1.2rem; bottom: 1.1rem; z-index: 2; }
.city-tile h3 { color: #fff; font-size: 1.35rem; margin: 0; }

/* How it works */
.step-card { padding: 2rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); height: 100%; }
.step-num { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 1.2rem; }

/* Testimonials */
.testimonial { background: #fff; border-radius: var(--radius); padding: 1.75rem; border: 1px solid var(--line); height: 100%; }
.testimonial p { font-size: 1.02rem; }

/* CTA */
.cta-band { border-radius: 28px; padding: 3.5rem; background: linear-gradient(120deg, var(--brand), var(--brand-2)); color: #fff; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band::after { content: ''; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: rgba(255,255,255,.1); right: -80px; top: -120px; }

/* Listing page */
.page-hero { background: linear-gradient(180deg, var(--brand-soft), #fff); padding: 2.5rem 0 1.5rem; }
.filter-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; position: sticky; top: 90px; }
.filter-card h6 { font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; margin: 1.2rem 0 .6rem; }
.filter-card h6:first-child { margin-top: 0; }
.amenity-filter { max-height: 220px; overflow-y: auto; }
.breadcrumb { font-size: .88rem; margin-bottom: .5rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }

/* Venue detail */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: .5rem; border-radius: 22px; overflow: hidden; }
.gallery a { position: relative; display: block; overflow: hidden; background: #e2e8f0; }
.gallery a:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery .more { position: absolute; inset: 0; background: rgba(15,23,42,.55); color: #fff; display: grid; place-items: center; font-weight: 700; }
@media (max-width: 767.98px) { .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px; } .gallery a:first-child { grid-column: span 2; grid-row: auto; } .gallery a:nth-child(n+4) { display: none; } }
.key-facts { display: flex; flex-wrap: wrap; gap: .75rem; }
.key-fact { display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .92rem; }
.key-fact i { color: var(--brand); font-size: 1.15rem; }
.detail-section { padding: 2rem 0; border-bottom: 1px solid var(--line); }
.detail-section h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: 1rem; }
.prose h3 { font-size: 1.1rem; margin-top: 1.4rem; }
.prose img { max-width: 100%; height: auto; border-radius: 12px; }
.amenity-item { display: flex; align-items: center; gap: .6rem; padding: .35rem 0; }
.amenity-item i { color: var(--brand); width: 22px; }
.booking-card { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.5rem; box-shadow: var(--shadow); }
.booking-card .price-big { font-size: 1.8rem; font-weight: 800; font-family: 'Plus Jakarta Sans'; color: var(--ink); }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .4rem; max-height: 180px; overflow-y: auto; }
.slot-grid input { display: none; }
.slot-grid label { display: block; text-align: center; padding: .45rem .2rem; border: 1px solid var(--line); border-radius: 10px; font-size: .85rem; font-weight: 600; cursor: pointer; transition: .15s; }
.slot-grid label:hover { border-color: var(--brand); color: var(--brand); }
.slot-grid input:checked + label { background: var(--brand); border-color: var(--brand); color: #fff; }
.slot-grid input:disabled + label { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.price-lines { font-size: .92rem; }
.price-lines .line { display: flex; justify-content: space-between; padding: .3rem 0; }
.price-lines .total { border-top: 1px solid var(--line); margin-top: .4rem; padding-top: .7rem; font-weight: 800; font-size: 1.1rem; }
.extra-option { border: 1px solid var(--line); border-radius: 12px; padding: .6rem .8rem; }
.extra-option:has(input:checked) { border-color: #a5b4fc; background: var(--brand-soft); }
.review-card { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.review-card:last-child { border-bottom: 0; }
#venue-map { height: 320px; border-radius: 18px; z-index: 1; }
.mobile-book-bar { display: none; }
@media (max-width: 991.98px) {
    .booking-card { position: static; }
    .mobile-book-bar { display: flex; position: fixed; inset: auto 0 0 0; z-index: 1020; background: #fff; border-top: 1px solid var(--line); padding: .8rem 1rem; align-items: center; justify-content: space-between; box-shadow: 0 -8px 20px rgba(0,0,0,.06); }
    body.has-book-bar { padding-bottom: 76px; }
}

/* Checkout */
.checkout-steps { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.checkout-steps span { display: flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 600; color: var(--muted); }
.checkout-steps span.active { color: var(--brand); }
.checkout-steps span.done { color: #059669; }
.checkout-steps .sep { width: 28px; height: 1px; background: var(--line); align-self: center; }
.summary-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; position: sticky; top: 92px; }
.summary-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.pay-option { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: 1.1rem 1.3rem; border: 2px solid var(--line); border-radius: 16px; background: #fff; text-align: left; transition: .2s; }
.pay-option:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.pay-option .logos i { font-size: 1.6rem; margin-left: .3rem; }
.hold-timer { background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; border-radius: 14px; padding: .75rem 1rem; font-weight: 600; }
.success-icon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1.2rem; font-size: 2.5rem; color: #fff; background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 16px 30px -10px rgba(16,185,129,.6); }

/* Account */
.account-nav .list-group-item { border: 0; border-radius: 12px !important; font-weight: 500; color: #334155; padding: .7rem 1rem; margin-bottom: 2px; }
.account-nav .list-group-item.active { background: var(--brand-soft); color: var(--brand); }
.account-nav .list-group-item i { width: 24px; }
.card-soft { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.booking-row { display: flex; gap: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: .2s; }
.booking-row:hover { box-shadow: var(--shadow); }
.booking-row img { width: 120px; height: 90px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
@media (max-width: 575.98px) { .booking-row { flex-direction: column; } .booking-row img { width: 100%; height: 160px; } }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: .2rem; }
.star-input input { display: none; }
.star-input label { font-size: 1.7rem; color: #cbd5e1; cursor: pointer; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #f59e0b; }

/* Blog */
.post-card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); height: 100%; transition: .2s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card a { color: var(--ink); text-decoration: none; }
.article-body { font-size: 1.08rem; line-height: 1.8; }

/* FAQ accordion */
.accordion-item { border: 1px solid var(--line); border-radius: 14px !important; margin-bottom: .6rem; overflow: hidden; }
.accordion-button { font-weight: 600; }
.accordion-button:not(.collapsed) { background: var(--brand-soft); color: var(--brand); box-shadow: none; }
.accordion-button:focus { box-shadow: none; }

/* Footer */
.site-footer { background: #0b1120; color: #cbd5e1; padding: 4.5rem 0 1.5rem; margin-top: 4rem; }
.site-footer h6 { color: #fff; font-weight: 700; margin-bottom: 1rem; }
.site-footer ul li { margin-bottom: .5rem; }
.site-footer a { color: #94a3b8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.social-link { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff !important; }
.social-link:hover { background: var(--brand); }
.newsletter-form { display: flex; gap: .4rem; background: rgba(255,255,255,.06); padding: .35rem; border-radius: 14px; }
.newsletter-form .form-control { background: transparent; border: 0; color: #fff; }
.newsletter-form .form-control::placeholder { color: #64748b; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem; font-size: .88rem; color: #64748b; }

/* Pagination */
.pagination { gap: .3rem; }
.page-link { border-radius: 10px !important; border: 1px solid var(--line); color: var(--ink); }
.page-item.active .page-link { background: var(--brand); border-color: var(--brand); }

/* Utilities */
.empty-state { text-align: center; padding: 4rem 1rem; color: var(--muted); }
.empty-state i { font-size: 3rem; color: #cbd5e1; display: block; margin-bottom: 1rem; }
.fade-up { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade-up { opacity: 1; transform: none; transition: none; } * { scroll-behavior: auto !important; } }


/* ---------- Availability calendar ---------- */
.avail-cal { border: 1px solid var(--line); border-radius: 14px; padding: .75rem; background: #fff; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.cal-nav { border: 0; background: var(--bg-soft); width: 32px; height: 32px; border-radius: 10px; font-size: 1.1rem; line-height: 1; }
.cal-nav:disabled { opacity: .35; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-week span { text-align: center; font-size: .7rem; font-weight: 700; color: var(--muted); padding: 2px 0; }
.cal-cell { aspect-ratio: 1; display: grid; place-items: center; border-radius: 9px; font-size: .82rem; font-weight: 600; border: 0; padding: 0; }
.cal-cell.empty { background: transparent; }
.cal-cell.free { background: #ecfdf5; color: #047857; cursor: pointer; }
.cal-cell.partial { background: #fffbeb; color: #b45309; cursor: pointer; }
.cal-cell.booked { background: #fee2e2; color: #b91c1c; text-decoration: line-through; }
.cal-cell.blocked, .cal-cell.closed { background: #f1f5f9; color: #94a3b8; }
.cal-cell.past { color: #cbd5e1; }
button.cal-cell:hover { outline: 2px solid var(--brand); }
.cal-cell.selected { background: var(--brand) !important; color: #fff !important; }
.avail-legend { display: flex; flex-wrap: wrap; gap: .3rem .8rem; }
.avail-legend .dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .3rem; vertical-align: -1px; }
.dot.free { background: #a7f3d0; } .dot.partial { background: #fde68a; } .dot.booked { background: #fecaca; } .dot.blocked { background: #e2e8f0; }

/* ---------- Venue packages ---------- */
.package-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; height: 100%; display: flex; flex-direction: column; background: #fff; transition: box-shadow .15s, transform .15s; }
.package-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.package-card .price { font-size: 1.6rem; font-weight: 800; color: var(--ink); }
.package-card ul { padding-left: 0; list-style: none; margin: .75rem 0 1rem; }
.package-card li { padding: .2rem 0; font-size: .92rem; }
.package-card li::before { content: "✓"; color: var(--brand); font-weight: 800; margin-right: .5rem; }
