/* ==========================================================================
   SEA GADABOUT - LUXURY EDITORIAL COMPONENTS (STRICTLY NO EMOJIS)
   Elite Havens Villa Style: Clean, Pristine, Architectural Typography
   ========================================================================== */

/* -------------------------------------------------------------
   SVG ICONS UTILITY
   ------------------------------------------------------------- */
.svg-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

.svg-icon-sm {
  width: 14px;
  height: 14px;
}

.svg-icon-lg {
  width: 24px;
  height: 24px;
}

.svg-icon-gold {
  color: var(--gold-accent);
}

/* -------------------------------------------------------------
   HERO SECTION & LUXURY SLIDER
   ------------------------------------------------------------- */
.hero-editorial {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 100px 1.5rem 80px;
}

.hero-slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay-subtle {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 40%, rgba(7, 21, 43, 0.25) 0%, rgba(3, 12, 26, 0.65) 100%);
  z-index: 2;
}

/* 3D Motion Canvas Layer */
#three-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  opacity: 0.7;
}

.hero-content-editorial {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 920px;
  margin: 0 auto 3.5rem;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-title-editorial {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.hero-desc-editorial {
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  color: #f1f5f9;
  max-width: 660px;
  margin: 0 auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* -------------------------------------------------------------
   INTEGRATED LUXURY BOOKING BAR (MATCHING REFERENCE)
   ------------------------------------------------------------- */
.booking-search-bar {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xs);
  padding: 1.25rem 1.75rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
  display: grid;
  grid-template-columns: 1.6fr 1.2fr 1.2fr 1fr 1.4fr;
  gap: 1.5rem;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.booking-col {
  display: flex;
  flex-direction: column;
}

.booking-col-label {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.booking-col-input, .booking-col-select {
  background: #f8f6f2;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  color: var(--text-dark);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  outline: none;
  transition: all 0.2s ease;
  width: 100%;
}

.booking-col-input:focus, .booking-col-select:focus {
  border-color: var(--gold-accent);
  background: #ffffff;
  box-shadow: 0 0 0 2px var(--gold-pale);
}

.booking-submit-btn {
  background: var(--navy-primary);
  color: #ffffff;
  border-radius: var(--radius-xs);
  padding: 12px 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  margin-top: 18px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(7, 21, 43, 0.2);
}

.booking-submit-btn:hover {
  background: var(--gold-accent);
  box-shadow: 0 6px 20px rgba(197, 155, 39, 0.35);
}

/* -------------------------------------------------------------
   INTRO EDITORIAL SECTION
   ------------------------------------------------------------- */
.intro-editorial {
  padding: 5.5rem 0 3.5rem;
  text-align: center;
  background: var(--bg-main);
}

.intro-editorial h2 {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--navy-primary);
  margin-bottom: 0.75rem;
}

.intro-editorial p {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 720px;
  margin: 0 auto;
}

/* -------------------------------------------------------------
   SPLIT EDITORIAL FEATURE (MATCHING REFERENCE IMAGE)
   ------------------------------------------------------------- */
.split-feature-section {
  padding: 4rem 0 5.5rem;
  background: var(--bg-soft);
}

.split-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.split-feature-text {
  padding-right: 1.5rem;
}

.split-feature-heading {
  font-family: var(--font-serif);
  font-size: 2.15rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy-primary);
  margin-bottom: 1.5rem;
}

.split-feature-desc {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.split-feature-media {
  position: relative;
  border-radius: var(--radius-xs);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.split-feature-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.split-feature-media:hover .split-feature-img {
  transform: scale(1.03);
}

/* -------------------------------------------------------------
   HAND-PICKED PROPERTY CAROUSEL (MATCHING REFERENCE)
   ------------------------------------------------------------- */
.handpicked-section {
  padding: 5.5rem 0;
  background: var(--bg-main);
}

.handpicked-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}

.handpicked-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.slider-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.slider-arrow-btn:hover {
  background: var(--navy-primary);
  color: #ffffff;
  border-color: var(--navy-primary);
}

.properties-carousel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.property-villa-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.property-villa-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
  border-color: var(--gold-accent);
}

.villa-card-media {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.villa-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-villa-card:hover .villa-card-img {
  transform: scale(1.06);
}

.villa-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(7, 21, 43, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
}

.villa-card-body {
  padding: 1.5rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.villa-location {
  font-size: 0.74rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-accent);
  font-weight: 700;
  margin-bottom: 0.35rem;
  min-height: 2.2rem;
  display: flex;
  align-items: flex-end;
  line-height: 1.35;
}

.villa-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy-primary);
  margin-bottom: 0.5rem;
  line-height: 1.25;
  min-height: 3.4rem;
  display: flex;
  align-items: flex-start;
}

.villa-price {
  font-size: 0.95rem;
  color: var(--navy-primary);
  font-weight: 700;
  margin-bottom: 0.45rem;
  line-height: 1.2;
}

.villa-price span {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
}

.villa-map-wrap {
  margin-bottom: 1.25rem;
  min-height: 22px;
  display: flex;
  align-items: center;
}

.villa-card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 1.15rem;
  align-items: center;
}

.btn-villa-explore,
.btn-villa-book {
  flex: 1 1 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 11px 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: var(--radius-xs);
  transition: all 0.2s ease;
  min-height: 44px;
  box-sizing: border-box;
  white-space: nowrap;
  line-height: 1;
}

.btn-villa-explore {
  background: transparent;
  border: 1.5px solid var(--navy-primary);
  color: var(--navy-primary);
}

.btn-villa-explore:hover {
  background: var(--navy-primary);
  color: #ffffff;
}

.btn-villa-book {
  background: var(--navy-primary);
  border: 1.5px solid var(--navy-primary);
  color: #ffffff;
}

.btn-villa-book:hover {
  background: var(--gold-accent);
  border-color: var(--gold-accent);
}

/* -------------------------------------------------------------
   PROMOTIONS SECTION (MATCHING REFERENCE)
   ------------------------------------------------------------- */
.promotions-section {
  padding: 5rem 0;
  background: var(--bg-soft);
}

.promotions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.promo-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
}

.promo-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.promo-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.promo-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy-primary);
  margin-bottom: 0.5rem;
}

.promo-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* -------------------------------------------------------------
   DESTINATION EXPLORER ("YOUR JOURNEY STARTS HERE")
   ------------------------------------------------------------- */
.destination-section {
  padding: 5.5rem 0;
  background: var(--bg-main);
}

.destination-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: center;
}

.destination-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.destination-tab-item {
  padding: 16px 20px;
  border-left: 3px solid var(--border-light);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
}

.destination-tab-item:hover, .destination-tab-item.active {
  color: var(--navy-primary);
  border-left-color: var(--gold-accent);
  background: var(--bg-soft);
}

.destination-content-panel {
  display: none;
}

.destination-content-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.destination-feature-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-card);
}

/* -------------------------------------------------------------
   "BE INSPIRED" EXPERIENCES (MATCHING REFERENCE)
   ------------------------------------------------------------- */
.inspired-section {
  padding: 5.5rem 0;
  background: var(--bg-soft);
  text-align: center;
}

.inspired-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  margin-top: 3rem;
}

.inspired-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xs);
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  transition: transform 0.3s ease;
}

.inspired-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.inspired-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.inspired-caption {
  padding: 1.25rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--navy-primary);
}

/* -------------------------------------------------------------
   "THE SEA GADABOUT DIFFERENCE" BRAND PILLARS
   ------------------------------------------------------------- */
.difference-section {
  padding: 5.5rem 0;
  background: var(--bg-main);
  text-align: center;
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.difference-col {
  padding: 1rem;
}

.difference-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--gold-accent);
}

.difference-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--navy-primary);
  margin-bottom: 0.75rem;
}

.difference-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* -------------------------------------------------------------
   NEWSLETTER & INQUIRY BANNER (MATCHING REFERENCE)
   ------------------------------------------------------------- */
.inbox-banner-section {
  padding: 5.5rem 0;
  background: #e4edf3;
  text-align: center;
}

.inbox-banner-box {
  max-width: 780px;
  margin: 0 auto;
}

.inbox-banner-title {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy-primary);
  margin-bottom: 2rem;
}

.inbox-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.inbox-input {
  background: #ffffff;
  border: 1px solid rgba(7, 21, 43, 0.15);
  border-radius: var(--radius-xs);
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--text-dark);
  outline: none;
  width: 100%;
}

.inbox-input:focus {
  border-color: var(--navy-primary);
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title-editorial {
    font-size: 3rem;
  }
  .booking-search-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .booking-submit-btn {
    grid-column: 1 / -1;
    margin-top: 0;
  }
  .split-feature-grid, .destination-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .properties-carousel {
    grid-template-columns: repeat(2, 1fr);
  }
  .promotions-grid, .inspired-grid {
    grid-template-columns: 1fr 1fr;
  }
  .difference-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-editorial {
    padding-top: 130px;
    min-height: 85vh;
  }
  .hero-title-editorial {
    font-size: 2.2rem;
  }
  .booking-search-bar {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }
  .properties-carousel {
    grid-template-columns: 1fr;
  }
  .promotions-grid, .inspired-grid, .difference-grid {
    grid-template-columns: 1fr;
  }
  .inbox-form-row {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------
   ANIMATED GALLERY SCROLLER (INFINITE HORIZONTAL MARQUEE)
   ------------------------------------------------------------- */
.animated-gallery-section {
  padding: 5rem 0 4.5rem;
  background: #07152b;
  color: #ffffff;
  overflow: hidden;
  position: relative;
}

.gallery-scroller-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}

.gallery-scroller-header .section-label {
  color: var(--gold-accent);
}

.gallery-scroller-header .section-title-editorial {
  color: #ffffff;
}

.gallery-scroller-header .section-desc-editorial {
  color: rgba(255, 255, 255, 0.75);
}

.marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  position: relative;
  width: 100%;
}

.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, #07152b, rgba(7, 21, 43, 0));
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, #07152b, rgba(7, 21, 43, 0));
}

.marquee-track {
  display: flex;
  gap: 1.5rem;
  animation: marqueeScroll 45s linear infinite;
  will-change: transform;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-item {
  flex: 0 0 320px;
  position: relative;
  height: 240px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 1px solid rgba(223, 183, 74, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
  display: block;
}

.marquee-item:hover {
  transform: translateY(-6px);
  border-color: var(--gold-accent);
}

.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.marquee-item:hover img {
  transform: scale(1.08);
}

.marquee-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 21, 43, 0.9) 0%, rgba(7, 21, 43, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem 1.2rem;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.marquee-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-accent);
  font-weight: 700;
  margin-bottom: 2px;
}

.marquee-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 600;
}

@media (max-width: 768px) {
  .marquee-item {
    flex: 0 0 250px;
    height: 190px;
  }
  .marquee-track {
    animation-duration: 35s;
  }
}

/* -------------------------------------------------------------
   POPUP MODAL DIALOGS (RAZORPAY PAYMENT MODAL)
   ------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 14, 33, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1.5rem;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-box {
  background: #ffffff;
  color: var(--navy-primary);
  border-radius: var(--radius-sm);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  position: relative;
  width: 100%;
  max-width: 520px;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.modal-backdrop.active .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.2s ease, background 0.2s ease;
  z-index: 2;
}

.modal-close-btn:hover {
  color: var(--navy-primary);
  background: rgba(0, 0, 0, 0.05);
}

