/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  background: url("https://camorimadvocacia.com.br/app/public/img/wallpaper.jpg") center/cover no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(20, 10, 10, 0.85), rgba(0, 0, 0, 0.6));
  z-index: 1;
  backdrop-filter: blur(2px);
}

.hero-section-introduction {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1.8s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-section h1 {
  font-size: 3.8rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
}

.hero-section p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
}

@media (max-width: 768px) {
  #about-btn {
    margin-top: 10px;
  }

  .hero-section h1 {
    font-size: 3.2rem !important;
  }

  .hero-section p {
    font-size: 1rem;
  }
}

/* Scroll Indicator */
.scroll-indicator {
  z-index: 2;
}

.mouse {
  width: 25px;
  height: 45px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  position: relative;
  margin: 0 auto;
}

.mouse::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 5px;
  height: 5px;
  background: white;
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scroll 1.8s infinite ease-in-out;
}

@keyframes scroll {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, 12px);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 24px);
  }
}

@media (max-width: 992px) {
  .hero-section-introduction {
    margin-top: 100px !important;
  }
}

footer p,
footer li {
  font-size: 0.95rem;
  line-height: 1.6;
}

footer a:hover {
  color: #f8c1c1;
  text-decoration: none;
  transition: 0.3s;
}


/* mouse scroll */
.mouse {
  width: 25px;
  height: 40px;
  border: 2px solid #fff;
  border-radius: 15px;
  position: relative;
}

.mouse::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translate(-50%, 0);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
}

/* servicos section */
#servicos {
  position: relative;
  overflow: hidden;
}

#servicos h2 {
  letter-spacing: 0.5px;
}

.service-card-modern {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(50, 10, 10, 0.1);
  backdrop-filter: blur(8px);
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(50, 10, 10, 0.05);
  cursor: default;
}

.service-card-modern:hover {
  transform: translateY(-10px) scale(1.02);
  background: linear-gradient(145deg, #fff 0%, #fdf5f5 100%);
  box-shadow: 0 10px 25px rgba(50, 10, 10, 0.15);
  border-color: #320a0a;
}

.service-card-modern h5 {
  color: #320a0a;
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #320a0a, #5a1a1a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(50, 10, 10, 0.2);
  transition: all 0.4s ease;
}

.service-card-modern:hover .icon-wrapper {
  transform: translateY(-5px) rotate(5deg) scale(1.05);
  background: linear-gradient(135deg, #5a1a1a, #320a0a);
  box-shadow: 0 10px 30px rgba(50, 10, 10, 0.25);
}

.service-card-modern i {
  transition: transform 0.4s ease;
}

.service-card-modern:hover i {
  transform: rotate(-5deg);
}

/* about section */
.photo-wrapper {
  position: relative;
  display: inline-block;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, #e63946, #320a0a, #e63946);
  background-size: 200% 200%;
  animation: gradientMove 4s ease infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

.profile-photo {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid #fff;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
  transition: all 0.4s ease;
}

.profile-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.35);
}

/* wpp button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  font-size: 2rem;
  z-index: 9999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.to-about {
  position: relative;
  display: inline-block;
  color: #320a0a;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.to-about:hover {
  transform: scale(1.1);
}

.to-about::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.to-about:hover::after {
  width: 100%;
}

/* navbar */
.navbar {
  padding: 1rem 0;
  background: linear-gradient(135deg, #320a0a 0%, #4a0f0f 100%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 0.6rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.1);
}

.navbar-brand h3 {
  color: #e9ddbb;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-link {
  color: #e9ddbb !important;
  font-weight: 500;
  margin-left: 1.2rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #e9ddbb !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background-color: #e9ddbb;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.navbar-toggler {
  border: none;
  background: none;
  color: #e9ddbb;
  font-size: 1.5rem;
}

.navbar-collapse {
  padding: 1rem;
  border-radius: 0 0 10px 10px;
}

@media (max-width: 992px) {
  .nav-item {
    margin-bottom: 0.6rem;
  }
}