/* ==========================================================================
   Private & custom trips page: private-trips.html only
   Base styles, nav bar, buttons and footer are copied from landing.css so
   this page matches the homepage. Fonts: Cormorant Garamond, Raleway.
   ========================================================================== */

:root {
  --navy: #0B2545;
  --navy-2: #123363;
  --gold: #C9A24B;
  --cream: #FBF6EC;
  --cream-text: #E7D9BC;
  --white: #FFFFFF;
  --muted: #6B7A8F;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  color: var(--navy);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  margin: 0;
}

a { text-decoration: none; }

.section-label {
  display: block;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 10px;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAV BAR */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
}

.site-nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-nav-logo { display: block; line-height: 0; }

.site-nav-logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.site-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.site-nav-links a,
.site-nav-dropdown summary {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--cream);
  transition: color 0.2s ease;
}

.site-nav-links a:hover,
.site-nav-dropdown summary:hover,
.site-nav-links a[aria-current="page"] {
  color: var(--gold);
}

.site-nav-links a:focus-visible,
.site-nav-dropdown summary:focus-visible,
.site-nav-logo:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

/* "Past Trips" dropdown */
.site-nav-dropdown { position: relative; }

.site-nav-dropdown summary {
  cursor: pointer;
  list-style: none; /* hide default triangle */
}

.site-nav-dropdown summary::-webkit-details-marker { display: none; }

/* small gold arrow drawn in CSS; flips when open */
.site-nav-dropdown summary::after {
  content: "";
  display: inline-block;
  margin-left: 7px;
  vertical-align: 3px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--gold);
  transition: transform 0.2s ease;
}

.site-nav-dropdown[open] summary::after { transform: rotate(180deg); }

/* panel floats over the page instead of pushing content down */
.site-nav-dropdown ul {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 160px;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  background: var(--navy);
  border: 1px solid var(--gold);
  border-radius: 6px;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.45);
}

.site-nav-dropdown ul a {
  display: block;
  padding: 8px 18px;
  white-space: nowrap; /* keeps longer names like "Dominican Republic" on one line */
}

/* BUTTONS (gold pill, used by "Send inquiry") */
.btn-pill {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 30px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 15px;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

/* PAGE HEADING */
.pt-head {
  padding: 70px 0 34px;
  text-align: center;
}

.pt-head h1 {
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 12px;
}

.pt-head p {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

/* INQUIRY FORM (copied from the homepage when the form moved here).
   All class names start with "inq-". */
.inq {
  padding: 0 0 90px;
}

.inq .wrap { max-width: 760px; }

.inq-title {
  text-align: center;
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 600;
}

.inq-sub {
  text-align: center;
  color: var(--muted);
  margin: 6px 0 26px;
}

.inq-form,
.inq-done {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 12px 28px -18px rgba(11, 37, 69, 0.35);
}

.inq-form { padding: 32px 30px; }

.inq-form[hidden],
.inq-done[hidden],
.inq-err[hidden] { display: none; }

.inq-set {
  border: none;
  margin: 0 0 22px;
  padding: 0;
  min-width: 0;
}

.inq-legend {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  padding: 0;
}

.inq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.inq-full { grid-column: 1 / -1; }

.inq-f label,
.inq-qlabel {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.inq-f label b,
.inq-qlabel b { color: var(--gold); } /* required "*" */

.inq-f label i,
.inq-qlabel i {
  color: var(--muted);
  font-weight: 500;
  font-style: normal;
  font-size: 13px;
}

.inq-form input[type=text],
.inq-form input[type=email],
.inq-form input[type=tel],
.inq-form textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid #E5DCC8;
  border-radius: 10px;
  background: var(--cream);
  color: var(--navy);
}

.inq-form input:focus,
.inq-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}

/* answer boxes ("Who is this trip for?") and pills (budget, kind of trip) */
.inq-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.inq-f label.inq-choice,
.inq-f label.inq-pill {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  background: var(--cream);
  border: 1.5px solid #E5DCC8;
  cursor: pointer;
}

.inq-f label.inq-choice { border-radius: 10px; padding: 12px 14px; }
.inq-choice small { color: var(--muted); font-size: 13px; }

.inq-pills { display: flex; flex-wrap: wrap; gap: 8px; }

.inq-f label.inq-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
}

.inq-choice input,
.inq-pill input { accent-color: var(--navy); margin: 0; }
.inq-choice input { margin-top: 4px; }

.inq-f label.inq-choice:has(input:checked),
.inq-f label.inq-pill:has(input:checked) {
  border-color: var(--gold);
  background: #FFF8E8;
}

/* missed required fields */
.inq-bad input,
.inq-bad textarea,
.inq-f.inq-bad label.inq-choice { border-color: #B3412F !important; }

.inq-send {
  display: block;
  width: 100%;
  margin-top: 6px;
  border: none;
  cursor: pointer;
  font-size: 17px;
  padding: 16px;
}

.inq-err {
  color: #B3412F;
  text-align: center;
  margin: 10px 0 0;
  font-weight: 700;
}

.inq-done {
  text-align: center;
  padding: 40px 24px;
}

.inq-done h3 {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 8px;
}

.inq-chat {
  text-align: center;
  margin: 26px 0 0;
  font-size: 15px;
  color: var(--muted);
}

.inq-chat a {
  color: var(--navy);
  font-weight: 700;
  border-bottom: 1px solid var(--gold);
}

/* FOOTER */
.landing-footer {
  background: var(--navy);
  color: var(--cream-text);
  text-align: center;
  padding: 26px 20px;
  font-size: 14px;
}

.landing-footer a {
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap; /* keeps the link together on one line */
}

/* RESPONSIVE */
@media (max-width: 760px) {
  .site-nav-inner { flex-direction: column; gap: 10px; padding: 10px 16px; }
  /* one row of four links under the logo, evenly spread */
  .site-nav-links {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: space-between;
    gap: 0 10px;
    width: 100%;
    max-width: 420px;
  }
  .site-nav-links a,
  .site-nav-dropdown summary { font-size: 13px; }
  /* a little invisible padding keeps the smaller links easy to tap */
  .site-nav-links > li > a,
  .site-nav-dropdown summary { display: block; padding: 4px 0; }
  .pt-head { padding: 48px 0 28px; }
  .inq-grid,
  .inq-choices { grid-template-columns: minmax(0, 1fr); }
  .inq-form { padding: 24px 18px; }
}

/* NAV BAR, narrow phones (under 355px): links as a two-by-two grid */
@media (max-width: 354px) {
  .site-nav-links {
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    row-gap: 2px;
  }
}
