/* Papermint Travel - custom styles on top of Bootstrap 5 */

:root {
  --mint: #16a34a;
  --mint-light: #22c55e;
  --mint-dark: #15803d;
  --mint-soft: rgba(22, 163, 74, 0.1);
  --navy: #1e2547;
  --navy-light: #2a3160;
  --navy-dark: #161c38;
  --bs-body-font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bs-body-color: var(--navy);
  --bs-link-color: var(--mint);
  --bs-link-color-rgb: 22, 163, 74;
  --bs-link-hover-color: var(--mint-dark);
  --bs-link-hover-color-rgb: 21, 128, 61;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--bs-body-font-family);
  color: var(--navy);
  background: #fff;
  padding-top: 80px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { font-weight: 700; color: var(--navy); }

img { max-width: 100%; }

/* ---------- Colour helpers ---------- */
.text-mint { color: var(--mint) !important; }
.text-mint-light { color: var(--mint-light) !important; }
.text-mint-dark { color: var(--mint-dark) !important; }
.text-navy { color: var(--navy) !important; }
.text-muted-light { color: #d1d5db !important; }
.text-white-90 { color: rgba(255, 255, 255, 0.9) !important; }
.bg-mint { background-color: var(--mint) !important; }
.bg-mint-soft { background-color: var(--mint-soft) !important; }
.bg-navy { background-color: var(--navy) !important; }
.bg-navy-light { background-color: var(--navy-light) !important; }
.bg-navy-dark { background-color: var(--navy-dark) !important; }
.bg-cream { background-color: #f1f4d8 !important; }
.bg-soft { background-color: #f9fafb !important; }
.fw-800 { font-weight: 800 !important; }

/* ---------- Layout ---------- */
.container { max-width: 1280px; }
.section { padding: 4rem 0; }
@media (min-width: 576px) { .section { padding: 5rem 0; } }
@media (min-width: 992px) { .section { padding: 6rem 0; } }
.scroll-mt { scroll-margin-top: 96px; }

/* ---------- Buttons ---------- */
.btn-mint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: var(--mint);
  color: #fff;
  border: 1px solid var(--mint);
  border-radius: .375rem;
  padding: .75rem 1.5rem;
  font-size: .875rem;
  font-weight: 600;
  transition: background-color .2s, border-color .2s;
}
.btn-mint:hover, .btn-mint:focus { background: var(--mint-dark); border-color: var(--mint-dark); color: #fff; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: .375rem;
  padding: .75rem 1.5rem;
  font-size: .875rem;
  font-weight: 600;
  transition: all .2s;
}
.btn-ghost:hover { background: #fff; color: var(--navy); }

.icon { width: 1rem; height: 1rem; flex-shrink: 0; }
.icon-md { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.icon-lg { width: 1.75rem; height: 1.75rem; flex-shrink: 0; }

/* ---------- Headings ---------- */
.eyebrow {
  font-family: 'Dancing Script', cursive;
  font-size: 1.5rem;
  color: var(--mint);
  margin-bottom: 0;
}
.section-title { font-weight: 800; font-size: 1.875rem; margin-top: .25rem; }
@media (min-width: 576px) { .section-title { font-size: 2.25rem; } }
.bar { height: 4px; width: 64px; border-radius: 4px; background: var(--mint); margin-top: 1rem; }
.section-heading { margin-bottom: 3rem; }
.section-heading.centered { text-align: center; max-width: 42rem; margin-left: auto; margin-right: auto; }
.section-heading.centered .bar { margin-left: auto; margin-right: auto; }

/* ---------- Navbar ---------- */
.site-nav { height: 80px; background: #fff; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .08); }
.site-nav .navbar-brand img { height: 40px; width: auto; }
.site-nav .nav-link {
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--navy);
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}
.site-nav .nav-link:hover, .site-nav .nav-link.active, .site-nav .nav-link:focus { color: var(--mint); }
.site-nav .dropdown-menu {
  border: 1px solid #f3f4f6;
  border-radius: .5rem;
  padding: .5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1);
}
.site-nav .dropdown-item { font-size: .875rem; border-radius: .375rem; padding: .5rem 1rem; color: var(--navy); }
.site-nav .dropdown-item:hover, .site-nav .dropdown-item:focus { background: var(--mint-soft); color: var(--mint); }
.site-nav .dropdown-item.view-all { color: var(--mint); font-weight: 600; border-top: 1px solid #f3f4f6; margin-top: .25rem; }

@media (min-width: 992px) {
  /* open dropdowns on hover on desktop */
  .site-nav .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
  .site-nav .dropdown-menu { top: 100%; }
}
@media (max-width: 991.98px) {
  .site-nav .navbar-collapse {
    background: #fff;
    margin: 0 -12px;
    padding: 1rem 1.5rem;
    border-top: 1px solid #f3f4f6;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .site-nav .nav-link { padding-left: 0 !important; }
  .site-nav .dropdown-menu { border: 0; border-left: 2px solid rgba(22, 163, 74, .3); border-radius: 0; box-shadow: none; }
}
.navbar-toggler { border: 0; }
.navbar-toggler:focus { box-shadow: none; }

/* ---------- Hero carousel ---------- */
.hero { height: 88vh; min-height: 560px; }
.hero .carousel-inner, .hero .carousel-item { height: 100%; }
.hero .carousel-item img { width: 100%; height: 100%; object-fit: cover; }
.hero .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(22, 28, 56, .8), rgba(22, 28, 56, .5), transparent);
}
.hero .hero-content { position: absolute; inset: 0; display: flex; align-items: center; }
.hero .hero-title {
  color: #fff;
  font-weight: 800;
  font-size: 2.25rem;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .3);
  max-width: 42rem;
}
@media (min-width: 576px) { .hero .hero-title { font-size: 3rem; } }
@media (min-width: 992px) { .hero .hero-title { font-size: 3.75rem; } }
.hero .carousel-item.active .hero-text { animation: heroFade 1s ease; }
@keyframes heroFade {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}
.hero .carousel-indicators { margin-bottom: 1.5rem; }
.hero .carousel-indicators [data-bs-target] {
  width: 8px; height: 8px; border-radius: 999px; border: 0;
  background: rgba(255, 255, 255, .6); opacity: 1; transition: all .3s; margin: 0 4px;
}
.hero .carousel-indicators .active { width: 32px; background: var(--mint); }

/* ---------- Page header ---------- */
.page-header {
  position: relative;
  height: 46vh;
  min-height: 320px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-header > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-header::before { content: ''; position: absolute; inset: 0; background: rgba(22, 28, 56, .7); z-index: 1; }
.page-header .container { position: relative; z-index: 2; color: #fff; }
.page-header .crumb { font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--mint-light); }
.page-header .crumb a { color: inherit; text-decoration: none; }
.page-header .crumb a:hover { text-decoration: underline; }
.page-header h1 { color: #fff; font-weight: 800; font-size: 2.25rem; max-width: 48rem; }
@media (min-width: 576px) { .page-header h1 { font-size: 3rem; } }
.page-header p.lead-sub { color: #e5e7eb; font-size: 1.125rem; max-width: 42rem; margin-top: 1rem; }

/* ---------- Image collage ---------- */
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.collage img { width: 100%; object-fit: cover; border-radius: .75rem; }
.collage img:first-child { grid-row: span 2; height: 100%; }
.collage img:not(:first-child) { height: 160px; }

/* ---------- Background-image sections ---------- */
.bg-section { position: relative; overflow: hidden; }
.bg-section > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bg-section > .shade { position: absolute; inset: 0; }
.bg-section > .container { position: relative; }
.shade-40 { background: rgba(22, 28, 56, .4); }
.shade-80 { background: rgba(22, 28, 56, .8); }

/* ---------- Cards ---------- */
.rounded-xl { border-radius: .75rem !important; }
.card-soft { border: 1px solid #f3f4f6; border-radius: .75rem; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.zoom-wrap { overflow: hidden; }
.zoom-wrap img { transition: transform .5s; }
.zoom-wrap:hover img, .zoom-card:hover .zoom-wrap img { transform: scale(1.05); }

.package-card { transition: box-shadow .2s; overflow: hidden; }
.package-card:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1); }
.package-card .zoom-wrap { position: relative; height: 224px; }
.package-card .zoom-wrap img { width: 100%; height: 100%; object-fit: cover; }
.tag {
  position: absolute; top: .75rem;
  border-radius: .25rem; padding: .25rem .625rem;
  font-size: .75rem; font-weight: 600; color: #fff;
}
.tag-left { left: .75rem; background: rgba(30, 37, 71, .9); text-transform: uppercase; letter-spacing: .03em; }
.tag-right { right: .75rem; background: var(--mint); }

.service-card img { height: 160px; width: 100%; object-fit: cover; }

.park-tile { position: relative; display: block; height: 288px; border-radius: .75rem; overflow: hidden; }
.park-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.park-tile:hover img { transform: scale(1.05); }
.park-tile::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(22, 28, 56, .9), rgba(22, 28, 56, .2), transparent);
}
.park-tile .caption { position: absolute; bottom: 0; left: 0; padding: 1.25rem; z-index: 1; color: #fff; }
.park-tile .caption h3 { color: #fff; font-size: 1.125rem; margin: 0; }
.park-tile .caption p { color: #e5e7eb; font-size: .75rem; margin: .25rem 0 0; }

.feature-img { width: 100%; height: 288px; object-fit: cover; border-radius: .75rem; }
@media (min-width: 992px) { .feature-img { height: 384px; } }

.thumb { width: 100%; height: 160px; object-fit: cover; border-radius: .5rem; }

.chip {
  display: inline-block;
  border-radius: 999px;
  padding: .25rem .75rem;
  font-size: .75rem;
  font-weight: 600;
  background: var(--mint-soft);
  color: var(--mint-dark);
}
.chip-white { background: #fff; color: var(--navy); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: .75rem; font-size: .875rem; color: #4b5563; }
.check-list li + li { margin-top: .75rem; }
.check-list .icon-md { color: var(--mint); margin-top: 2px; }

.num-badge {
  display: flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; flex-shrink: 0;
  border-radius: 50%; background: var(--mint); color: #fff;
  font-size: .875rem; font-weight: 700;
}

.icon-circle {
  display: flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; flex-shrink: 0;
  border-radius: 50%; background: var(--mint-soft); color: var(--mint);
}

.commit-card { border-left: 4px solid var(--mint); }

.stat { border-radius: .5rem; background: var(--mint); padding: 1rem; text-align: center; color: #fff; }
.stat .value { font-size: 1.5rem; font-weight: 800; margin: 0; }
.stat .label { font-size: .75rem; color: rgba(255, 255, 255, .9); margin: 0; }

.partner-logo { height: 64px; width: auto; object-fit: contain; opacity: .8; filter: grayscale(1); transition: all .2s; }
.partner-logo:hover { opacity: 1; filter: none; }

/* ---------- Itinerary timeline ---------- */
.timeline { list-style: none; margin: 1rem 0 0; padding: 0 0 0 1.5rem; border-left: 2px solid rgba(22, 163, 74, .3); }
.timeline li { position: relative; }
.timeline li + li { margin-top: 1rem; }
.timeline li::before {
  content: ''; position: absolute; left: calc(-1.5rem - 7px); top: 6px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--mint);
}

/* ---------- Gallery ---------- */
.masonry { column-count: 2; column-gap: 1rem; }
@media (min-width: 576px) { .masonry { column-count: 3; } }
@media (min-width: 992px) { .masonry { column-count: 4; } }
.masonry a { display: block; margin-bottom: 1rem; overflow: hidden; border-radius: .5rem; break-inside: avoid; }
.masonry img { width: 100%; display: block; transition: transform .5s; }
.masonry a:hover img { transform: scale(1.05); }
.lightbox .modal-content { background: transparent; border: 0; }
.lightbox .modal-body img { max-height: 90vh; width: auto; max-width: 100%; border-radius: .5rem; }
.lightbox .btn-close { position: fixed; top: 1.25rem; right: 1.25rem; z-index: 2; opacity: 1; }
.modal-backdrop.show { opacity: .8; }

/* ---------- Forms ---------- */
.form-label { font-size: .875rem; font-weight: 500; color: var(--navy); margin-bottom: .25rem; }
.form-control, .form-select { font-size: .875rem; border-color: #d1d5db; }
.form-control:focus, .form-select:focus { border-color: var(--mint); box-shadow: 0 0 0 1px var(--mint); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #d1d5db; }
.site-footer h3 { color: var(--mint); font-size: 1.125rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; font-size: .875rem; }
.site-footer ul li + li { margin-top: .5rem; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--mint); }
.site-footer .contact-list li { display: flex; gap: .75rem; align-items: flex-start; }
.site-footer .contact-list li + li { margin-top: .75rem; }
.site-footer .contact-list .icon-md { color: var(--mint); margin-top: 2px; }
.social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--mint); color: #fff !important; transition: background-color .2s;
}
.social:hover { background: var(--mint-dark); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .75rem; color: #9ca3af; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1040;
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .2);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.05); color: #fff; }
.wa-float svg { width: 32px; height: 32px; }

.small-text { font-size: .875rem; }
.text-gray { color: #4b5563; }
.text-gray-light { color: #6b7280; }
.lh-relaxed { line-height: 1.625; }
.link-mint { color: var(--mint); text-decoration: none; font-size: .875rem; }
.link-mint:hover { text-decoration: underline; color: var(--mint); }
