/*
Theme Name: Forever Magical Travel
Theme URI: https://forevermagicaltravelllc.com/
Author: Forever Magical Travel LLC
Description: A lightweight, conversion-focused WordPress theme for Forever Magical Travel LLC.
Version: 3.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: forever-magical-travel
*/

:root {
  --fmt-navy: #04142c;
  --fmt-blue: #0b315c;
  --fmt-sky: #dcecf8;
  --fmt-gold: #e4ad45;
  --fmt-gold-dark: #a86f18;
  --fmt-cream: #fff8ea;
  --fmt-white: #ffffff;
  --fmt-ink: #172033;
  --fmt-muted: #5c6678;
  --fmt-line: #e7e2d7;
  --fmt-shadow: 0 22px 70px rgba(4, 20, 44, .18);
  --fmt-radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--fmt-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  background: #fffdf8;
}

body.fmt-site {
  min-width: 320px;
}

a { color: var(--fmt-blue); }
img { height: auto; max-width: 100%; }

.fmt-container {
  width: min(1280px, calc(100% - 64px));
  margin-inline: auto;
}

.fmt-site-header,
.fmt-hero,
.fmt-trust,
.fmt-section,
.fmt-page-hero,
.fmt-content,
.fmt-cta-band,
.fmt-site-footer {
  width: 100%;
}

.fmt-site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background:
    radial-gradient(circle at 24% 35%, rgba(228,173,69,.16), transparent 22%),
    linear-gradient(180deg, #061936, var(--fmt-navy));
  border-bottom: 2px solid rgba(228, 173, 69, .8);
  backdrop-filter: blur(14px);
}

.fmt-header-inner {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.fmt-brand {
  display: block;
  color: var(--fmt-gold);
  text-decoration: none;
}

.fmt-brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 3vw, 3.2rem);
  font-style: italic;
  font-weight: 400;
  line-height: .82;
  text-shadow: 0 2px 20px rgba(228, 173, 69, .18);
}

.fmt-brand em {
  display: block;
  margin-left: 78px;
  color: #f7cf7e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(.95rem, 1.6vw, 1.4rem);
  font-style: normal;
  letter-spacing: .24em;
  line-height: 1.1;
  text-transform: uppercase;
}

.fmt-brand span {
  display: block;
  color: rgba(255,255,255,.7);
  font-family: Inter, sans-serif;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fmt-menu {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fmt-menu a {
  color: rgba(255,255,255,.94);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.16rem;
  font-weight: 600;
  text-decoration: none;
}

.fmt-button,
.fmt-menu .fmt-quote-link > a,
.gform_button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 0;
  border-radius: var(--fmt-radius);
  background: linear-gradient(180deg, #f2c767, var(--fmt-gold));
  color: #160d01;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.fmt-button:hover,
.fmt-menu .fmt-quote-link > a:hover,
.gform_button:hover {
  background: #efc35f;
  box-shadow: 0 12px 30px rgba(168, 121, 34, .25);
  transform: translateY(-1px);
}

.fmt-button-secondary {
  background: transparent;
  color: var(--fmt-white);
  outline: 1px solid rgba(255,255,255,.35);
}

.fmt-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(4,20,44,.15), rgba(4,20,44,.35) 32%, rgba(4,20,44,.08) 50%, rgba(4,20,44,.4)),
    linear-gradient(90deg, rgba(4,20,44,.72), rgba(4,20,44,.48) 50%, rgba(4,20,44,.78)),
    radial-gradient(circle at 20% 20%, rgba(228,173,69,.18), transparent 20%),
    radial-gradient(circle at 80% 18%, rgba(255,255,255,.18), transparent 18%),
    linear-gradient(180deg, #062146 0%, #0c3d68 58%, #061936 100%);
  color: var(--fmt-white);
}

.fmt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.92) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(228,173,69,.78) 0 1px, transparent 1.5px),
    linear-gradient(180deg, transparent 62%, rgba(0,0,0,.18));
  background-position: 0 0, 34px 42px;
  background-size: 98px 98px, 130px 130px;
  opacity: .34;
}

.fmt-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 190px;
  background:
    linear-gradient(180deg, transparent, rgba(2, 10, 25, .18) 35%, rgba(2, 10, 25, .32)),
    radial-gradient(ellipse at 20% 100%, rgba(228,173,69,.42), transparent 24%),
    radial-gradient(ellipse at 72% 100%, rgba(228,173,69,.34), transparent 28%);
  opacity: .75;
}

.fmt-scenery {
  pointer-events: none;
  position: absolute;
  inset: auto 0 0;
  height: 210px;
  opacity: .62;
}

.fmt-scenery-building {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 360px;
  height: 170px;
  background:
    radial-gradient(circle at 40% 2%, rgba(255,224,145,.8) 0 7px, transparent 8px),
    linear-gradient(90deg, transparent 8%, rgba(255,224,145,.32) 8% 10%, transparent 10% 15%, rgba(255,224,145,.32) 15% 17%, transparent 17%),
    linear-gradient(180deg, transparent 0 42%, rgba(255,224,145,.24) 43%, rgba(255,224,145,.14) 62%, transparent 63%),
    linear-gradient(135deg, transparent 0 30%, rgba(255,224,145,.2) 31% 42%, transparent 43%);
  clip-path: polygon(0 62%, 10% 48%, 18% 50%, 23% 25%, 29% 50%, 42% 47%, 56% 58%, 100% 64%, 100% 100%, 0 100%);
}

.fmt-scenery-palms {
  position: absolute;
  right: 5%;
  bottom: 18px;
  width: 420px;
  height: 150px;
  background:
    radial-gradient(ellipse at 15% 15%, rgba(255,224,145,.28) 0 11px, transparent 12px),
    radial-gradient(ellipse at 48% 10%, rgba(255,224,145,.25) 0 12px, transparent 13px),
    radial-gradient(ellipse at 80% 18%, rgba(255,224,145,.22) 0 11px, transparent 12px),
    linear-gradient(90deg, transparent 14%, rgba(255,224,145,.35) 14% 15%, transparent 15% 47%, rgba(255,224,145,.3) 47% 48%, transparent 48% 79%, rgba(255,224,145,.25) 79% 80%, transparent 80%);
}

.fmt-scenery-water {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  background:
    repeating-linear-gradient(0deg, rgba(255,224,145,.18) 0 1px, transparent 1px 12px),
    linear-gradient(180deg, transparent, rgba(255,224,145,.12));
}

.fmt-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(520px, .95fr) minmax(430px, 520px);
  gap: 86px;
  align-items: center;
  min-height: 660px;
  padding: 64px 0 72px;
}

.fmt-hero-copy {
  max-width: 720px;
}

.fmt-eyebrow {
  color: var(--fmt-gold);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.fmt-hero h1,
.fmt-page-title {
  max-width: 850px;
  margin: 12px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.55rem, 6.5vw, 7.25rem);
  line-height: .94;
  letter-spacing: 0;
}

.fmt-hero h1 {
  color: var(--fmt-white);
  text-shadow: 0 18px 60px rgba(0, 0, 0, .28);
}

.fmt-hero h1::first-line {
  color: var(--fmt-white);
}

.fmt-ornament {
  width: min(360px, 65%);
  height: 1px;
  margin: 12px 0 24px;
  background: linear-gradient(90deg, transparent, rgba(228,173,69,.95), transparent);
}

.fmt-hero p {
  max-width: 680px;
  color: rgba(255,255,255,.86);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.22rem, 1.65vw, 1.55rem);
  line-height: 1.5;
}

.fmt-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 30px;
}

.fmt-meet-link {
  color: var(--fmt-white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration-color: var(--fmt-gold);
  text-underline-offset: 8px;
}

.fmt-form-card {
  position: relative;
  padding: 32px 34px 34px;
  border: 1px solid rgba(228,173,69,.78);
  border-radius: 12px;
  background: rgba(5, 23, 50, .66);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
  color: var(--fmt-white);
  backdrop-filter: blur(5px);
}

.fmt-form-card h2 {
  max-width: 430px;
  margin: 0 auto 12px;
  color: #f5c66c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.15;
  text-align: center;
}

.fmt-form-card p {
  margin: 0 0 18px;
  color: rgba(255,255,255,.78);
  font-size: .98rem;
  text-align: center;
}

.fmt-native-form,
.fmt-native-form label {
  display: grid;
  gap: 10px;
}

.fmt-native-form {
  gap: 14px;
}

.fmt-native-form span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.fmt-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.fmt-native-form input,
.fmt-native-form textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(228,173,69,.42);
  border-radius: 7px;
  background: #fffdfa;
  color: var(--fmt-ink);
  font: inherit;
  padding: 13px 15px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

.fmt-native-form input::-webkit-contacts-auto-fill-button,
.fmt-native-form input::-webkit-credentials-auto-fill-button {
  visibility: hidden;
  display: none;
  pointer-events: none;
  position: absolute;
  right: 0;
}

.fmt-native-form textarea {
  min-height: 105px;
  resize: vertical;
}

.fmt-native-form .fmt-button {
  width: 100%;
  margin-top: 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
}

.fmt-trust {
  background: linear-gradient(180deg, var(--fmt-white), #fffaf0);
  border-bottom: 1px solid var(--fmt-line);
}

.fmt-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.fmt-trust-item {
  position: relative;
  padding: 28px 18px 26px 86px;
  font-weight: 800;
}

.fmt-trust-item::before {
  content: "✧";
  position: absolute;
  left: 28px;
  top: 28px;
  color: var(--fmt-gold-dark);
  font-size: 2rem;
  line-height: 1;
}

.fmt-trust-item + .fmt-trust-item {
  border-left: 1px solid var(--fmt-line);
}

.fmt-trust-item span {
  display: block;
  color: var(--fmt-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
}

.fmt-trust-item small {
  display: block;
  margin-top: 3px;
  color: var(--fmt-muted);
  font-size: .88rem;
  font-weight: 500;
}

.fmt-section {
  padding: 62px 0;
}

.fmt-section-alt { background: var(--fmt-white); }
.fmt-section h2 {
  margin: 0 0 16px;
  color: var(--fmt-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
}

.fmt-centered {
  text-align: center;
}

.fmt-section-lede {
  max-width: 760px;
  margin: 0 auto 34px;
  color: var(--fmt-muted);
  font-size: 1.12rem;
  text-align: center;
}

.fmt-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.fmt-card {
  padding: 24px;
  border: 1px solid var(--fmt-line);
  border-radius: var(--fmt-radius);
  background: var(--fmt-white);
  box-shadow: 0 12px 34px rgba(7, 23, 47, .07);
}

.fmt-service-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding-top: 154px;
}

.fmt-service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 140px;
  background:
    radial-gradient(circle at 50% 48%, rgba(255,255,255,.75) 0 2px, transparent 3px),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(255,255,255,.08) 34px 35px, transparent 35px 70px),
    linear-gradient(180deg, rgba(4,20,44,.05), rgba(4,20,44,.2)),
    linear-gradient(135deg, #d99842, #143b61);
}

.fmt-service-world::before {
  background:
    radial-gradient(circle at 78% 24%, rgba(255,255,255,.8) 0 2px, transparent 3px),
    linear-gradient(180deg, transparent 55%, rgba(255,255,255,.18) 56% 57%, transparent 58%),
    linear-gradient(135deg, transparent 0 62%, rgba(4,20,44,.18) 63%),
    linear-gradient(180deg, rgba(4,20,44,.04), rgba(4,20,44,.25)),
    linear-gradient(135deg, #123a64, #efb356);
}

.fmt-service-land::before {
  background:
    radial-gradient(circle at 78% 34%, rgba(255,255,255,.9) 0 2px, transparent 3px),
    radial-gradient(circle at 54% 70%, rgba(4,20,44,.2) 0 28px, transparent 29px),
    linear-gradient(180deg, rgba(4,20,44,.04), rgba(4,20,44,.22)),
    linear-gradient(135deg, #1a5975, #f0b45c);
}

.fmt-service-cruise::before {
  background:
    linear-gradient(0deg, transparent 58%, rgba(255,255,255,.2) 59% 60%, transparent 61%),
    radial-gradient(ellipse at 52% 60%, rgba(4,20,44,.38) 0 70px, transparent 71px),
    linear-gradient(180deg, rgba(255,255,255,.15), rgba(4,20,44,.28)),
    linear-gradient(135deg, #0e315a, #f0c06c);
}

.fmt-service-adventure::before {
  background:
    radial-gradient(circle at 72% 28%, rgba(255,255,255,.9) 0 2px, transparent 3px),
    linear-gradient(135deg, transparent 0 45%, rgba(4,20,44,.2) 46%),
    linear-gradient(180deg, rgba(4,20,44,.04), rgba(4,20,44,.25)),
    linear-gradient(135deg, #214c45, #e2a34d);
}

.fmt-card h3 {
  margin: 0 0 10px;
  color: var(--fmt-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.2;
}

.fmt-card p { margin: 0; color: var(--fmt-muted); }
.fmt-card a {
  display: inline-block;
  margin-top: 12px;
  color: var(--fmt-gold-dark);
  font-weight: 800;
  text-decoration: none;
}

.fmt-split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
}

.fmt-panel {
  padding: 34px;
  border-radius: 10px;
  background: var(--fmt-navy);
  color: var(--fmt-white);
}

.fmt-panel h2 { color: var(--fmt-white); }
.fmt-panel p { color: rgba(255,255,255,.82); }

.fmt-page-hero {
  padding: 74px 0;
  background: linear-gradient(135deg, var(--fmt-navy), var(--fmt-blue));
  color: var(--fmt-white);
}

.fmt-page-hero p {
  max-width: 780px;
  color: rgba(255,255,255,.86);
  font-size: 1.16rem;
}

.fmt-content {
  padding: 64px 0;
}

.fmt-content :where(h2,h3) {
  color: var(--fmt-navy);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
}

.fmt-cta-band {
  padding: 54px 0;
  background: var(--fmt-navy);
  color: var(--fmt-white);
}

.fmt-cta-band .fmt-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.fmt-cta-band h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.05;
}

.fmt-site-footer {
  padding: 38px 0;
  background: #041023;
  color: rgba(255,255,255,.76);
  font-size: .95rem;
}

.fmt-site-footer a { color: var(--fmt-gold); }

.gform_wrapper.gravity-theme input,
.gform_wrapper.gravity-theme select,
.gform_wrapper.gravity-theme textarea {
  border: 1px solid rgba(228,173,69,.38);
  border-radius: 7px;
  font-size: 1rem;
  background: rgba(255,255,255,.96);
}

.gform_wrapper.gravity-theme .gfield_label {
  color: rgba(255,255,255,.92);
  font-weight: 800;
}

.fmt-form-card .gform_wrapper.gravity-theme .gfield_label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.fmt-form-card .gform_wrapper.gravity-theme .gform_fields {
  grid-row-gap: 10px;
}

.fmt-form-card .gform_wrapper.gravity-theme .gform_button {
  width: 100%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
}

@media (max-width: 900px) {
  .fmt-header-inner { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .fmt-menu { flex-wrap: wrap; gap: 12px; }
  .fmt-hero-inner,
  .fmt-split { grid-template-columns: 1fr; }
  .fmt-hero-inner { min-height: 0; }
  .fmt-trust-grid,
  .fmt-grid { grid-template-columns: 1fr 1fr; }
  .fmt-cta-band .fmt-container { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
  .fmt-container { width: min(100% - 28px, 1280px); }
  .fmt-menu { display: none; }
  .fmt-hero-inner { padding: 48px 0; }
  .fmt-hero h1, .fmt-page-title { font-size: 3rem; }
  .fmt-form-row { grid-template-columns: 1fr; }
  .fmt-form-card { padding: 20px; }
  .fmt-trust-grid,
  .fmt-grid { grid-template-columns: 1fr; }
  .fmt-trust-item + .fmt-trust-item { border-left: 0; border-top: 1px solid var(--fmt-line); }
  .fmt-section { padding: 54px 0; }
}
