/* Bihar Darshan page stylesheet, extracted from index.html */
/* =========================================================
   BIHAR DARSHAN — STYLES
   ========================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 60px; }
body { font-family: Arial, Helvetica, sans-serif; background: #f7f9fc; color: #172033; line-height: 1.6; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid #ffb703; outline-offset: 2px; }
.muted { color: #667085; }

/* ================= HEADER / NAVBAR ================= */
.main-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.98); border-bottom: 1px solid #e5e7eb; box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
.header-brand { text-align: center; padding: 15px 0 5px 0; }
.site-title { display: block; font-size: 32px; font-weight: 800; color: #14213d; letter-spacing: 1px; text-decoration: none; line-height: 1.3; }

.navbar { max-width: 1200px; margin: auto; padding: 10px 25px 15px 25px; display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.nav-links { display: flex; gap: 20px; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: #273449; font-weight: 600; transition: 0.3s; font-size: 15px; }
.nav-links a:hover { color: #e85d04; }

.mobile-menu-btn { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: #14213d; }
.login-btn { border: none; background: #14213d; color: white; padding: 10px 22px; border-radius: 25px; cursor: pointer; font-weight: 700; transition: 0.3s; }
.login-btn:hover { background: #e85d04; }

/* ================= HERO ================= */
.hero { min-height: 650px; display: flex; align-items: center; background-color: #0f1c36; background-image: linear-gradient(rgba(5,15,35,0.82), rgba(5,15,35,0.82)), url("https://images.unsplash.com/photo-1605640840605-14ac1855827b?auto=format&fit=crop&w=1600&q=80"); background-size: cover; background-position: center; scroll-margin-top: 70px; }
.hero-content { max-width: 1200px; width: 100%; margin: auto; padding: 80px 25px; color: white; text-align: center; }
.small-title { color: #ffb703; font-size: 15px; font-weight: 800; letter-spacing: 3px; margin-bottom: 15px; }
.hero h1 { font-size: clamp(45px, 7vw, 82px); line-height: 1.05; margin-bottom: 25px; }
.hero h1 span { color: #ffb703; }
.hero-text { max-width: 650px; font-size: 19px; margin-bottom: 35px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; justify-content: center; }
.primary-btn, .secondary-btn { display: inline-block; padding: 14px 26px; border-radius: 30px; text-decoration: none; font-weight: 700; cursor: pointer; transition: 0.3s; border: none; font-size: 15px; }
.primary-btn { background: #e85d04; color: white; border: 2px solid #e85d04; }
.primary-btn:hover { background: #ff7200; transform: translateY(-3px); }
.secondary-btn { color: white; border: 2px solid white; background: transparent; }
.secondary-btn:hover { background: white; color: #14213d; }

/* ================= SECTIONS ================= */
.section { max-width: 1200px; margin: auto; padding: 90px 25px; }
.band-alt { background: #f0f4f8; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title p { color: #e85d04; font-weight: 800; letter-spacing: 2px; }
.section-title h2 { font-size: 40px; color: #14213d; }
.section-title .section-sub { display: block; max-width: 650px; margin: 12px auto 0; color: #667085; }

/* ================= EXPLORE CARDS ================= */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: white; padding: 30px 24px; border-radius: 18px; border: 1px solid #e5e7eb; transition: 0.3s; box-shadow: 0 5px 20px rgba(0,0,0,0.04); text-align: center; }
.card:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(0,0,0,0.12); border-color: #e85d04; }
.card-icon { font-size: 45px; margin-bottom: 15px; }
.card h3 { font-size: 22px; color: #14213d; margin-bottom: 10px; }
.card p { color: #667085; margin-bottom: 20px; }
.card button { border: none; background: #14213d; color: white; padding: 10px 18px; border-radius: 20px; cursor: pointer; font-weight: 600; }
.card button:hover { background: #e85d04; }

/* ================= DARSHAN CIRCUITS ================= */
.circuit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.circuit-card { background: white; border-radius: 18px; overflow: hidden; border: 1px solid #e5e7eb; transition: 0.3s; cursor: pointer; }
.circuit-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: #e85d04; }
.circuit-img { height: 180px; overflow: hidden; background: #14213d; }
.circuit-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.circuit-img.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; height: 210px; }
.circuit-img.split img { min-width: 0; }
.circuit-info { padding: 20px; }
.circuit-info h3 { color: #14213d; margin-bottom: 8px; }
.circuit-info p { color: #667085; font-size: 14px; }

/* ================= VIRTUAL DARSHAN ================= */
.virtual-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.virtual-card { background: white; border-radius: 18px; overflow: hidden; border: 1px solid #e5e7eb; transition: 0.3s; }
.virtual-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.virtual-thumb { position: relative; display: block; padding-top: 56.25%; background: #14213d; overflow: hidden; cursor: pointer; text-decoration: none; }
.virtual-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.virtual-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; background: rgba(255,255,255,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #e85d04; font-size: 24px; padding-left: 4px; transition: 0.3s; }
.virtual-thumb:hover .play-icon { background: #e85d04; color: white; }
.virtual-info { padding: 20px; }
.virtual-type { font-size: 12px; font-weight: 700; color: #e85d04; text-transform: uppercase; letter-spacing: 1px; }
.virtual-info h4 { color: #14213d; margin: 8px 0; font-size: 18px; }
.virtual-hint { font-size: 13px; color: #667085; }

/* ================= EXPERIENCES ================= */
.experiences-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.experience-card { background: white; border-radius: 18px; overflow: hidden; border: 1px solid #e5e7eb; transition: 0.3s; }
.experience-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.experience-card img { width: 100%; height: 180px; object-fit: cover; display: block; background: #14213d; }
.exp-info { padding: 20px; }
.exp-category { font-size: 12px; font-weight: 700; color: #e85d04; text-transform: uppercase; letter-spacing: 1px; }
.exp-info h4 { color: #14213d; margin: 8px 0; font-size: 18px; }
.exp-info p { font-size: 14px; color: #667085; margin-bottom: 8px; }
.exp-info .exp-meta { color: #14213d; font-weight: 600; }
.exp-book-btn { margin-top: 10px; font-size: 14px; padding: 8px 16px; width: 100%; }

/* ================= GALLERY ================= */
.gallery-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 25px; }
.gallery-tab { background: white; border: 1px solid #e5e7eb; padding: 8px 18px; border-radius: 20px; cursor: pointer; font-weight: 600; color: #14213d; transition: 0.3s; }
.gallery-tab.active, .gallery-tab:hover { background: #e85d04; color: white; border-color: #e85d04; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 15px; }
.gallery-item { position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; height: 250px; background: #14213d; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; display: block; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: flex-end; padding: 15px; opacity: 0; transition: 0.3s; }
.gallery-item:hover .gallery-overlay, .gallery-item:focus-visible .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: white; font-weight: 700; font-size: 16px; }
@media (hover: none) {
    .gallery-overlay { opacity: 1; background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0) 60%); }
}

/* ================= MODALS & OVERLAYS ================= */
.circuit-overlay, .auth-overlay, .my-darshan-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.78); z-index: 99999; overflow-y: auto; padding: 40px 20px; display: none; }
.lightbox-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 999999; display: none; align-items: center; justify-content: center; padding: 20px; }

.circuit-panel, .auth-box, .my-darshan-box { background: white; border-radius: 25px; position: relative; animation: popupOpen 0.3s ease; margin: auto; }
.circuit-panel { max-width: 900px; overflow: hidden; }
.auth-box { max-width: 450px; padding: 35px; }
.auth-box h2 { text-align: center; color: #14213d; margin-bottom: 20px; }
.auth-note { text-align: center; margin-top: 15px; font-size: 13px; color: #667085; }
.my-darshan-box { max-width: 700px; padding: 35px; max-height: 85vh; overflow-y: auto; }

@keyframes popupOpen { from { opacity: 0; transform: translateY(30px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

.close-explore { position: absolute; right: 20px; top: 20px; width: 40px; height: 40px; border: none; border-radius: 50%; background: #e85d04; color: white; font-size: 24px; cursor: pointer; z-index: 10; }
.close-explore:hover { background: #14213d; }

.circuit-hero { height: 280px; background-color: #14213d; background-size: cover; background-position: center; display: flex; align-items: flex-end; padding: 30px; }
.circuit-hero h1 { color: white; font-size: 36px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.circuit-body { padding: 30px; }
.circuit-intro { font-size: 18px; color: #667085; margin-bottom: 20px; }
.circuit-meta { background: #fff7ed; padding: 15px; border-radius: 10px; color: #e85d04; margin-bottom: 25px; }
.route-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; }
.route-stop { background: #14213d; color: white; padding: 6px 12px; border-radius: 20px; font-size: 14px; font-weight: 600; }
.route-arrow { color: #e85d04; font-weight: bold; }
.circuit-body h3.sites-title { margin-top: 30px; }
.circuit-save-btn { margin-top: 30px; width: 100%; }

.sites-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 15px; }
.site-card { background: #f8fafc; border-radius: 15px; overflow: hidden; border: 1px solid #e5e7eb; }
.site-card img { width: 100%; height: 150px; object-fit: cover; display: block; background: #14213d; }
.site-info { padding: 15px; }
.site-info h4 { color: #14213d; margin-bottom: 5px; }
.site-info h4 span { font-size: 13px; color: #e85d04; font-weight: 600; }
.site-info p { font-size: 14px; color: #667085; }

.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; color: #14213d; }
.form-group input { width: 100%; padding: 12px; border: 1px solid #d1d5db; border-radius: 10px; font-size: 15px; }
.full-btn { width: 100%; margin-top: 10px; }
.booking-details { background: #f8fafc; padding: 15px; border-radius: 10px; margin-bottom: 20px; font-size: 14px; }
.booking-total { text-align: right; font-size: 18px; font-weight: 700; color: #e85d04; margin: 15px 0; }

.dash-title { color: #14213d; margin-bottom: 5px; }
.dash-user { color: #667085; font-size: 14px; margin-bottom: 20px; }
.dash-block { margin-bottom: 25px; }
.dash-block h3 { color: #14213d; font-size: 18px; margin-bottom: 15px; }
.logout-btn { margin-top: 25px; width: 100%; background: #ef4444; border-color: #ef4444; }
.badges-container { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.badge-tag { background: linear-gradient(135deg, #ffb703, #e85d04); color: white; padding: 8px 16px; border-radius: 20px; font-weight: 700; font-size: 14px; }
.saved-item { background: #f8fafc; padding: 15px; border-radius: 10px; margin-bottom: 10px; border-left: 4px solid #e85d04; }
.saved-item h4 { color: #14213d; margin-bottom: 5px; }
.saved-item p { font-size: 14px; color: #667085; }

.lightbox-content { position: relative; max-width: 90vw; max-height: 90vh; text-align: center; }
.lightbox-content img { max-width: 100%; max-height: 80vh; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.lightbox-close { position: absolute; top: -40px; right: 0; background: none; border: none; color: white; font-size: 32px; cursor: pointer; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: white; border: none; font-size: 30px; padding: 10px 15px; cursor: pointer; border-radius: 50%; transition: 0.3s; }
.lightbox-nav:hover { background: #e85d04; }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }
.lightbox-title { color: white; text-align: center; margin-top: 15px; }

/* ================= HIDDEN BIHAR ================= */
.hidden-section { background: #f7f9fc; }
.hidden-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.hidden-place-card { background: white; border-radius: 22px; overflow: hidden; border: 1px solid #e5e7eb; box-shadow: 0 8px 25px rgba(0,0,0,0.06); transition: 0.35s; }
.hidden-place-card:hover { transform: translateY(-8px); box-shadow: 0 20px 45px rgba(0,0,0,0.14); }
.hidden-image { height: 250px; position: relative; overflow: hidden; background: #14213d; }
.hidden-image img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; display: block; }
.hidden-place-card:hover .hidden-image img { transform: scale(1.08); }
.hidden-badge { position: absolute; top: 18px; left: 18px; background: #e85d04; color: white; padding: 7px 14px; border-radius: 20px; font-size: 13px; font-weight: 700; }
.hidden-place-content { padding: 25px; }
.hidden-location { color: #e85d04; font-size: 14px; font-weight: 700; }
.hidden-place-content h3 { color: #14213d; font-size: 27px; margin: 8px 0; }
.hidden-place-content p { color: #667085; margin-bottom: 20px; }
.hidden-place-content button { border: none; background: #14213d; color: white; padding: 11px 20px; border-radius: 25px; cursor: pointer; font-weight: 700; transition: 0.3s; }
.hidden-place-content button:hover { background: #e85d04; transform: translateX(4px); }

/* ================= AI TRIP PLANNER ================= */
.planner { padding: 100px 25px; background: linear-gradient(135deg, #0f1c36, #1e3a5f); color: white; }
.planner-content { max-width: 900px; margin: auto; text-align: center; }
.planner h2 { font-size: 42px; margin-bottom: 12px; color: white; }
.planner-content > p { color: #d9e1ec; font-size: 17px; }
.planner-box { max-width: 600px; margin: 35px auto 0; background: white; color: #172033; padding: 30px; border-radius: 20px; text-align: left; box-shadow: 0 20px 50px rgba(0,0,0,0.25); }
.planner-box label { display: block; font-weight: 700; margin-top: 15px; margin-bottom: 7px; }
.planner-box label:first-child { margin-top: 0; }
.planner-box input, .planner-box select { width: 100%; padding: 13px; border: 1px solid #d1d5db; border-radius: 10px; font-size: 15px; outline: none; }
.planner-box .primary-btn { width: 100%; margin-top: 25px; font-size: 16px; }
#trip-result { margin-top: 25px; }
.result-box { background: white; color: #172033; padding: 25px; border-radius: 15px; text-align: left; border-left: 5px solid #e85d04; box-shadow: 0 10px 30px rgba(0,0,0,0.12); }
.result-box h3 { color: #e85d04; }
.result-box h4 { color: #14213d; }
.result-box ul { padding-left: 22px; }

/* ================= EXPLORE CATEGORY / HIDDEN DETAIL ================= */
.explore-overlay, .hidden-detail-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.78); z-index: 99999; overflow-y: auto; padding: 50px 20px; display: none; }
.explore-panel, .hidden-detail-panel { max-width: 1100px; margin: auto; background: white; border-radius: 25px; padding: 40px; position: relative; box-shadow: 0 25px 70px rgba(0,0,0,0.35); animation: popupOpen 0.3s ease; }
.hidden-detail-panel { max-width: 800px; }
.destination-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.destination-card { background: #f8fafc; padding: 25px; border-radius: 18px; border: 1px solid #e5e7eb; transition: 0.3s; }
.destination-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.12); border-color: #e85d04; }
.destination-icon { font-size: 48px; margin-bottom: 10px; }
.destination-card h2 { color: #14213d; margin-bottom: 10px; }
.destination-card p { color: #667085; margin-bottom: 20px; }
.destination-actions { display: flex; gap: 10px; margin-top: 15px; flex-wrap: wrap; }
.btn-link { display: inline-block; border: none; background: #14213d; color: white; padding: 11px 17px; border-radius: 20px; cursor: pointer; font-weight: 600; font-size: 14px; text-decoration: none; transition: 0.3s; }
.btn-link:hover { background: #e85d04; }
.panel-header { text-align: center; margin-bottom: 30px; }
.panel-header .kicker { color: #e85d04; font-weight: 800; letter-spacing: 2px; }
.panel-header h1 { color: #14213d; font-size: 36px; margin: 10px 0; }
.panel-header span { color: #667085; }
.hidden-detail-icon { text-align: center; font-size: 60px; margin-bottom: 15px; }
.hidden-detail-loc { color: #e85d04; font-weight: 700; display: block; text-align: center; margin-bottom: 10px; }
.hidden-detail-panel h1 { text-align: center; color: #14213d; margin-bottom: 25px; }
.detail-block { background: #f8fafc; padding: 20px; border-radius: 15px; margin-bottom: 15px; }
.detail-block h3 { color: #14213d; margin-bottom: 8px; }
.detail-block p { color: #667085; }
.hidden-detail-actions { display: flex; gap: 15px; justify-content: center; margin-top: 25px; flex-wrap: wrap; }
.btn-close-dark { color: #14213d; border-color: #14213d; }

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .destination-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .mobile-menu-btn { display: block; position: absolute; left: 20px; top: 20px; }
    .navbar { justify-content: flex-end; padding: 15px 20px; }
    .nav-links { display: none; flex-direction: column; width: 100%; position: absolute; top: 100%; left: 0; background: white; box-shadow: 0 4px 6px rgba(0,0,0,0.1); padding: 20px; gap: 15px; }
    .nav-links.active { display: flex; }
    .hero h1 { font-size: 46px; }
    .cards, .circuit-grid, .virtual-grid, .experiences-grid, .gallery-grid { grid-template-columns: 1fr; }
    .section { padding: 65px 18px; }
    .section-title h2 { font-size: 32px; }
    .circuit-panel, .auth-box, .my-darshan-box { padding: 25px 18px; }
    .circuit-panel { padding: 0; }
    .circuit-hero { padding: 20px; }
    .circuit-body { padding: 22px 18px; }
    .circuit-hero h1 { font-size: 28px; }
    .explore-panel, .hidden-detail-panel { padding: 30px 18px; }
    .planner { padding: 70px 18px; }
    .planner h2 { font-size: 32px; }
}
@media (max-width: 700px) {
    .hidden-grid, .destination-grid { grid-template-columns: 1fr; }
    .hidden-image { height: 220px; }
}
    
/* ================= FESTIVALS, CRAFTS, HISTORY, PERSONALITIES ================= */
@media (min-width: 769px) {
    .nav-links { flex-wrap: wrap; justify-content: center; gap: 8px 16px; }
    .nav-links a { font-size: 14px; }
}
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.info-card { display: flex; flex-direction: column; background: white; border: 1px solid #e5e7eb; border-radius: 18px; padding: 24px; box-shadow: 0 5px 20px rgba(0,0,0,0.04); transition: 0.3s; }
.info-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: #e85d04; }
.info-tag { font-size: 12px; font-weight: 700; color: #c2410c; text-transform: uppercase; letter-spacing: 1px; }
.info-card h3 { color: #14213d; font-size: 21px; margin: 8px 0; }
.info-meta { color: #14213d; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.info-card p { color: #5b6678; font-size: 14px; margin-bottom: 12px; }
.info-note { margin-top: auto; background: #fff8e6; border-left: 4px solid #ffb703; border-radius: 8px; padding: 10px 12px; font-size: 14px; color: #14213d; }
.info-note strong { display: block; margin-bottom: 2px; }
.info-list { margin-top: auto; }
.info-list dt { font-weight: 700; color: #14213d; font-size: 13px; }
.info-list dd { margin: 0 0 8px; color: #5b6678; font-size: 14px; }
.info-status { text-align: center; color: #5b6678; font-size: 14px; margin-bottom: 20px; }
.info-empty { grid-column: 1 / -1; text-align: center; color: #5b6678; padding: 30px 10px; }
.month-tabs .gallery-tab { min-width: 52px; min-height: 44px; padding: 8px 14px; }
.month-tabs .gallery-tab.active { background: #c2410c; border-color: #c2410c; }
.timeline { list-style: none; position: relative; max-width: 820px; margin: 0 auto; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: linear-gradient(#ffb703, #e85d04); }
.timeline-item { position: relative; margin-bottom: 24px; }
.timeline-dot { position: absolute; left: -32px; top: 24px; width: 17px; height: 17px; box-sizing: border-box; border-radius: 50%; background: #14213d; border: 3px solid #ffb703; }
.timeline-card { background: white; border: 1px solid #e5e7eb; border-radius: 18px; padding: 20px 22px; box-shadow: 0 5px 20px rgba(0,0,0,0.04); }
.timeline-card h3 { color: #14213d; font-size: 21px; margin: 6px 0; }
.timeline-card p { color: #5b6678; font-size: 15px; }
.person-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.person-avatar { flex: 0 0 56px; height: 56px; border-radius: 50%; background: #14213d; color: #ffb703; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; }
.person-head h3 { margin: 0; }
.person-role { font-size: 13px; color: #5b6678; }
.fest-note { max-width: 700px; margin: 0 auto 14px; text-align: center; background: #fff8e6; border: 1px solid #ffb703; border-radius: 10px; padding: 10px 14px; font-size: 14px; color: #14213d; }
.badge-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.badge { font-size: 12px; font-weight: 700; border-radius: 14px; padding: 3px 10px; }
.badge-top { background: #ffb703; color: #14213d; }
.badge-var { background: white; color: #c2410c; border: 1px solid #e85d04; }
/* ================= AUDIO BUTTONS ================= */
.audio-box { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.hidden-place-content .audio-box { margin: -6px 0 16px; }
.audio-box .audio-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 8px 16px; border: 2px solid #e85d04; border-radius: 30px; background: white; color: #c2410c; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: 0.25s; }
.audio-box .audio-btn:hover { background: #e85d04; color: #14213d; transform: translateY(-2px); box-shadow: 0 6px 14px rgba(232,93,4,0.25); }
.audio-box .audio-btn.playing { background: #c2410c; border-color: #c2410c; color: white; }
.audio-box .audio-btn.playing:hover { background: #a73508; color: white; }
.audio-msg { font-size: 13px; color: #b42318; }
@media (prefers-reduced-motion: reduce) { .audio-box .audio-btn { transition: none; } .audio-box .audio-btn:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) { .info-card { transition: none; } .info-card:hover { transform: none; } }

/* AI chatbot and photo-recognition styles */
:root {
  --bihar-ai-navy: #14213d;
  --bihar-ai-deep: #0f1c36;
  --bihar-ai-orange: #e85d04;
  --bihar-ai-amber: #ffb703;
  --bihar-ai-paper: #f8fafc;
  --bihar-ai-line: #e5e7eb;
  --bihar-ai-muted: #667085;
}

#planner #trip-preferences {
  box-sizing: border-box;
  width: 100%;
  min-height: 82px;
  margin: 6px 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--bihar-ai-line);
  border-radius: 12px;
  background: #fff;
  color: var(--bihar-ai-navy);
  font: inherit;
  line-height: 1.5;
  resize: vertical;
}

#planner #trip-preferences:focus-visible,
.ai-recognition-section input[type="file"]:focus-visible,
.ai-chat-composer textarea:focus-visible,
.ai-chat-composer button:focus-visible,
.ai-chat-controls button:focus-visible,
.ai-recognition-section button:focus-visible,
.bihar-ai-launcher:focus-visible,
.ai-chat-header button:focus-visible,
.ai-trip-actions button:focus-visible {
  outline: 3px solid var(--bihar-ai-amber);
  outline-offset: 3px;
}

#trip-result {
  scroll-margin-top: 90px;
}

.ai-trip-status,
.ai-trip-disclaimer {
  margin: 14px 0;
  color: var(--bihar-ai-muted);
  line-height: 1.55;
}

.ai-trip-status[aria-busy="true"]::before {
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin-right: 0.6em;
  border: 2px solid #f3c29f;
  border-top-color: var(--bihar-ai-orange);
  border-radius: 50%;
  content: "";
  vertical-align: -0.1em;
  animation: bihar-ai-spin 0.8s linear infinite;
}

.ai-trip-card {
  max-width: 900px;
  margin: 20px auto;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--bihar-ai-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(20, 33, 61, 0.09);
  color: var(--bihar-ai-navy);
}

.ai-trip-card h3 {
  margin: 0 0 10px;
  color: var(--bihar-ai-navy);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.ai-trip-estimate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 16px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-weight: 700;
}

.ai-trip-day {
  margin: 14px 0;
  padding: 16px;
  border-left: 4px solid var(--bihar-ai-orange);
  border-radius: 0 12px 12px 0;
  background: var(--bihar-ai-paper);
}

.ai-trip-day h4 {
  margin: 0 0 7px;
  color: var(--bihar-ai-navy);
}

.ai-trip-day p {
  margin: 6px 0;
  line-height: 1.6;
}

.ai-trip-costs {
  color: var(--bihar-ai-muted);
  font-size: 0.92rem;
}

.ai-trip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.ai-trip-actions button {
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.ai-trip-actions .ai-trip-save {
  background: var(--bihar-ai-navy);
}

.ai-trip-actions .ai-trip-share {
  background: var(--bihar-ai-orange);
}

.ai-trip-error {
  padding: 12px 14px;
  border-left: 4px solid #b42318;
  border-radius: 8px;
  background: #fff1f0;
  color: #7a271a;
}

.ai-recognition-section {
  background: linear-gradient(180deg, #fff7ed 0%, #f8fafc 100%);
}

.ai-recognition-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.ai-recognition-copy {
  padding: 14px 0;
  color: var(--bihar-ai-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.ai-recognition-copy h3 {
  margin-top: 0;
  color: var(--bihar-ai-navy);
  font-size: 1.5rem;
}

.ai-recognition-copy ul {
  padding-left: 1.25rem;
}

.ai-recognition-copy li {
  margin: 8px 0;
}

.ai-upload-card {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(20, 33, 61, 0.1);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(20, 33, 61, 0.1);
}

.ai-upload-card > label {
  display: block;
  margin-bottom: 8px;
  color: var(--bihar-ai-navy);
  font-weight: 700;
}

.ai-upload-card input[type="file"] {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 8px;
  border: 1px dashed #c8d0dc;
  border-radius: 12px;
  background: var(--bihar-ai-paper);
  color: var(--bihar-ai-navy);
  font: inherit;
}

.ai-upload-hint,
.ai-privacy-note {
  margin: 9px 0 14px;
  color: var(--bihar-ai-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.ai-preview-wrap {
  margin: 14px 0;
  overflow: hidden;
  border: 1px solid var(--bihar-ai-line);
  border-radius: 14px;
  background: #f1f4f8;
  text-align: center;
}

.ai-preview-wrap img {
  display: block;
  width: 100%;
  max-height: 380px;
  object-fit: contain;
}

.ai-recognition-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.ai-recognition-controls button {
  min-height: 46px;
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--bihar-ai-orange);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.ai-recognition-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.ai-photo-error {
  margin: 12px 0 0;
  color: #b42318;
  line-height: 1.5;
}

.ai-place-result {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #f3d3b5;
  border-radius: 14px;
  background: #fffaf5;
  color: var(--bihar-ai-navy);
}

.ai-place-result[hidden] {
  display: none !important;
}

.ai-place-result h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.ai-place-badge {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e8f4ea;
  color: #216e39;
  font-size: 0.85rem;
  font-weight: 700;
}

.ai-place-badge.is-uncertain {
  background: #fff1d6;
  color: #8a4b08;
}

.ai-place-fact {
  margin: 12px 0 0;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.ai-place-fact strong {
  display: block;
  margin-bottom: 3px;
  color: var(--bihar-ai-navy);
}

.ai-chat-root {
  position: fixed;
  z-index: 1500;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  font-family: Arial, Helvetica, sans-serif;
}

.bihar-ai-launcher {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 20px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: var(--bihar-ai-orange);
  box-shadow: 0 8px 28px rgba(15, 28, 54, 0.25);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.bihar-ai-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(15, 28, 54, 0.32);
}

.bihar-ai-launcher svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.ai-chat-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  display: flex;
  width: min(390px, calc(100vw - 24px));
  height: min(610px, calc(100vh - 108px));
  height: min(610px, calc(100dvh - 108px));
  min-height: min(400px, calc(100vh - 108px));
  min-height: min(400px, calc(100dvh - 108px));
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(20, 33, 61, 0.16);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(15, 28, 54, 0.28);
  color: var(--bihar-ai-navy);
  transform-origin: bottom right;
  animation: bihar-ai-panel-in 150ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.ai-chat-panel[hidden] {
  display: none !important;
}

.ai-chat-header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  background: var(--bihar-ai-navy);
  color: #fff;
}

.ai-chat-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}

.ai-chat-subtitle {
  margin: 3px 0 0;
  color: #e9edf4;
  font-size: 0.8rem;
}

.ai-chat-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
}

.ai-chat-header button {
  min-width: 38px;
  min-height: 38px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.ai-chat-header button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.ai-chat-messages {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 16px 14px 10px;
  background: #f7f9fc;
  overscroll-behavior: contain;
}

.ai-chat-message {
  max-width: 88%;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  color: #273449;
  font-size: 0.94rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.ai-chat-message--assistant {
  align-self: flex-start;
  border-top-left-radius: 5px;
}

.ai-chat-message--user {
  align-self: flex-end;
  border-color: #f5c9a9;
  border-top-right-radius: 5px;
  background: #fff2e8;
}

.ai-chat-speaker {
  display: block;
  margin-bottom: 3px;
  color: var(--bihar-ai-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.ai-chat-status {
  flex: 0 0 auto;
  min-height: 20px;
  margin: 0;
  padding: 0 14px 7px;
  background: #f7f9fc;
  color: var(--bihar-ai-muted);
  font-size: 0.85rem;
}

.ai-chat-status.is-error {
  color: #b42318;
}

.ai-chat-composer {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-end;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--bihar-ai-line);
  background: #fff;
}

.ai-chat-composer textarea {
  box-sizing: border-box;
  min-height: 44px;
  max-height: 120px;
  flex: 1 1 auto;
  padding: 11px 12px;
  border: 1px solid #c8d0dc;
  border-radius: 13px;
  color: var(--bihar-ai-navy);
  font: inherit;
  line-height: 1.4;
  resize: vertical;
}

.ai-chat-composer button {
  min-width: 60px;
  min-height: 44px;
  padding: 9px 13px;
  border: 0;
  border-radius: 13px;
  background: var(--bihar-ai-orange);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.ai-chat-composer button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.ai-chat-privacy {
  flex: 0 0 auto;
  margin: 0;
  padding: 0 12px 10px;
  background: #fff;
  color: var(--bihar-ai-muted);
  font-size: 0.73rem;
  line-height: 1.4;
  text-align: center;
}

.ai-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  clip-path: inset(50%) !important;
}

@keyframes bihar-ai-spin {
  to { transform: rotate(360deg); }
}

@keyframes bihar-ai-panel-in {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 820px) {
  .ai-recognition-grid { grid-template-columns: 1fr; }
  .ai-recognition-copy { padding-bottom: 0; }
}

@media (max-width: 560px) {
  .bihar-ai-launcher { width: 56px; min-height: 56px; padding: 0; }
  .bihar-ai-launcher-label { display: none; }
  .ai-chat-panel {
    right: -4px;
    bottom: 68px;
    width: min(390px, calc(100vw - 16px));
    height: min(650px, calc(100vh - 96px));
    height: min(650px, calc(100dvh - 96px));
    min-height: min(360px, calc(100vh - 96px));
    min-height: min(360px, calc(100dvh - 96px));
    border-radius: 16px;
  }
  .ai-chat-header, .ai-upload-card, .ai-trip-card { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .bihar-ai-launcher,
  .ai-chat-panel,
  .ai-trip-status[aria-busy="true"]::before {
    animation: none !important;
    transition: none !important;
  }
  .bihar-ai-launcher:hover { transform: none; }
}

.auth-box { max-width: 500px; }
.auth-box h2 { margin-bottom: 10px; }
