/* ============================================
   HOME PAGE SECTIONS STYLES
   ============================================ */
#home {
  min-height: 100vh;
}

.home-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 30px 60px;
  position: relative;
  overflow: hidden;
}

.home-section:first-of-type {
  padding-top: 100px;
}

.section-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.section-title {
  font-family: 'Roboto', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #212529;
  transition: color 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* About Section */
.about-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
}

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

.about-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(26, 26, 255, 0.2);
}

.card-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.about-card h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 15px;
}

.about-card p {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

/* Skills Preview Section */
.skills-preview-section {
  position: relative;
  overflow: hidden;
}

.skills-preview-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 0;
  will-change: opacity;
}

[data-theme="dark"] .skills-preview-section::before {
  opacity: 1;
}

.skills-preview-section>* {
  position: relative;
  z-index: 1;
}

.skills-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin: 30px 0 30px;
}

.skill-tag {
  background: linear-gradient(135deg, #1a1aff 0%, #4e4eff 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(26, 26, 255, 0.3);
  transition: transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.skill-tag:hover {
  transform: translateY(-5px) scale(1.05) !important;
  box-shadow: 0 6px 20px rgba(26, 26, 255, 0.4);
  z-index: 10;
}

.view-more-btn {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  padding: 0;
}

.skills-view-btn {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  background: linear-gradient(135deg, #1a1aff 0%, #4e4eff 100%);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(26, 26, 255, 0.4);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: inline-block;
}

.skills-view-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 25px rgba(26, 26, 255, 0.6);
  background: linear-gradient(135deg, #4e4eff 0%, #1a1aff 100%);
  border-color: rgba(255, 255, 255, 0.5);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

.cta-text {
  font-family: 'Roboto', sans-serif;
  font-size: 1.3rem;
  text-align: center;
  color: #666;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Scroll Reveal Initial State */
.scroll-reveal {
  opacity: 0;
}

/* Dark Mode Styles */
[data-theme="dark"] .about-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

[data-theme="dark"] .about-card {
  background: var(--card-background);
  color: var(--text-color);
}

[data-theme="dark"] .about-card h3 {
  color: var(--text-color);
}

[data-theme="dark"] .about-card p {
  color: var(--gray-color);
}

[data-theme="dark"] .section-title {
  color: var(--text-color);
}

[data-theme="dark"] .cta-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

[data-theme="dark"] .cta-text {
  color: var(--gray-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  #home {
    margin-left: 50px;
  }

  .section-title {
    font-size: 2rem;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-number {
    font-size: 3rem;
  }

  .skills-preview {
    gap: 10px;
  }

  .skill-tag {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .button {
    width: 100%;
    max-width: 300px;
  }
}