@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300&family=Jost:wght@300;400;500&display=swap');

:root {
  --gold: #C9A96E;
  --gold-light: #E8D5B0;
  --gold-dark: #9E7A3E;
  --black: #0A0A0A;
  --dark: #111111;
  --charcoal: #1E1E1E;
  --white: #FAFAF8;
  --off-white: #F2EFE9;
  --text-muted: #888880;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--white);
  color: var(--black);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── HEADER ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), backdrop-filter var(--transition);
}

header.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  text-decoration: none;
}

.logo span { color: var(--gold); }

nav { display: flex; align-items: center; gap: 2.5rem; }

nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  opacity: 0.85;
  transition: opacity var(--transition);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

nav a:hover { opacity: 1; }
nav a:hover::after { width: 100%; }

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('') center/cover no-repeat;
  background-color: var(--charcoal);
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero:hover .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.35) 50%,
    rgba(0,0,0,0.65) 100%
  );
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  padding: 0 2rem;
  max-width: 900px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s 0.3s forwards;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s 0.5s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  font-style: italic;
  opacity: 0;
  animation: fadeUp 1s 0.7s forwards;
  color: rgba(255,255,255,0.85);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: fadeIn 1s 1.2s both;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2s infinite;
}

/* ── SECTIONS ── */
.section {
  padding: 6rem 3rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--black);
}

/* ── BLOG GRID ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.blog-card {
  background: var(--white);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition);
  border: 1px solid rgba(0,0,0,0.06);
}

.blog-card:hover { transform: translateY(-6px); }

.card-image-wrap {
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}

.card-image-wrap img,
.card-image-wrap .card-img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}

.card-img-placeholder {
  background: linear-gradient(135deg, #e8e4dc, #d4cfc5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 2rem;
}

.blog-card:hover .card-image-wrap img { transform: scale(1.07); }

.card-region {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  color: var(--gold-light);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
}

.card-body {
  padding: 1.75rem;
}

.card-date {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: var(--black);
  transition: color var(--transition);
}

.blog-card:hover .card-title { color: var(--gold-dark); }

.card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 500;
  transition: gap var(--transition);
}

.card-link:hover { gap: 0.9rem; }

/* ── BLOG PAGE HERO ── */
.page-hero {
  height: 55vh;
  min-height: 380px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 3rem;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--charcoal) center/cover no-repeat;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.2));
}

.page-hero-content {
  position: relative;
  color: var(--white);
}

.page-hero-content .section-label { text-align: left; }

.page-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
}

/* ── BLOG DETAIL ── */
.post-hero {
  height: 75vh;
  position: relative;
  overflow: hidden;
}

.post-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--charcoal) center/cover no-repeat;
  transform: scale(1.05);
}

.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.7));
}

.post-hero-content {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--white);
  width: 90%;
  max-width: 800px;
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
}

.post-meta span { color: var(--gold); }

.post-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
}

.post-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.post-body h2, .post-body h3 {
  font-family: 'Playfair Display', serif;
  margin: 2.5rem 0 1rem;
  color: var(--black);
}

.post-body h2 { font-size: 1.8rem; }
.post-body h3 { font-size: 1.4rem; }

.post-body p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  color: #333;
  line-height: 1.85;
}

.post-body img {
  width: 100%;
  height: auto;
  margin: 2rem 0;
}

.post-body a { color: var(--gold-dark); }

/* ── GALLERY ── */
.gallery-section {
  padding: 3rem 2rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--black);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.gallery-item {
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

/* ── GOLD DIVIDER ── */
.gold-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  margin: 1.5rem auto;
}

.gold-divider.left { margin-left: 0; }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 4rem 3rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo { display: block; margin-bottom: 1rem; }

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  max-width: 280px;
}

.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }

.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}

.footer-ig {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.82rem;
  transition: opacity var(--transition);
}

.footer-ig:hover { opacity: 0.7; }

/* ── LOADING ── */
.loading-state {
  text-align: center;
  padding: 5rem 2rem;
  color: var(--text-muted);
}

.spinner {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(0,0,0,0.08);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}

/* ── EMPTY STATE ── */
.empty-state {
  text-align: center;
  padding: 6rem 2rem;
  color: var(--text-muted);
}

.empty-state h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--black);
  margin-bottom: 0.5rem;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  header { padding: 1.25rem 1.5rem; }

  .section { padding: 4rem 1.5rem; }

  .blog-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }

  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }

  .page-hero { padding: 2rem 1.5rem; }
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.94);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox-close:hover { opacity: 1; }

/* ── HAMBURGER MENU ────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  position: relative;
  z-index: 200;
  transition: border-color 0.3s ease;
  flex-shrink: 0;
}

.hamburger:hover { border-color: var(--gold); }

.hamburger .bar {
  width: 20px;
  height: 1px;
  background: var(--white);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: absolute;
}

.hamburger .bar:nth-child(1) { transform: translateY(-6px); }
.hamburger .bar:nth-child(2) { transform: translateY(0); }
.hamburger .bar:nth-child(3) { transform: translateY(6px); }

.hamburger.open .bar:nth-child(1) {
  transform: translateY(0) rotate(45deg);
  background: var(--gold);
}
.hamburger.open .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open .bar:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
  background: var(--gold);
}

/* Dropdown panel */
.nav-dropdown {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid rgba(201, 169, 110, 0.15);
  z-index: 150;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2.5rem;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

.nav-dropdown.open {
  transform: translateX(0);
  pointer-events: all;
}

.nav-dropdown-label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateX(16px);
  transition: all 0.4s ease 0.1s;
}

.nav-dropdown.open .nav-dropdown-label {
  opacity: 1;
  transform: translateX(0);
}

.nav-dropdown-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-dropdown-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.3s ease, padding-left 0.3s ease;
  opacity: 0;
  transform: translateX(24px);
}

.nav-dropdown.open .nav-dropdown-links a:nth-child(1) {
  opacity: 1; transform: translateX(0);
  transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s, color 0.3s, padding-left 0.3s;
}
.nav-dropdown.open .nav-dropdown-links a:nth-child(2) {
  opacity: 1; transform: translateX(0);
  transition: opacity 0.4s ease 0.22s, transform 0.4s ease 0.22s, color 0.3s, padding-left 0.3s;
}
.nav-dropdown.open .nav-dropdown-links a:nth-child(3) {
  opacity: 1; transform: translateX(0);
  transition: opacity 0.4s ease 0.29s, transform 0.4s ease 0.29s, color 0.3s, padding-left 0.3s;
}

.nav-dropdown-links a:hover {
  color: var(--gold);
  padding-left: 0.5rem;
}

.nav-dropdown-links a .nav-arrow {
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateX(-6px);
  color: var(--gold);
}

.nav-dropdown-links a:hover .nav-arrow {
  opacity: 1;
  transform: translateX(0);
}

.nav-dropdown-links a:last-child {
  border-bottom: none;
  font-size: 0.85rem;
  font-family: 'Jost', sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(201,169,110,0.15);
}

.nav-dropdown-links a:last-child:hover { color: var(--gold); }

.nav-dropdown-footer {
  margin-top: auto;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.4s ease 0.4s;
}

.nav-dropdown.open .nav-dropdown-footer { opacity: 1; }

/* Overlay behind dropdown */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 140;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* Show hamburger, hide desktop nav on mobile */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  nav { display: none !important; }
}

/* Also show hamburger on desktop — always visible */
@media (min-width: 769px) {
  .hamburger { display: flex; }
  nav { display: none !important; }
}
