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

/* =====================
   CSS VARIABLES
   ===================== */
:root {
  --color-bg: #fafaf8;
  --color-bg-white: #ffffff;
  --color-bg-warm: #f0ede6;
  --color-bg-dark: #1a1a1a;

  --color-text-primary: #1a1a1a;
  --color-text-secondary: #555555;
  --color-text-muted: #999999;

  --color-accent: #8B6F47;
  --color-accent-light: #f5f0e8;

  --color-border: rgba(0,0,0,0.1);
  --color-border-strong: rgba(0,0,0,0.2);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;

  --nav-height: 64px;
  --max-width: 1100px;
  --radius: 6px;
}

/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* =====================
   NAVBAR
   ===================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 0.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  z-index: 100;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.5px;
}

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

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-secondary);
  letter-spacing: 0.2px;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-text-primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-text-primary);
}

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

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  background: #f0efeb;
  border: none;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
  transition: background 0.2s;
}

.lang-toggle:hover {
  background: #e8e5de;
}

.lang-toggle .active-lang {
  color: var(--color-text-primary);
  font-weight: 600;
}

/* =====================
   PAGE WRAPPER
   ===================== */
.page-wrapper {
  padding-top: var(--nav-height);
  min-height: 100vh;
}

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.2px;
  border: none;
}

.btn-dark {
  background: var(--color-bg-dark);
  color: #fff;
}

.btn-dark:hover {
  background: #333;
}

.btn-outline {
  background: transparent;
  color: var(--color-text-primary);
  border: 0.5px solid var(--color-border-strong);
}

.btn-outline:hover {
  background: var(--color-bg-warm);
}

.btn-accent {
  background: var(--color-accent);
  color: #fff;
}

.btn-accent:hover {
  background: #7a6040;
}

/* =====================
   SECTION UTILITIES
   ===================== */
.section {
  padding: 5rem 2.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 600px;
}

/* =====================
   DIVIDER
   ===================== */
.human-divider {
  background: var(--color-bg-dark);
  padding: 3rem 2.5rem;
  text-align: center;
}

.human-divider .divider-quote {
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.75rem;
}

.human-divider .divider-sub {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: var(--color-bg-white);
  border-top: 0.5px solid var(--color-border);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer .footer-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-primary);
}

footer .footer-copy {
  font-size: 12px;
  color: var(--color-text-muted);
}

footer .footer-links {
  display: flex;
  gap: 1.5rem;
}

footer .footer-links a {
  font-size: 12px;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

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

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

.fade-up {
  animation: fadeUp 0.6s ease forwards;
}

.fade-up-1 { animation-delay: 0.1s; opacity: 0; }
.fade-up-2 { animation-delay: 0.25s; opacity: 0; }
.fade-up-3 { animation-delay: 0.4s; opacity: 0; }
.fade-up-4 { animation-delay: 0.55s; opacity: 0; }
.fade-up-5 { animation-delay: 0.7s; opacity: 0; }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 768px) {
  .navbar {
    padding: 0 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .section {
    padding: 3rem 1.5rem;
  }
}

/* =====================
   HAMBURGER MENU
   ===================== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(8px);
  border-bottom: 0.5px solid var(--color-border);
  padding: 1rem 2rem;
  z-index: 99;
  flex-direction: column;
  gap: 0;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text-secondary);
  text-decoration: none;
  padding: 0.875rem 0;
  border-bottom: 0.5px solid var(--color-border);
  transition: color 0.2s;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a.active {
  color: var(--color-text-primary);
  font-weight: 500;
}

.mobile-menu a.nav-human {
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}
