/* Aten Travel Stuff — stylesheet */

:root {
  --ink: #0f0f0f;
  --ink-soft: #313d4d;
  --ink-faint: #7c8794;
  --paper: #ffffff;
  --sand: #f2f8fa;
  --sand-deep: #e2eff4;
  --line: #d8e6ec;
  --accent: #0b7f9e;          /* travel cyan; AA-safe with white text */
  --accent-deep: #06687f;
  --accent-wash: #e6f4f9;
  --ok: #2f6d4f;
  --radius: 4px;
  --wrap: 1180px;
  --shadow: 0 1px 2px rgba(15, 26, 38, .05), 0 8px 24px rgba(15, 26, 38, .07);
  --font: "Poppins", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* height:auto keeps the width/height attributes on <img> from squashing the
   aspect ratio once max-width kicks in on narrow screens. */
img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--font);
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--accent-deep); }
.btn:active { transform: translateY(1px); }
.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--sand); border-color: var(--ink-faint); }
.btn--block { display: block; width: 100%; text-align: center; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--accent);
  color: #fff;
  font-size: .88rem;
}
.topbar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  min-height: 43px;
  padding-block: 7px;
  flex-wrap: wrap;
}
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-item svg { flex: none; opacity: .9; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
@media (max-width: 620px) {
  .topbar { font-size: .78rem; }
  .topbar-inner { gap: 4px 18px; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 88px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  white-space: nowrap;
  flex: none;
}
.logo-mark { color: #2fb3d6; flex: none; width: 50px; height: auto; }
.logo-words { display: flex; flex-direction: column; line-height: 1.05; }
.logo-top {
  font-size: 1.65rem;
  font-weight: 700;
  color: #111;
  letter-spacing: .12em;
}
.logo-bottom {
  font-size: .95rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .02em;
  margin-top: 4px;
}

.nav { display: flex; gap: 2px; margin-left: auto; margin-right: 18px; }
.nav a {
  position: relative;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 15px;
  white-space: nowrap;
}
.nav a:hover { color: var(--ink); }
.nav a.is-active { color: var(--ink); }
/* underline under the current page, like the original */
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 0;
  height: 3px;
  background: var(--ink);
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 500;
  flex: none;
}
.cart-link:hover { color: var(--accent); }
.cart-total { white-space: nowrap; }
.cart-bag { position: relative; display: inline-flex; color: var(--accent); }
.cart-bag svg { display: block; }
.cart-count {
  position: absolute;
  top: -7px;
  right: -8px;
  background: var(--accent);
  color: #fff;
  border: 2px solid #fff;
  border-radius: 999px;
  min-width: 19px;
  height: 19px;
  font-size: .67rem;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
  padding: 0 4px;
  line-height: 1;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 11px;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
}

@media (max-width: 980px) {
  .logo { order: 1; }
  /* padding keeps the bag a comfortable tap target once the total is hidden */
  .cart-link { order: 2; margin-left: auto; padding: 10px 6px; }
  .nav-toggle { display: block; order: 3; }
  .nav {
    order: 4;
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 12px;
    margin-left: 0;
    margin-right: 0;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav a.is-active::after { display: none; }
  .nav a.is-active { color: var(--accent); }
  .header-bar { flex-wrap: wrap; height: auto; padding: 14px 0; gap: 14px; }
}
@media (max-width: 460px) {
  .cart-total { display: none; }
  .logo-mark { width: 32px; }
  .logo-top { font-size: 1.12rem; }
}

/* ---------- Hero banner ---------- */
.hero {
  background-image: url("../img/hero-banner.jpg");
  background-size: cover;
  background-position: 50% 0;
  background-repeat: no-repeat;
  background-color: #3b3630;          /* holds the frame before the photo loads */
  min-height: clamp(400px, 46vw, 560px);
  display: grid;
  place-items: center;
  padding: 56px 24px;
}
.hero-panel {
  background: rgba(0, 0, 0, .6);   /* photo is bright; .5 left the lede under 4.5:1 */
  padding: clamp(30px, 5vw, 54px) clamp(24px, 5vw, 64px);
  text-align: center;
  max-width: 760px;
}
.hero h1 {
  color: #fff;
  margin-bottom: .28em;
  font-size: clamp(2rem, 5.4vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.hero .lede {
  font-size: clamp(1rem, 1.6vw, 1.375rem);
  font-weight: 500;
  color: #fff;
  margin: 0 auto 30px;
  max-width: 42ch;
  text-wrap: balance;
}
.btn--light {
  background: #fff;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: .875rem;
  padding: 14px 26px;
}
.btn--light:hover { background: var(--accent-wash); color: var(--accent-deep); }

/* Lighter banner file for small screens. */
@media (max-width: 960px) {
  .hero { background-image: url("../img/hero-banner-sm.jpg"); }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .74rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section--sand { background: var(--sand); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); margin: 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split img { border-radius: 14px; border: 1px solid var(--line); }
@media (max-width: 860px) {
  .section { padding: 52px 0; }
  .split { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- Product grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 420px)  { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #d6cfc2; }
.card-media {
  aspect-ratio: 1 / 1;
  background: var(--sand);
  display: block;
  overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-title {
  font-family: var(--font);
  font-size: .97rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--accent-deep); }
.card-price { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-top: auto; }

/* ---------- Product detail ---------- */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 52px 0 76px;
  align-items: start;
}
.product-gallery {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  position: sticky;
  top: 100px;
}
.product-gallery img { border-radius: 8px; width: 100%; }
.product-price { font-size: 1.9rem; font-weight: 700; margin: 6px 0 18px; }
.product-short { font-size: 1.05rem; color: var(--ink-soft); }
.buy-row { display: flex; gap: 12px; align-items: stretch; margin: 24px 0; }
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty button {
  width: 42px;
  border: 0;
  background: var(--paper);
  font-size: 1.15rem;
  cursor: pointer;
  color: var(--ink-soft);
}
.qty button:hover { background: var(--sand); color: var(--ink); }
.qty input {
  width: 48px;
  border: 0;
  text-align: center;
  font-size: 1rem;
  font-family: var(--font);
  -moz-appearance: textfield;
  background: var(--paper);
  color: var(--ink);
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-row .btn { flex: 1; }

.spec-list { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chips li {
  background: var(--accent-wash);
  border: 1px solid #e8d9c6;
  color: var(--accent-deep);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: .83rem;
  font-weight: 500;
}
.assurances { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 9px; }
.assurances li { color: var(--ink-soft); font-size: .92rem; padding-left: 24px; position: relative; }
.assurances li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 700;
}
@media (max-width: 860px) {
  .product-layout { grid-template-columns: 1fr; gap: 30px; padding: 28px 0 52px; }
  .product-gallery { position: static; }
}

.breadcrumb { font-size: .85rem; color: var(--ink-faint); padding: 18px 0 0; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-deep); }

/* ---------- Page header ---------- */
.page-head {
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  padding: 56px 0;
}
.page-head h1 { margin: 0; }
.page-head p { color: var(--ink-soft); margin: .5em 0 0; }

/* ---------- Prose (policies) ---------- */
.prose { padding: 56px 0 80px; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 1.8em; font-family: var(--font); font-weight: 700; }
.prose ul { padding-left: 1.2em; margin: 0 0 1rem; }
.prose li { margin-bottom: .4em; }
.prose .meta {
  border-top: 1px solid var(--line);
  margin-top: 2.6em;
  padding-top: 1.4em;
  color: var(--ink-soft);
  font-size: .93rem;
}
.callout {
  background: var(--sand);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 0 0 2em;
}
.callout p:last-child { margin: 0; }

/* ---------- Feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 800px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.feature h3 { margin-bottom: .35em; }
.feature p { color: var(--ink-soft); margin: 0; font-size: .94rem; }
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--accent-wash);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  margin-bottom: 14px;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 34px; } }
.contact-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .feature-icon { margin: 0; flex: none; }
.contact-item strong { display: block; font-size: .84rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); }
.contact-item a { color: var(--ink); text-decoration: none; }
.contact-item a:hover { color: var(--accent-deep); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink-soft);
}
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  font-size: .95rem;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(154, 95, 44, .12);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.notice {
  border-radius: 8px;
  padding: 13px 16px;
  font-size: .92rem;
  margin-bottom: 18px;
}
.notice--ok { background: #eef6f1; border: 1px solid #cfe5da; color: var(--ok); }
.notice--info { background: var(--sand); border: 1px solid var(--line); color: var(--ink-soft); }
.hidden { display: none !important; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; gap: 28px; } }

.cart-row {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cart-row img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; background: var(--sand); }
.cart-row .name { font-weight: 600; font-size: .97rem; text-decoration: none; color: var(--ink); }
.cart-row .name:hover { color: var(--accent-deep); }
.cart-row .unit { color: var(--ink-faint); font-size: .87rem; }
.cart-row .line-total { font-weight: 700; text-align: right; white-space: nowrap; }
.link-btn {
  background: none;
  border: 0;
  color: var(--ink-faint);
  font-size: .84rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  font-family: var(--font);
}
.link-btn:hover { color: #b3261e; }
.cart-row .qty { transform: scale(.88); transform-origin: left center; margin-top: 6px; }
@media (max-width: 560px) {
  .cart-row { grid-template-columns: 64px 1fr; }
  .cart-row img { width: 64px; height: 64px; }
  .cart-row .line-total { grid-column: 2; text-align: left; }
}

.summary {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  position: sticky;
  top: 100px;
}
.summary h3 { margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: .94rem; color: var(--ink-soft); }
.sum-row.total {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 16px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}
@media (max-width: 900px) { .summary { position: static; } }

.empty-state { text-align: center; padding: 70px 20px; }
.empty-state p { color: var(--ink-soft); }

/* ---------- Checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .checkout-layout { grid-template-columns: 1fr; gap: 28px; } }
.mini-row { display: flex; gap: 12px; padding: 11px 0; align-items: center; font-size: .9rem; }
.mini-row img { width: 46px; height: 46px; border-radius: 6px; object-fit: cover; background: var(--sand-deep); }
.mini-row .mini-name { flex: 1; line-height: 1.35; }
.mini-row .mini-qty { color: var(--ink-faint); }
.pay-methods { display: flex; gap: 10px; align-items: center; margin-top: 6px; }
.pay-methods img { height: 26px; width: auto; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.fieldset-title {
  font-family: var(--font);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-faint);
  font-weight: 700;
  margin: 30px 0 14px;
}
.fieldset-title:first-child { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0a2630;
  color: #9fb2c0;
  padding: 62px 0 30px;
  font-size: .91rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 36px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: #fff;
  font-family: var(--font);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #9fb2c0; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 12px;
  display: block;
  text-decoration: none;
}
.footer-legal {
  border-top: 1px solid #1e3a4d;
  margin-top: 44px;
  padding-top: 24px;
  color: #6e8496;
  font-size: .82rem;
  line-height: 1.7;
}
.footer-legal p { margin: 0 0 .6em; }
