/* Core Section Layouts - Personal Blog */

/* Hero Section Enhanced */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
  background: var(--hero-gradient);
}

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

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(139, 92, 246, 0.1) 0%, 
    rgba(5, 150, 105, 0.1) 50%, 
    rgba(245, 158, 11, 0.1) 100%);
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--faith-color);
  border-radius: 50%;
  opacity: 0.6;
  animation: float linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-10vh) rotate(360deg);
    opacity: 0;
  }
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--glass-background);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-weight: var(--font-weight-medium);
  color: var(--faith-color);
  width: fit-content;
  box-shadow: var(--shadow-md);
}

.hero-badge i {
  color: var(--opportunities-color);
  animation: twinkle 2s infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--foreground);
  margin: 0;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  max-width: 600px;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin: 1rem 0;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
}

.hero-stat-label {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.hero-profile-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-2xl);
  position: relative;
  z-index: 2;
}

.hero-image-decoration {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  background: var(--faith-gradient);
  border-radius: var(--border-radius-xl);
  z-index: 1;
  opacity: 0.3;
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.05) rotate(1deg); }
}

/* About Section Enhanced */
.about-section {
  background: var(--section-gradient-1);
  position: relative;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%238B5CF6" fill-opacity="0.03" points="0,1000 1000,0 1000,1000"/></svg>');
  z-index: 0;
}

.about-content {
  position: relative;
  z-index: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-text h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.about-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.about-mission,
.about-values {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  margin-bottom: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.about-mission h4,
.about-values h4 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--foreground);
  font-size: 1.25rem;
}

.about-mission i,
.about-values i {
  color: var(--faith-color);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--muted);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.value-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.value-item i {
  font-size: 1.25rem;
}

.text-faith { color: var(--faith-color); }
.text-finance { color: var(--finance-color); }
.text-books { color: var(--books-color); }
.text-opportunities { color: var(--opportunities-color); }

/* About Stats */
.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.stat-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--faith-gradient);
}

.stat-card:nth-child(2)::before { background: var(--finance-gradient); }
.stat-card:nth-child(3)::before { background: var(--books-gradient); }
.stat-card:nth-child(4)::before { background: var(--opportunities-gradient); }

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: var(--faith-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-md);
}

.stat-card:nth-child(2) .stat-icon { background: var(--finance-gradient); }
.stat-card:nth-child(3) .stat-icon { background: var(--books-gradient); }
.stat-card:nth-child(4) .stat-icon { background: var(--opportunities-gradient); }

.stat-icon i {
  color: white;
  font-size: 1.5rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.stat-label {
  color: var(--muted-foreground);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.875rem;
}

/* Section utilities */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section:nth-child(even) {
  background: var(--section-gradient-1);
}

.section:nth-child(odd) {
  background: var(--section-gradient-2);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--foreground);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--faith-gradient);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}