:root {
  --brown: #5b4a3f;
  --brown-dark: #3f332c;
  --brown-light: #8b7666;
  --cream: #f8f4ee;
  --beige: #efe6da;
  --white: #ffffff;
  --text: #2c241f;
  --muted: #6f6258;
  --border: rgba(91, 74, 63, 0.12);
  --shadow-sm: 0 6px 18px rgba(28, 20, 15, 0.08);
  --shadow-md: 0 14px 40px rgba(28, 20, 15, 0.12);
  --shadow-lg: 0 24px 60px rgba(28, 20, 15, 0.18);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --transition: all 0.35s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: radial-gradient(circle at top left, rgba(255,255,255,0.9), rgba(255,255,255,0.6)),
                linear-gradient(to bottom, #ffffff, var(--cream));
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--brown);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
p { color: var(--muted); }

/* --- 2. NAVIGATION & RIBBON (THE FIX) --- */

#contact-ribbon {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    z-index: 1100;
    background: #111;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#main-header {
    position: fixed;
    top: 40px; /* Sits below ribbon */
    left: 0;
    width: 100%;
    z-index: 1050;
    padding: 8px 0 !important;
    background: transparent;
    transition: var(--transition);
    pointer-events: auto !important;
}

#main-header.scrolled {
    top: 0 !important;
    background: rgba(63, 51, 44, 0.95) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-md);
    padding: 5px 0 !important;
}

#header-logo {
    height: 48px;
    width: auto;
    transition: var(--transition);
}

#main-header.scrolled #header-logo {
    height: 35px;
}

/* --- 3. HERO SECTION --- */

.hero-section, .tour-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background-color: #000;
}

.carousel-slide, .tour-hero .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.06);
    transition: opacity 1.2s ease, transform 6s ease, visibility 1.2s;
    display: flex;
    align-items: center;
    z-index: 1;
}

.carousel-slide.active, .tour-hero .slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(28, 20, 15, 0.7), rgba(28, 20, 15, 0.3)),
                linear-gradient(to top, rgba(28, 20, 15, 0.4), transparent);
    z-index: 3;
   display: none !important; /* Clicks pass through to buttons */
}

.caption {
    position: relative;
    z-index: 10;
    max-width: 800px;
    color: var(--white);
    padding: 0 8%;
    opacity: 0;
    transform: translateY(32px);
    transition: all 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: auto;
}

.carousel-slide.active .caption { opacity: 1; transform: translateY(0); }

.caption h1 {
    color: #ffffff;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.4);
}

.caption p {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 2.5rem;
}

/* --- 4. BUTTONS & COMPONENTS --- */

.caption .btn, .btn-nova, .book-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--brown), #8D7B68);
    color: #ffffff !important;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    border: none;
}

.caption .btn:hover, .book-now:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.1);
}

/* --- Updated Buttons --- */
.caption .btn,
.btn-nova {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--brown, #594B3F), #8D7B68);
  color: #ffffff !important;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  cursor: pointer;
  border: none;
  z-index: 15;
}

.caption .btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  filter: brightness(1.1);
}

/* --- Navigation Controls --- */
#carousel-indicators,
.hero-dots {
  z-index: 20; /* Stays above everything */
  bottom: 40px;
}

.carousel-indicator {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-indicator.active {
  background: #ffffff;
  transform: scale(1.1);
}

/* --- Mobile Fixes --- */
@media (max-width: 768px) {
  .hero-section .caption {
    padding: 0 5%;
    text-align: center;
    margin-top: -10%; /* Lift content slightly for thumb reach */
  }
  
  .caption p {
    margin-inline: auto;
  }
}
/* Layout helpers */
.page {
  padding-top: 100px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px;
  font-size: 1.02rem;
  color: var(--muted);
}

.text-nova-brown { color: var(--brown); }
.text-nova-light { color: var(--cream); }
.bg-nova-brown { background-color: var(--brown); }
.bg-nova-light { background-color: var(--cream); }

.bg-nova-gradient {
  background: linear-gradient(135deg, var(--brown-dark), var(--brown-light), var(--beige));
}

/* General cards */
.card,
.soft-card,
.destination-card,
.contact-info,
.contact-form,
.side-box,
.faq-item,
.it-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.card,
.soft-card,
.side-box {
  border-radius: var(--radius-md);
}

.soft-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(248,244,238,0.92));
}

/* Destination cards */
.destination-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  height: 100%;
}

.destination-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.image-container {
  position: relative;
  height: 240px;
  background-size: cover;
  background-position: center;
}

.image-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.08));
}

.badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  background: rgba(255,255,255,0.92);
  color: var(--brown);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.duration {
  position: absolute;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  background: rgba(34, 27, 22, 0.72);
  color: var(--white);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  backdrop-filter: blur(8px);
}

.content {
  padding: 24px;
}

.title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 10px;
}

.description {
  font-size: 0.97rem;
  margin-bottom: 18px;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.tags span,
.chip,
.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
}

.tags span,
.chip {
  background: #f4ede5;
  color: var(--brown);
}

.pill {
  background: #f1efec;
  color: var(--muted);
}

.buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.learn-more {
  font-weight: 600;
  color: var(--brown);
  position: relative;
}

.learn-more::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1.5px;
  background: var(--brown);
  transition: var(--transition);
}

.learn-more:hover::after {
  width: 100%;
}

.book-now {
  background: linear-gradient(135deg, var(--brown), var(--brown-light));
  color: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.book-now:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Meta row */
.meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--border);
}

.meta-item i {
  font-size: 1.2rem;
  color: var(--brown);
}

/* Tabs */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tab-btn {
  background: rgba(255,255,255,0.76);
  border: 1px solid var(--border);
  padding: 11px 16px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--brown);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--brown), var(--brown-light));
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* Lists */
.tick,
.cross {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.tick i {
  color: #2e8b57;
  margin-top: 4px;
}

.cross i {
  color: #b35a4d;
  margin-top: 4px;
}

/* Itinerary */
.day {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
}

.day + .day {
  margin-top: 18px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brown), var(--brown-light));
  margin-top: 8px;
  box-shadow: 0 0 0 6px rgba(91, 74, 63, 0.12);
}

.it-card {
  padding: 18px;
  border-radius: var(--radius-sm);
}

/* Contact */
.contact-section {
  padding: 90px 20px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.contact-info,
.contact-form {
  flex: 1 1 460px;
  padding: 30px;
  border-radius: var(--radius-md);
}

.contact-info h3 {
  margin-bottom: 16px;
}

.contact-info p {
  margin-bottom: 24px;
}

.info-item {
  margin-bottom: 16px;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(91, 74, 63, 0.16);
  border-radius: 14px;
  background: rgba(255,255,255,0.9);
  font-size: 0.96rem;
  color: var(--text);
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--brown);
  box-shadow: 0 0 0 4px rgba(91, 74, 63, 0.1);
}

.form-row {
  display: flex;
  gap: 16px;
}

button {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--brown), var(--brown-light));
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* FAQ */
.faq-item {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: transparent;
  color: var(--brown);
  font-weight: 700;
  box-shadow: none;
}

.faq-q:hover {
  transform: none;
  box-shadow: none;
}

.faq-a {
  display: none;
  padding: 0 20px 20px;
  color: var(--muted);
}

.faq-item.active .faq-a {
  display: block;
}

/* WhatsApp widget */
.whatsapp-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #25d366, #18b957);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 35px rgba(37, 211, 102, 0.32);
  cursor: pointer;
  z-index: 1200;
  animation: floatPulse 2.4s infinite;
}

.whatsapp-button img {
  width: 32px;
  height: 32px;
}

.whatsapp-chatbox {
  position: fixed;
  right: 24px;
  bottom: 102px;
  width: 340px;
  background: rgba(255,255,255,0.96);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: var(--transition);
  z-index: 1201;
  border: 1px solid rgba(0,0,0,0.06);
  backdrop-filter: blur(16px);
}

.whatsapp-chatbox.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chat-header {
  background: linear-gradient(135deg, #25d366, #1aa755);
  color: var(--white);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.agent-pic {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.chat-header h4 {
  margin: 0;
  font-size: 15px;
  color: #fff;
}

.chat-header span {
  font-size: 12px;
  color: rgba(255,255,255,0.9);
}

.chat-header button {
  margin-left: auto;
  width: auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  font-size: 20px;
}

.chat-header button:hover {
  transform: none;
  box-shadow: none;
}

.chat-body {
  padding: 16px;
  background: #f6f7f8;
  min-height: 95px;
}

.message.bot {
  display: inline-block;
  background: #e9ffd7;
  color: #2b2b2b;
  padding: 11px 13px;
  border-radius: 16px 16px 16px 4px;
  max-width: 85%;
  font-size: 14px;
}

.chat-footer {
  padding: 14px;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.chat-btn {
  width: 100%;
  background: linear-gradient(135deg, #25d366, #18b957);
  color: #fff;
  padding: 12px;
  border-radius: 14px;
  font-weight: 700;
  box-shadow: none;
}

.chat-btn:hover {
  transform: translateY(-1px);
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--brown-dark), var(--brown));
  color: var(--cream);
  padding: 70px 20px 30px;
  margin-top: 60px;
}

footer p,
footer li,
footer a {
  color: rgba(255,255,255,0.82);
}

/* Animations */
@keyframes floatPulse {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-4px) scale(1.05);
  }
}

/* Responsive */
@media (max-width: 991px) {
  .hero-section,
  .tour-hero {
    min-height: 80vh;
  }

  .hero-section .caption {
    left: 6%;
    right: 6%;
    bottom: 16%;
    max-width: unset;
  }

  .form-row {
    flex-direction: column;
  }

  .buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .book-now,
  .learn-more {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  #main-header {
    padding: 14px 0;
  }

  .caption h1,
  .tour-hero .caption h1 {
    font-size: clamp(2.1rem, 8vw, 3rem);
  }

  .caption p,
  .tour-hero .caption p {
    font-size: 0.98rem;
  }

  .image-container {
    height: 220px;
  }

  .contact-section {
    padding: 70px 16px;
  }

  .contact-info,
  .contact-form {
    padding: 22px;
  }

  .whatsapp-chatbox {
    width: calc(100% - 24px);
    right: 12px;
    bottom: 90px;
  }

  .whatsapp-button {
    right: 14px;
    bottom: 14px;
    width: 58px;
    height: 58px;
  }
}

@media (max-width: 576px) {
  .page {
    padding-top: 84px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .content {
    padding: 18px;
  }

  .tabs {
    gap: 8px;
  }

  .tab-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .day {
    grid-template-columns: 24px 1fr;
    gap: 12px;
  }
}

/* 
    /* The Ribbon Container */
    .animate-marquee {
        display: flex;
        width: max-content;
        animation: marquee 30s linear infinite;
    }

    @keyframes marquee {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); } /* Resets halfway for seamless loop */
    }

    /* Pause on hover so people can click the social icons */
    .animate-marquee:hover {
        animation-play-state: paused;
    }

    /* Live Status Pulse */
    .animate-pulse {
        animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }

    @keyframes pulse {
        0%, 100% { opacity: 1; transform: scale(1); }
        50% { opacity: 0.4; transform: scale(0.8); }
    } */
/* Ensure the ribbon and header stay stacked correctly */
#contact-ribbon {
    height: 40px;
    display: flex;
    align-items: center;
}

#main-header {
    /* This overrides your previous 18px padding */
    padding: 8px 0 !important; 
    pointer-events: auto !important;
}

/* When the user scrolls, the header stays pinned but looks solid */
#main-header.scrolled {
    top: 0 !important; /* Optional: Pull header to absolute top when scrolling */
    background: rgba(28, 20, 15, 0.98) !important;
    padding: 5px 0 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

#main-header.scrolled #header-logo {
    height: 35px; /* Logo gets even smaller on scroll */
}