/* ============================================================
   Future Horizon Travel – Home Sections Styles
   Suki Child Theme | v1.0.0
   ============================================================ */

.fht-home-section {
  --primary: #0a84ff;
  --primary-2: #00a8e8;
  --navy: #0b2f55;
  --text: #18324a;
  --muted: #64748b;
  --surface: rgba(255,255,255,.78);
  --line: rgba(10,132,255,.16);
  --shadow: 0 24px 70px rgba(18,72,120,.16);
  --radius: 28px;

  box-sizing: border-box;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  margin-bottom: 40px;
}

.fht-home-section *,
.fht-home-section *::before,
.fht-home-section *::after { box-sizing: border-box; }

.fht-section-shell {
  max-width: 1440px;
  width: calc(100% - 32px);
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,.9);
  background: var(--surface);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

.fht-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.fht-eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
}

.fht-section-head {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.fht-section-head.fht-text-left {
  text-align: left;
  margin-left: 0;
}

.fht-section-head h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  letter-spacing: -.035em;
  color: var(--navy);
  line-height: 1.12;
  margin: 0 0 12px;
  font-weight: 800;
}

.fht-section-head p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}

.fht-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.fht-btn-primary {
  color: white !important;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 14px 32px rgba(10,132,255,.25);
}

.fht-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(10,132,255,.35);
  color: white !important;
}

.fht-btn-ghost {
  color: var(--navy) !important;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
}

.fht-btn-ghost:hover {
  background: white;
  transform: translateY(-2px);
}

.fht-wrap { padding: 56px 64px; }

/* ===== SECTION 1: HERO ===== */
.fht-hero-shell {
  position: relative;
  min-height: 680px;
  background: #041c36;
  overflow: hidden;
}

.fht-hero-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.fht-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.fht-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,28,54,.85) 0%, rgba(4,28,54,.48) 60%, rgba(4,28,54,.25) 100%),
    linear-gradient(180deg, transparent 50%, rgba(5,33,62,.6) 100%);
  pointer-events: none;
}

.fht-hero-inner {
  position: relative;
  z-index: 2;
  padding: 72px;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fht-hero-copy {
  max-width: 770px;
  color: white;
}

.fht-hero-copy .fht-eyebrow { color: #9be7ff; }

.fht-hero-copy h1 {
  color: white;
  margin: 16px 0 20px;
  font-size: clamp(34px, 5.5vw, 70px);
  letter-spacing: -.045em;
  line-height: 1.08;
  font-weight: 800;
}

.fht-hero-copy p {
  font-size: 19px;
  line-height: 1.7;
  color: rgba(255,255,255,.88);
  max-width: 650px;
  margin: 0;
}

.fht-hero-search-panel {
  margin-top: 38px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1fr auto;
  gap: 12px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 24px;
  box-shadow: 0 22px 55px rgba(0,0,0,.2);
}

.fht-field {
  background: white;
  border: 1px solid rgba(10,132,255,.13);
  border-radius: 16px;
  padding: 11px 16px;
}

.fht-field label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #789;
  margin-bottom: 2px;
}

.fht-field select,
.fht-field input {
  width: 100%;
  border: 0;
  outline: 0;
  padding-top: 4px;
  color: var(--navy);
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
}

.fht-hero-meta {
  margin-top: 24px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: white;
  font-weight: 700;
  font-size: 15px;
}

/* ===== SECTION 2: GROUPS ===== */
.fht-groups-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fht-group-card {
  position: relative;
  min-height: 400px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(14,69,112,.18);
}

.fht-group-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.fht-group-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 32%, rgba(5,35,65,.88));
}

.fht-group-content {
  position: absolute;
  z-index: 2;
  left: 26px;
  right: 26px;
  bottom: 26px;
  color: white;
}

.fht-group-content h3 {
  font-size: 27px;
  margin: 0 0 8px;
  color: white;
  font-weight: 800;
}

.fht-group-content p {
  color: rgba(255,255,255,.82);
  line-height: 1.55;
  margin: 0 0 12px;
  font-size: 15px;
}

.fht-group-content a {
  display: inline-flex;
  color: #9be7ff;
  font-weight: 800;
  text-decoration: none;
  font-size: 15px;
  transition: transform .2s;
}

.fht-group-card:hover img { transform: scale(1.06); }
.fht-group-content a:hover { transform: translateX(4px); }

/* ===== SECTION 3: FEATURED TOURS ===== */
.fht-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  margin-bottom: 30px;
}

.fht-search-input {
  width: min(340px, 100%);
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 16px;
  outline: 0;
  font-family: inherit;
  font-size: 14px;
}

.fht-tour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fht-tour-card {
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(20,75,120,.12);
  transition: transform .25s ease, box-shadow .25s ease;
}

.fht-tour-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(20,75,120,.2);
}

.fht-tour-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.fht-tour-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.fht-tour-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.fht-tour-card:hover .fht-tour-img-wrap img {
  transform: scale(1.05);
}

.fht-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

.fht-tour-body { padding: 20px 22px 22px; }

.fht-tour-body h3 {
  font-size: 19px;
  line-height: 1.35;
  margin: 0 0 12px;
  color: var(--navy);
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fht-tour-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 16px;
}

.fht-price-row {
  padding-top: 16px;
  border-top: 1px solid #e8eef5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fht-price small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.fht-price strong {
  font-size: 21px;
  color: var(--primary);
  font-weight: 800;
}

.fht-price-row .fht-btn {
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
  border-radius: 12px;
}

/* ===== SECTION 4: CUSTOM TOURS ===== */
.fht-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.fht-tab {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
  font-weight: 800;
  color: var(--navy);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  transition: all .2s;
}

.fht-tab:hover,
.fht-tab.fht-tab-active {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(10,132,255,.2);
}

.fht-tab-panel {
  display: none;
}

.fht-tab-panel.fht-panel-active {
  display: block;
}

.fht-slider-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr .85fr;
  gap: 20px;
}

.fht-custom-item {
  position: relative;
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
}

.fht-custom-item a { display: block; height: 100%; text-decoration: none; color: white; }

.fht-custom-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.fht-custom-item:hover img { transform: scale(1.05); }

.fht-custom-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(5,35,65,.9));
}

.fht-item-content {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: white;
}

.fht-item-content h3 {
  font-size: 25px;
  margin: 8px 0 6px;
  color: white;
  font-weight: 800;
}

.fht-item-content p {
  color: rgba(255,255,255,.8);
  margin: 0;
  font-size: 14px;
}

.fht-tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 800;
}

/* ===== SECTION 5: CTA ===== */
.fht-cta-inner {
  position: relative;
  min-height: 520px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 48px;
  overflow: hidden;
}

.fht-cta-inner::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,168,232,.25), transparent 65%);
  right: -120px;
  top: -160px;
  pointer-events: none;
}

.fht-cta-copy {
  position: relative;
  z-index: 2;
}

.fht-cta-copy h2 {
  margin: 16px 0 18px;
  font-size: clamp(28px, 3.5vw, 46px);
  color: var(--navy);
  line-height: 1.12;
  font-weight: 800;
}

.fht-cta-copy p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 620px;
  margin: 0;
}

.fht-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.fht-cta-form {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 20px 50px rgba(20,75,120,.14);
  border-radius: 24px;
  padding: 26px;
}

.fht-form-grid {
  display: grid;
  gap: 14px;
}

.fht-form-grid input,
.fht-form-grid select,
.fht-form-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 13px 15px;
  outline: none;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  transition: border-color .2s;
}

.fht-form-grid input:focus,
.fht-form-grid select:focus,
.fht-form-grid textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10,132,255,.12);
}

.fht-form-grid textarea {
  min-height: 100px;
  resize: vertical;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .fht-wrap { padding: 42px 32px; }
  .fht-tour-grid { grid-template-columns: repeat(2, 1fr); }
  .fht-groups-grid { grid-template-columns: 1fr; }
  .fht-group-card { min-height: 320px; }
  .fht-slider-grid { grid-template-columns: 1fr; }
  .fht-custom-item { min-height: 320px; }
}

@media (max-width: 900px) {
  .fht-hero-inner { padding: 48px 28px; min-height: 600px; }
  .fht-search-panel { grid-template-columns: 1fr 1fr; }
  .fht-search-panel .fht-btn { grid-column: 1 / -1; }
  .fht-cta-inner { grid-template-columns: 1fr; padding: 42px 28px; }
  .fht-toolbar { flex-direction: column; align-items: stretch; }
  .fht-search-input { width: 100%; }
}

@media (max-width: 650px) {
  .fht-wrap { padding: 28px 16px; }
  .fht-section-shell { width: calc(100% - 16px); border-radius: 20px; }
  .fht-tour-grid { grid-template-columns: 1fr; }
  .fht-hero-inner { padding: 32px 18px; }
  .fht-search-panel { grid-template-columns: 1fr; }
  .fht-cta-inner { padding: 28px 18px; }
}
