/* ===== GENERAL TYPOGRAPHY (MONTSERRAT & ROBOTO) ===== */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #111;
  color: #fff;
}
h1, h2, h5, .card-title, .footer-heading, .section-title {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700;
}

/* ===== NAVBAR ===== */
.navbar {
  background-color: #000;
  padding: 14px 0;
  box-shadow: 0px 3px 10px rgba(0,0,0,0.6);
  transition: all 0.3s ease-in-out;
}
.logo-navbar {
  height: 65px;
  width: auto;
  transition: transform 0.3s ease;
}
.logo-navbar:hover {
  transform: scale(1.1) rotate(-2deg);
}
.navbar .nav-link {
  color: #FFD700 !important;
  margin-left: 25px;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.3s ease;
}
.navbar .nav-link::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #0056b3;
  transition: width 0.3s ease-in-out;
  position: absolute;
  bottom: -6px;
  left: 0;
}
.navbar .nav-link:hover {
  color: #fff !important;
}
.navbar .nav-link:hover::after {
  width: 100%;
}

/* ===== HERO CAROUSEL ===== */
.hero-img {
  height: 100vh;
  object-fit: cover;
  filter: brightness(65%);
}
.carousel-caption {
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 200px; 
}
@media (max-width: 768px) {
  .carousel-caption {
    padding-top: 80px;
  }
}
.carousel-caption h1 {
  font-size: 3.5rem;
  color: #f8c10f;
  text-shadow: 2px 2px 15px rgba(0,0,0,0.8);
  animation: fadeInDown 1s ease-in-out;
}
.carousel-caption p {
  font-size: 1.25rem;
  margin: 20px 0;
  color: #f1f1f1;
  text-shadow: 1px 1px 10px rgba(0,0,0,0.7);
  animation: fadeInUp 1.2s ease-in-out;
}
.btn-custom {
  background: #f8c10f;
  color: #111;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-custom:hover {
  background: #ffdb4d;
  color: #000;
  transform: scale(1.05);
  box-shadow: 0px 4px 15px rgba(248, 193, 15, 0.6);
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
  .carousel-caption h1 {
    font-size: 2.2rem;
  }
  .carousel-caption p {
    font-size: 1rem;
  }
  .btn-custom {
    padding: 10px 22px;
    font-size: 0.95rem;
  }
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: linear-gradient(135deg, #111 0%, #1c1c1c 100%);
  padding: 80px 20px;
  border-radius: 12px;
  box-shadow: 0px 6px 20px rgba(0,0,0,0.6);
}
.about-section .section-title {
  font-size: 2.5rem;
  color: #FFD700;
  text-transform: uppercase;
  margin-bottom: 25px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}
.about-section .section-text {
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 1.2rem;
  color: #f1f1f1;
  line-height: 1.8;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
  background: #f8f9fa;
  padding: 80px 20px;
}
.products-section h2 {
  font-size: 2.8rem;
  color: #111;
  text-transform: uppercase;
  margin-bottom: 60px;
  text-align: center;
}
.product-card {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}
.product-card img {
  height: 240px;
  object-fit: cover;
  border-bottom: 1px solid #e9ecef;
}
.product-card .card-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
}
.product-card .card-title {
  font-size: 1.6rem;
  color: #003366;
  margin-bottom: 15px;
}
.product-card .card-text {
  font-size: 1rem;
  color: #555;
  margin-bottom: 25px;
  line-height: 1.7;
  flex-grow: 1;
}
.btn-whatsapp {
  display: inline-block;
  background: linear-gradient(90deg, #25D366, #128C7E);
  color: #fff;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  margin-top: auto;
}
.btn-whatsapp:hover {
  background: linear-gradient(90deg, #128C7E, #25D366);
  transform: scale(1.05);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
}

/* ===== PROCEDURES SECTION ===== */
.procedures-section {
  background: #111;
  color: #fff;
  padding: 30px 0;
}
.procedures-section h2 {
  color: #f8c10f;
  text-shadow: 1px 1px 8px rgba(0,0,0,0.7);
  margin-bottom: 25px;
  font-size: 1.8rem;
}
.procedure-card {
  border: none;
  border-radius: 12px;
  background: #1a1a1a;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 18px;
  text-align: center;
  max-width: 260px;
  margin: 0 auto;
}
.procedure-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 6px 18px rgba(248, 193, 15, 0.3);
}
.procedure-card .card-title {
  font-size: 1.3rem;
  color: #f8c10f;
  margin-bottom: 10px;
}
.procedure-card .card-text {
  font-size: 0.95rem;
  color: #ddd;
  line-height: 1.5;
}

/* ===== CONTACT SECTION (WHITE BACKGROUND) ===== */
.contact-section {
  background-color: #ffffff;
  color: #333;
  padding: 80px 20px;
}
.contact-section h2 {
    color: #111;
    font-size: 2.8rem;
}
.contact-section .lead {
    color: #555;
}
.contact-form {
  max-width: 700px;
  background: #f8f9fa;
  padding: 40px;
  border-radius: 15px;
  border: 1px solid #dee2e6;
  box-shadow: none;
}
.contact-form .form-label {
  color: #003366;
  font-weight: 600;
  margin-bottom: 8px;
}
.contact-form .form-control {
  background-color: #ffffff;
  border: 1px solid #ced4da;
  color: #333;
  border-radius: 8px;
  padding: 12px 15px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-form .form-control:focus {
  background-color: #ffffff;
  color: #333;
  border-color: #f8c10f;
  box-shadow: 0 0 0 0.25rem rgba(248, 193, 15, 0.25);
}
.contact-form .form-control::placeholder {
  color: #888;
}
.btn-custom-contact {
  background: #f8c10f;
  color: #111;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  transition: all 0.3s ease;
}
.btn-custom-contact:hover {
  background: #003366;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0px 4px 20px rgba(0, 51, 102, 0.3);
}

/* ===== PROFESSIONAL FOOTER ===== */
.site-footer {
  background-color: #000000;
  padding: 60px 0 20px 0;
  color: #a9a9a9;
  font-size: 0.95rem;
  border-top: 4px solid #f8c10f;
}
.logo-footer {
  max-height: 50px;
  margin-bottom: 15px;
}
.footer-text {
  line-height: 1.8;
}
.footer-heading {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #f8c10f;
}
.footer-links li,
.footer-contact li {
  margin-bottom: 12px;
}
.footer-links a,
.footer-contact a {
  color: #a9a9a9;
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
}
.footer-links a:hover,
.footer-contact a:hover {
  color: #f8c10f;
  padding-left: 5px;
}
.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 20px;
  margin-top: 40px;
  text-align: center;
}
.copyright-text {
  margin: 0;
  color: #777;
  font-size: 0.9rem;
}

/* ===== LANGUAGE SWITCHER ===== */
.language-switcher {
  display: flex;
  align-items: center;
  margin-left: 20px;
}
.language-switcher .nav-link {
  padding: 6px !important; /* Ajusta el padding para que rodee la bandera */
  margin: 0 5px !important;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  border-radius: 50%; /* Hace que el fondo sea redondo */
  line-height: 0; /* Evita espacios extra */
}
.language-switcher .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.language-switcher .nav-link.active-lang {
  background-color: #f8c10f;
  box-shadow: 0 0 8px rgba(248, 193, 15, 0.7);
}
.language-switcher .separator {
  color: #555 !important;
  cursor: default;
  padding: 0 !important;
  margin: 0 !important;
}
.language-switcher .nav-link::after {
  display: none;
}
.language-switcher img {
  width: 24px;  /* Ancho de la bandera */
  height: 24px; /* Alto de la bandera */
  border-radius: 50%;
  object-fit: cover;
}