/* ═══════════════════════════════════════
   HOME — home.css
═══════════════════════════════════════ */

/* Make #content a flex column on the home page */
#content {
  display: flex;
  flex-direction: column;
}

/* ── HEADER ── */
.home-header {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0;
}

.header-lang {
  display: flex;
  gap: 8px;
  align-items: center;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-family: 'Syne', sans-serif;
  font-size: 10px;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: color 0.3s ease;
}

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

.lang-divider {
  opacity: 0.3;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5cba7d;
  box-shadow: 0 0 8px rgba(92, 186, 125, 0.55);
  flex-shrink: 0;
  animation: statusPulse 2.4s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

/* ── MAIN ── */
.home-main {
  flex: 1;
  display: block;
}

.home-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: auto;
  /* Şəkli bütün enə yaymaq üçün kənar boşluqları kompensasiya edirik */
  margin: -64px -72px 0 -72px;
  padding: 70px 72px 60px 72px;
  background: transparent;
  border-bottom: 1px solid var(--border);
}

/* Banner şəkli burada sabit hündürlüklə təyin olunur */
.home-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 260px; /* Profil şəklinin dərhal altında bitməsi üçün azaldıldı */
  background: linear-gradient(to bottom, rgba(8, 10, 13, 0.4) 0%, var(--bg) 100%), 
              url('../assets/banner.jpg') center/cover no-repeat;
  z-index: 0;
  pointer-events: none;
}

.home-wrap {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* ── FOOTER ── */
.home-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  animation-delay: 0.4s;
}

.footer-copy,
.footer-made {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

.home-inner {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.home-profile {
  position: relative;
  margin-bottom: 44px;
  display: flex;
  align-items: center;
  padding: 0 0 30px 20px;
}

.profile-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  display: none; /* Köhnə kiçik banneri gizlədirik */
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 2px solid var(--border);
  padding: 4px;
  transition: transform 0.4s var(--ease);
  background: var(--bg);
}

.home-profile:hover .profile-img {
  transform: scale(1.05) rotate(5deg);
  border-color: var(--accent);
}

.home-memories {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  margin-bottom: 32px;
  max-width: 440px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.memories-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.memories-icon {
  font-size: 18px;
  color: var(--accent);
}

.memories-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
}

.memories-sub {
  display: block;
  font-size: 14px;
  color: var(--text);
  margin-top: 2px;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.home-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(58px, 8vw, 100px);
  font-weight: 400;
  line-height: 1.0;
  margin-bottom: 28px;
}

.home-title em {
  font-style: italic;
  color: var(--accent-light);
}

.home-sub {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 44px;
  max-width: 440px;
}

.home-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  padding: 13px 30px;
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.3s var(--ease);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-block;
  padding: 13px 30px;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all 0.3s var(--ease);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* Decorative letter */
.home-deco {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Instrument Serif', serif;
  font-size: 340px;
  font-weight: 400;
  color: var(--accent);
  opacity: 0.04;
  user-select: none;
  pointer-events: none;
  line-height: 1;
  animation: fadeUp 1.2s var(--ease) 0.4s both;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .home-hero {
    margin: -64px -20px 0 -20px;
    padding: 72px 20px 48px;
  }

  .home-title {
    font-size: clamp(44px, 13vw, 72px);
  }

  .home-sub {
    font-size: 14px;
  }

  .home-deco {
    display: none;
  }

  .home-memories {
    max-width: 100%;
  }

  .home-featured {
    margin-top: 48px;
  }

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

/* ── FEATURED SECTION ── */
.home-featured {
  margin-top: 80px;
  padding-bottom: 60px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.featured-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.f-tag {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blue);
}

.f-title {
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  font-weight: 400;
}

.f-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.f-link {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-top: auto;
}
