/* BangaloreIN — site styles (Bootstrap 5 theme layer). No build step required. */
:root {
  --brand: #0b6e4f;
  --brand-600: #095c42;
  --brand-50: #e8f5ef;
  --accent: #f4a300;
  --ink: #1b2430;
  --muted: #5f6b7a;
  --line: #e4e8ee;
  --surface: #ffffff;
  --page: #f6f8fa;
  --radius: .75rem;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, .08);
  --bs-primary: var(--brand);
  --bs-primary-rgb: 11, 110, 79;
  --bs-link-color: var(--brand);
  --bs-link-color-rgb: 11, 110, 79;
  --bs-link-hover-color: var(--brand-600);
  --bs-link-hover-color-rgb: 9, 92, 66;
  --bs-body-color: var(--ink);
  --bs-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --bs-border-color: var(--line);
  --bs-border-radius: .5rem;
  --bs-focus-ring-color: rgba(11, 110, 79, .25);
}
body { background: var(--page); font-size: .975rem; }
h1, h2, h3, h4, .h1, .h2, .h3, .h4 { font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
a { text-decoration: none; }
a:hover { text-decoration: underline; }
.btn { font-weight: 600; border-radius: .6rem; }
.btn-primary { --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand-600); --bs-btn-hover-border-color: var(--brand-600); --bs-btn-active-bg: var(--brand-600); --bs-btn-disabled-bg: var(--brand); --bs-btn-disabled-border-color: var(--brand); }
.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); --bs-btn-active-bg: var(--brand); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #1b1300; }
.btn-accent:hover { background: #dc9200; border-color: #dc9200; color: #1b1300; }
.btn-whatsapp { background: #1f9d55; border-color: #1f9d55; color: #fff; }
.btn-whatsapp:hover { background: #17864a; color: #fff; }
.text-brand { color: var(--brand) !important; }
.bg-brand { background: var(--brand) !important; }
.bg-brand-50 { background: var(--brand-50) !important; }
.text-muted, .text-secondary { color: var(--muted) !important; }
.form-control, .form-select { border-radius: .6rem; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem var(--bs-focus-ring-color); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 2000; background: #fff; padding: .5rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.brand-logo { font-weight: 800; font-size: 1.35rem; color: var(--ink); letter-spacing: -.02em; }
.brand-logo span { background: var(--brand); color: #fff; border-radius: .4rem; padding: 0 .35rem; margin-left: .1rem; }
.brand-logo:hover { text-decoration: none; color: var(--ink); }
.site-header .nav-link { color: var(--ink); font-weight: 500; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--brand); }

/* Hero / search */
.hero { background: radial-gradient(1200px 400px at 10% -10%, #dff3ea 0, transparent 60%), linear-gradient(180deg, #fff, var(--page)); padding: 3.5rem 0 2.5rem; }
.hero h1 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
.search-box { background: #fff; border-radius: 1rem; box-shadow: var(--shadow-md); padding: .5rem; border: 1px solid var(--line); }
.search-box .form-control, .search-box .form-select { border: 0; box-shadow: none; font-size: 1.05rem; padding: .8rem 1rem; }
.search-box .divider { width: 1px; background: var(--line); margin: .5rem 0; }
.example-chips a { display: inline-block; padding: .35rem .8rem; margin: .2rem; border-radius: 2rem; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: .9rem; }
.example-chips a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.suggest-menu { position: absolute; z-index: 1050; left: 0; right: 0; top: 100%; background: #fff; border: 1px solid var(--line); border-radius: .6rem; box-shadow: var(--shadow-md); max-height: 360px; overflow: auto; }
.suggest-menu a { display: flex; gap: .5rem; align-items: center; padding: .55rem .85rem; color: var(--ink); }
.suggest-menu a:hover, .suggest-menu a.active { background: var(--brand-50); text-decoration: none; }

/* Cards */
.card { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-hover { transition: box-shadow .15s, transform .15s; }
.card-hover:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.category-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .5rem; padding: 1.1rem .5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); height: 100%; }
.category-tile i { font-size: 1.6rem; color: var(--brand); }
.category-tile:hover { border-color: var(--brand); text-decoration: none; color: var(--brand); }
.biz-card .thumb { width: 112px; height: 112px; border-radius: .6rem; object-fit: cover; background: var(--brand-50); flex-shrink: 0; }
.biz-card .thumb-placeholder { width: 112px; height: 112px; border-radius: .6rem; background: var(--brand-50); display: flex; align-items: center; justify-content: center; color: var(--brand); font-size: 2rem; flex-shrink: 0; }
.biz-card h3 { font-size: 1.1rem; margin-bottom: .15rem; }
.biz-card h3 a { color: var(--ink); }
@media (max-width: 575.98px) { .biz-card .thumb, .biz-card .thumb-placeholder { width: 76px; height: 76px; } }
.badge-soft { background: var(--brand-50); color: var(--brand); font-weight: 600; }
.badge.text-bg-light { color: var(--ink) !important; }
.rating-pill { display: inline-flex; align-items: center; gap: .2rem; background: var(--brand); color: #fff; border-radius: .4rem; padding: .05rem .4rem; font-weight: 700; font-size: .85rem; }
.rating-pill.low { background: #c2410c; }
.stars { color: var(--accent); letter-spacing: .05em; }
.sponsored-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.open-now { color: #15803d; font-weight: 600; }
.closed-now { color: #b91c1c; font-weight: 600; }

/* Listing page */
.listing-header { background: #fff; border-bottom: 1px solid var(--line); }
.gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 150px 150px; gap: .5rem; border-radius: var(--radius); overflow: hidden; }
.gallery-grid a:first-child { grid-row: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767.98px) { .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 110px; } .gallery-grid a:first-child { grid-column: span 2; grid-row: auto; } .gallery-grid a:nth-child(n+4) { display: none; } }
.sticky-panel { position: sticky; top: 1rem; }
.section-title { font-size: 1.15rem; margin-bottom: 1rem; }
.map-box { height: 260px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.hours-table td { padding: .25rem 0; }
.mobile-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1030; background: #fff; border-top: 1px solid var(--line); padding: .5rem; box-shadow: 0 -4px 16px rgba(0,0,0,.06); }
@media (min-width: 992px) { .mobile-cta { display: none; } }
body.has-mobile-cta { padding-bottom: 70px; }
@media (min-width: 992px) { body.has-mobile-cta { padding-bottom: 0; } }
.link-cloud a { display: inline-block; margin: 0 .35rem .45rem 0; padding: .3rem .7rem; border: 1px solid var(--line); border-radius: 2rem; background: #fff; font-size: .88rem; color: var(--ink); }
.link-cloud a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.filter-card .form-check-label { font-size: .92rem; }
.breadcrumb { font-size: .85rem; margin-bottom: .5rem; }
.prose { line-height: 1.7; }
.prose h2 { font-size: 1.35rem; margin-top: 1.75rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.25rem; }
.prose img { max-width: 100%; height: auto; border-radius: .5rem; }

/* Footer */
.site-footer { background: #0f1a24; color: #c7d0da; }
.site-footer a { color: #c7d0da; }
.site-footer a:hover { color: #fff; }
.site-footer h2 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; }

/* Panels (account, dashboard, admin) */
.panel-shell { min-height: calc(100vh - 64px); }
.panel-nav .nav-link { color: var(--ink); border-radius: .5rem; padding: .5rem .75rem; display: flex; gap: .6rem; align-items: center; font-weight: 500; }
.panel-nav .nav-link i { color: var(--muted); width: 1.1rem; text-align: center; }
.panel-nav .nav-link:hover { background: var(--brand-50); text-decoration: none; }
.panel-nav .nav-link.active { background: var(--brand-50); color: var(--brand); }
.panel-nav .nav-link.active i { color: var(--brand); }
.panel-nav .nav-heading { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); padding: 1rem .75rem .35rem; font-weight: 700; }
.stat-card .value { font-size: 1.6rem; font-weight: 800; }
.stat-card .label { color: var(--muted); font-size: .85rem; }
.admin-sidebar { width: 250px; background: #0f1a24; min-height: 100vh; }
.admin-sidebar .nav-link { color: #c7d0da; padding: .42rem .9rem; border-radius: .4rem; font-size: .92rem; display: flex; gap: .55rem; align-items: center; }
.admin-sidebar .nav-link:hover { background: rgba(255,255,255,.06); color: #fff; text-decoration: none; }
.admin-sidebar .nav-link.active { background: var(--brand); color: #fff; }
.admin-sidebar .nav-heading { color: #7d8a99; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; padding: .9rem .9rem .3rem; font-weight: 700; }
.admin-main { min-width: 0; }
@media (max-width: 991.98px) { .admin-sidebar { position: fixed; left: -260px; z-index: 1045; transition: left .2s; } .admin-sidebar.show { left: 0; } }
.table > :not(caption) > * > * { padding: .6rem .7rem; }
.table thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; background: #fafbfc; }
.progress { height: .6rem; }
.status-badge { text-transform: capitalize; }
.chart-bars { display: flex; align-items: flex-end; gap: 3px; height: 120px; }
.chart-bars .bar { flex: 1; background: var(--brand); border-radius: 3px 3px 0 0; min-height: 2px; position: relative; }
.chart-bars .bar:hover { background: var(--brand-600); }
.img-fit { object-fit: cover; }
[x-cloak] { display: none !important; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
