/* Additional Visual Refinements for Makgane Attorneys Website */

/* Subtle text shadow for headings to enhance readability */
h1, h2, h3 {
  text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
}

/* Enhanced section transitions */
section {
  position: relative;
  transition: background-color 0.3s ease;
}

/* Gold accent line for section headings */
section h2:after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--secondary-gold);
  margin: 15px auto 30px;
}

/* Left-aligned accent for text-left headings */
.text-left h2:after {
  margin-left: 0;
}

/* Enhanced card hover effects */
.feature-box, .practice-box, .team-member, .expertise-box, .quality-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover, .practice-box:hover, .team-member:hover, .expertise-box:hover, .quality-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Improved navigation with subtle indicator */
nav a {
  position: relative;
}

nav a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: var(--secondary-gold);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav a:hover:after, nav a.active:after {
  width: 70%;
}

/* Enhanced form inputs */
.form-control {
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
}

.form-control:focus {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Improved button hover effects */
.btn {
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Enhanced logo styling */
.logo {
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

.logo:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40%;
  height: 2px;
  background-color: var(--secondary-gold);
}

/* Improved footer social icons */
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  margin-right: 10px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--secondary-gold);
  color: var(--primary-blue);
  transform: translateY(-3px);
}

/* Enhanced contact info styling */
.contact-info a {
  position: relative;
  transition: all 0.3s ease;
  padding-left: 5px;
}

.contact-info a:hover {
  padding-left: 8px;
}

/* Improved practice area icons */
.practice-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(0, 51, 102, 0.05);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.practice-box:hover .practice-icon {
  background-color: var(--primary-blue);
  color: var(--white);
  transform: rotateY(180deg);
}

/* Enhanced quote styling for testimonials (if added later) */
blockquote {
  position: relative;
  padding: 30px;
  background-color: rgba(0, 51, 102, 0.02);
  border-left: 3px solid var(--secondary-gold);
  font-style: italic;
  margin: 20px 0;
}

blockquote:before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 60px;
  position: absolute;
  left: 10px;
  top: -10px;
  color: var(--secondary-gold);
  opacity: 0.3;
}

/* Improved list styling */
ul:not(.footer-links ul) {
  list-style: none;
}

ul:not(.footer-links ul) li {
  position: relative;
  padding-left: 25px;
}

ul:not(.footer-links ul) li:before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--secondary-gold);
}

/* Enhanced mobile menu for better responsiveness */
@media (max-width: 767px) {
  .logo:after {
    width: 60px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  section h2:after {
    margin-left: auto;
    margin-right: auto;
  }
  
  .practice-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }
}
