/* ════════════════════════════════════════════════════════
   ALEEVA — Shared Stylesheet
   ════════════════════════════════════════════════════════ */

:root {
  /* Colour palette — matched to denelogan.com reference */
  --taupe:       #857B6C;   /* hero right, header bg, testimonial sections  */
  --taupe-dark:  #6E6559;   /* darker taupe for hover states                */
  --cream-bg:    #EDE8DE;   /* about / welcome section background           */
  --dark-bg:     #302C24;   /* kind words & testimonial-2 background        */
  --cream-text:  #e8d6c1;   /* light text on taupe / dark backgrounds       */
  --cream-muted: #ffe7cc;
  --text-dark:   #2A2318;   /* primary text on light backgrounds            */
  --text-muted:  #6B5C4D;   /* secondary text on light backgrounds          */
  --border-light: rgba(242,237,228,0.25);
  --border-dark:  rgba(42,35,24,0.15);
  --gold:        #A08B6A;   /* accent color                                 */

  /* Typography */
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Jost', system-ui, sans-serif;

  /* Layout */
  --header-h:   109px;
  --max-w:      1280px;
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--cream-bg);
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; }

/* ─── Framer-style reveal animations ─────────────────── */
[data-anim] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity  1s var(--ease),
    transform 1s var(--ease);
}
[data-anim].in { opacity: 1; transform: translateY(0); }
[data-anim][data-d="1"] { transition-delay: 0.10s; }
[data-anim][data-d="2"] { transition-delay: 0.20s; }
[data-anim][data-d="3"] { transition-delay: 0.30s; }
[data-anim][data-d="4"] { transition-delay: 0.40s; }
[data-anim][data-d="5"] { transition-delay: 0.50s; }

/* ─── Shared button styles ────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 36px;
  border: 1px solid currentColor;
  background: transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  cursor: pointer;
}
.btn--light {
  color: var(--cream-text);
  border-color: var(--cream-text);
}
.btn--light:hover {
  background: var(--cream-text);
  color: var(--text-dark);
}
.btn--dark {
  color: var(--text-dark);
  border-color: var(--text-dark);
}
.btn--dark:hover {
  background: var(--text-dark);
  color: var(--cream-text);
}

/* ══════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 300;
  /* Start fully transparent */
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3vw;
  transition: background 0.4s ease;
}

/* On scroll → semi-transparent blurred taupe */
.site-header.scrolled {
  background: rgba(133, 123, 108, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* Logo: white always (visible on both transparent & taupe) */
.header__logo img {
  height: 82px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

/* Nav sits on the right (logo is left, nav+contact fill right) */
.header__nav {
  margin-left: auto;  /* push nav to the right */
}

.header__nav ul {
  display: flex;
  list-style: none;
  gap: 2.2rem;
}
.header__nav a {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: capitalize;
  color: var(--cream-text);
  transition: opacity 0.2s;
}
.header__nav a:hover { opacity: 0.55; }

.header__contact {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-text);
  border: 1px solid var(--dark-bg);
  background: var(--dark-bg);
  padding: 11px 26px;
  margin-left: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.25s, border-color 0.25s;
}
.header__contact:hover {
  background: #2C3D2E;
  border-color: #2C3D2E;
}

/* Hamburger */
.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.header__toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--cream-text);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.header__toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.header__toggle.open span:nth-child(2) { opacity: 0; }
.header__toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer — full-screen overlay */
.header__drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(133, 123, 108, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 299;
  padding: 0 8vw;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.header__drawer.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.header__drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}
.header__drawer ul li {
  border-bottom: 1px solid rgba(232, 214, 193, 0.15);
}
.header__drawer ul li:first-child {
  border-top: 1px solid rgba(232, 214, 193, 0.15);
}
.header__drawer a {
  font-family: var(--font-serif);
  font-size: clamp(32px, 8vw, 52px);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--cream-text);
  display: block;
  padding: 20px 0;
  transition: opacity 0.2s;
}
.header__drawer a:hover { opacity: 0.55; }
.header__drawer .btn--light {
  margin-top: 48px;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  padding: 14px 32px;
  width: auto;
  align-self: flex-start;
}

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 80px 6vw 48px;
  color: var(--cream-text);
  text-align: center;
}

/* Blurred photo layer */
.footer__bg-img {
  position: absolute;
  inset: -30px;          /* oversized to hide blur edges */
  background: url('../aleeva-foto2.jpg') center / cover no-repeat;
  filter: blur(22px);
  transform: scale(1.05);
  z-index: 0;
}

/* Warm overlay on top of the blur */
.footer__bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(48, 44, 36, 0.52);
  z-index: 1;
}

/* ── Three-column grid ── */
.footer__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  max-width: var(--max-w);
  margin: 0 auto 56px;
}

/* ── Side nav columns ── */
.footer__nav-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer__nav-col--left { align-items: flex-end; }
.footer__nav-col--right { align-items: flex-start; }

.footer__nav-col a {
  font-family: var(--font-serif);
  font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(232, 214, 193, 0.75);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(232, 214, 193, 0.3);
  transition: color 0.25s, text-decoration-color 0.25s;
}
.footer__nav-col a:hover {
  color: var(--cream-text);
  text-decoration-color: rgba(232, 214, 193, 0.7);
}

/* ── Centre logo ── */
.footer__center {
  display: flex;
  justify-content: center;
}
.footer__logo-link { display: block; line-height: 0; }
.footer__logo-img {
  height: 120px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

/* ── Bottom bar ── */
.footer__bottom {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border-top: 1px solid rgba(232, 214, 193, 0.15);
  padding-top: 36px;
}

.footer__socials {
  display: flex;
  justify-content: center;
  gap: 24px;
}
.footer__socials a {
  color: rgba(232, 214, 193, 0.65);
  line-height: 0;
  transition: color 0.2s, transform 0.2s;
}
.footer__socials a:hover {
  color: var(--cream-text);
  transform: translateY(-2px);
}

.footer__copy {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(232, 214, 193, 0.3);
}

/* ── Mobile ── */
@media (max-width: 640px) {
  .footer__grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 32px;
  }
  .footer__nav-col--left,
  .footer__nav-col--right { align-items: center; }
  .footer__logo-img { height: 90px; }
}

/* ─── Responsive: hide/show ──────────────────────────── */
@media (max-width: 768px) {
  .header__nav,
  .header__contact { display: none; }
  .header__toggle { display: flex; }
  .header__drawer { display: flex; }
}
