/* Fowler Tours — site styles */

:root {
  --navy: #1f3552;
  --gold: #b8873a;
  --cream: #faf6ef;
  --text: #2b2b2b;
  --muted: #6b6b6b;
  --border: #e2dccb;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

a { color: var(--navy); }

img { max-width: 100%; display: block; }

.site-header {
  background: var(--navy);
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  flex-wrap: wrap;
}

.brand {
  font-size: 1.6rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.brand span { color: var(--gold); }

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

nav a {
  color: #f2ede0;
  text-decoration: none;
  font-size: 1.05rem;
}

nav a:hover, nav a.active { color: var(--gold); text-decoration: underline; }

.hero {
  background: linear-gradient(rgba(20,30,45,0.55), rgba(20,30,45,0.55)), var(--navy);
  color: #fff;
  text-align: center;
  padding: 90px 24px;
}

.hero h1 {
  font-size: 2.6rem;
  margin: 0 0 12px;
}

.hero p {
  font-size: 1.25rem;
  margin: 0 0 28px;
  color: #f0ead9;
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  padding: 14px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
}

.btn:hover { background: #a17530; }

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px;
}

h2 {
  font-size: 2rem;
  color: var(--navy);
  text-align: center;
  margin-bottom: 8px;
}

.subtitle {
  text-align: center;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 40px;
}

.tour-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 32px;
}

.tour-card img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }

.tour-card .content { padding: 28px; }

.tour-card h3 { color: var(--navy); font-size: 1.5rem; margin-top: 0; }

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.gallery img { border-radius: 6px; }

.info-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  margin-top: 24px;
  text-align: center;
}

.contact-details {
  text-align: center;
  font-size: 1.2rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
}

.contact-details a { color: var(--navy); font-weight: bold; }

form.signup {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
}

form.signup label { display: block; margin-bottom: 8px; font-weight: bold; }

form.signup input[type="email"],
form.signup input[type="text"] {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-bottom: 20px;
  font-family: inherit;
}

form.signup .btn { width: 100%; font-size: 1.15rem; }

form.signup fieldset {
  border: none;
  padding: 0;
  margin: 0 0 20px;
}

form.signup legend {
  font-weight: bold;
  margin-bottom: 8px;
  padding: 0;
}

form.signup .checkbox-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: normal;
  margin-bottom: 8px;
}

form.signup .checkbox-option input { width: 20px; height: 20px; }

form.signup .field-row {
  display: flex;
  gap: 16px;
}

form.signup .field-row > div { flex: 1; }

.form-note {
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
  margin-top: 16px;
}

.site-footer {
  text-align: center;
  padding: 32px 24px;
  color: var(--muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 720px) {
  .tour-card { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  nav ul { gap: 16px; justify-content: center; }
  .nav-wrap { flex-direction: column; gap: 12px; text-align: center; }
}

/* ---- Tour detail page ---- */

.tour-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  height: 320px;
  display: flex;
  align-items: flex-end;
  padding: 20px 24px;
  text-align: left;
  background-color: var(--navy);
}

.tour-hero::before,
.tour-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-repeat: no-repeat;
  background-position: center;
}

.tour-hero::before {
  background-size: cover;
  filter: blur(20px) brightness(0.6);
  transform: scale(1.1);
  z-index: 0;
}

.tour-hero::after {
  background-size: contain;
  z-index: 1;
}

.tour-hero .tour-hero-dates {
  position: relative;
  z-index: 2;
  display: inline-block;
  background: var(--navy);
  padding: 10px 20px;
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 1px;
}

@media (max-width: 600px) {
  .tour-hero {
    height: 220px;
  }
  .tour-hero .tour-hero-dates {
    font-size: 1rem;
    padding: 8px 14px;
  }
}

.leader-block {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 40px;
}

.leader-block img {
  border-radius: 6px;
}

.leader-block .signoff {
  font-style: italic;
  margin-top: 16px;
}

h3.section-title {
  color: var(--navy);
  font-size: 1.6rem;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 8px;
  margin-top: 48px;
}

.itinerary-day {
  margin-bottom: 22px;
}

.itinerary-day .day-label {
  font-weight: bold;
  color: var(--navy);
}

.cost-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
}

.cost-box .price {
  font-size: 1.6rem;
  color: var(--navy);
  font-weight: bold;
  margin-bottom: 16px;
}

.cost-box dt { font-weight: bold; margin-top: 14px; }
.cost-box dd { margin: 4px 0 0; }

/* ---- Registration form (printable, large-print for elderly registrants) ---- */

.reg-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
  font-size: 1.15rem;
}

.reg-form h2 { text-align: left; margin-top: 0; }

.reg-form .tour-name {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--navy);
  margin-bottom: 28px;
}

.reg-field {
  margin-bottom: 26px;
}

.reg-field label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}

.reg-line {
  border: none;
  border-bottom: 2px solid #333;
  width: 100%;
  height: 34px;
}

.reg-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.reg-row .reg-field { flex: 1; min-width: 200px; }

.reg-checks label {
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.reg-checks input { width: 22px; height: 22px; }

.print-bar {
  text-align: center;
  margin-bottom: 24px;
}

.tour-conditions {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 40px;
  margin-top: 24px;
  font-size: 0.95rem;
  color: var(--text);
}

.tour-conditions p { margin: 0 0 12px; }

@media print {
  .site-header, .site-footer, .print-bar, main > .info-box, .no-print {
    display: none !important;
  }
  body { background: #fff; }
  main { padding: 0; max-width: 100%; }
  .reg-form { border: none; padding: 0; font-size: 13pt; }
  .tour-conditions {
    border: none;
    padding: 0;
    font-size: 10pt;
    page-break-before: always;
  }
}
