/* ============================================
   Homepage UI Improvements
   Reduce whitespace, increase readability, improve UX
   ============================================ */

/* ========== Hero Section Improvements ========== */

/* Reduce hero section height */
#hero.hero {
  min-height: 70vh; /* Reduced from default 100vh */
  display: flex;
  align-items: center;
}

/* Increase hero name font size */
#hero h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Increase typed text size */
#hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* Hero Call-to-Action Buttons */
.hero-cta-buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta-buttons .btn {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary-custom {
  background: linear-gradient(135deg, #0563bb 0%, #0d47a1 100%);
  color: white;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(5, 99, 187, 0.3);
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(5, 99, 187, 0.4);
  background: linear-gradient(135deg, #0d47a1 0%, #0563bb 100%);
}

.btn-outline-custom {
  background: transparent;
  color: #0563bb;
  border: 2px solid #0563bb;
}

.btn-outline-custom:hover {
  background: #0563bb;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(5, 99, 187, 0.2);
}

/* ========== Floating Resume Button ========== */

.floating-resume-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 999;
  background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(40, 167, 69, 0.4);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.floating-resume-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(40, 167, 69, 0.5);
  color: white;
  background: linear-gradient(135deg, #1e7e34 0%, #28a745 100%);
}

.floating-resume-btn i {
  font-size: 1.2rem;
}

/* Hide floating button on mobile */
@media (max-width: 768px) {
  .floating-resume-btn {
    bottom: 20px;
    right: 20px;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
}

/* ========== About Section Improvements ========== */

/* Increase about section text size */
#about .content p {
  font-size: 1.1rem;
  line-height: 1.8;
}

#about .content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

#about .content ul li {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

/* ========== Projects Section Title ========== */

#portfolio .section-title h2 {
  font-size: 2.5rem;
}

#portfolio .section-title p {
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ========== Responsive Adjustments ========== */

@media (max-width: 768px) {
  #hero h2 {
    font-size: 2.5rem;
  }

  #hero p {
    font-size: 1.2rem;
  }

  .hero-cta-buttons .btn {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
  }

  #hero.hero {
    min-height: 85vh; /* Slightly taller on mobile for better spacing */
  }
}

@media (max-width: 576px) {
  #hero h2 {
    font-size: 2rem;
  }

  #hero p {
    font-size: 1rem;
  }

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

  .hero-cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}
