/* Page sections: hero, skills, experience, about, books, contact */

.section-hero {
  position: relative;
  max-width: none;
  padding: 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-color: #0f172a;
  background-image: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
}

.hero-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.25);
}

.hero-overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-2xl);
  color: #fff;
}

.hero-title {
  margin-bottom: var(--space-sm);
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
}

.hero-tagline {
  margin-bottom: var(--space-xl);
  font-size: 1.125rem;
  opacity: 0.95;
}

.section-skills .skills-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.section-skills .skills-category-title {
  color: #f1f5f9;
  font-weight: 600;
}

.section-skills .skill-tag {
  color: #f8fafc;
  background-color: rgba(248, 250, 252, 0.12);
  border-color: rgba(248, 250, 252, 0.25);
}

.section-skills .skill-tag:hover {
  color: #0f172a;
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.skills-category {
  margin: 0;
}

.skills-category-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--color-text-muted);
}

.skills-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  list-style: none;
  margin: 0;
  padding: 0;
}

.section-about .about-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section-about .about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 280px;
  align-items: stretch;
}

.section-about .about-half {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  overflow: hidden;
}

.section-about .about-half--image {
  padding: 0;
}

.section-about .about-half--image .about-photo,
.section-about .about-half--image .about-photo-placeholder,
.section-about .about-half--image .about-video {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.section-about .about-half--text {
  padding: var(--space-xl) var(--space-lg);
  justify-content: flex-start;
  align-items: center;
  max-width: 60ch;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .section-about .about-row {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .section-about .about-half--image .about-photo,
  .section-about .about-half--image .about-photo-placeholder,
  .section-about .about-half--image .about-video {
    min-height: 200px;
  }
}

.section-books .books-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .section-books .books-container {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

.contact-invitation {
  margin-top: var(--space-lg);
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  max-width: 50ch;
}
