/* ==========================================================
   Green Gecko Mediterranean Travel — styles
   Brand colors are defined once below. Change them here.
   ========================================================== */

/* Fonts are hosted on this site (no Google Fonts request -> GDPR-friendly) */
@font-face { font-family: "Noto Serif"; src: url("fonts/noto-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Serif"; src: url("fonts/noto-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Noto Serif"; src: url("fonts/noto-serif-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Serif"; src: url("fonts/noto-serif-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  /* Brand palette (taken from the prototype) */
  --cream: #f5efe5;      /* main background */
  --linen: #fbf8f2;      /* lighter background */
  --sand: #ded2bf;       /* accent background */
  --olive: #465040;      /* dark green — logo, dark sections */
  --olive-ink: #3a4334;  /* headings */
  --terracotta: #c9795f; /* buttons, eyebrows, highlights */
  --terracotta-dark: #b0624a;
  --charcoal: #343630;   /* footer */
  --text: #3b3d37;       /* body copy */
  --muted: #6b6a60;

  --serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1160px;
  --radius: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--olive-ink);
  line-height: 1.25;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); }

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }

.eyebrow {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 1.3em;
}

.lead-italic {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--olive-ink);
}

.statement {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.45;
  color: var(--olive-ink);
}
.statement.accent { color: var(--terracotta); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .98rem;
  text-decoration: none;
  color: #fff;
  background: var(--terracotta);
  padding: .95em 1.8em;
  border-radius: var(--radius);
  transition: background .2s ease, transform .2s ease;
}
.btn:hover, .btn:focus-visible { background: var(--terracotta-dark); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 239, 229, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(70, 80, 64, .12);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 76px;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--olive-ink);
}
.nav a:not(.btn):hover { color: var(--terracotta); }
.nav .btn { color: #fff; padding: .8em 1.5em; letter-spacing: .12em; font-size: .74rem; }

/* ---------- Photo slots ----------
   Drop your photos into /images with exactly these names and they appear
   automatically. Until then a soft brand gradient is shown.            */
.photo {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 320px;
}
.photo-caption {
  position: absolute; right: 22px; bottom: 18px;
  font-family: var(--serif); font-style: italic; color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
.photo--hero     { background-image: url("images/hero.jpg"), linear-gradient(160deg, #d8ccb4 0%, #8f9a70 45%, #59614a 100%); background-position: center 55%; }
.photo--mallorca { background-image: url("images/why-mallorca.jpg"); background-position: 15% center; }
.photo--homebase { background-color: var(--olive); background-image: url("images/home-base.jpg"); background-position: center 58%; }
.photo--together { background-image: url("images/traveling-together.jpg"); background-position: 40% center; }
.photo--travelwell { background-image: url("images/travel-well.jpg"); background-position: center 60%; }
.photo--jannina  { background-image: url("images/jannina.jpg"), linear-gradient(170deg, #e4dfcf 0%, #c3c0aa 60%, #a9a891 100%); background-position: 30% center; }

/* ---------- Sections ---------- */
section { padding: clamp(64px, 9vw, 120px) 0; }
.bg-cream { background: var(--cream); }
.bg-linen { background: var(--linen); }
.bg-sand  { background: var(--sand); }
.bg-olive { background: var(--olive); color: #eee9df; }
.bg-olive h2, .bg-olive h3, .bg-olive .serif { color: #fff; }
.bg-olive .eyebrow { color: #e3a58e; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }

/* Hero */
.hero { padding-top: clamp(40px, 6vw, 80px); }
.hero .grid-2 { align-items: stretch; }
.hero .photo { min-height: 520px; border-radius: 4px; }
.hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
.hero .body-copy { max-width: 34em; }
.hero .btn { margin-top: .6em; }
.tagline {
  margin-top: clamp(40px, 6vw, 72px);
  display: flex; flex-wrap: wrap; gap: .4em 1.6em;
  font-size: .85rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--olive-ink);
}
.tagline span::before { content: "✦"; color: var(--terracotta); margin-right: .8em; font-size: .8em; }

/* Choices */
.intro { max-width: 760px; }
.questions {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0; margin: 48px 0;
  border-top: 1px solid rgba(70,80,64,.18);
}
.questions p {
  font-family: var(--serif); font-size: 1.3rem; line-height: 1.5; color: var(--olive-ink);
  margin: 0; padding: 28px 32px 28px 0;
  border-bottom: 1px solid rgba(70,80,64,.18);
}
.questions p:nth-child(odd) { padding-right: 40px; }
.questions p:nth-child(even) { padding-left: 40px; border-left: 1px solid rgba(70,80,64,.18); }

/* Why Mallorca */
.mallorca .photo { min-height: 600px; border-radius: 4px; }
.mallorca .statement { margin-top: 1.4em; }
.small-strong { font-weight: 600; color: var(--olive-ink); }

/* How it works */
.how-head { margin-bottom: 56px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(70,80,64,.2); }
.step { padding: 40px 36px 8px; border-left: 1px solid rgba(70,80,64,.2); }
.step:first-child { border-left: 0; padding-left: 0; }
.step:last-child { padding-right: 0; }
.step h3 { margin-bottom: .8em; }

/* Home base band */
.band { padding: 0; }
.band .photo {
  min-height: clamp(320px, 42vw, 520px);
  display: flex; align-items: flex-end;
}
.band .photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(40,44,36,.55) 100%);
}
.band h2 {
  position: relative; z-index: 1; color: #fff;
  font-size: clamp(1.8rem, 4vw, 3rem); margin: 0; padding-bottom: clamp(32px, 5vw, 64px);
}

/* Traveling together */
.together .photo { min-height: 520px; border-radius: 4px; }

.band .photo.no-photo { min-height: 0; padding-top: clamp(56px, 7vw, 88px); justify-content: center; text-align: center; }
.band .photo.no-photo::after { display: none; }
.band .photo.no-photo h2 { padding-bottom: clamp(56px, 7vw, 88px); }
.band .photo.no-photo h2::before { content: "✦"; display: block; color: var(--terracotta); font-size: 1.1rem; margin-bottom: .9em; }

/* Traveling together without photo: one centered column */
.together .solo { max-width: 760px; margin-inline: auto; }

/* Travel well */
.spend .statement { color: #fff; }
.spend .photo { min-height: 640px; border-radius: 4px; }
.spend p { color: #e7e2d7; }
.spend .strong { color: #fff; font-weight: 600; }

/* Why Green Gecko */
.pillars { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0; padding: 0; list-style: none; }
.pillars li {
  font-weight: 600; color: var(--olive-ink);
  border: 1px solid rgba(70,80,64,.35); border-radius: var(--radius);
  padding: .65em 1.5em; background: var(--cream);
  box-shadow: 0 0 0 5px var(--linen), 0 0 0 6px rgba(70,80,64,.15);
}
.closing { margin-top: 48px; }

/* About */
.about .grid-2 { grid-template-columns: 5fr 7fr; align-items: start; }
.about .photo { min-height: 640px; border-radius: 4px; position: sticky; top: 110px; }
.testimonials {
  margin: 40px 0 0; padding-left: 28px; border-left: 3px solid var(--terracotta);
}
.testimonials blockquote {
  margin: 0 0 1em; font-family: var(--serif); font-size: 1.45rem; line-height: 1.45; color: var(--olive-ink);
}

/* Start planning */
.cta .eyebrow { margin-bottom: 1em; }

/* Footer */
.site-footer { background: var(--charcoal); color: #cfcabe; padding: 56px 0 44px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 28px 48px; }
.site-footer p { margin: 0 0 .6em; }
.site-footer .name { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: #fff; margin-bottom: .2em; }
.site-footer .claim { font-family: var(--serif); font-style: italic; color: #e3a58e; margin-bottom: 1.2em; }
.site-footer .fine { color: #9d998e; font-size: .85rem; }
.site-footer .label { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.site-footer a { color: #e9e4d9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

/* Legal pages & thank-you */
.legal { padding: 64px 0 96px; background: var(--linen); }
.legal .wrap { max-width: 780px; }
.legal h1 { margin-bottom: 1em; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
.legal a { color: var(--terracotta-dark); }
.thanks { min-height: 70vh; display: flex; align-items: center; text-align: center; }
.thanks .wrap { max-width: 640px; }

/* Utilities */
.align-start { align-items: start; }
.solo { max-width: 760px; margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 16px; top: 16px; z-index: 200; background: #fff; padding: 10px 16px; border: 2px solid var(--olive); }
.after-quote { margin-top: 1.2em; }

/* Long-version elements */
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: .6em; }
.hero .hero-actions .btn { margin-top: 0; }
.btn-secondary { background: transparent; color: var(--olive-ink); box-shadow: inset 0 0 0 1px rgba(70,80,64,.4); }
.btn-secondary:hover, .btn-secondary:focus-visible { background: rgba(70,80,64,.08); color: var(--olive-ink); }
.mini-list { font-family: var(--serif); font-style: italic; font-size: 1.12rem; color: var(--olive-ink); line-height: 1.6; }
.mindset-list { list-style: none; margin: 0 0 1.3em; padding: 18px 22px; border-left: 3px solid var(--terracotta); background: rgba(251,248,242,.7); }
.mindset-list li { font-family: var(--serif); font-size: 1.12rem; color: var(--olive-ink); margin: .2em 0; }
.testimonials .and { margin: -.4em 0 .6em; color: var(--muted); font-style: italic; }
.cta-head .statement { margin: 1em 0; }

/* Contact form */
.cta-head { max-width: 760px; text-align: center; }
.form-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 32px; align-items: start; margin-top: 48px; text-align: left; }
.form-intro { padding: 32px; border: 1px solid rgba(70,80,64,.18); border-radius: 6px; background: rgba(251,248,242,.55); }
.form-intro h3 { font-size: 1.4rem; }
.form-intro ul { margin: 1em 0 0; padding-left: 1.1em; }
.form-intro li { margin-bottom: .4em; }
.contact-form { padding: 32px; background: var(--linen); border-radius: 6px; box-shadow: 0 12px 32px rgba(52,54,48,.07); }
.hidden-field { position: absolute; left: -9999px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-bottom: 16px; }
.contact-form label { display: block; font-size: .85rem; font-weight: 600; color: var(--olive-ink); margin-bottom: .4em; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--text);
  padding: .75em .9em; border: 1px solid rgba(70,80,64,.28); border-radius: 4px; background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 1px; border-color: transparent; }
.contact-form .checkbox-row { display: flex; gap: .7em; align-items: flex-start; font-weight: 400; font-size: .9rem; margin: 18px 0 22px; }
.checkbox-row input { margin-top: .3em; width: 1.05em; height: 1.05em; accent-color: var(--olive); flex: none; }
.contact-form .btn { border: 0; cursor: pointer; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-2, .about .grid-2 { grid-template-columns: 1fr; }
  .hero .photo, .mallorca .photo, .together .photo, .spend .photo { min-height: 380px; }
  .about .photo { position: static; min-height: 420px; }
  .mallorca .photo { order: -1; }
  .steps { grid-template-columns: 1fr; }
  .step, .step:first-child, .step:last-child { border-left: 0; padding: 32px 0 8px; border-bottom: 1px solid rgba(70,80,64,.2); }
  .questions { grid-template-columns: 1fr; }
  .form-wrap, .footer-grid { grid-template-columns: 1fr; }
  .questions p, .questions p:nth-child(odd), .questions p:nth-child(even) { padding: 22px 0; border-left: 0; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-header .wrap { flex-wrap: wrap; justify-content: center; gap: 10px; padding: 10px 0; }
  .brand img { height: 46px; }
  .nav { gap: 18px; flex-wrap: wrap; justify-content: center; }
  .nav a { font-size: .7rem; }
  html { scroll-padding-top: 140px; }
  .field-grid { grid-template-columns: 1fr; }
  .contact-form, .form-intro { padding: 22px; }
}
