/* ============================================================
   AMULYTO HOLIDAYS — shared site stylesheet
   Used by all pages (stays, cruises, yachts, scuba, detail, etc.)
   Home page has its own inline styles.
   ============================================================ */

:root {
  --cream:        #f5f0e6;
  --cream-soft:   #faf6ed;
  --cream-deep:   #ede5d2;
  --paper:        #fffcf6;
  --espresso:     #1a1410;
  --espresso-2:   #2c2520;
  --taupe:        #6b6157;
  --taupe-soft:   #9b9189;
  --gold:         #b8954a;
  --gold-light:   #d4b46a;
  --gold-deep:    #8a6e34;
  --hairline:     #e2d8c4;
  --shadow-lux:   0 30px 80px -30px rgba(26, 20, 16, 0.35);
  --serif: 'Cormorant Garamond', 'Garamond', 'Times New Roman', serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--espresso);
  background: var(--cream);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; outline: none; }

.container        { max-width: 1440px; margin: 0 auto; padding: 0 48px; }
.container-narrow { max-width: 1100px; margin: 0 auto; padding: 0 48px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--gold); }

.h-display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--espresso);
}
.h-display em { font-style: italic; font-weight: 400; color: var(--gold-deep); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 32px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--espresso);
  background: transparent;
  border: 1px solid var(--espresso);
  transition: all .35s cubic-bezier(.2,.7,.3,1);
  cursor: pointer;
}
.btn:hover { background: var(--espresso); color: var(--cream); }
.btn-light { color: var(--cream); border-color: rgba(245, 240, 230, 0.65); }
.btn-light:hover { background: var(--cream); color: var(--espresso); border-color: var(--cream); }
.btn-gold { color: var(--gold); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold); color: var(--paper); }
.btn-solid {
  background: var(--espresso);
  color: var(--cream);
  border-color: var(--espresso);
}
.btn-solid:hover { background: var(--gold-deep); border-color: var(--gold-deep); }

.btn .arrow { width: 22px; height: 1px; background: currentColor; position: relative; transition: width .35s ease; }
.btn .arrow::after {
  content: ''; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .arrow { width: 32px; }

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 24px 48px;
  display: flex; align-items: center; justify-content: space-between;
  transition: all .4s ease;
  background: rgba(245, 240, 230, 0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--hairline);
}
.nav.transparent {
  background: transparent;
  border-bottom: 1px solid transparent;
}
.nav-logo { width: 110px; transition: width .4s ease; }
.nav.transparent .nav-logo { filter: drop-shadow(0 0 24px rgba(0,0,0,0.4)); }
.nav-links {
  display: flex; gap: 42px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--espresso);
  transition: color .4s ease;
}
.nav.transparent .nav-links { color: var(--cream); }
.nav-links a { position: relative; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: currentColor;
  transition: width .35s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-right {
  display: flex; align-items: center; gap: 24px;
  font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  color: var(--espresso);
  transition: color .4s ease;
}
.nav.transparent .nav-right { color: var(--cream); }
.nav-lang { display: flex; align-items: center; gap: 6px; opacity: 0.85; }
.nav-lang svg { width: 14px; height: 14px; }
.nav-concierge {
  padding: 11px 22px;
  border: 1px solid currentColor;
  transition: all .35s ease;
}
.nav-concierge:hover { background: var(--espresso); color: var(--cream); }
.nav.transparent .nav-concierge:hover { background: var(--cream); color: var(--espresso); }

/* ===== Page header (non-home pages) ===== */
.page-header {
  padding: 200px 0 90px;
  text-align: center;
  background: var(--cream);
  border-bottom: 1px solid var(--hairline);
}
.page-header .eyebrow { justify-content: center; margin-bottom: 26px; }
.page-header .eyebrow::before { display: none; }
.page-header h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6.5vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.015em;
  margin-bottom: 22px;
}
.page-header h1 em { font-style: italic; color: var(--gold-deep); }
.page-header .lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--taupe);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ===== Filters bar ===== */
.filter-bar {
  background: var(--cream-soft);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 24px 0;
  position: sticky;
  top: 74px;
  z-index: 50;
}
.filter-row {
  display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
  justify-content: space-between;
}
.filter-group { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.filter-select, .filter-input {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--espresso);
  padding: 10px 14px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  min-width: 160px;
  cursor: pointer;
  transition: border-color .25s;
}
.filter-select:focus, .filter-input:focus { border-color: var(--gold); }
.filter-count {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--taupe);
}

/* ===== Listing grid ===== */
.listing-wrap { padding: 80px 0 160px; }
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 32px;
}
.item-card { cursor: pointer; display: block; }
.item-img {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  background-color: var(--cream-deep);
  margin-bottom: 22px;
  overflow: hidden;
  position: relative;
}
.item-img-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 1.4s cubic-bezier(.2,.7,.3,1);
}
.item-card:hover .item-img-bg { transform: scale(1.06); }
.item-badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  padding: 6px 12px;
  background: var(--paper);
  color: var(--espresso);
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase; font-weight: 500;
}
.item-badge.gold { background: var(--gold); color: var(--paper); }
.item-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-deep);
  margin-bottom: 10px;
}
.item-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 8px;
  color: var(--espresso);
}
.item-desc {
  font-size: 13px; color: var(--taupe); margin-bottom: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.item-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 14px; border-top: 1px solid var(--hairline);
}
.item-price {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--espresso);
}
.item-price small {
  font-family: var(--sans); font-style: normal;
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--taupe); margin-left: 6px;
}
.item-rating {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-deep);
}

/* Empty state */
.empty {
  text-align: center; padding: 120px 40px; color: var(--taupe);
}
.empty h3 { font-family: var(--serif); font-size: 32px; margin-bottom: 12px; color: var(--espresso); }

/* ===== Footer ===== */
.footer {
  background: var(--espresso);
  color: var(--cream);
  padding: 100px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 70px;
}
.footer-brand .footer-logo { width: 200px; margin-bottom: 24px; filter: brightness(1.05); }
.footer-brand p {
  font-size: 13px;
  color: rgba(245, 240, 230, 0.6);
  line-height: 1.7;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 22px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  font-size: 13px;
  color: rgba(245, 240, 230, 0.7);
  transition: color .25s ease;
}
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(245, 240, 230, 0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: rgba(245, 240, 230, 0.45);
  text-transform: uppercase;
}
.footer-langs { display: flex; gap: 18px; }
.footer-langs a { color: rgba(245, 240, 230, 0.5); cursor: pointer; }
.footer-langs a:hover,
.footer-langs a.active { color: var(--gold-light); }

/* ===== Scroll-reveal animations ===== */
[data-anim] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.1s cubic-bezier(.2,.7,.3,1), transform 1.1s cubic-bezier(.2,.7,.3,1);
  will-change: opacity, transform;
}
[data-anim="fade"]  { transform: translateY(0); }
[data-anim="left"]  { transform: translateX(-40px); }
[data-anim="right"] { transform: translateX(40px); }
[data-anim="zoom"]  { transform: scale(0.96); }
[data-anim].in {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}
[data-anim][data-delay="1"].in { transition-delay: .08s; }
[data-anim][data-delay="2"].in { transition-delay: .16s; }
[data-anim][data-delay="3"].in { transition-delay: .24s; }
[data-anim][data-delay="4"].in { transition-delay: .32s; }
[data-anim][data-delay="5"].in { transition-delay: .40s; }
[data-anim][data-delay="6"].in { transition-delay: .48s; }

/* ===== Toast ===== */
.toast {
  position: fixed; bottom: 30px; right: 30px;
  padding: 16px 26px;
  background: var(--espresso);
  color: var(--cream);
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  box-shadow: var(--shadow-lux);
  transform: translateX(120%);
  transition: transform .4s cubic-bezier(.2,.7,.3,1);
  z-index: 1000;
}
.toast.show { transform: translateX(0); }
.toast.error { background: #8b2820; }

/* ===== Mobile ===== */
@media (max-width: 1080px) {
  .container, .container-narrow { padding: 0 28px; }
  .nav { padding: 18px 28px; }
  .nav-links, .nav-right { display: none; }
  .listing-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .filter-bar { position: static; }
  .filter-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .listing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-header { padding: 140px 0 60px; }
}
