/* Custom welcoming styling for the hero section */

/* Enhanced hero section with warm gradient and welcoming pattern */
.notepad-site-head .notepad-site-head-content {
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 30%, #e74c3c 70%, #f39c12 100%);
  background-size: 400% 400%;
  animation: gradientShift 20s ease infinite;
  position: relative;
  overflow: hidden;
}

/* Add a welcoming pattern overlay */
.notepad-site-head .notepad-site-head-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(52, 152, 219, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(231, 76, 60, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 60% 60%, rgba(243, 156, 18, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* Animate the gradient */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Enhanced title styling */
.notepad-site-head .notepad-site-head-content h1 {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 2px;
}

.notepad-site-head .notepad-site-head-content h2 {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  letter-spacing: 1px;
  font-weight: 300;
}

/* Welcoming category tag styling */
.notepad-site-head .notepad-site-head-content .notepad-site-head-title-bg {
  background: linear-gradient(45deg, #3498db, #e74c3c, #f39c12);
  background-size: 200% 200%;
  animation: tagGradient 3s ease infinite;
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
  border-radius: 8px;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.notepad-site-head .notepad-site-head-content .notepad-site-head-title-bg:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.6);
}

/* Tag gradient animation */
@keyframes tagGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Add subtle animation to the content */
.notepad-site-head .notepad-site-head-content h1,
.notepad-site-head .notepad-site-head-content h2 {
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Welcoming footer styling */
.notepad-site-footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
}

/* Enhanced social icons */
.notepad-site-footer .social-icons a {
  transition: transform 0.3s ease, color 0.3s ease;
}

.notepad-site-footer .social-icons a:hover {
  transform: translateY(-3px) scale(1.1);
  color: #3498db;
}

/* Professional navigation styling */
.notepad-blog-menu ul li a {
  transition: all 0.3s ease;
  position: relative;
}

.notepad-blog-menu ul li a:hover {
  color: #3498db;
  border-bottom-color: #3498db;
}

/* Add subtle hover effects to blog posts */
.notepad-content .notepad-index-post {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.notepad-content .notepad-index-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(52, 152, 219, 0.15);
}

/* Welcoming read more button */
.notepad-content .notepad-index-post .notepad-post-read-more {
  background: linear-gradient(45deg, #3498db, #2980b9);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.notepad-content .notepad-index-post .notepad-post-read-more:hover {
  background: linear-gradient(45deg, #e74c3c, #c0392b);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* Welcoming welcome message styling */
.welcome-message {
  text-align: center;
  padding: 2rem 0;
  background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
  margin: 2rem 0;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.welcome-message h3 {
  color: #2c3e50;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 300;
}

.welcome-message p {
  color: #34495e;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Add a subtle pulse animation to make it more inviting */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.notepad-site-head .notepad-site-head-content h2 {
  animation: fadeInUp 1s ease-out, pulse 2s ease-in-out 2s infinite;
}

/* Personal introduction styling */
.personal-intro {
  text-align: center;
  margin: 2rem 0;
  position: relative;
  z-index: 2;
}

.author-name {
  color: white;
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.social-links-hero {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.social-links-hero a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links-hero a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.linkedin-link:hover {
  background: linear-gradient(45deg, #0077b5, #005885) !important;
}

.github-link:hover {
  background: linear-gradient(45deg, #333, #000) !important;
}

/* Description container for better spacing */
.description-container {
  text-align: center;
  margin-top: 1rem;
}

/* Reduce the overly large description font sizes */
.notepad-site-head .notepad-site-head-content h2 {
  font-size: 1.5rem !important; /* Mobile: 24px */
  font-weight: 400 !important;
  line-height: 1.4 !important;
  margin: 0.5rem 0 !important;
}

.notepad-blog-description-2 {
  font-size: 1.2rem !important; /* Slightly smaller for second line */
  opacity: 0.9;
}

@media only screen and (min-width: 40.063em) {
  .notepad-site-head .notepad-site-head-content h2 {
    font-size: 2rem !important; /* Medium screens: 32px */
  }
}

@media only screen and (min-width: 70em) {
  .notepad-site-head .notepad-site-head-content h2 {
    font-size: 2.25rem !important; /* Large screens: 36px */
  }
}

@media only screen and (min-width: 90em) {
  .notepad-site-head .notepad-site-head-content h2 {
    font-size: 2.5rem !important; /* Extra large: 40px */
  }
}

@media only screen and (min-width: 100em) {
  .notepad-site-head .notepad-site-head-content h2 {
    font-size: 2.75rem !important; /* Very large: 44px */
  }
}

/* Responsive styling for personal intro */
@media only screen and (min-width: 40.063em) {
  .author-name {
    font-size: 1.8rem;
  }
  
  .social-links-hero a {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }
  
  .notepad-blog-description-2 {
    font-size: 1.4rem !important;
  }
}

@media only screen and (min-width: 70em) {
  .author-name {
    font-size: 2rem;
  }
  
  .personal-intro {
    margin: 3rem 0;
  }
}
