/* Home Page Specific Styles */

/* ========== Hero Section ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--neutral-50) 0%, var(--accent-cream) 100%);
  padding-top: 80px; /* Account for fixed nav */
}

.hero__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: var(--space-6);
}

.hero__greeting {
  font-family: var(--font-accent);
  font-size: var(--text-h3);
  color: var(--primary-blue);
  margin-bottom: var(--space-2);
}

.hero__title {
  font-size: var(--text-h1);
  font-weight: var(--fw-bold);
  color: var(--neutral-900);
  margin-bottom: var(--space-4);
  line-height: var(--lh-tight);
}

.hero__title-highlight {
  color: var(--primary-navy);
  position: relative;
  display: inline-block;
}

.hero__title-highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--accent-gold);
  opacity: 0.3;
  z-index: -1;
}

.hero__subtitle {
  font-size: var(--text-body-lg);
  color: var(--neutral-700);
  margin-bottom: var(--space-8);
  line-height: var(--lh-relaxed);
}

.hero__cta {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== About Preview Section ========== */
.about-preview {
  padding: var(--space-12) 0;
}

.about-preview__content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-8);
  align-items: center;
}

.about-preview__image {
  position: relative;
}

.about-preview__image img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.about-preview__image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary-navy);
  border-radius: var(--radius-xl);
  z-index: -1;
}

.about-preview__text h2 {
  margin-bottom: var(--space-4);
}

.about-preview__text p {
  margin-bottom: var(--space-4);
  color: var(--neutral-700);
}

.about-preview__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.stat {
  text-align: center;
}

.stat__number {
  font-size: var(--text-h2);
  font-weight: var(--fw-bold);
  color: var(--primary-navy);
  display: block;
}

.stat__label {
  font-size: var(--text-small);
  color: var(--neutral-500);
}

@media (max-width: 768px) {
  .about-preview__content {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

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

/* ========== Skills Section ========== */
.skills-section {
  background: var(--accent-cream);
  padding: var(--space-12) 0;
}

.skills-section__header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.skills-section__subtitle {
  color: var(--neutral-500);
  margin-top: var(--space-2);
}

/* ========== Projects Section ========== */
.projects-section {
  padding: var(--space-12) 0;
}

.projects-section__header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-6);
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== CTA Section ========== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-blue) 100%);
  color: var(--white);
  padding: var(--space-12) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '✦';
  position: absolute;
  font-size: 200px;
  color: rgba(255, 255, 255, 0.05);
  top: -50px;
  right: -50px;
  transform: rotate(15deg);
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.cta-section p {
  font-size: var(--text-body-lg);
  margin-bottom: var(--space-6);
  opacity: 0.9;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--primary-navy);
  border-color: var(--white);
}

.cta-section .btn-primary:hover {
  background: var(--accent-cream);
  border-color: var(--accent-cream);
}
