/* Variables CSS para el tema */
:root {
  --primary: rgb(16, 112, 130);
  --primary-dark: rgb(13, 89, 103);
  --primary-light: rgb(20, 140, 162);
  --secondary: rgb(240, 205, 161);
  --secondary-dark: rgb(230, 190, 140);
  --text-light: #ffffff;
  --text-dark: #333333;
}

/* Hero Section */
.hero-section {
  height: 35vh;
  background: url('/images/hero image.jpg') center/cover no-repeat;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-dark);
  opacity: 0.3;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(16, 112, 130, 0.9) 0%,
    rgba(16, 112, 130, 0.7) 50%,
    rgba(240, 205, 161, 0.4) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-light);
  letter-spacing: 1px;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 2rem;
  color: var(--secondary);
}

/* Cards y Pricing */
.card {
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  box-shadow: 0 4px 6px rgba(16, 112, 130, 0.1);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(16, 112, 130, 0.2);
}

.featured {
  border: 2px solid var(--primary);
  margin-top: 1rem; /* Añadimos espacio arriba para el badge */
}

.featured-badge {
  z-index: 2;
  top: 20px !important; /* Ajustamos la posición para que no se corte */
}

.featured-badge .badge {
  background-color: var(--primary) !important;
  font-size: 0.9rem;
  padding: 0.5rem 1rem !important;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.pricing-card {
  text-align: center;
  padding: 1.5rem;
}

.price {
  font-size: 2rem;
  color: var(--primary);
  margin: 0.5rem 0;
  font-weight: bold;
}

/* Botones y enlaces */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Footer */
footer {
  background: linear-gradient(to bottom, var(--primary-dark), rgb(13, 70, 82)) !important;
  color: var(--text-light);
}

.footer-title {
  color: var(--text-light);
  font-size: 1.25rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary);
}

footer .list-unstyled li {
  color: var(--text-light);
  padding: 0.5rem 0;
}

footer p {
  color: var(--text-light);
}

/* Iconos en el footer */
footer .bi {
  color: var(--secondary);
  margin-right: 8px;
}

/* Copyright */
footer .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

footer hr {
  border-color: var(--secondary);
  opacity: 0.2;
}

.contact-link {
  display: flex;
  align-items: center;
  color: var(--text-light) !important;
  transition: all 0.3s ease;
  text-decoration: none;
}

.contact-link:hover {
  color: var(--secondary) !important;
  transform: translateX(5px);
}

.contact-link i {
  margin-right: 10px;
  font-size: 1.1rem;
}

.contact-group h6 {
  color: var(--secondary);
  font-weight: 600;
}

.text-primary {
  color: var(--secondary) !important;
}

/* Formulario */
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(16, 112, 130, 0.25);
}

/* Lista de características */
.list-unstyled li {
  color: var(--text-dark);
  padding: 0.5rem 0;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    height: 50vh;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .card {
    margin-bottom: 1rem;
  }

  .footer-title {
    margin-top: 1.5rem;
  }
  
  .contact-group {
    padding-left: 0;
  }
}