/* Base typography and layout */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2933;
  background: #f5f7fb;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 18px 48px;
}

h1, h2, h3 {
  margin-top: 0;
  color: #111827;
}

/* Header from spec */
.bv-header {
  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(148,163,184,0.25);
  box-shadow:0 8px 20px rgba(15,23,42,0.06);
  position:sticky;
  top:0;
  z-index:100;
}
.bv-header-inner {
  max-width:1200px;
  margin:auto;
  padding:12px 18px;
  display:flex;
  align-items:center;
  gap:20px;
}
.logo-desktop { max-height:70px; }
.bv-logo-mobile { display:none; }
.bv-nav { display:flex; gap:20px; flex:1; }
.bv-nav a {
  font-weight:500;
  padding:4px 0;
  position:relative;
  font-size:0.95rem;
  color:#0f172a;
}
.bv-nav a::after {
  content:"";
  position:absolute;
  left:0;
  bottom:-3px;
  width:0;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,#2563eb,#22c55e);
  transition:width 0.18s ease-out;
}
.bv-nav a:hover::after,
.bv-nav a:focus-visible::after {
  width:100%;
}
.bv-wa-cta {
  background:#25D366;
  color:white;
  padding:8px 14px;
  font-weight:700;
  border-radius:10px;
  text-decoration:none;
  display:flex;
  align-items:center;
  gap:8px;
}
.bv-menu-toggle {
  display:none;
  background:none;
  border:1px solid rgba(148,163,184,0.7);
  border-radius:999px;
  font-size:18px;
  padding:4px 10px;
  margin-left:auto;
  line-height:1;
}

@media(max-width:900px){
  .logo-desktop{display:none;}
  .bv-logo-mobile{display:block;}
  .bv-nav{display:none;}
  .bv-header-inner{
    padding:10px 14px;
  }
  .bv-menu-toggle{display:block;margin-left:auto;}
}

@media (max-width:640px) {
  .bv-header-inner{
    gap:12px;
  }
  .bv-wa-cta{
    display:none;
  }
}

/* Footer */
.bv-footer {
  background:radial-gradient(circle at top left,#1e293b 0,#020617 45%,#000 100%);
  color:#e5e7eb;
  padding:32px 18px 20px;
  border-top:1px solid rgba(148,163,184,0.35);
}
.bv-footer-inner {
  max-width:1200px;
  margin:0 auto;
  display:flex;
  flex-wrap:wrap;
  gap:32px;
  align-items:flex-start;
  justify-content:space-between;
}
.footer-logo {
  width:96px;
  filter:drop-shadow(0 6px 18px rgba(15,23,42,0.8));
}
.footer-links {
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:170px;
  font-size:0.9rem;
}
.footer-links a {
  color:#e5e7eb;
  opacity:0.85;
  transition:opacity 0.18s ease, transform 0.18s ease;
}
.footer-links a:hover {
  opacity:1;
  transform:translateY(-1px);
}
.footer-contact {
  font-size:0.9rem;
  max-width:260px;
}
.footer-contact p {
  margin:3px 0;
}
.footer-legal {
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:180px;
  font-size:0.85rem;
}
.footer-legal a {
  color:#e5e7eb;
  opacity:0.75;
  transition:opacity 0.18s ease, transform 0.18s ease;
}
.footer-legal a:hover {
  opacity:1;
  transform:translateY(-1px);
}
.bv-footer::after {
  content:"© " attr(data-year) " BON VOYAGE · All rights reserved";
  display:block;
  max-width:1200px;
  margin:18px auto 0;
  font-size:0.78rem;
  color:#9ca3af;
  text-align:center;
  opacity:0.9;
}
@media (max-width:640px) {
  .bv-footer-inner {
    flex-direction:column;
    align-items:center;
    text-align:center;
  }
  .footer-contact {
    max-width:none;
  }
}

/* Hero and sections */
.hero {
  display:grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap:32px;
  align-items:center;
  margin-top:24px;
}

.hero-title {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  margin-bottom:12px;
}

.hero-subtitle {
  font-size:1.05rem;
  color:#4b5563;
  margin-bottom:18px;
}

.hero-actions {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.btn-primary {
  background:#2563eb;
  color:#fff;
  padding:10px 18px;
  border-radius:999px;
  font-weight:600;
  border:none;
  cursor:pointer;
}

.btn-outline {
  border:1px solid #cbd5f5;
  padding:9px 18px;
  border-radius:999px;
  font-weight:500;
  background:#f9fafb;
}

.hero-badges {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.badge {
  background:#e0f2fe;
  color:#082f49;
  padding:4px 10px;
  border-radius:999px;
  font-size:0.8rem;
  font-weight:500;
}

.hero-card {
  background:#0f172a;
  color:white;
  border-radius:18px;
  padding:20px;
  box-shadow:0 20px 35px rgba(15,23,42,0.4);
}

.hero-card h3 {
  margin-top:0;
}

.hero-card-grid {
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:14px;
  margin-top:14px;
}

.hero-card-item {
  background:rgba(15,23,42,0.75);
  border-radius:12px;
  padding:10px 12px;
  font-size:0.85rem;
}

.hero-card-wa {
  margin-top:16px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 14px;
  border-radius:999px;
  background:#22c55e;
  color:white;
  font-weight:600;
}

/* Package grid */
.section {
  margin-top:48px;
}

.section-header {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:16px;
  margin-bottom:18px;
}

.section-header p {
  margin:0;
  color:#4b5563;
}

.pkg-grid {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap:22px;
}

.pkg-card {
  width:100%;max-width:340px;
  border-radius:12px;overflow:hidden;
  box-shadow:0 6px 16px rgba(0,0,0,0.08);
  background:white;padding-bottom:12px;
}
.pkg-img{width:100%;height:200px;object-fit:cover;}
.pkg-card h3 {
  font-size:1.1rem;
  margin:12px 14px 4px;
}
.pkg-card p {
  margin:0 14px 8px;
  color:#6b7280;
  font-size:0.92rem;
}
.pkg-highlights {
  margin:0 14px 8px;
  padding-left:18px;
  color:#4b5563;
  font-size:0.9rem;
}
.pkg-view,
.pkg-wa{
  display:block;
  padding:10px 14px;
  margin:0 12px 0;
  border-radius:8px;
  margin-top:8px;
  text-align:center;
  font-weight:600;
}
.pkg-view {
  background:#eef2ff;
  color:#3730a3;
}
.pkg-wa{
  background:#25D366;
  text-align:center;color:white;font-weight:700;
  text-decoration:none;
}

/* Package detail */
.package-detail {
  display:grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap:32px;
}

.pd-hero {
  display:grid;
  grid-template-columns:minmax(0, 1.3fr) minmax(0, 1.4fr);
  gap:18px;
  margin-bottom:24px;
}

.pd-cover {
  border-radius:16px;
  height:260px;
  object-fit:cover;
}

.pd-hero h1 {
  margin-top:0;
  margin-bottom:10px;
}

.pd-hero p {
  margin-top:0;
  color:#4b5563;
}

.pd-wa {
  display:inline-flex;
  padding:9px 16px;
  border-radius:999px;
  background:#22c55e;
  color:white;
  font-weight:600;
}

.pd-gallery {
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:12px;
  margin-bottom:24px;
}

.pd-gallery img {
  border-radius:12px;
  height:120px;
  object-fit:cover;
}

.pd-itinerary ol {
  padding-left:22px;
}

.pd-inc ul,
.pd-exc ul {
  padding-left:18px;
}

.pd-side {
  align-self:flex-start;
  position:sticky;
  top:96px;
}

.pd-side-card {
  background:white;
  border-radius:16px;
  box-shadow:0 6px 16px rgba(0,0,0,0.08);
  padding:18px;
}

.pd-side-card h3 {
  margin-top:0;
  margin-bottom:8px;
}

.pd-side-card p {
  margin:4px 0;
  font-size:0.9rem;
  color:#4b5563;
}

.pd-wa-side {
  display:block;
  margin-top:14px;
  padding:10px 14px;
  border-radius:999px;
  background:#22c55e;
  color:white;
  font-weight:600;
  text-align:center;
}

/* WhatsApp Modal Popup */
.whatsapp-modal {
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:1000;
  display:none;
  align-items:center;
  justify-content:center;
  opacity:0;
  transition:opacity 0.3s ease;
}

.whatsapp-modal[aria-hidden="false"] {
  display:flex;
  opacity:1;
}

.whatsapp-modal-overlay {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.6);
  backdrop-filter:blur(4px);
}

.whatsapp-modal-content {
  position:relative;
  max-width:500px;
  width:90%;
  max-height:90vh;
  overflow-y:auto;
  z-index:1001;
  animation:modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    transform:translateY(-20px);
    opacity:0;
  }
  to {
    transform:translateY(0);
    opacity:1;
  }
}

.whatsapp-modal-close {
  position:absolute;
  top:10px;
  right:10px;
  width:36px;
  height:36px;
  border-radius:50%;
  border:none;
  background:#ef4444;
  color:white;
  font-size:24px;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:1002;
  transition:background 0.2s ease, transform 0.2s ease;
  box-shadow:0 2px 8px rgba(0,0,0,0.2);
}

.whatsapp-modal-close:hover {
  background:#dc2626;
  transform:scale(1.1);
}

.whatsapp-modal-close:active {
  transform:scale(0.95);
}

@media (max-width:640px) {
  .whatsapp-modal-content {
    width:95%;
    max-width:none;
  }
}

/* Simple content pages */
.page-intro {
  max-width:720px;
  margin-bottom:28px;
}

.two-col {
  display:grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr);
  gap:32px;
}

.card {
  background:white;
  border-radius:16px;
  padding:18px 20px;
  box-shadow:0 5px 14px rgba(15,23,42,0.06);
}

.card h3 {
  margin-top:0;
}

form label {
  display:block;
  font-size:0.9rem;
  margin-bottom:4px;
  font-weight:500;
}

form input,
form select,
form textarea {
  width:100%;
  padding:8px 10px;
  border-radius:8px;
  border:1px solid #d1d5db;
  font-family:inherit;
  font-size:0.95rem;
}

form textarea {
  min-height:90px;
  resize:vertical;
}

form .field-group {
  margin-bottom:14px;
}

/* Destinations grid */
.dest-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(230px,1fr));
  gap:18px;
}

.dest-card {
  background:white;
  border-radius:14px;
  padding:14px 16px;
  box-shadow:0 4px 12px rgba(15,23,42,0.06);
}

.dest-chip-row {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:8px;
  font-size:0.8rem;
}

.chip {
  background:#eff6ff;
  color:#1d4ed8;
  padding:3px 8px;
  border-radius:999px;
  display:inline-block;
  transition:background 0.2s ease, transform 0.2s ease;
}
.chip a {
  color:inherit;
  text-decoration:none;
  display:block;
}
.chip:hover {
  background:#dbeafe;
  transform:translateY(-1px);
}

/* Global loading spinner (from Uiverse.io by mrhyddenn) */
.spinner {
  font-size: 28px;
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1em;
}

.spinner.center {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}

.spinner .spinner-blade {
  position: absolute;
  left: 0.4629em;
  bottom: 0;
  width: 0.074em;
  height: 0.2777em;
  border-radius: 0.0555em;
  background-color: transparent;
  transform-origin: center -0.2222em;
  animation: spinner-fade9234 1s infinite linear;
}

.spinner .spinner-blade:nth-child(1)  { animation-delay: 0s;     transform: rotate(0deg); }
.spinner .spinner-blade:nth-child(2)  { animation-delay: 0.083s; transform: rotate(30deg); }
.spinner .spinner-blade:nth-child(3)  { animation-delay: 0.166s; transform: rotate(60deg); }
.spinner .spinner-blade:nth-child(4)  { animation-delay: 0.249s; transform: rotate(90deg); }
.spinner .spinner-blade:nth-child(5)  { animation-delay: 0.332s; transform: rotate(120deg); }
.spinner .spinner-blade:nth-child(6)  { animation-delay: 0.415s; transform: rotate(150deg); }
.spinner .spinner-blade:nth-child(7)  { animation-delay: 0.498s; transform: rotate(180deg); }
.spinner .spinner-blade:nth-child(8)  { animation-delay: 0.581s; transform: rotate(210deg); }
.spinner .spinner-blade:nth-child(9)  { animation-delay: 0.664s; transform: rotate(240deg); }
.spinner .spinner-blade:nth-child(10) { animation-delay: 0.747s; transform: rotate(270deg); }
.spinner .spinner-blade:nth-child(11) { animation-delay: 0.83s;  transform: rotate(300deg); }
.spinner .spinner-blade:nth-child(12) { animation-delay: 0.913s; transform: rotate(330deg); }

@keyframes spinner-fade9234 {
  0%   { background-color: #69717d; }
  100% { background-color: transparent; }
}


/* Responsive tweaks */
@media (max-width:1024px) {
  .hero {
    grid-template-columns:1fr;
  }
  .package-detail {
    grid-template-columns:1fr;
  }
  .pd-side {
    position:static;
  }
  .two-col {
    grid-template-columns:1fr;
    gap:24px;
  }
}

@media (max-width:640px) {
  main {
    padding:18px 14px 36px;
  }
  .hero-card-grid {
    grid-template-columns:1fr;
  }
  .pd-hero {
    grid-template-columns:1fr;
  }
  .pd-cover {
    height:210px;
  }
  .pd-gallery {
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
  .pkg-grid {
    grid-template-columns:1fr;
  }
  .pkg-card {
    max-width:none;
  }
  .hero-title {
    font-size:1.9rem;
  }
  .hero-subtitle {
    font-size:0.97rem;
  }
  .two-col {
    grid-template-columns:1fr;
    gap:20px;
  }
}


