/* =============================================
   HIDEAWAYS NAMIBIA — Homepage Stylesheet
   WordPress embed: enqueue this file
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sand: #C8A97E;
  --sand-light: #E8D9C4;
  --sand-pale: #F5EDE0;
  --night: #0D0C0A;
  --night-mid: #1A1813;
  --night-deep: #141210;
  --dusk: #2C2519;
  --ember: #C4622A;
  --ember-light: #D9845A;
  --text-muted: #8A7E6E;
  --text-pale: #B8A990;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--night); color: var(--sand-light); font-family: var(--sans); font-weight: 300; overflow-x: hidden; }

/* ── NAV ── */
.hn-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 3rem;
  background: linear-gradient(to bottom, rgba(13,12,10,0.95) 0%, transparent 100%);
  transition: background 0.4s;
}
.hn-nav.scrolled { background: rgba(13,12,10,0.98); backdrop-filter: blur(12px); }
.hn-logo {
  font-family: var(--serif); font-size: 1.35rem; font-weight: 300; letter-spacing: 0.08em;
  color: var(--sand); text-decoration: none;
  display: flex; flex-direction: column; line-height: 1.1;
}
.hn-logo span { font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-pale); font-family: var(--sans); font-weight: 300; }
.hn-nav-links { display: flex; gap: 2.5rem; list-style: none; }
.hn-nav-links a { color: var(--sand-light); text-decoration: none; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 300; transition: color 0.3s; }
.hn-nav-links a:hover { color: var(--sand); }
.hn-nav-cta {
  background: transparent; border: 1px solid var(--sand); color: var(--sand);
  padding: 0.5rem 1.4rem; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  cursor: pointer; font-family: var(--sans); font-weight: 300; transition: all 0.3s; text-decoration: none;
}
.hn-nav-cta:hover { background: var(--sand); color: var(--night); }

/* ── HERO ── */
.hn-hero {
  height: 100vh; position: relative; display: flex; align-items: flex-end;
  padding: 0 3rem 5rem; background: var(--night-deep); overflow: hidden;
}
.hn-hero-bg {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(200,169,126,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(196,98,42,0.04) 0%, transparent 50%),
    linear-gradient(to bottom, rgba(13,12,10,0.2) 0%, rgba(13,12,10,0.0) 40%, rgba(13,12,10,0.7) 80%, rgba(13,12,10,1) 100%);
}
.hn-stars {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    radial-gradient(1px 1px at 10% 15%, rgba(232,217,196,0.9) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 25% 8%, rgba(232,217,196,0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 45% 20%, rgba(200,169,126,0.8) 0%, transparent 100%),
    radial-gradient(1px 1px at 62% 5%, rgba(232,217,196,0.9) 0%, transparent 100%),
    radial-gradient(2px 2px at 78% 18%, rgba(200,169,126,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 88% 12%, rgba(232,217,196,0.8) 0%, transparent 100%),
    radial-gradient(1px 1px at 15% 35%, rgba(200,169,126,0.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 35% 28%, rgba(232,217,196,0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 32%, rgba(200,169,126,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 72% 40%, rgba(232,217,196,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 92% 30%, rgba(200,169,126,0.8) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 5% 50%, rgba(232,217,196,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 20% 55%, rgba(200,169,126,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 48%, rgba(232,217,196,0.7) 0%, transparent 100%),
    radial-gradient(2px 2px at 58% 52%, rgba(200,169,126,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 75% 45%, rgba(232,217,196,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 95% 58%, rgba(200,169,126,0.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 3% 68%, rgba(232,217,196,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 18% 72%, rgba(200,169,126,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 38% 65%, rgba(232,217,196,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 70%, rgba(200,169,126,0.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 82% 62%, rgba(232,217,196,0.7) 0%, transparent 100%);
}
.hn-hero-image {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('https://www.hideawaysnamibia.com/wp-content/uploads/yootheme/cache/46/TreeDarkSky3-1-scaled-46593cfdd995d422f749298f34346ce4.jpg');
  background-size: cover; background-position: center;
  opacity: 0.55;
}
.hn-silhouette { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; }
.hn-hero-content { position: relative; z-index: 3; max-width: 700px; }
.hn-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ember-light); font-family: var(--sans); font-weight: 300; margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.hn-eyebrow::before { content: ''; display: block; width: 2rem; height: 1px; background: var(--ember-light); }
.hn-hero h1 {
  font-family: var(--serif); font-size: clamp(3.5rem, 7vw, 6.5rem); font-weight: 300;
  line-height: 0.95; color: var(--sand-light); margin-bottom: 1.5rem; letter-spacing: -0.01em;
}
.hn-hero h1 em { font-style: italic; color: var(--sand); }
.hn-hero-sub {
  font-size: 0.9rem; line-height: 1.8; color: var(--text-pale); max-width: 420px;
  margin-bottom: 2.5rem; font-weight: 300;
}
.hn-hero-actions { display: flex; align-items: center; gap: 2rem; }
.hn-btn-primary {
  background: var(--ember); color: var(--sand-pale); border: none;
  padding: 0.9rem 2.2rem; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  cursor: pointer; font-family: var(--sans); font-weight: 400; transition: all 0.3s;
  text-decoration: none; display: inline-block;
}
.hn-btn-primary:hover { background: var(--ember-light); color: var(--night); }
.hn-btn-ghost {
  color: var(--text-pale); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  text-decoration: none; font-weight: 300; transition: color 0.3s;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.hn-btn-ghost::after { content: '→'; font-size: 1rem; }
.hn-btn-ghost:hover { color: var(--sand); }
.hn-scroll-hint {
  position: absolute; bottom: 2rem; right: 3rem; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.hn-scroll-hint span { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); writing-mode: vertical-rl; }
.hn-scroll-line { width: 1px; height: 4rem; background: linear-gradient(to bottom, var(--text-muted), transparent); }

/* ── SECTION LABEL ── */
.hn-section-label {
  font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ember-light); margin-bottom: 1rem; font-family: var(--sans); font-weight: 300;
  display: block;
}

/* ── INTRO ── */
.hn-intro {
  padding: 7rem 3rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  max-width: 1200px; margin: 0 auto;
}
.hn-intro-text h2 {
  font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.8rem); font-weight: 300;
  line-height: 1.1; color: var(--sand-light); margin-bottom: 1.5rem;
}
.hn-intro-text h2 em { font-style: italic; color: var(--sand); }
.hn-intro-text p { font-size: 0.95rem; line-height: 1.9; color: var(--text-pale); margin-bottom: 1.2rem; }
.hn-intro-quote {
  border-left: 1px solid var(--ember); padding-left: 1.5rem; margin-top: 2rem;
  font-family: var(--serif); font-size: 1.1rem; font-style: italic; color: var(--sand); line-height: 1.5;
}
.hn-intro-visual {
  position: relative; aspect-ratio: 3/4; overflow: hidden;
}
.hn-intro-visual img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.8s ease;
}
.hn-intro-visual:hover img { transform: scale(1.03); }
.hn-visual-tag {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-pale); font-family: var(--sans);
  background: rgba(13,12,10,0.6); padding: 0.3rem 0.6rem;
}

/* ── PILLARS ── */
.hn-pillars { padding: 6rem 3rem; background: var(--night-mid); }
.hn-pillars-header { text-align: center; max-width: 600px; margin: 0 auto 4rem; }
.hn-pillars-header h2 {
  font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300;
  color: var(--sand-light); line-height: 1.2;
}
.hn-pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.hn-pillar {
  position: relative; overflow: hidden; cursor: default;
  border: 1px solid rgba(200,169,126,0.08);
  transition: border-color 0.4s;
}
.hn-pillar:hover { border-color: rgba(200,169,126,0.2); }
.hn-pillar-img {
  width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block;
  filter: brightness(0.5) saturate(0.7);
  transition: filter 0.5s, transform 0.6s;
}
.hn-pillar:hover .hn-pillar-img { filter: brightness(0.65) saturate(0.9); transform: scale(1.04); }
.hn-pillar-body {
  padding: 1.8rem 1.6rem 2rem;
  background: var(--night-mid);
}
.hn-pillar-icon {
  width: 40px; height: 40px; margin-bottom: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.hn-pillar-icon svg { width: 100%; height: 100%; }
.hn-pillar h3 {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 300;
  color: var(--sand); margin-bottom: 0.7rem; line-height: 1.2;
}
.hn-pillar p { font-size: 0.82rem; line-height: 1.8; color: var(--text-muted); }

/* ── PROPERTIES ── */
.hn-properties { padding: 7rem 3rem; }
.hn-properties-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 3rem; }
.hn-properties-header h2 {
  font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 300;
  color: var(--sand-light); line-height: 1.1;
}
.hn-properties-header h2 em { font-style: italic; color: var(--sand); }
.hn-view-all {
  color: var(--text-pale); font-size: 0.75rem; letter-spacing: 0.15em;
  text-transform: uppercase; text-decoration: none; transition: color 0.3s;
}
.hn-view-all:hover { color: var(--sand); }
.hn-property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.hn-property-card { position: relative; overflow: hidden; cursor: pointer; }
.hn-property-card:first-child { grid-row: span 2; }
.hn-prop-img-wrap { width: 100%; aspect-ratio: 4/3; position: relative; overflow: hidden; }
.hn-property-card:first-child .hn-prop-img-wrap { aspect-ratio: unset; height: 100%; }
.hn-prop-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
.hn-property-card:hover .hn-prop-img-wrap img { transform: scale(1.05); }
.hn-prop-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,12,10,0.88) 0%, transparent 55%); z-index: 1; }
.hn-prop-label { position: absolute; bottom: 1.2rem; left: 1.2rem; z-index: 2; }
.hn-prop-type { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ember-light); margin-bottom: 0.3rem; }
.hn-prop-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 300; color: var(--sand-light); line-height: 1.1; }
.hn-prop-arrow {
  position: absolute; top: 1.2rem; right: 1.2rem; z-index: 2;
  width: 2rem; height: 2rem; border: 1px solid rgba(232,217,196,0.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--sand-light); font-size: 0.9rem; opacity: 0; transition: opacity 0.3s;
  text-decoration: none;
}
.hn-property-card:hover .hn-prop-arrow { opacity: 1; }

/* ── ECOSAFARIS ── */
.hn-ecosafaris {
  padding: 7rem 3rem; background: var(--night-mid);
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.hn-ecosafaris h2 {
  font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 300;
  color: var(--sand-light); line-height: 1.1; margin-bottom: 1.5rem;
}
.hn-ecosafaris h2 em { font-style: italic; color: var(--sand); }
.hn-ecosafaris p { font-size: 0.9rem; line-height: 1.9; color: var(--text-muted); margin-bottom: 1.5rem; }
.hn-eco-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; aspect-ratio: 1; }
.hn-eco-tile { overflow: hidden; }
.hn-eco-tile:first-child { grid-row: span 2; }
.hn-eco-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; filter: brightness(0.75) saturate(0.85); }
.hn-eco-tile:hover img { transform: scale(1.04); filter: brightness(0.9) saturate(1); }

/* ── TESTIMONIAL ── */
.hn-testimonial { padding: 8rem 3rem; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hn-quote-mark { font-family: var(--serif); font-size: 6rem; color: var(--dusk); line-height: 0.5; margin-bottom: 2rem; user-select: none; }
.hn-testimonial blockquote {
  font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 300;
  font-style: italic; color: var(--sand-light); max-width: 800px; line-height: 1.4; margin-bottom: 2rem;
}
.hn-testimonial cite { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); font-style: normal; }
.hn-tdots { display: flex; gap: 0.5rem; margin-top: 2rem; }
.hn-tdot { width: 4px; height: 4px; border-radius: 50%; background: var(--dusk); transition: background 0.3s; cursor: pointer; }
.hn-tdot.active { background: var(--ember); }

/* ── CTA ── */
.hn-cta {
  padding: 7rem 3rem; background: var(--dusk);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.hn-cta h2 {
  font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 300;
  color: var(--sand-light); line-height: 1; margin-bottom: 1rem;
}
.hn-cta h2 em { font-style: italic; color: var(--sand); }
.hn-cta-sub { font-size: 0.85rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 2rem; }
.hn-cta-form { display: flex; flex-direction: column; gap: 1rem; }
.hn-cta-form input,
.hn-cta-form select {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(200,169,126,0.2);
  color: var(--sand-light); padding: 0.9rem 1rem; font-family: var(--sans); font-size: 0.85rem;
  font-weight: 300; outline: none; transition: border-color 0.3s; width: 100%;
}
.hn-cta-form input:focus,
.hn-cta-form select:focus { border-color: rgba(200,169,126,0.6); }
.hn-cta-form input::placeholder { color: var(--text-muted); }
.hn-cta-form select { appearance: none; cursor: pointer; color: var(--text-muted); }
.hn-cta-form select option { background: var(--night-mid); color: var(--sand-light); }
.hn-cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hn-cta-right {
  display: flex; flex-direction: column; justify-content: flex-start; padding-left: 2rem;
  border-left: 1px solid rgba(200,169,126,0.15); padding-top: 1rem;
}
.hn-cta-info { margin-bottom: 2rem; }
.hn-cta-info .label { font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ember-light); margin-bottom: 0.4rem; display: block; }
.hn-cta-info p { font-family: var(--serif); font-size: 1rem; color: var(--sand-light); }

/* ── FOOTER ── */
.hn-footer {
  background: var(--night-deep); padding: 3rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  border-top: 1px solid rgba(200,169,126,0.1);
}
.hn-footer-brand .hn-logo { margin-bottom: 1rem; font-size: 1.2rem; }
.hn-footer-brand p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.7; max-width: 260px; }
.hn-footer-col h4 {
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ember-light); margin-bottom: 1.2rem; font-weight: 300;
}
.hn-footer-col a { display: block; color: var(--text-muted); text-decoration: none; font-size: 0.8rem; margin-bottom: 0.7rem; transition: color 0.3s; }
.hn-footer-col a:hover { color: var(--sand); }
.hn-footer-bottom {
  background: var(--night-deep); padding: 1.2rem 3rem;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(200,169,126,0.06);
}
.hn-footer-bottom p { font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.05em; }

/* ── ANIMATIONS ── */
@keyframes hn-fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hn-hero-content > * { opacity: 0; animation: hn-fadeUp 0.8s ease forwards; }
.hn-eyebrow       { animation-delay: 0.3s; }
.hn-hero h1       { animation-delay: 0.5s; }
.hn-hero-sub      { animation-delay: 0.7s; }
.hn-hero-actions  { animation-delay: 0.9s; }

/* fade-in on scroll (JS adds .hn-visible) */
.hn-fade { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.hn-fade.hn-visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hn-pillars-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hn-nav { padding: 1.2rem 1.5rem; }
  .hn-nav-links { display: none; }
  .hn-hero { padding: 0 1.5rem 4rem; }
  .hn-intro { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 1.5rem; }
  .hn-pillars { padding: 4rem 1.5rem; }
  .hn-pillars-grid { grid-template-columns: 1fr 1fr; }
  .hn-properties { padding: 5rem 1.5rem; }
  .hn-property-grid { grid-template-columns: 1fr 1fr; }
  .hn-property-card:first-child { grid-row: span 1; }
  .hn-ecosafaris { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 1.5rem; }
  .hn-testimonial { padding: 5rem 1.5rem; }
  .hn-cta { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 1.5rem; }
  .hn-cta-right { padding-left: 0; border-left: none; border-top: 1px solid rgba(200,169,126,0.15); padding-top: 2rem; }
  .hn-footer { grid-template-columns: 1fr 1fr; padding: 2rem 1.5rem; gap: 2rem; }
  .hn-footer-bottom { padding: 1rem 1.5rem; flex-direction: column; gap: 0.4rem; text-align: center; }
}
@media (max-width: 600px) {
  .hn-pillars-grid { grid-template-columns: 1fr; }
  .hn-property-grid { grid-template-columns: 1fr; }
  .hn-cta-row { grid-template-columns: 1fr; }
  .hn-footer { grid-template-columns: 1fr; }
  .hn-properties-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
