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

:root {
  --color-bg: #0f0f0f;
  --color-surface: #1a1a1a;
  --color-surface-alt: #161616;
  --color-accent: #c9a96e;
  --color-accent-bright: #e0bc7e;
  --color-text: #e8e8e8;
  --color-text-muted: #999;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* ===== Language Switcher ===== */
.lang-switcher {
  position: fixed;
  top: 14px;
  right: 20px;
  z-index: 200;
  display: flex;
  gap: 6px;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(10px);
  padding: 6px;
  border-radius: 30px;
  border: 1px solid rgba(201, 169, 110, 0.2);
}

.lang-btn {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn:hover {
  color: var(--color-accent);
}

.lang-btn.active {
  background: var(--color-accent);
  color: #1a1a1a;
}

/* ===== Navigation ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: rgba(15, 15, 15, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.1);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: var(--transition);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201, 169, 110, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(201, 169, 110, 0.05) 0%, transparent 50%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255,255,255,0.01) 2px,
      rgba(255,255,255,0.01) 4px
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.hero-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--color-accent);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-name {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--color-text);
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--color-text-muted);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.6s forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--color-surface-alt);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 50px;
}

.section-number {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-accent);
  font-weight: 600;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  color: var(--color-text);
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: start;
}

.about-portrait {
  position: sticky;
  top: 100px;
}

.portrait-placeholder {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #1a1a1a, #222);
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.portrait-icon {
  font-size: 4rem;
  opacity: 0.4;
}

.portrait-placeholder span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  letter-spacing: 1px;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.9;
}

.about-text p:first-child {
  color: var(--color-text);
  font-size: 1.1rem;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tag {
  font-size: 0.8rem;
  padding: 6px 16px;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 20px;
  color: var(--color-accent);
  letter-spacing: 0.5px;
}

/* ===== Documentary ===== */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.doc-card {
  background: var(--color-surface);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
}

.doc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 110, 0.2);
}

.doc-card-image {
  position: relative;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.doc-placeholder {
  font-size: 3rem;
  opacity: 0.3;
}

.doc-coming-soon {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(201, 169, 110, 0.15);
  color: var(--color-accent-bright);
  padding: 4px 10px;
  border-radius: 3px;
  border: 1px solid rgba(201, 169, 110, 0.3);
}

.doc-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 20px 20px 10px;
  color: var(--color-text);
}

.doc-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  padding: 0 20px 24px;
  line-height: 1.7;
}

/* ===== Lessons ===== */
.lessons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.lesson-card {
  background: var(--color-surface);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 36px 30px;
  transition: var(--transition);
}

.lesson-card:hover {
  border-color: rgba(201, 169, 110, 0.25);
  transform: translateY(-4px);
}

.lesson-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.lesson-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--color-text);
}

.lesson-card > p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.lesson-status {
  font-size: 0.8rem;
  color: var(--color-accent-bright);
  background: rgba(201, 169, 110, 0.1);
  padding: 8px 16px;
  border-radius: 4px;
  text-align: center;
  border: 1px solid rgba(201, 169, 110, 0.2);
}

/* ===== Books ===== */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  justify-items: center;
}

.book-card {
  max-width: 320px;
  text-align: center;
}

.book-cover {
  perspective: 800px;
  margin-bottom: 24px;
}

.book-front {
  width: 200px;
  height: 280px;
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 2px 6px 6px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto;
  box-shadow: -5px 5px 20px rgba(0,0,0,0.5);
  transform: rotateY(-8deg);
  transition: transform 0.4s ease;
}

.book-card:hover .book-front {
  transform: rotateY(0deg);
}

.book-title {
  font-size: 3rem;
  opacity: 0.3;
}

.book-coming {
  font-size: 0.7rem;
  color: var(--color-accent-bright);
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(201, 169, 110, 0.1);
  padding: 4px 12px;
  border-radius: 3px;
}

.book-info h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-text);
}

.book-info p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===== Contact ===== */
.contact-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-intro {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.contact-icon {
  font-size: 1.8rem;
}

.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
}

.contact-value {
  font-size: 0.95rem;
  color: var(--color-accent);
}

/* ===== Footer ===== */
.footer {
  background: #0a0a0a;
  padding: 50px 0 30px;
  border-top: 1px solid rgba(201, 169, 110, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  letter-spacing: 3px;
  color: var(--color-accent);
  margin-bottom: 6px;
}

.footer-brand p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  letter-spacing: 1px;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  opacity: 0.6;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav {
    padding: 14px 20px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #0f0f0f;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transition: right 0.4s ease;
    z-index: 140;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
    z-index: 145;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .lang-switcher {
    top: auto;
    bottom: 20px;
    right: 20px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-portrait {
    position: relative;
    top: 0;
    max-width: 300px;
    margin: 0 auto;
  }

  .section {
    padding: 60px 0;
  }
}
