/* ================================
   DONCAN WHITE — main.css
   ================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:   #b8956a;
  --goldlt: #d4b896;
  --dark:   #1a1814;
  --dark2:  #242220;
  --cream:  #f4f1ec;
  --beige:  #c9bfa8;
  --text:   #3a3530;
  --mid:    #6b6358;
  --white:  #ffffff;
  --fd: 'Cormorant Garamond', Georgia, serif;
  --fb: 'Montserrat', sans-serif;
  --nh: 80px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--fb);
  font-size: 15px;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

/* Every image is block, constrained to its container — never overflows */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ================================
   UTILITIES
   ================================ */
.wrap {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 48px;
  padding-right: 48px;
}
.tc { text-align: center; }

.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.eyebrow--light { color: var(--goldlt); }

h2 {
  font-family: var(--fd);
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 24px;
}
.h2--light { color: #fff; }

p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
  color: var(--mid);
  margin-bottom: 14px;
}
p em { font-style: italic; color: var(--gold); font-weight: 600; }
p:last-child { margin-bottom: 0; }

.section {
  padding: 100px 0;
}
.section--dark  { background: var(--dark); }
.section--cream { background: var(--cream); }

.btn {
  display: inline-block;
  font-family: var(--fb);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--dark);
  background: #fff;
  padding: 16px 38px;
  border-radius: 2px;
  transition: background .25s, color .25s, transform .2s;
}
.btn:hover { background: var(--gold); color: #fff; transform: translateY(-2px); }

.divider {
  width: 52px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 22px;
}

/* ================================
   HEADER / NAV
   ================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nh);
  background: #fff;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
#header.scrolled {
  border-color: #e8e2d9;
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 48px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  height: 58px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  transition: color .2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-btn {
  padding: 10px 22px;
  border: 2px solid var(--gold);
  border-radius: 2px;
  color: var(--gold) !important;
  transition: background .22s, color .22s !important;
}
.nav-btn:hover { background: var(--gold) !important; color: #fff !important; }

/* Hamburger */
.ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}
.ham span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .3s, opacity .2s;
  transform-origin: center;
}
.ham.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ham.is-open span:nth-child(2) { opacity: 0; }
.ham.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================
   MOBILE MENU
   ================================ */
.mob {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s;
}
.mob.is-open {
  opacity: 1;
  pointer-events: all;
}
.mob-close {
  position: absolute;
  top: 22px; right: 26px;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--mid);
  cursor: pointer;
  line-height: 1;
}
.mob-close:hover { color: var(--gold); }
.mob-link {
  display: block;
  width: 100%;
  text-align: center;
  padding: 20px;
  font-family: var(--fd);
  font-size: 32px;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  border-bottom: 1px solid #ede9e1;
  transition: color .2s, background .2s;
}
.mob-link:first-of-type { border-top: 1px solid #ede9e1; }
.mob-link:hover { color: var(--gold); background: var(--cream); }
.mob-link--gold { color: var(--gold) !important; }
.mob-foot {
  margin-top: 32px;
  text-align: center;
  color: var(--mid);
  font-size: 13px;
  line-height: 2;
}
.mob-foot img { height: 46px; width: auto; margin: 0 auto 10px; }

/* ================================
   HERO
   ================================ */
.hero {
  position: relative;
  /* Full viewport height */
  width: 100%;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Slides fill hero absolutely */
.hero-slides {
  position: absolute;
  inset: 0;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.slide--active { opacity: 1; }

/* Dark gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(20,18,14,.50);
}

/* Content sits above overlay */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  padding-top: var(--nh);
  max-width: 740px;
  width: 100%;
}
.hero-content h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--fd);
  font-size: clamp(60px, 10vw, 110px);
  font-weight: 700;
  line-height: .95;
  margin: 14px 0 12px;
}
.hero-content h1 em {
  font-style: normal;
  color: #fff;
}
.hero-content h1 em.gold {
  font-style: italic;
  color: var(--goldlt);
}
.hero-sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 22px !important;
}
.hero-desc {
  color: rgba(255,255,255,.82) !important;
  margin-bottom: 32px !important;
}

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .3s, transform .3s, border-color .3s;
}
.dot--on {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.3);
}

/* ================================
   ABOUT (two-col)
   ================================ */
.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* The image column: fixed height so image doesn't go full size */
.col-img {
  position: relative;
}
.col-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,.14);
  display: block;
}

.badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--gold);
  color: #fff;
  padding: 20px 26px;
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(0,0,0,.15);
}
.badge strong {
  display: block;
  font-family: var(--fd);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}
.badge span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: .9;
}

.stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid #e8e2d9;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-family: var(--fd);
  font-size: 30px;
  font-weight: 700;
  color: var(--dark);
}
.stat span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-top: 3px;
}
.stat-sep { width: 1px; height: 36px; background: var(--beige); }

/* ================================
   GALLERY
   ================================ */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* Each row is 230px — images are clipped to this */
  grid-auto-rows: 230px;
  gap: 8px;
  margin-top: 36px;
}
.g {
  overflow: hidden;
  border-radius: 3px;
  cursor: zoom-in;
  /* height determined by grid-auto-rows */
}
.g--tall { grid-row: span 2; }    /* 230*2 + 8gap = 468px */
.g--wide { grid-column: span 2; }

.g img {
  /* Must fill the grid cell completely */
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.g:hover img { transform: scale(1.06); }

/* ================================
   LEGACY / TIMELINE
   ================================ */
.timeline {
  position: relative;
  max-width: 780px;
  margin: 60px auto 0;
}
.tl-line {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--beige);
  transform: translateX(-50%);
}
.tl-row {
  display: flex;
  margin-bottom: 48px;
  position: relative;
}
.tl-row--l { justify-content: flex-start; }
.tl-row--r { justify-content: flex-end; }

.tl-dot {
  position: absolute;
  left: 50%; top: 20px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--beige);
  border: 3px solid var(--cream);
  transform: translate(-50%, -50%);
  z-index: 2;
}
.tl-row--active .tl-dot { background: var(--gold); }

.tl-card {
  width: calc(50% - 38px);
  background: #fff;
  padding: 24px 28px;
  border-radius: 4px;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  border-left: 3px solid #e8e2d9;
}
.tl-card--gold { border-left-color: var(--gold); }

.tl-when {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.tl-card h3 {
  font-family: var(--fd);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
}
.tl-role {
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: .13em !important;
  text-transform: uppercase !important;
  color: var(--mid) !important;
  margin-bottom: 10px !important;
}

/* ================================
   QUOTE
   ================================ */
.quote-mark {
  font-family: var(--fd);
  font-size: 100px;
  line-height: .5;
  color: var(--gold);
  opacity: .25;
  margin-bottom: 8px;
  user-select: none;
}
.quote-txt {
  font-family: var(--fd);
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 600;
  line-height: 1.6;
  color: rgba(255,255,255,.9) !important;
  max-width: 680px;
  margin: 0 auto 32px !important;
}
.quote-logo {
  height: 68px;
  width: auto;
  display: block;
  margin: 0 auto;
  opacity: .72;
}

/* ================================
   CONTACT
   ================================ */
.col-txt h2 { margin-bottom: 16px; }

.clist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
.citem {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1.5px solid #e8e2d9;
  border-radius: 4px;
  text-decoration: none;
  color: var(--text);
  transition: border-color .22s, box-shadow .22s, transform .2s;
}
.citem:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(0,0,0,.09);
  transform: translateX(4px);
}
.cicon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #f0ece4;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  transition: background .2s;
}
.citem:hover .cicon { background: #e0cdb5; }
.citem div { display: flex; flex-direction: column; gap: 1px; }
.citem b {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--mid);
  font-style: normal;
}
.citem span {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

/* ================================
   FOOTER
   ================================ */
.footer {
  background: var(--dark2);
  padding: 48px 0;
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-logo { height: 44px; width: auto; opacity: .68; }
.footer p {
  font-size: 12px;
  color: rgba(255,255,255,.28);
  margin: 0;
}
.footer-links { display: flex; gap: 22px; }
.footer-links a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--goldlt); }

/* ================================
   WHATSAPP FLOAT
   ================================ */
.wa {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(37,211,102,.42);
  text-decoration: none;
  transition: transform .25s;
}
.wa:hover { transform: scale(1.1) translateY(-3px); }
.wa-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: ring 2.4s ease-out infinite;
}
.wa svg { position: relative; z-index: 1; }
@keyframes ring {
  0%   { transform: scale(1); opacity: .6; }
  70%  { transform: scale(1.65); opacity: 0; }
  100% { transform: scale(1.65); opacity: 0; }
}

/* ================================
   LIGHTBOX
   ================================ */
.lb {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,.94);
  align-items: center;
  justify-content: center;
}
.lb.is-open { display: flex; }
.lb img {
  display: block;
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 3px;
}
#lb-x {
  position: absolute; top: 18px; right: 24px;
  font-size: 26px; color: rgba(255,255,255,.55);
  background: none; border: none; cursor: pointer;
  line-height: 1; transition: color .2s;
}
#lb-x:hover { color: #fff; }
#lb-p, #lb-n {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 52px; color: rgba(255,255,255,.4);
  background: none; border: none; cursor: pointer;
  line-height: 1; transition: color .2s; user-select: none;
}
#lb-p { left: 10px; }
#lb-n { right: 10px; }
#lb-p:hover, #lb-n:hover { color: #fff; }

/* ================================
   RESPONSIVE — TABLET ≤1024px
   ================================ */
@media (max-width: 1024px) {
  .wrap { padding-left: 32px; padding-right: 32px; }
  .nav-inner { padding: 0 32px; }
  .cols { grid-template-columns: 1fr; gap: 56px; }
  .col-img img { height: 380px; }
  .badge { right: 0; }
  .grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .g--wide { grid-column: span 2; }
}

/* ================================
   RESPONSIVE — MOBILE ≤768px
   ================================ */
@media (max-width: 768px) {
  :root { --nh: 66px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .nav-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .ham { display: flex; }

  .section { padding: 72px 0; }

  .hero-content { padding-top: calc(var(--nh) + 12px); }

  .col-img img { height: 280px; }
  .badge { right: 0; bottom: -18px; padding: 14px 18px; }
  .badge strong { font-size: 28px; }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
    gap: 6px;
  }
  .g--tall { grid-row: span 1; }
  .g--wide { grid-column: span 2; }

  .tl-line { left: 18px; }
  .tl-row--l,
  .tl-row--r { justify-content: flex-start; padding-left: 44px; }
  .tl-card { width: 100%; }
  .tl-dot { left: 18px; }

  .footer-inner { flex-direction: column; text-align: center; align-items: center; }
  .footer-links { justify-content: center; }

  .wa { bottom: 18px; right: 18px; width: 50px; height: 50px; }

  #lb-p { left: 4px; font-size: 38px; }
  #lb-n { right: 4px; font-size: 38px; }
}

@media (max-width: 420px) {
  .grid { grid-template-columns: 1fr; }
  .g--wide { grid-column: span 1; }
}
