/* ─── Reset & Base ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:          #0a0a0f;
  --surface:     #12121a;
  --border:      #1e1e2e;
  --accent:      #c9a96e;
  --accent-dim:  #a07d4f;
  --text:        #e8e8f0;
  --text-muted:  #7a7a9a;
  --font:        'Georgia', 'Times New Roman', serif;
  --font-sans:   system-ui, -apple-system, sans-serif;
  --transition:  0.3s ease;
  --max-width:   860px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.7;
  min-height: 100vh;
}

/* ─── Navigation ─── */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.nav-header.scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font);
  font-size: 1.15rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--accent);
}

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(201, 169, 110, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-title {
  font-family: var(--font);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text);
  line-height: 1.15;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 520px;
  letter-spacing: 0.02em;
}

.btn-primary {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.75rem 2.2rem;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--bg);
}

.hero-line {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: pulse-line 2s ease-in-out infinite;
}

@keyframes pulse-line {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* ─── Shared ─── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  font-family: var(--font);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 1rem;
}

.about-divider {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin-bottom: 1.8rem;
}

/* ─── About ─── */
.about {
  padding: 6rem 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  line-height: 1.85;
}

/* ─── Contact ─── */
.contact {
  padding: 6rem 2rem;
  text-align: center;
}

.contact-text {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.6rem;
}

.contact-email {
  display: inline-block;
  font-size: 1.1rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}

.contact-email:hover {
  border-bottom-color: var(--accent);
  color: var(--text);
}

/* ─── Footer ─── */
.footer {
  padding: 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer p {
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

/* ─── Fade-in animation ─── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 600px) {
  .nav-container {
    padding: 1rem 1.2rem;
  }

  .nav-links {
    gap: 1.4rem;
  }

  .about,
  .contact {
    padding: 4rem 1.2rem;
  }

  .hero {
    padding: 5rem 1.2rem 3rem;
  }
}
