/* Aurae Architects — Brand CSS */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@300;400&display=swap');

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background-color: #0A0A0A;
  color: #F5F2ED;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #0A0A0A; }
::-webkit-scrollbar-thumb { background: #B89A5A; border-radius: 2px; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2.25rem;
  background: #B89A5A;
  color: #0A0A0A;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary:hover { transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2.25rem;
  background: transparent;
  color: #F5F2ED;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(245,242,237,0.3);
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.btn-secondary:hover {
  border-color: #B89A5A;
  color: #B89A5A;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  background: transparent;
  color: #B89A5A;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: gap 0.3s ease, color 0.3s ease;
  position: relative;
}
.btn-ghost::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #B89A5A;
  transition: width 0.3s ease;
}
.btn-ghost:hover::after { width: 100%; }
.btn-ghost:hover { gap: 0.75rem; }

/* ── Form inputs ── */
.form-input {
  width: 100%;
  padding: 0.875rem 0;
  background: transparent;
  color: #F5F2ED;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  border: none;
  border-bottom: 1px solid rgba(245,242,237,0.2);
  outline: none;
  transition: border-color 0.3s ease;
}
.form-input::placeholder { color: rgba(245,242,237,0.35); font-size: 0.875rem; }
.form-input:focus { border-bottom-color: #B89A5A; }

/* ── Section label ── */
.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #B89A5A;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: #B89A5A;
}

/* ── Gold divider ── */
.gold-line {
  width: 3rem;
  height: 1px;
  background: linear-gradient(to right, #B89A5A, transparent);
}

/* ── Hover card ── */
.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(0.85);
}
.project-card:hover img { transform: scale(1.06); filter: brightness(0.7); }
.project-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.1) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: background 0.4s ease;
}
.project-card:hover .overlay {
  background: linear-gradient(to top, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.4) 60%, rgba(10,10,10,0.1) 100%);
}
.project-card .view-link {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.project-card:hover .view-link {
  opacity: 1;
  transform: translateY(0);
}

/* ── Stat counter ── */
.stat-item {
  border-left: 1px solid rgba(184,154,90,0.3);
  padding-left: 2rem;
}

/* ── Nav ── */
#nav-placeholder nav {
  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 0.4s ease, padding 0.4s ease;
}
#nav-placeholder nav.scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  padding: 1rem 3rem;
  border-bottom: 1px solid rgba(184,154,90,0.15);
}

/* ── Parallax hero ── */
.hero-bg {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* ── Animate on scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Cursor ── */
.custom-cursor {
  width: 10px;
  height: 10px;
  background: #B89A5A;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.2s ease, width 0.3s ease, height 0.3s ease;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(184,154,90,0.5);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.08s linear, width 0.3s ease, height 0.3s ease, opacity 0.3s;
  transform: translate(-50%, -50%);
}
