/* Premium Luxury Stylesheet for Hayes Abogados Homepage */

/* Keyframes for subtle load-in animations */
@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bgPulse {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Home page body settings */
.page-home {
  background-color: #f6f7ff;
}

/* Hero Intro Section - Sleek dark navy gradient with gold accents */
.page-home .intro {
  background: linear-gradient(135deg, #0f2038 0%, #1b365d 100%);
  color: #ffffff;
  padding: 100px 0 80px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid #c79c5e; /* Elegant gold thin line divider */
}

/* Add a subtle geometric grid overlay */
.page-home .intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(to right, rgba(199, 156, 94, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(199, 156, 94, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Glowing gold orb background effects */
.page-home .intro::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(199, 156, 94, 0.15) 0%,
    rgba(27, 54, 93, 0) 70%
  );
  top: -100px;
  right: -50px;
  pointer-events: none;
  border-radius: 50%;
}

.page-home .intro h1 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 3rem;
  letter-spacing: 1px;
  color: #ffffff;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInSlide 0.8s ease-out forwards;
}

.page-home .intro h2 {
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #c79c5e; /* Premium gold accent */
  margin-bottom: 25px;
  animation: fadeInSlide 1s ease-out forwards;
}

.page-home .intro p {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #e2e8f0;
  max-width: 550px;
  margin-bottom: 30px;
  animation: fadeInSlide 1.2s ease-out forwards;
}

/* Call details / phone number block on hero */
.page-home .intro .call {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(199, 156, 94, 0.3);
  border-radius: 8px;
  backdrop-filter: blur(5px);
  display: inline-flex;
  align-items: center;
  gap: 15px;
  animation: fadeInSlide 1.3s ease-out forwards;
}

.page-home .intro .call-phone {
  color: #c79c5e !important;
  font-weight: 700;
}

.page-home .intro .call-email {
  margin-bottom: 10px;
}

.page-home .intro .call-header {
  color: #ffffff;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
}

/* Service Summary Card Overrides */
.service.service-summary {
  background: #ffffff;
  border-radius: 6px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-top: 3px solid #1b365d;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service.service-summary::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1b365d, #c79c5e);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service.service-summary:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(27, 54, 93, 0.12);
}

.service.service-summary:hover::after {
  transform: scaleX(1);
}

.service-summary .service-title {
  margin-bottom: 15px;
}

.service-summary .service-title a {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #1b365d;
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-summary:hover .service-title a {
  color: #c79c5e;
}

.service-summary p {
  color: #5c5a5a;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Features/Sections Cards Styling (DDRR, SEPREC summary boxes) */
.box-simple {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  height: 100%;
}

.box-simple:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: rgba(199, 156, 94, 0.4);
}

.box-simple .icon {
  background: rgba(27, 54, 93, 0.05);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  color: #1b365d;
  transition: all 0.4s ease;
}

.box-simple .icon span {
  font-size: 32px;
}

.box-simple:hover .icon {
  background: #1b365d;
  color: #c79c5e;
  transform: rotateY(180deg);
}

.box-simple h3 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: #1b365d;
  margin-bottom: 12px;
}

.box-simple p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Feature highlight list (Slide 2: Amplísima Experiencia, Asesoramiento, etc.) */
.feature {
  background: #ffffff;
  border-radius: 8px;
  padding: 30px;
  border-left: 4px solid #c79c5e;
  transition: all 0.3s ease;
}

.feature:hover {
  box-shadow: 0 8px 25px rgba(27, 54, 93, 0.08);
}

.feature-title {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  color: #1b365d;
  margin-bottom: 12px;
}

/* Primary Button Styling overrides */
.button.button-primary {
  background-color: #1b365d;
  border-color: #1b365d;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  box-shadow: 0 4px 10px rgba(27, 54, 93, 0.2);
}

.button.button-primary:hover {
  background-color: #c79c5e;
  border-color: #c79c5e;
  box-shadow: 0 6px 15px rgba(199, 156, 94, 0.35);
  transform: translateY(-2px);
}

/* Strips & section styling */
.strip-grey {
  background-color: #f0f2f8;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .page-home .intro {
    padding: 60px 0 40px 0;
    text-align: center;
  }
  .page-home .intro h1 {
    font-size: 2.2rem;
  }
  .page-home .intro h2 {
    font-size: 1.2rem;
  }
  .page-home .intro p {
    margin-left: auto;
    margin-right: auto;
  }
}
