/* ============================================================
   Sivasakthi Holidays — theme
   Palette: Orange, White, Dark Blue (per brief)
   ============================================================ */
:root {
  --orange: #FF7A00;
  --orange-dark: #E56A00;
  --navy: #0B2545;
  --navy-light: #13355c;
  --paper: #ffffff;
  --mist: #F4F6F9;
  --grey: #6b7280;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--navy);
}

h1, h2, h3, h4, .brand-font {
  font-family: var(--font-heading);
  font-weight: 700;
}

a { color: var(--orange); }
a:hover { color: var(--orange-dark); }

.section-title {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.section-subtitle { color: var(--grey); margin-bottom: 2.5rem; }
.section-eyebrow {
  color: var(--orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

/* --- Navbar --- */
.navbar-sh {
  background: var(--paper);
  box-shadow: 0 2px 10px rgba(11,37,69,0.06);
  transition: box-shadow 0.2s ease;
  padding: 0.75rem 0;
}
.navbar-sh.scrolled { box-shadow: 0 4px 18px rgba(11,37,69,0.14); }
.navbar-sh .navbar-brand { font-family: var(--font-heading); font-weight: 800; color: var(--navy); font-size: 1.4rem; }
.navbar-sh .navbar-brand span { color: var(--orange); }
.navbar-sh .nav-link { color: var(--navy); font-weight: 600; margin: 0 0.35rem; }
.navbar-sh .nav-link:hover, .navbar-sh .nav-link.active { color: var(--orange); }

.btn-orange {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--paper);
  font-weight: 600;
}
.btn-orange:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: var(--paper); }
.btn-navy { background: var(--navy); border-color: var(--navy); color: var(--paper); font-weight: 600; }
.btn-navy:hover { background: var(--navy-light); border-color: var(--navy-light); color: var(--paper); }
.btn-outline-navy { border: 1.5px solid var(--navy); color: var(--navy); font-weight: 600; }
.btn-outline-navy:hover { background: var(--navy); color: var(--paper); }

/* --- Hero slider --- */
.hero-slide { height: 88vh; min-height: 500px; background-size: cover; background-position: center; position: relative; }
.hero-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,37,69,0.35) 0%, rgba(11,37,69,0.85) 100%);
}
.hero-caption { position: relative; z-index: 2; }
.hero-caption h1 { font-size: clamp(2rem, 5vw, 3.6rem); color: var(--paper); }
.hero-caption p { color: #dfe7f2; font-size: 1.15rem; max-width: 600px; }
.carousel-indicators [data-bs-target] { background-color: var(--orange); }

/* --- Cards --- */
.card-hover {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(11,37,69,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card-hover:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(11,37,69,0.18); }
.card-hover img { transition: transform 0.4s ease; height: 220px; object-fit: cover; width: 100%; }
.card-hover:hover img { transform: scale(1.08); }
.card-body-sh { padding: 1.25rem; }
.card-body-sh h5 { font-family: var(--font-heading); font-weight: 700; }

.why-card { text-align: center; padding: 2rem 1.25rem; border-radius: 14px; background: var(--mist); height: 100%; transition: transform 0.2s ease; }
.why-card:hover { transform: translateY(-4px); }
.why-card .bi { font-size: 2.2rem; color: var(--orange); margin-bottom: 0.75rem; }

.testimonial-card { background: var(--paper); border-radius: 14px; padding: 1.75rem; box-shadow: 0 6px 20px rgba(11,37,69,0.08); height: 100%; }
.testimonial-card .bi-star-fill { color: var(--orange); }

/* --- Gallery --- */
.gallery-item { position: relative; overflow: hidden; border-radius: 10px; margin-bottom: 1rem; }
.gallery-item img { width: 100%; height: 240px; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.12); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(11,37,69,0.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s ease;
  color: var(--paper); font-weight: 600; text-align: center; padding: 1rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* --- Sections --- */
.section-py { padding: 4.5rem 0; }
.bg-navy { background: var(--navy); color: var(--paper); }
.bg-mist { background: var(--mist); }
.cta-section {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--paper);
  border-radius: 18px;
  padding: 3rem;
}

/* --- Footer --- */
footer.site-footer { background: var(--navy); color: #cbd5e1; padding: 3.5rem 0 1.5rem; }
footer.site-footer h6 { color: var(--paper); font-family: var(--font-heading); font-weight: 700; margin-bottom: 1rem; }
footer.site-footer a { color: #cbd5e1; text-decoration: none; }
footer.site-footer a:hover { color: var(--orange); }
footer.site-footer .social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08); margin-right: 0.5rem; color: var(--paper);
}
footer.site-footer .social-icons a:hover { background: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2rem; padding-top: 1.25rem; font-size: 0.85rem; color: #94a3b8; }

/* --- Floating buttons --- */
.whatsapp-float {
  position: fixed; bottom: 24px; left: 24px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); color: var(--paper); }

.back-to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--orange); color: var(--paper);
  display: none; align-items: center; justify-content: center;
  font-size: 1.3rem; border: none; box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: transform 0.2s ease;
}
.back-to-top.show { display: flex; }
.back-to-top:hover { transform: translateY(-3px); }

/* --- Forms --- */
.form-control:focus { border-color: var(--orange); box-shadow: 0 0 0 0.2rem rgba(255,122,0,0.15); }
.form-label { font-weight: 600; color: var(--navy); }

/* --- Payment page --- */
.upi-box { background: var(--mist); border: 2px dashed var(--orange); border-radius: 14px; padding: 2rem; text-align: center; }
.upi-id { font-family: monospace; font-size: 1.3rem; font-weight: 700; color: var(--navy); background: var(--paper); padding: 0.5rem 1rem; border-radius: 8px; display: inline-block; }

/* No-QR payment layout: a single centered column of clean detail
   cards instead of a large empty scanner block. */
.payment-details-card {
  background: var(--paper);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(11,37,69,0.08);
  padding: 1.75rem;
}
.payment-details-card h5 { font-family: var(--font-heading); font-weight: 700; color: var(--navy); }

.payment-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--mist);
}
.payment-detail-row:last-of-type { border-bottom: none; }
.payment-detail-label { color: var(--navy); font-weight: 600; }
.payment-detail-value { color: var(--navy); font-weight: 600; }

.payment-steps { padding-left: 1.25rem; color: var(--navy); }
.payment-steps li { padding: 0.35rem 0; }

.payment-confirmation-note {
  background: rgba(255,122,0,0.08);
  border: 1px solid rgba(255,122,0,0.25);
  color: var(--navy);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  text-align: center;
  font-size: 0.95rem;
}
.payment-confirmation-note .bi { color: var(--orange); }

@media (max-width: 768px) {
  .hero-slide { height: 70vh; }
  .whatsapp-float, .back-to-top { width: 48px; height: 48px; font-size: 1.4rem; }
}

/* ============================================================
   Full Gallery page — trip album cards
   (isolated from .gallery-item/.gallery-overlay used in the
   homepage gallery preview, which are untouched)
   ============================================================ */
.album-grid { align-items: stretch; }

.gallery-col {
  display: flex;
  min-width: 0;
}

.album-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  height: 100%;
  background: var(--paper);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(11,37,69,0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.album-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(11,37,69,0.22);
}

.album-card-media {
  position: relative;
  width: 100%;
  height: 230px;
  flex: 0 0 230px;
  overflow: hidden;
  background: var(--mist);
}
.album-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}
.album-card:hover .album-card-media img { transform: scale(1.08); }

.album-card-count {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: rgba(11,37,69,0.85);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  backdrop-filter: blur(2px);
}

.album-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
}
.album-card-title { font-family: var(--font-heading); font-weight: 700; color: var(--navy); font-size: 1.1rem; margin-bottom: 0.4rem; }
.album-card-desc {
  color: var(--grey);
  font-size: 0.9rem;
  line-height: 1.5;
  flex: 1;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.album-card-btn { margin-top: auto; }

@media (max-width: 767px) {
  .album-card-media { height: 200px; flex-basis: 200px; }
}

/* Lightbox / album-viewer modal */
.lightbox-content {
  background: rgba(11,37,69,0.97);
  border: none;
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
}
.lightbox-image {
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  border-radius: 8px;
  margin: 0 auto;
}
.lightbox-caption {
  color: #cbd5e1;
  margin-top: 0.75rem;
  margin-bottom: 0;
  font-size: 0.95rem;
}
.lightbox-close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 3;
  opacity: 0.9;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255,255,255,0.12);
  border: none;
  color: var(--paper);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: background-color 0.2s ease;
}
.lightbox-nav:hover { background: var(--orange); }
.lightbox-nav.prev { left: 12px; }
.lightbox-nav.next { right: 12px; }
.lightbox-counter { color: #94a3b8; font-size: 0.82rem; margin-top: 0.4rem; }

/* ============================================================
   Destinations page — dedicated card style
   (isolated from .card-hover used elsewhere, e.g. the homepage
   "Popular Destinations" preview, which is untouched)

   Every card in the grid is identical in width, height, image
   size and button position: the column stretches to the row's
   tallest sibling (Bootstrap's .row default), .dest-card fills
   that full height, and the media block is a fixed 250px so
   image size never varies between cards.
   ============================================================ */
.dest-grid { align-items: stretch; }

.dest-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: var(--paper);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(11,37,69,0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dest-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(11,37,69,0.22);
}

.dest-card-media {
  position: relative;
  width: 100%;
  height: 250px;
  flex: 0 0 250px;
  overflow: hidden;
  background: var(--mist);
}
.dest-card-media img {
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
    opacity:1;
    transition:transform .5s ease;
}

.dest-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(11,37,69,0.88) 100%);
  pointer-events: none;
}
.dest-card-name {
  position: absolute;
  left: 1.1rem;
  right: 1rem;
  bottom: 0.9rem;
  margin: 0;
  color: var(--paper);
  font-size: 1.3rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.dest-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
}
.dest-card-desc {
  color: var(--grey);
  font-size: 0.9rem;
  line-height: 1.5;
  flex: 1;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dest-card-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: auto;
}

/* Orange-outline "Explore" button, distinct from the navy outline
   used elsewhere on the site, per the Destinations page spec. */
.btn-outline-orange {
  border: 1.5px solid var(--orange);
  color: var(--orange-dark);
  font-weight: 600;
  background: transparent;
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn-outline-orange:hover {
  background: var(--orange);
  color: var(--paper);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(255,122,0,0.28);
}

/* Subtle lift on every destination-card button, incl. the existing
   solid orange "Book Now" button, so both animate consistently. */
.dest-card-actions .btn {
  transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.dest-card-actions .btn:hover { transform: translateY(-2px); }
.dest-card-actions .btn-orange:hover { box-shadow: 0 8px 18px rgba(255,122,0,0.35); }

@media (max-width: 767px) {
  .dest-card-media { height: 220px; flex-basis: 220px; }
}

/* ============================================================
   Packages page — dedicated card + details-modal style
   (isolated from .dest-card / .album-card used on other pages)
   ============================================================ */
.pkg-col {
  display: flex;
  min-width: 0;
}

.pkg-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  height: 100%;
  background: var(--paper);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(11,37,69,0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pkg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(11,37,69,0.22);
}

.pkg-card-media {
  position: relative;
  width: 100%;
  height: 220px;
  flex: 0 0 220px;
  overflow: hidden;
  background: var(--mist);
}
.pkg-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}
.pkg-card:hover .pkg-card-media img { transform: scale(1.08); }

.pkg-card-badge {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  background: rgba(11,37,69,0.88);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.pkg-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
}
.pkg-card-title { font-family: var(--font-heading); font-weight: 700; color: var(--navy); font-size: 1.15rem; margin-bottom: 0.4rem; }
.pkg-card-desc {
  color: var(--grey);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pkg-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.pkg-card-meta i { color: var(--orange); margin-right: 0.35rem; }
.pkg-card-contact {
  color: var(--orange-dark);
  font-size: 0.78rem;
  text-align: right;
}
.pkg-card-contact i { color: var(--orange); margin-right: 0.3rem; }

.pkg-contact-box {
  background: var(--mist);
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  font-size: 0.9rem;
}
.pkg-contact-heading {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.pkg-contact-heading i, .pkg-contact-box i { color: var(--orange); width: 1.2rem; }
.pkg-contact-box a { color: var(--navy); font-weight: 600; }
.pkg-contact-box a:hover { color: var(--orange); }

.pkg-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.pkg-tag {
  background: var(--mist);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.pkg-card-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: auto;
}

/* Package details modal */
.pkg-modal-content {
  border: none;
  border-radius: 16px;
  overflow: hidden;
}
.pkg-modal-image { width: 100%; max-height: 320px; object-fit: cover; }
.pkg-modal-body { padding: 1.5rem; }
.pkg-modal-badge { position: static; display: inline-flex; }
.pkg-modal-close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 3;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  padding: 0.5rem;
}
.pkg-modal-facilities { list-style: none; padding: 0; margin-bottom: 1.25rem; }
.pkg-modal-facilities li { padding: 0.3rem 0; color: var(--navy); }
.pkg-modal-facilities i { color: var(--orange); margin-right: 0.5rem; }

@media (max-width: 767px) {
  .pkg-card-media { height: 190px; flex-basis: 190px; }
}
.hero-slide{
    position:relative;
    height:88vh;
    min-height:500px;
    background-size:cover;
    background-position:center;
}

.hero-slide::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(11,37,69,.45);
}

.hero-caption{
    position:relative;
    z-index:10;
    color:#fff;
    padding-bottom:60px;
}

.hero-caption h1{
    color:#fff;
    font-size:clamp(2rem,5vw,3.8rem);
    font-weight:700;
}

.hero-caption p{
    color:#fff;
    font-size:1.15rem;
    max-width:600px;
}

.hero-caption .btn{
    position:relative;
    z-index:20;
}