/*!
Theme Name: Surga Digdaya Tour
Theme URI: 
Author: BC Solutions
Author URI: https://www.bcsolutions.id
Description: Custom theme for Surga Digdaya Tour
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: surgadigdaya
Tags: custom
*/

/*================================
     SURGA DIGDAYA CSS THEME
================================*/

:root {
  --font-main: "Inter", sans-serif;

  /* Colors based on Figma */
  --bg-light: #f7f7f7;
  --bg-white: #ffffff;
  --text-dark: #333333;
  --text-gray: #666666;
  --text-light-gray: #a0a0a0;
  --primary-blue: #0975ff; /* Newsletter background */
  --dark-blue: #0b223c; /* Button search background */

  /* Typography basics */
  --h1-size: 27px;
  --h2-size: 24px;
  --p-size: 15px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-gray);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

li {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-small {
  max-width: 1200px;
  margin: 0 auto;
}

.section-padding {
  padding: 80px 0 20px;
}

.text-center {
  text-align: center;
}

.bg-white {
  background-color: var(--bg-white);
}

.fw-bold {
  font-weight: 600;
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
  background-color: var(--bg-white);
  padding: 15px 0;
  position: relative;
  z-index: 1001;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center; /* Center nav horizontally */
  position: relative;
  gap: 30px;
}

.brand-logo {
  display: block;
}

.brand-logo img {
  border-radius: 50%; /* Figma has a circle logo */
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s;
  position: relative;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--text-dark);
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text-dark);
  font-weight: 600;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* =========================================
   HERO SECTION
   ========================================= */

/* Elementor wrapper fix — make parent containers inherit hero height */
.elementor-widget-site_hero,
.elementor-widget-site_hero > .elementor-widget-container {
  width: 100%;
  height: 85vh;
  min-height: 600px;
}

.hero-section {
  position: relative;
  height: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Hero Swiper fills entire hero */
.heroSwiper {
  position: absolute !important;
  inset: 0;
  z-index: 0;
}

.heroSwiper .swiper-slide {
  overflow: hidden;
}

.heroSwiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
  transform: scale(1);
}

.heroSwiper .swiper-slide-active img {
  transform: scale(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  top: 25%;
}

.hero-title {
  color: var(--bg-white);
  font-size: var(--h1-size);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 30px;
  text-align: center;
}

/* Pagination Dots (vertical, right side) */
.hero-pagination {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10;
  left: auto !important;
  width: auto !important;
  bottom: auto !important;
}

.hero-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.4) !important;
  opacity: 1 !important;
  margin: 0 !important;
}

.hero-pagination .swiper-pagination-bullet-active {
  background: var(--bg-white) !important;
}

/* Nav up/down buttons */
.hero-slider-nav {
  position: absolute;
  right: 20px;
  top: 10%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 10;
}

.hero-slider-nav button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
}
.hero-slider-nav button:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Search Box */
.search-box {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 30px;
  display: flex;
  align-items: flex-end;
  gap: 20px;
  width: 100%;
  max-width: 900px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.search-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.search-field label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-gray);
  margin-bottom: 8px;
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text-gray);
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  appearance: none;
  background-color: var(--bg-white);
  outline: none;
  cursor: pointer;
}

.select-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #ccc;
  pointer-events: none;
}

.btn-search {
  background-color: var(--dark-blue);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  height: 48px;
}

.btn-search:hover {
  background-color: #07172c;
}

/* =========================================
   SPECIAL OFFERS
   ========================================= */
.section-heading h2 {
  font-size: var(--h2-size);
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 15px;
}

.section-heading p {
  color: var(--text-gray);
  max-width: 800px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.6;
}

.offers-slider-wrap {
  position: relative;
  margin-top: 50px;
}

.offer-card {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 400px;
}

.offer-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.offer-card:hover img {
  transform: scale(1.05);
}

.offer-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0) 50%
  );
}

.offer-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  color: white;
  padding: 25px 25px 25px 35px;
}

.duration {
  font-size: 11px;
  font-weight: 300;
  opacity: 0.8;
  letter-spacing: 0.5px;
  display: block;
  transform: rotate(-90deg);
  transform-origin: left bottom;
  position: absolute;
  bottom: 25px;
  white-space: nowrap;
}

.price-wrap {
  display: flex;
  flex-direction: column;
}

.start-from {
  font-size: 11px;
  opacity: 0.8;
  margin-bottom: 2px;
}

.price {
  font-size: 40px;
  font-weight: 700;
  margin: 0;
  line-height: 1;
}

.jt {
  font-size: 14px;
  font-weight: 500;
}

.slider-nav-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
  position: relative;
  z-index: 10;
}

.slider-nav-buttons button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background: transparent;
  color: var(--text-gray);
  cursor: pointer;
  transition: all 0.3s;
}

.slider-nav-buttons button:hover {
  background: var(--text-dark);
  color: white;
  border-color: var(--text-dark);
}

/* =========================================
   TOUR PACKAGES INFO
   ========================================= */
.packages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 50px;
  column-gap: 40px;
  margin-top: 50px;
}

.package-item {
  display: flex;
  gap: 20px;
  align-items: center;
}

.package-img {
  flex: 0 0 200px;
  height: 140px;
  border-radius: 8px;
  overflow: hidden;
}

.package-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.package-text {
  flex: 1;
}

.package-text h3 {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.package-text p {
  font-size: 13px;
  color: var(--text-light-gray);
  line-height: 1.5;
  text-align: justify;
}

.divider {
  height: 1px;
  background: #eaeaea;
  margin-top: 60px;
  width: 100%;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.testi-card {
  background: white;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 40px 10px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  margin-top: 40px; /* Space for avatar */
}

.elementor .testi-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  top: -70px;
  left: 20px;
  border: 4px solid var(--bg-light);
}

.testi-content h4 {
  font-size: 13px;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.stars {
  color: #ffc107; /* Gold */
  font-size: 12px;
  margin-bottom: 20px;
}

.quote-icon {
  color: var(--primary-blue);
  font-size: 20px;
  margin-bottom: 15px;
}
.quote-icon::after {
  content: "";
  display: inline-block;
  width: 60px;
  height: 1px;
  background: #ccc;
  vertical-align: middle;
  margin-left: 10px;
}

.testi-text {
  font-size: 13px;
  color: var(--text-light-gray);
  line-height: 1.6;
}

/* =========================================
   TOUR RESULTS / CARDS
   ========================================= */
.tour-results-heading {
  margin-bottom: 50px;
}

.tour-results-heading p {
  color: #888;
  font-size: 15px;
  line-height: 1.6;
}

.tour-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.tour-card {
  background-color: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.tour-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tour-card-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.tour-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tour-card:hover .tour-card-img img {
  transform: scale(1.05);
}

.tour-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tour-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.tour-card-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 25px;
}

.info-item {
  font-size: 13px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-item i,
.info-item img {
  color: #555;
  width: 16px;
  text-align: center;
  font-size: 14px;
}

.tour-card-divider {
  height: 2px;
  background-color: #e0f0ff; /* Light bluish color line based on screenshot */
  width: 100%;
  margin: auto 0 20px 0; /* Pushes the divider down so footer is at the bottom */
}

.tour-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.tour-price {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 11px;
  color: #888;
  margin-bottom: 2px;
}

.price-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

.btn-details {
  font-size: 13px;
  color: #888;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.btn-details:hover {
  color: var(--primary-blue);
}

.btn-details i {
  font-size: 12px;
}

/* =========================================
   TOUR DETAIL PAGE (tour-1-2.html)
   ========================================= */

/* Hero Section */
.tour-detail-hero {
  position: relative;
  height: 70vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  object-fit: cover;
}

.tour-detail-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.tour-detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-detail-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25); /* Dark overlay */
}

.tour-detail-hero-content {
  position: relative;
  z-index: 1;
  color: white;
  top: 30%;
}

.tour-detail-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.scroll-down-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: white;
  font-size: 32px; /* Dibuat lebih besar agar lebih jelas seperti desain */
  font-weight: 300; /* Agar tidak terlalu tebal */
  transition: transform 0.3s;
}

.scroll-down-icon:hover {
  transform: translateY(5px);
}

/* Tour Info & Booking Section */
.tour-info-section {
  padding-top: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid #ebebeb;
}

.tour-info-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

/* Left: Info Grid */
.tour-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  flex: 1;
  min-width: 300px;
}

.info-box {
  display: flex;
  align-items: center;
  gap: 20px;
}

.info-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #f0f8ff; /* Light blue bg */
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.info-icon img {
  width: 20px;
  height: auto;
}

.info-text {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.info-value {
  font-size: 13px;
  color: var(--text-light-gray);
}

/* ---- Booking Card: Shared Base ---- */
.booking-card {
  background: white;
  border: 1px solid #0279ff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(9, 117, 255, 0.06);
  flex-shrink: 0;
}

.booking-label {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 4px;
}

.booking-amount {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 0;
}

.quantity-control {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  height: 44px;
  width: 120px;
}

.btn-qty {
  width: 38px;
  background: white;
  border: none;
  color: var(--text-light-gray);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.btn-qty:hover {
  background: #f5f5f5;
  color: var(--text-dark);
}

.btn-delete {
  font-size: 14px;
}

.qty-input {
  width: 40px;
  border: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}

.qty-input:focus {
  outline: none;
}

/* Hide number input arrows */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.btn-book {
  background-color: var(--dark-blue);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 12px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  height: 44px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-book:hover {
  background-color: #07172c;
}

/* ---- Style 1: Simple (Single Price) ---- */
.booking-card--simple {
  width: 450px;
}

.booking-card--simple .booking-price {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.booking-card--simple .booking-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.booking-card--simple .btn-book {
  width: 150px;
}

/* ---- Style 2: Price Table (Group Sizes) ---- */
.booking-card--table {
  width: 460px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.booking-card--table .booking-actions {
  display: block;
}

.booking-card--table .quantity-control {
  margin-bottom: 15px;
}

.booking-card--table .btn-book {
  width: 170px;
}

.booking-price-table {
  flex: 1;
}

.booking-price-table-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.price-tier-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 4px 0;
}

.price-tier-group {
  font-size: 13px;
  color: var(--text-gray);
  white-space: nowrap;
}

.price-tier-amount {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-gray);
  white-space: nowrap;
}

/* Itinerary & Tips Section */
.tour-itinerary-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.tour-itinerary-container {
  display: flex;
  gap: 50px;
  position: relative;
  justify-content: center;
}

.section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 35px;
  text-transform: uppercase;
}

/* Left: Itinerary Timeline */
.itinerary-column {
  flex: 1;
  max-width: 400px;
}

.timeline {
  position: relative;
  padding-left: 10px;
}

/* The vertical line behind dots */
.timeline::before {
  content: "";
  position: absolute;
  top: 15px;
  bottom: 10px;
  left: 21px; /* 10px padding + half of marker width (12px) - half of line width */
  width: 1px;
  background-color: #d0d0d0;
  z-index: 1;
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
  z-index: 2;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-icon {
  margin-right: 25px;
  background-color: var(--bg-white);
  flex-shrink: 0;
}

.timeline-icon.marker {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #e6f0ff;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.timeline-icon.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary-blue);
  margin-left: 9px; /* Align dot with the line and marker */
  margin-top: 6px; /* Align with text */
}

.timeline-content h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 3px;
}

.timeline-content p {
  font-size: 13px;
  color: var(--text-light-gray);
  margin: 0;
}

/* Divider Line */
.vertical-divider {
  width: 1px;
  background-color: #565656;
  flex-shrink: 0;
}

.tips-block {
  width: 400px;
}
.tips-block .tips-text {
  font-size: 13px;
  color: var(--text-light-gray);
  line-height: 1.7;
  text-align: justify;
}

.margin-top-40 {
  margin-top: 50px;
}

.includes-list {
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.8;
}

.includes-list li {
  list-style-type: decimal;
  margin-bottom: 5px;
}

.text-light.includes-list li {
  color: var(--text-light-gray);
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background-color: var(--bg-white);
  padding: 30px 0;
}

/* Newsletter Section */
.newsletter-section {
  padding: 50px 0;
  background-color: var(--bg-light);
}

/* Newsletter Banner */
.newsletter-banner {
  background-color: var(--primary-blue);
  /* border-radius: 12px; */
  padding: 40px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nl-left {
  display: flex;
  align-items: center;
  gap: 25px;
  color: white;
}

.elementor .nl-logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: black;
  object-fit: contain;
}

.nl-text h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
}

.nl-text p {
  font-size: 13px;
  opacity: 0.9;
  max-width: 400px;
}

.nl-form {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nl-form input {
  padding: 15px 20px;
  border-radius: 8px;
  border: none;
  width: 300px;
  font-size: 14px;
  outline: none;
}

.nl-form button {
  background: white;
  color: var(--primary-blue);
  border: none;
  border-radius: 8px;
  width: 50px;
  height: 50px;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.3s;
}
.nl-form button:hover {
  transform: scale(1.05);
}

/* Footer Links */
.footer-links-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid #eee;
}

.footer-col h4 {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.footer-col.contact-col .desc {
  font-size: 13px;
  color: var(--text-light-gray);
  margin-bottom: 20px;
}

.contact-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-gray);
  align-items: flex-start;
}

.contact-list i {
  margin-top: 3px;
  width: 16px;
}

.link-col li {
  margin-bottom: 12px;
}

.link-col a {
  font-size: 14px;
  color: var(--text-gray);
  transition: color 0.3s;
}

.link-col a:hover {
  color: var(--text-dark);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: var(--dark-blue);
  font-size: 20px;
  transition: opacity 0.3s;
}
.social-icons a:hover {
  opacity: 0.7;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 25px;
  font-size: 13px;
  color: var(--text-light-gray);
}

.legal-links a {
  margin-left: 10px;
  margin-right: 10px;
}
.legal-links a:hover {
  color: var(--text-dark);
}

/* =========================================
   LEGAL PAGES (Terms, Privacy, Disclosures)
   ========================================= */

/* Hero Banner */
.legal-hero {
  position: relative;
  height: 45vh;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.legal-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.legal-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.legal-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11, 34, 60, 0.7) 0%,
    rgba(11, 34, 60, 0.85) 100%
  );
  z-index: 1;
}

.legal-hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.legal-hero-content h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.legal-hero-content p {
  font-size: 15px;
  opacity: 0.7;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Content Section */
.legal-content-section {
  padding: 60px 0 80px;
  background-color: var(--bg-light);
}

.legal-container {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

/* Sidebar */
.legal-sidebar {
  width: 240px;
  flex-shrink: 0;
  position: sticky;
  top: 30px;
}

.legal-nav h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light-gray);
  margin-bottom: 20px;
  font-weight: 600;
}

.legal-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-nav ul li {
  margin-bottom: 0;
}

.legal-nav ul li a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-gray);
  border-left: 2px solid #e0e0e0;
  transition: all 0.3s ease;
  text-decoration: none;
}

.legal-nav ul li a:hover,
.legal-nav ul li a.active {
  color: var(--dark-blue);
  font-weight: 600;
  border-left-color: var(--primary-blue);
  background-color: rgba(9, 117, 255, 0.04);
}

/* Main Content */
.legal-main {
  flex: 1;
  min-width: 0;
}

.legal-last-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light-gray);
  background: white;
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 25px;
}

.legal-last-updated i {
  font-size: 14px;
}

.legal-intro {
  margin-bottom: 40px;
}

.legal-intro p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-gray);
}

/* Legal Sections */
.legal-section {
  margin-bottom: 45px;
  position: relative;
}

.legal-section-number {
  font-size: 48px;
  font-weight: 800;
  color: rgba(9, 117, 255, 0.2);
  line-height: 1;
  margin-bottom: -15px;
  position: relative;
  z-index: 0;
}

.legal-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

/* Legal Card */
.legal-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}

.legal-card-desc {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 15px;
  line-height: 1.6;
}

.legal-card ul {
  padding-left: 0;
  margin: 0;
}

.legal-card ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
  list-style: none;
}

.legal-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary-blue);
}

.legal-card ul li:last-child {
  margin-bottom: 0;
}

.legal-card ul li strong {
  color: var(--text-dark);
}

/* Refund Table (Terms page) */
.refund-table {
  margin-bottom: 25px;
}

.refund-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-radius: 8px;
  margin-bottom: 8px;
  background: var(--bg-light);
}

.refund-row:last-child {
  margin-bottom: 0;
}

.refund-time {
  font-size: 14px;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 8px;
}

.refund-time i {
  color: var(--text-light-gray);
}

.refund-amount {
  font-size: 14px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
}

.refund-good {
  color: #16a34a;
  background: rgba(22, 163, 74, 0.1);
}

.refund-warning {
  color: #d97706;
  background: rgba(217, 119, 6, 0.1);
}

.refund-danger {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.1);
}

/* Contact Info (Privacy page) */
.contact-info-legal {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 15px;
}

.contact-item-legal {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--text-gray);
}

.contact-item-legal i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(9, 117, 255, 0.08);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* Company Info Grid (Disclosures page) */
.company-info-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.company-info-item {
  display: flex;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.company-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.company-info-label {
  width: 140px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

.company-info-value {
  font-size: 14px;
  color: var(--text-gray);
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 1024px) {
  .newsletter-banner {
    flex-direction: column;
    gap: 30px;
    align-items: stretch;
  }
  .nl-form {
    width: 100%;
  }
  .nl-form input {
    flex: 1;
  }

  .footer-links-grid {
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 40px;
  }
  .footer-col.contact-col {
    grid-column: span 3;
  }

  .tour-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tour-itinerary-container {
    flex-direction: column;
    gap: 40px;
  }
  .vertical-divider {
    display: none;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background-color: var(--dark-blue);
    z-index: 999;
    padding: 80px 30px 30px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .main-nav.open {
    transform: translateX(0);
  }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
  .main-nav a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
  }
  .main-nav a:hover,
  .main-nav a.active {
    color: white;
  }
  .main-nav a::after {
    background-color: white;
  }
  .mobile-menu-toggle {
    display: block;
    z-index: 1000;
  }
  .brand-logo {
    position: static;
    transform: none;
  }
  .header-inner {
    justify-content: flex-start;
  }
  /* Overlay behind mobile nav */
  /* .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
  } */
  /* .nav-overlay.active {
    display: block;
  } */

  .search-box {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
  }
  .btn-search {
    margin-top: 10px;
  }
  .hero-slider-nav,
  .hero-pagination-dots {
    display: none;
  }
  .hero-pagination {
    top: 15% !important;
    right: 15px;
  }

  /* Hero mobile adjustments */
  .elementor-widget-site_hero,
  .elementor-widget-site_hero > .elementor-widget-container {
    height: auto;
    min-height: auto;
  }
  .hero-section {
    min-height: 100vh;
    align-items: flex-start; /* Override center agar margin-top bisa bekerja */
  }
  .hero-content {
    top: auto;
    margin-top: 45vh; /* Gunakan margin-top, bukan top */
    /* padding: 0 10px; */
  }
  .hero-title {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .packages-grid {
    grid-template-columns: 1fr;
  }
  .package-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .package-img {
    width: 100%;
    height: 200px;
    flex: auto;
  }

  .tips-block {
    padding: 0 10px 0 0;
  }
  .testi-grid {
    grid-template-columns: 1fr;
  }
  .testi-card {
    text-align: center;
  }
  .elementor .testi-avatar {
    left: 50%;
    transform: translateX(-50%);
  }
  .section-padding {
    padding: 30px 0;
  }
  .newsletter-section {
    padding: 30px 0;
  }
  .tour-cards-grid {
    grid-template-columns: 1fr;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
  }
  .footer-col.contact-col {
    grid-column: span 1;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .tour-info-container {
    flex-direction: column;
    align-items: stretch;
  }
  .tour-info-grid {
    grid-template-columns: 1fr;
  }
  .booking-card {
    width: 100%;
  }
  .booking-card--simple {
    grid-template-columns: 1fr;
    justify-items: start;
    align-items: stretch;
  }
  .booking-card--simple .quantity-control {
    width: 100%;
  }
  .booking-card--simple .btn-book {
    width: 100%;
  }
  .booking-card--table {
    flex-direction: column;
    align-items: stretch;
  }
  .booking-card--table .quantity-control {
    align-items: center;
  }
  .booking-card--table .btn-book {
    width: 100%;
  }
}
@media (max-width: 1024px) {
  .legal-sidebar {
    display: none;
  }

  .legal-container {
    flex-direction: column;
  }
}

/*-------- LEGAL RESPINSIVE CSS ---------*/
@media (max-width: 768px) {
  .legal-hero {
    height: 35vh;
    min-height: 250px;
  }

  .legal-hero-content h1 {
    font-size: 26px;
  }

  .legal-content-section {
    padding: 40px 0 60px;
  }

  .legal-section-number {
    font-size: 36px;
  }

  .legal-section h2 {
    font-size: 18px;
  }

  .legal-card {
    padding: 20px;
  }

  .refund-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .company-info-item {
    flex-direction: column;
    gap: 4px;
  }

  .company-info-label {
    width: auto;
  }
}

/* =========================================
   CONTACT FORM 7 EXTREME OVERRIDE
   ========================================= */

.newsletter-banner .nl-form-wrapper {
    flex: 1;
    max-width: 500px;
}

/* 1. Paksa Container Utama */
.newsletter-section .newsletter-banner .wpcf7 {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. Paksa Form dan Paragraf Menjadi Flex (Menimpa Block/Inline) */
.newsletter-section .newsletter-banner .wpcf7-form,
.newsletter-section .newsletter-banner .wpcf7-form > p,
.newsletter-section .newsletter-banner .wpcf7 form,
.newsletter-section .newsletter-banner .wpcf7 form > p {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 50px !important;
    position: relative !important;
}

/* Sembunyikan pesan screen reader CF7 (teks gelap) agar tidak muncul di form */
.newsletter-section .newsletter-banner .wpcf7-form .screen-reader-response {
    display: none !important;
}

/* 3. Paksa Pembungkus Input (Span wpcf7-form-control-wrap) */
.newsletter-section .newsletter-banner .wpcf7-form-control-wrap {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    position: relative !important;
    height: 100% !important;
}

/* 4. Paksa Input Email */
.newsletter-section .newsletter-banner .wpcf7-form input[type="email"].wpcf7-form-control,
.newsletter-section .newsletter-banner .wpcf7-form input[type="email"] {
    padding: 0 20px !important;
    border-radius: 8px !important;
    border: none !important;
    width: 100% !important;
    max-width: 300px !important;
    height: 50px !important;
    font-size: 14px !important;
    outline: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
    color: var(--text-dark) !important;
    background-color: white !important;
    box-shadow: none !important;
}

/* 5. Paksa Tombol Submit Terbang */
.newsletter-section .newsletter-banner .wpcf7-form input[type="submit"].wpcf7-submit,
.newsletter-section .newsletter-banner .wpcf7-form button[type="submit"].wpcf7-submit,
.newsletter-section .newsletter-banner .wpcf7-form .nl-submit-btn {
    background-color: white !important;
    color: var(--primary-blue) !important;
    border: none !important;
    border-radius: 8px !important;
    width: 50px !important;
    min-width: 50px !important;
    height: 50px !important;
    font-size: 18px !important;
    cursor: pointer !important;
    transition: transform 0.3s ease !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    line-height: normal !important;
    float: none !important;
}

.newsletter-section .newsletter-banner .wpcf7-form button[type="submit"] i,
.newsletter-section .newsletter-banner .wpcf7-form .nl-submit-btn i {
    pointer-events: none !important;
}

.newsletter-section .newsletter-banner .wpcf7-form input[type="submit"]:hover,
.newsletter-section .newsletter-banner .wpcf7-form button[type="submit"]:hover,
.newsletter-section .newsletter-banner .wpcf7-form .nl-submit-btn:hover {
    transform: scale(1.05) !important;
    background-color: white !important;
}

/* 6. Pesan Error/Sukses (Di atas kotak biru newsletter) */
.newsletter-section .newsletter-banner .wpcf7-form .wpcf7-response-output {
    position: absolute !important;
    top: -80px !important;    /* Dorong ke atas form, di atas kotak biru */
    bottom: auto !important;
    right: 0px !important;    /* Rata kanan sejalan dengan form */
    font-size: 13px !important;
    font-weight: 500 !important;
    margin: 0 !important;
    padding: 10px 16px !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    z-index: 10 !important;
    width: auto !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
}

/* Tampilan Sukses (Warna Hijau) */
.newsletter-section .newsletter-banner .wpcf7-form.sent .wpcf7-response-output {
    background-color: #f0fdf4 !important; /* Hijau muda */
    color: #16a34a !important; /* Teks hijau tua */
    border: 1px solid #bbf7d0 !important;
}

/* Tampilan Error/Gagal (Warna Merah) */
.newsletter-section .newsletter-banner .wpcf7-form.failed .wpcf7-response-output,
.newsletter-section .newsletter-banner .wpcf7-form.invalid .wpcf7-response-output {
    background-color: #fef2f2 !important; /* Merah muda */
    color: #dc2626 !important; /* Teks merah tua */
    border: 1px solid #fecaca !important;
}

/* Pesan error kecil di bawah input spesifik */
.newsletter-section .newsletter-banner .wpcf7-form .wpcf7-not-valid-tip {
    position: absolute !important;
    top: -30px !important; /* Muncul di atas input */
    right: 60px !important; /* Geser ke kiri tombol */
    font-size: 12px !important;
    color: #ffd700 !important; /* Kuning peringatan */
    font-weight: 600 !important;
    margin: 0 !important;
    padding: 4px 8px !important;
    background: rgba(0,0,0,0.5) !important;
    border-radius: 4px !important;
    pointer-events: none !important;
}
