/* Custom styles to enhance the senior professional look */

/* Add smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Modern card styling */
.card {
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 8px;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Experience timeline styling */
#experience .card {
  border-left: 4px solid var(--bs-primary);
}

/* Badge styling */
.badge {
  font-weight: 500;
  padding: 0.5em 0.75em;
  border-radius: 4px;
}

/* Contact card hover effects */
.contact-link .card {
  transition: all 0.3s ease;
}

.contact-link:hover .card {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.contact-link:hover .fa-2x {
  transform: scale(1.2);
}

/* Icon transitions */
.fas, .fab {
  transition: transform 0.3s ease;
}

/* Custom button styles */
.btn-xl {
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* Project cards in modals */
.portfolio-modal .card {
  border: none;
  border-radius: 10px;
}

.list-group-item {
  border-left: none;
  border-right: none;
}

/* Navbar enhancement */
#mainNav {
  transition: padding-top 0.3s, padding-bottom 0.3s;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Masthead subtitle enhancement */
.masthead-subheading {
  font-weight: 300;
  letter-spacing: 0.05em;
}

/* Clean dividers */
.divider-custom-line {
  height: 2px;
  border-radius: 1px;
}

/* Skills badges */
.badge.bg-light {
  font-weight: 400;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Footer links */
footer .btn-social {
  border-radius: 50%;
  transition: all 0.3s ease;
}

footer .btn-social:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* Form inputs */
.form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(26, 188, 156, 0.25);
  border-color: var(--bs-primary);
}

@media (max-width: 768px) {
  .masthead-heading {
    font-size: 2rem;
  }
  
  h2.page-section-heading {
    font-size: 1.75rem;
  }
}
