/* =========================================================
   VisitImo — Custom Styles
   ========================================================= */

:root {
  --green-dark: #0b3d26;
  --green: #0f5132;
  --green-mid: #146c43;
  --green-soft: #e6f0ea;
  --gold: #d4a017;
  --gold-light: #e8b93d;
  --cream: #f4efe6;
  --text-dark: #1c1c1c;
  --text-muted: #6c7570;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  font-size: 16px;
}

body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

h1, h2, h3, .font-serif {
  font-family: 'Playfair Display', Georgia, serif;
}

a { color: inherit; }
a:hover { color: var(--green); }

.text-brand-green { color: var(--green-mid); }

.btn-brand-green {
  background-color: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
  font-weight: 500;
  transition: background-color .2s ease, transform .15s ease;
}
.btn-brand-green:hover, .btn-brand-green:focus {
  background-color: var(--green-mid);
  border-color: var(--green-mid);
  color: #fff;
}

.btn-outline-brand {
  border: 1.5px solid var(--green);
  color: var(--green);
  font-weight: 500;
  background: #fff;
}
.btn-outline-brand:hover {
  background: var(--green);
  color: #fff;
}

.section-block { padding-block: 3.5rem; }

.section-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: .35rem;
}
.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: .95rem;
}
.title-underline {
  width: 56px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
}

/* ============ TOP BAR ============ */
.top-bar {
  background: #f0f1ee;
  font-size: .82rem;
  border-bottom: 1px solid #e5e6e2;
}
.top-bar-tagline {
  color: var(--green-mid);
  font-weight: 600;
}
.top-bar-tagline i { margin-right: .35rem; }
.top-bar-item {
  color: #3c3f3d;
  white-space: nowrap;
}
.top-bar-item i { color: var(--gold); margin-right: .25rem; }

/* ============ NAVBAR ============ */
.main-navbar {
  background: #fff;
  padding-block: .6rem;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
  z-index: 1030;
}
.brand-emblem { width: 200px;}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-wordmark {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.45rem;
  color: #16181a;
  letter-spacing: .3px;
}
.brand-tagline {
  font-size: .68rem;
  color: var(--text-muted);
  font-weight: 500;
}
.main-navbar .nav-link {
  font-weight: 600;
  font-size: .92rem;
  color: #2b2f2c;
  padding: .5rem .8rem;
}
.main-navbar .nav-link.active {
  color: var(--green);
  position: relative;
}
.main-navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: .8rem; right: .8rem; bottom: 0;
  height: 2px;
  background: var(--green);
}
.main-navbar .nav-link:hover { color: var(--green); }
.plan-trip-btn { white-space: nowrap; padding: .55rem 1.2rem; }

/* ============ HERO ============ */
.hero-section {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg-carousel,
.hero-bg-carousel .carousel-inner,
.hero-bg-carousel .carousel-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
}
.hero-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.38) 45%, rgba(0,0,0,.15) 75%, rgba(0,0,0,.35) 100%);
}
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-script {
  font-family: 'Dancing Script', cursive;
  color: var(--gold-light);
  font-size: 4.1rem;
  margin-bottom: -.5rem;
}
.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .5rem;
}
.hero-subtitle {
  color: #f1f1ea;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.4;
}
.hero-divider {
  width: 70px; height: 3px;
  background: var(--gold);
  margin: 1rem 0 1.25rem;
}
.hero-feature {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  font-size: .85rem;
  font-weight: 500;
}
.hero-feature i {
  width: 30px; height: 30px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: .85rem;
}

.glance-card {
  background: rgba(10, 20, 15, .72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  color: #fff;
}
.glance-title {
  color: var(--gold-light);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.glance-list { list-style: none; padding: 0; margin: 0; }
.glance-list li {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding-block: .55rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.glance-list li:last-child { border-bottom: none; }
.glance-list i { color: var(--gold); font-size: 1.1rem; width: 20px; }
.glance-list strong { display: block; font-size: .92rem; }
.glance-list span { display: block; font-size: .78rem; color: #cfd4cf; }
.glance-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--gold-light);
  font-weight: 600;
  font-size: .88rem;
  margin-top: 1rem;
  text-decoration: none;
}
.glance-link:hover { color: var(--gold); }

.hero-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  border: none;
  background: transparent;
  padding: 0;
  line-height: 0;
}
.hero-arrow-btn.hero-arrow-prev { left: 1.25rem; }
.hero-arrow-btn.hero-arrow-next { right: 1.25rem; }
.hero-arrow {
  width: 42px; height: 42px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  font-size: 1.1rem;
  transition: background .2s ease;
}
.hero-arrow-btn:hover .hero-arrow { background: #fff; }
.hero-indicators {
  bottom: 210px;
  z-index: 3;
  margin-bottom: 0;
}
.hero-indicators [data-bs-target] {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  border: none;
  opacity: 1;
}
.hero-indicators .active { background: var(--green-mid); width: 22px; border-radius: 4px; }

/* ============ SEARCH CARD ============ */
.search-card-wrap { margin-top: -80px; position: relative; z-index: 10; }
.search-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 40px rgba(0,0,0,.12);
  padding: 2rem clamp(1rem, 4vw, 2.5rem);
}
.search-title {
  text-align: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}
.search-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  color: var(--text-dark);
  font-size: .8rem;
  font-weight: 500;
}
.search-cat i {
  font-size: 1.3rem;
  color: var(--green);
}
.search-cat:hover { color: var(--green); }
.input-icon-group {
  position: relative;
  height: 100%;
}
.input-icon-group i {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: #9aa39d;
}
.input-icon-group .form-control { padding-left: 2.4rem; height: 100%; }
.search-card .form-control, .search-card .form-select {
  border-color: #e2e4e0;
  padding-block: .65rem;
  font-size: .9rem;
}
.search-card .form-control:focus, .search-card .form-select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 .2rem rgba(15,81,50,.12);
}
.search-card .btn { font-size: .9rem; }

/* ============ WELCOME SECTION ============ */
.welcome-section { padding-top: 3rem; }
.welcome-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.welcome-content { padding: 2.5rem clamp(1.25rem, 4vw, 3rem); }
.welcome-seal { width: 90px; height: 90px; flex-shrink: 0; object-fit: contain; }
.eyebrow {
  color: var(--green);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: .4rem;
}
.welcome-title {
  color: var(--green-dark);
  font-weight: 700;
  font-size: 1.9rem;
  margin-bottom: 1rem;
}
.welcome-text {
  color: #45483f;
  font-size: .93rem;
  line-height: 1.75;
  margin-bottom: .9rem;
}
.signature {
  font-family: 'Dancing Script', cursive;
  font-size: 1.6rem;
  color: var(--green-dark);
  margin: .5rem 0 .2rem;
}
.signee-name { font-weight: 700; color: var(--green-dark); margin-bottom: 0; font-size: .95rem; }
.signee-title { color: var(--text-muted); font-size: .85rem; }
.governor-photo {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: top center;
}

/* ============ EXPLORE CARDS ============ */
.explore-card {
  display: block;
  position: relative;
  height: 260px;
  border-radius: var(--radius-md);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding: 1rem;
  color: #fff;
}
.explore-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.85) 100%);
}
.explore-icon, .explore-text { position: relative; z-index: 1; }
.explore-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: #fff;
  border-radius: 8px;
  color: var(--green);
  font-size: 1.05rem;
}
.explore-text {
  position: absolute;
  left: 1rem; right: 1rem; bottom: 1rem;
  display: flex;
  flex-direction: column;
}
.explore-name { font-weight: 700; font-size: .98rem; }
.explore-desc { font-size: .76rem; color: #e4e6e2; }

/* ============ EVENT CARDS ============ */
.event-card {
  display: block;
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  transition: box-shadow .2s ease, transform .2s ease;
}
.event-card:hover { box-shadow: 0 10px 24px rgba(0,0,0,.1); transform: translateY(-2px); }
.event-img {
  height: 190px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.event-date {
  position: absolute;
  top: 10px; left: 10px;
  background: #fff;
  border-radius: 6px;
  padding: .15rem .5rem;
  text-align: center;
  font-size: .68rem;
  line-height: 1.1;
  color: var(--text-dark);
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.event-date strong { display: block; color: var(--green); font-size: .6rem; letter-spacing: .5px; }
.event-body { padding: .85rem .9rem 1rem; }
.event-title { font-weight: 700; font-size: .85rem; margin-bottom: .15rem; }
.event-desc { font-size: .72rem; color: var(--text-muted); margin-bottom: .3rem; }
.event-loc { font-size: .7rem; color: var(--text-muted); margin-bottom: .5rem; }
.event-loc i { color: var(--gold); margin-right: .2rem; }
.event-badge {
  font-size: .65rem;
  font-weight: 600;
  padding: .3rem .55rem;
  border-radius: 20px;
}
.badge-cultural { background: #e3f3ea; color: #1c7a4a; }
.badge-festival { background: #f7e6f5; color: #9c2fa0; }
.badge-business { background: #e3ecf9; color: #2755b0; }

/* ============ BUSINESS DIRECTORY ============ */
.biz-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  background: #f4f5f3;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-dark);
  font-size: .72rem;
  font-weight: 500;
  padding: 1rem .4rem;
  height: 100%;
  transition: background .2s ease;
}
.biz-cat i { font-size: 1.2rem; color: var(--green); }
.biz-cat:hover { background: var(--green-soft); color: var(--green-dark); }

.gallery-card {
  background: linear-gradient(135deg, #0b3d26, #143d2b);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.25rem 1.5rem;
  color: #fff;
  overflow: hidden;
}
.gallery-title { color: var(--gold-light); font-weight: 700; font-size: 1.05rem; margin-bottom: .15rem; }
.gallery-subtitle { font-size: .78rem; color: #d8ddd8; margin-bottom: 1rem; }
.gallery-carousel { position: relative; border-radius: var(--radius-md); overflow: hidden; }
.gallery-carousel .carousel-item img {
  height: 200px;
  object-fit: cover;
}
.gallery-indicators {
  margin-bottom: .6rem;
  z-index: 2;
}
.gallery-indicators [data-bs-target] {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: none;
  opacity: 1;
}
.gallery-indicators .active { background: var(--gold); width: 18px; border-radius: 4px; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #000;
  color: #fff;
  border-radius: 8px;
  padding: .4rem .75rem;
  text-decoration: none;
  font-size: .78rem;
  line-height: 1.1;
}
.store-badge i { font-size: 1.3rem; }
.store-badge span { display: flex; flex-direction: column; }
.store-badge small { font-size: .55rem; color: #ccc; }
.store-badge:hover { background: #1a1a1a; color: #fff; }

/* ============ INVEST ============ */
.invest-banner {
  position: relative;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  padding: clamp(1.75rem, 4vw, 3rem);
  overflow: hidden;
}
.invest-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(4,15,10,.82) 20%, rgba(4,15,10,.55) 100%);
}
.invest-title {
  color: var(--gold-light);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2.1rem;
  position: relative;
}
.invest-subtitle { color: #fff; font-weight: 700; font-size: 1.1rem; position: relative; }
.invest-text { color: #dfe3de; font-size: .88rem; max-width: 420px; position: relative; }
.btn-invest-cta {
  background: #fff;
  color: var(--green-dark);
  font-weight: 600;
  padding: .65rem 1.4rem;
  font-size: .88rem;
  position: relative;
}
.btn-invest-cta:hover { background: var(--gold-light); color: #14210c; }
.invest-feature {
  display: flex;
  align-items: center;
  gap: .8rem;
  position: relative;
}
.invest-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--green-mid);
  background: rgba(15,81,50,.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.invest-feature strong { display: block; color: #fff; font-size: .85rem; }
.invest-feature span { display: block; color: #c9cec6; font-size: .74rem; }

/* ============ TESTIMONIALS ============ */
.testi-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  height: 100%;
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
}
.testi-quote-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.testi-stars { color: var(--gold); font-size: .8rem; letter-spacing: 2px; }
.testi-text { font-size: .87rem; color: #45483f; font-style: italic; line-height: 1.6; min-height: 4.5em; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testi-card strong { display: block; font-size: .85rem; }
.testi-card small, .testi-card div span { font-size: .76rem; color: var(--text-muted); }

.testi-arrow, .partner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  z-index: 2;
}
.testi-arrow-prev { left: -20px; }
.testi-arrow-next { right: -20px; }
.testi-dots, .partners-dots { display: flex; justify-content: center; gap: .4rem; margin-top: 1.5rem; }
.partners-dots { margin-top: 0; margin-bottom: .75rem; }
.testi-dots .dot, .partners-dots .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #d8dad6;
}
.testi-dots .dot.active, .partners-dots .dot.active { background: var(--green); width: 18px; border-radius: 4px; }

/* ============ PARTNERS ============ */
.partners-strip { padding-block: 1.75rem; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.partners-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  overflow-x: auto;
  padding: 0 2.5rem;
  scrollbar-width: none;
}
.partners-row::-webkit-scrollbar { display: none; }
.partners-row img {
  height: 34px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  opacity: .9;
}
.partner-arrow-prev { left: 0; }
.partner-arrow-next { right: 0; }

/* ============ FOOTER ============ */
.site-footer {
  background: linear-gradient(180deg, #0b3d26, #092e1c);
  color: #dfe4de;
  padding-top: 3.5rem;
  position: relative;
}
.footer-top { padding-bottom: 2rem; }
.footer-emblem {width: 200px;}
.footer-wordmark {
  display: flex;
  flex-direction: column;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: .5px;
}
.footer-wordmark small { font-family: 'Poppins', sans-serif; font-size: .68rem; color: #b9c2b8; font-weight: 500; }
.footer-desc { font-size: .82rem; color: #c3cac1; line-height: 1.7; }
.footer-social { margin-top: 1rem; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: .85rem;
}
.footer-social a:hover { background: rgba(255,255,255,.12); }
.footer-heading { color: #fff; font-weight: 700; font-size: .95rem; margin-bottom: 1.1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .65rem; }
.footer-links a { color: #c3cac1; text-decoration: none; font-size: .84rem; }
.footer-links a:hover { color: var(--gold-light); }
.newsletter-form { border-radius: 8px; overflow: hidden; }
.newsletter-form .form-control {
  border: none;
  font-size: .82rem;
  padding-block: .6rem;
}
.newsletter-form button {
  background: var(--gold);
  border: none;
  color: #14210c;
  padding: 0 1.1rem;
}
.newsletter-form button:hover { background: var(--gold-light); }
.store-badge-dark { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); }
.footer-divider { border-color: rgba(255,255,255,.15); margin: 0 0 1.25rem; }
.footer-bottom { font-size: .8rem; color: #b9c2b8; padding-bottom: 1.75rem; }
.footer-blessed {
  font-family: 'Dancing Script', cursive;
  color: var(--gold-light);
  font-size: 1.25rem;
}
.footer-blessed i { font-size: .8rem; margin-left: .25rem; }

.back-to-top {
  position: fixed;
  right: 1.5rem; bottom: 1.5rem;
  width: 46px; height: 46px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  z-index: 1040;
}
.back-to-top:hover { background: var(--green-mid); color: #fff; }

/* =========================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================= */
@media (max-width: 991.98px) {
  .hero-section { min-height: 580px; }
  .hero-title { font-size: 3.2rem; }
  .hero-indicators { bottom: 150px; }
  .search-card-wrap { margin-top: -55px; }
  .governor-photo { min-height: 260px; }
  .testi-arrow { display: none !important; }
}

@media (max-width: 767.98px) {
  .hero-section { min-height: 660px; }
  .hero-slide-bg { background-position: center 20%; }
  .hero-overlay { background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.75) 100%); }
  .hero-title { font-size: 2.6rem; }
  .hero-subtitle { font-size: 1.05rem; }
  .hero-indicators { bottom: 110px; }
  .search-card-wrap { margin-top: -40px; }
  .search-card { padding: 1.5rem 1.1rem; }
  .welcome-content { padding: 1.75rem 1.25rem; }
  .governor-photo { min-height: 220px; }
  .section-block { padding-block: 2.25rem; }
  .explore-card { height: 200px; }
  .invest-title { font-size: 1.7rem; }
  .partners-row { gap: 1.75rem; padding: 0 1rem; justify-content: flex-start; }
  .partners-row img { height: 26px; }
  .footer-bottom > div { margin-bottom: .4rem; }
  .event-img { height: 150px; }
}

@media (max-width: 575.98px) {
  .hero-title { font-size: 2.1rem; }
  .hero-features { gap: .6rem !important; }
  .hero-feature { font-size: .75rem; }
  .hero-feature i { width: 26px; height: 26px; font-size: .75rem; }
  .search-cat i { font-size: 1.05rem; }
  .search-cat span { font-size: .6rem; }
  .hero-arrow-btn.hero-arrow-prev { left: .6rem; }
  .hero-arrow-btn.hero-arrow-next { right: .6rem; }
  .hero-arrow { width: 34px; height: 34px; font-size: .95rem; }
  .event-img { height: 130px; }
}
