/* =========================================================
   Westway Trading Limited — Luxury Lifestyle & Travel
   Shared stylesheet
   ========================================================= */

:root {
  --cream: #f6f3ed;
  --cream-deep: #ece6da;
  --charcoal: #1a1a1a;
  --charcoal-soft: #2c2c2c;
  --ink: #222020;
  --gold: #b08d57;
  --gold-deep: #97743f;
  --muted: #6f6a62;
  --line: rgba(26, 26, 26, 0.12);
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  margin: 0 0 0.4em;
  letter-spacing: 0.005em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

p { margin: 0 0 1.2em; }

a { color: inherit; text-decoration: none; }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1.4rem;
  display: inline-block;
}

.lead {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  line-height: 1.5;
  font-weight: 400;
  color: var(--charcoal-soft);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 38px;
  border: 1px solid var(--charcoal);
  background: var(--charcoal);
  color: var(--cream);
  cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn:hover { background: transparent; color: var(--charcoal); }

.btn--ghost {
  background: transparent;
  color: var(--charcoal);
}
.btn--ghost:hover { background: var(--charcoal); color: var(--cream); }

.btn--light {
  border-color: var(--cream);
  background: transparent;
  color: var(--cream);
}
.btn--light:hover { background: var(--cream); color: var(--charcoal); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.scrolled {
  background: var(--cream);
  padding: 14px 40px;
  box-shadow: 0 1px 0 var(--line);
}

.brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 0.52rem;
  letter-spacing: 0.42em;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 400;
}

/* header on dark hero pages starts in light text */
.site-header.on-dark:not(.scrolled) .brand,
.site-header.on-dark:not(.scrolled) .brand small,
.site-header.on-dark:not(.scrolled) .nav a,
.site-header.on-dark:not(.scrolled) .nav-toggle span { color: var(--cream); }
.site-header.on-dark:not(.scrolled) .nav-toggle span { background: var(--cream); }

.nav {
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav a {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.35s var(--ease);
}
.nav a:hover::after,
.nav a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 1.5px;
  background: var(--charcoal);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.25) 45%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: var(--cream); max-width: 14ch; }
.hero .lead { color: rgba(246,243,237,0.9); max-width: 46ch; margin-bottom: 2.4rem; }

/* page hero (shorter, for subpages) */
.page-hero {
  position: relative;
  min-height: 64vh;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}
.page-hero .container { position: relative; z-index: 2; padding-bottom: 70px; }
.page-hero h1 { color: var(--cream); }
.page-hero .eyebrow { color: #e3c79c; }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 10vw, 140px) 0; }
.section--cream { background: var(--cream); }
.section--deep { background: var(--cream-deep); }
.section--dark { background: var(--charcoal); color: var(--cream); }
.section--dark .eyebrow { color: #e3c79c; }
.section--dark .lead { color: rgba(246,243,237,0.82); }

.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

/* ---------- Intro split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.split__media {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
}
.split__media--tall { aspect-ratio: 3 / 4; }
.figures { display: flex; gap: 48px; margin-top: 38px; flex-wrap: wrap; }
.figure .num {
  font-family: var(--serif);
  font-size: 2.8rem;
  color: var(--gold-deep);
  line-height: 1;
}
.figure .label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

/* ---------- Services grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.card {
  background: var(--cream);
  padding: 48px 38px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.card:hover { background: var(--charcoal); color: var(--cream); }
.card:hover .card__no, .card:hover h3 { color: var(--cream); }
.card:hover p { color: rgba(246,243,237,0.78); }
.card__no {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--gold-deep);
  letter-spacing: 0.1em;
  margin-bottom: 22px;
}
.card h3 { margin-bottom: 0.5em; }
.card p { color: var(--muted); font-size: 0.96rem; margin: 0; }

/* feature list with rules */
.feature-list { border-top: 1px solid var(--line); }
.feature-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.4fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.feature-row .idx { font-family: var(--serif); font-size: 1.3rem; color: var(--gold-deep); }
.feature-row p { margin: 0; color: var(--muted); }

/* ---------- Quote / banner ---------- */
.quote { text-align: center; max-width: 900px; margin: 0 auto; }
.quote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
  line-height: 1.34;
  font-weight: 400;
  margin: 0 0 1.4rem;
}
.quote cite {
  font-style: normal;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- CTA strip ---------- */
.cta { text-align: center; }
.cta h2 { max-width: 18ch; margin: 0 auto 0.5em; }
.cta p { max-width: 50ch; margin: 0 auto 2.4rem; color: rgba(246,243,237,0.8); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.contact-detail { margin-bottom: 36px; }
.contact-detail .k {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.contact-detail .v { font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; }
.contact-detail .v a:hover { color: var(--gold-deep); }

form .field { margin-bottom: 26px; }
form label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
form input, form select, form textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.3s var(--ease);
}
form input:focus, form select:focus, form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
form textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.84rem; color: var(--muted); margin-top: 14px; }
.form-success {
  display: none;
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--charcoal);
  color: var(--cream);
  font-size: 0.9rem;
}
.form-success.show { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(246,243,237,0.7);
  padding: 80px 0 40px;
  font-size: 0.9rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(246,243,237,0.14);
}
.footer-brand .brand { color: var(--cream); }
.footer-brand p { max-width: 38ch; margin-top: 18px; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 18px;
}
.footer-col a { display: block; padding: 6px 0; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  font-size: 0.78rem;
  color: rgba(246,243,237,0.5);
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split__media { aspect-ratio: 16 / 10; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .feature-row { grid-template-columns: 50px 1fr; }
  .feature-row p { grid-column: 2 / 3; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 22px; }
  .site-header { padding: 16px 22px; }
  .grid { grid-template-columns: 1fr; }
  .nav {
    position: fixed;
    inset: 0;
    background: var(--charcoal);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
  }
  .nav.open { transform: none; }
  .nav a { color: var(--cream) !important; font-size: 1rem; }
  .nav-toggle { display: flex; z-index: 110; }
  .nav-toggle.open span { background: var(--cream); }
  .nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .figures { gap: 32px; }
}
