@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Lora:ital,wght@0,400;0,700;1,400&family=Cormorant+Garamond:wght@400;500;600&display=swap');

/* ------------------- */
/* Design tokens */
:root {
  --bg: #ffffff;
  --text: #1b1b1b;
  --muted: rgba(0,0,0,0.6);
  --brand: #2f5d62;
  --accent: #c7a17a;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --container: 1100px;
}

/* ------------------- */
/* Base styles */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; font-family: 'Inter', sans-serif; color: var(--text); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: var(--text); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
body.no-scroll { overflow: hidden; }

/* ------------------- */
/* Header and Navigation */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 50;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* Align top like Projects page */
  padding: 4px 0;
}

.header-left { flex: 0 0 auto; }
.site-logo { width: 120px; height: auto; cursor: pointer; }

/* Navigation */
.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  font-family: 'Playfair Display', serif;
}
.site-nav ul {
  display: flex;
  gap: 16px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: #fff;
  padding: 8px 12px;
  border-radius: 50px;
  font-weight: 500;
  display: inline-block;
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { width: 100%; }

.site-nav .btn-black {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border: 2px solid var(--accent);
  transition: all 0.3s ease;
}
.site-nav .btn-black:hover { background: #b48e66; border-color: #b48e66; }

/* Header right: social icons */
.header-right {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start; /* Move icons to top */
  gap: 16px;
  margin-top: 0;
  padding-top: 0;
}
.social-icon { width: 24px; height: 24px; margin-top: 0 !important; padding: 0 !important; }

/* ------------------- */
/* Mobile hamburger */
.nav-toggle {
  display: none;
  position: absolute;
  left: 50%;
  top: 36px;
  transform: translateX(-50%);
  width: 32px;
  height: 26px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 9999;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: 0.3s ease;
}
.nav-toggle span:nth-child(2) { margin: 6px 0; }
.nav-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ------------------- */
/* Mobile menu panel & overlay */
.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 70%;
  max-width: 320px;
  height: 100vh;
  background: #ffffff;
  padding: 100px 24px;
  box-shadow: -4px 0 25px rgba(0,0,0,0.25);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 999;
}
.mobile-menu-panel.open { transform: translateX(0); }
.mobile-menu-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.mobile-menu-panel a {
  font-size: 20px;
  font-weight: 600;
  color: #000;
}
.mobile-menu-panel .btn-black {
  display: block;
  background: black;
  color: white;
  padding: 12px;
  border-radius: 50px;
  text-align: center;
}
.mobile-menu-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
  z-index: 900;
}
.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ------------------- */
/* Hero Testimonials */
.hero-testimonials {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}
.hero-testimonials .hero-image {
  position: absolute;
  inset: 0;
  background: url("../images/birse.jpg") center/cover no-repeat;
  background-size: cover;
  z-index: -2;
}
.hero-testimonials .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: -1;
}

.hero-testimonials .hero-content {
  position: relative;
  max-width: 900px;
  padding: 120px 24px 60px;
}
.hero-testimonials .site-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 72px;
  font-weight: 500;
  margin-bottom: 40px;
  color: #fff;
}
.hero-testimonials .site-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  margin-bottom: 60px;
  color: rgba(255,255,255,0.85);
}

/* Testimonials Grid */
.quote-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  padding-bottom: 40px;
}
.quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: #fff;
  text-align: center;
  max-width: 1300px;
  margin: 0;
  position: relative;
  padding: 0;
  background: none;
  border: none;
}
.quote::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 16px auto 0;
  border-radius: 2px;
}
.quote span {
  display: block;
  font-family: 'Lora', serif;
  font-size: 18px;
  margin-top: 12px;
  color: rgba(255,255,255,0.85);
}

/* ------------------- */
/* Responsive */
@media (max-width: 1024px) {
  .hero-testimonials .site-title { font-size: 56px; }
  .quote { font-size: 26px; line-height: 1.5; max-width: 600px; }
}

@media (max-width: 768px) {
  .site-logo { width: 80px; height: auto; }
  .site-nav ul { display: none; }
  .nav-toggle { display: block; }
  .hero-testimonials .hero-content { padding: 80px 16px 40px; }
  .hero-testimonials .site-title { font-size: 48px; }
  .quote { font-size: 22px; line-height: 1.4; max-width: 90%; }
}

/* ------------------- */
/* Desktop nav fix */
@media (min-width: 769px) {
  .site-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .site-nav ul {
    justify-content: center;
  }
}
