/* =========================================================
   BLUEMOON – Tema principal
   (Bootstrap 5 + estilos personalizados minimalistas)
   ========================================================= */

/* Bootstrap core (todo el grid, botones, etc.) */
@import url("https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css");

/* ----------------------- VARIABLES ----------------------- */
:root {
  --bm-bg-dark: #050608;
  --bm-bg-dark-soft: #0b1017;
  --bm-bg-light: #f5f7fb;
  --bm-bg-footer: #000000;

  --bm-accent: #64a19d;
  --bm-accent-soft: #7bb3b0;
  --bm-accent-dark: #4f7e7a;

  --bm-text-light: #f9fafb;
  --bm-text-muted: #9ca3af;
  --bm-text-dark: #111827;

  --bm-radius-lg: 1.25rem;
  --bm-radius-xl: 1.75rem;
  --bm-shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.22);
}

/* ----------------------- RESET BÁSICO -------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bm-bg-dark);
  color: var(--bm-text-light);
}

/* Mejor legibilidad */
p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

a {
  color: var(--bm-accent);
  text-decoration: none;
}

a:hover {
  color: var(--bm-accent-soft);
}

/* ----------------------- NAVBAR -------------------------- */

#mainNav {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.0)
  );
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  transition: background-color 0.3s ease, box-shadow 0.3s ease,
    padding 0.3s ease;
  backdrop-filter: blur(10px);
}

#mainNav .navbar-brand {
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-text {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
}

#mainNav .nav-link {
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: #e5e7eb;
  padding: 0.25rem 0;
  margin-left: 1.5rem;
  position: relative;
}

#mainNav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background-color: var(--bm-accent);
  transition: width 0.25s ease;
}

#mainNav .nav-link:hover,
#mainNav .nav-link:focus {
  color: #ffffff;
}

#mainNav .nav-link:hover::after,
#mainNav .nav-link.active::after {
  width: 100%;
}

#mainNav .navbar-toggler {
  border: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  color: #f9fafb;
  background-color: rgba(15, 23, 42, 0.65);
}

#mainNav .navbar-toggler:focus {
  box-shadow: 0 0 0 0.1rem rgba(255, 255, 255, 0.25);
}

/* Navbar al hacer scroll (scripts.js agrega .navbar-shrink) */
#mainNav.navbar-shrink {
  background-color: #ffffff;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
}

#mainNav.navbar-shrink .navbar-brand,
#mainNav.navbar-shrink .brand-text {
  color: var(--bm-text-dark);
}

#mainNav.navbar-shrink .nav-link {
  color: var(--bm-text-dark);
}

#mainNav.navbar-shrink .nav-link:hover,
#mainNav.navbar-shrink .nav-link:focus {
  color: var(--bm-accent-dark);
}

/* Menú mobile */
@media (max-width: 991.98px) {
  #mainNav {
    background: rgba(5, 6, 10, 0.96);
  }

  #mainNav .navbar-collapse {
    padding-top: 1rem;
  }

  #mainNav .nav-link {
    margin: 0.3rem 0;
  }

  #mainNav .nav-link::after {
    bottom: -0.3rem;
  }
}

/* ----------------------- HERO / MASTHEAD ----------------- */

.masthead {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: #ffffff;
  padding-top: 5rem; /* espacio por la navbar */
  padding-bottom: 4rem;
  background-color: var(--bm-bg-dark);
  background-image:
      linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.85)),
      url("../assets/img/29-removebg-preview.png"),
      url("../assets/img/30-removebg-preview.png"),
      url("../assets/img/31-removebg-preview.png");
  background-repeat: no-repeat;
  background-position: left bottom, center bottom, right bottom;
  background-size: 34% auto, 34% auto, 34% auto;
}

.masthead::after {
  /* sutil viñeta lateral */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    transparent 0,
    transparent 55%,
    rgba(0, 0, 0, 0.45) 100%
  );
  pointer-events: none;
}

.masthead .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  letter-spacing: 0.35em;
  text-indent: 0.35em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  text-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
  max-width: 480px;
  margin: 0 auto 2rem auto;
  font-weight: 400;
  color: #e5e7eb;
}

/* Botones principales */
.btn-primary {
  --bs-btn-bg: var(--bm-accent);
  --bs-btn-border-color: var(--bm-accent);
  --bs-btn-hover-bg: var(--bm-accent-dark);
  --bs-btn-hover-border-color: var(--bm-accent-dark);
  --bs-btn-color: #ffffff;
  --bs-btn-hover-color: #ffffff;
  border-radius: 999px;
  padding: 0.7rem 2.4rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.btn-primary:focus-visible {
  box-shadow: 0 0 0 0.2rem rgba(100, 161, 157, 0.5);
}

/* Hero en móviles: una sola imagen centrada */
@media (max-width: 991.98px) {
  .masthead {
    align-items: flex-end;
    padding-bottom: 6rem;
    background-image:
      linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.92)),
      url("../assets/img/30-removebg-preview.png");
    background-position: center bottom;
    background-size: 80% auto;
  }

  .hero-title {
    font-size: 2.1rem;
    letter-spacing: 0.28em;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }
}

/* ----------------------- SECCIONES GENERALES ------------- */

main section {
  padding: 5.5rem 0;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-text {
  font-size: 0.98rem;
  color: #d1d5db;
  max-width: 800px;
  margin: 0 auto 1.25rem auto;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.section-link i {
  font-size: 0.85rem;
}

/* ----------------------- ABOUT --------------------------- */

.about-section {
  background: radial-gradient(
      circle at top,
      #0d1724 0,
      #050608 42%,
      #050608 100%
    );
  color: var(--bm-text-light);
  text-align: center;
}

.about-image {
  max-width: 340px;
  display: block;
  margin: 2rem auto 0 auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.9));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.about-image:hover {
  transform: translateY(-8px);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.95));
}

/* ----------------------- PRODUCTS ------------------------ */

.projects-section {
  background-color: var(--bm-bg-light);
  color: var(--bm-text-dark);
}

.projects-section .section-title,
.projects-section .section-text {
  color: var(--bm-text-dark);
}

/* Bloque destacado arriba */
.featured-text {
  background-color: #ffffff;
  border-radius: var(--bm-radius-xl);
  padding: 2.2rem 2.1rem;
  box-shadow: var(--bm-shadow-soft);
  position: relative;
  overflow: hidden;
}

.featured-text::before {
  content: "";
  position: absolute;
  top: 1.8rem;
  left: 0;
  width: 4px;
  height: 2.5rem;
  background-color: var(--bm-accent);
  border-radius: 0 999px 999px 0;
}

.featured-text h3 {
  font-size: 1.4rem;
  font-weight: 700;
}

.featured-text p {
  font-size: 0.95rem;
}

.btn-outline-dark {
  border-radius: 999px;
  font-size: 0.78rem;
  padding: 0.55rem 1.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

/* Tarjetas laterales */
.product-card {
  background-color: #000000;
  border-radius: var(--bm-radius-xl);
  overflow: hidden;
  box-shadow: var(--bm-shadow-soft);
}

.product-image-wrapper {
  flex: 1;
  background-color: #ffffff;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.4rem 1.6rem;
}

.product-image-wrapper img {
  max-height: 340px;
  object-fit: contain;
}

.product-content {
  flex: 1;
  padding: 2.1rem 2.2rem;
  color: #f9fafb;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-content h4 {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
}

.product-content p {
  font-size: 0.92rem;
  color: #d1d5db;
}

.product-card .btn {
  align-self: flex-start;
  border-radius: 999px;
  font-size: 0.75rem;
  padding: 0.45rem 1.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* En pantallas pequeñas las tarjetas se apilan mejor */
@media (max-width: 991.98px) {
  .featured-text {
    margin-top: 1.5rem;
  }

  .product-card {
    border-radius: var(--bm-radius-lg);
  }

  .product-content {
    padding: 1.7rem 1.8rem;
  }
}

/* ----------------------- COTIZACIÓN ---------------------- */

.signup-section {
  padding-top: 6.5rem;
  padding-bottom: 6rem;
  background: linear-gradient(
    to bottom,
    #c9d7e4 0,
    #aebfcd 25%,
    #7b8a95 50%,
    #050608 100%
  );
  color: var(--bm-text-dark);
}

.signup-section .section-title {
  letter-spacing: 0.18em;
}

.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 1.1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bm-accent);
  color: #ffffff;
  font-size: 1.25rem;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.35);
}

/* Formulario minimalista */
.minimal-form .form-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4b5563;
}

.minimal-form .form-control {
  border-radius: 999px;
  border: 1px solid #d1d5db;
  padding: 0.7rem 1.1rem;
  font-size: 0.95rem;
  background-color: rgba(255, 255, 255, 0.9);
  transition: border-color 0.2s ease, box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.minimal-form textarea.form-control {
  border-radius: 1.1rem;
  resize: vertical;
}

.minimal-form .form-control:focus {
  border-color: var(--bm-accent);
  box-shadow: 0 0 0 0.15rem rgba(100, 161, 157, 0.35);
  background-color: #ffffff;
}

/* ----------------------- ICONOS FLOTANTES IZQ ------------ */

.icon-bar {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 1040;
}

.icon-bar .icon-item {
  display: block;
  width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  color: #ffffff;
  font-size: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.icon-bar .icon-item:nth-child(1) {
  background-color: #3b5998; /* Facebook */
}

.icon-bar .icon-item:nth-child(2) {
  background-color: #25d366; /* WhatsApp */
}

.icon-bar .icon-item:nth-child(3) {
  background-color: #e4405f; /* Instagram */
}

.icon-bar .icon-item:hover {
  transform: translateX(6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  opacity: 0.95;
}

/* Esconder en pantallas muy pequeñas si estorba */
@media (max-width: 575.98px) {
  .icon-bar {
    top: auto;
    bottom: 1.5rem;
    transform: none;
  }
}

/* ----------------------- BOTÓN SUBIR --------------------- */

#myBtn {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: none;
  background-color: #4267b2;
  color: #ffffff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.5);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1040;
}

#myBtn.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#myBtn:hover {
  background-color: #34529c;
}

/* ----------------------- CONTACT / INFO CARDS ------------ */

.contact-section {
  background-color: var(--bm-bg-footer);
  color: var(--bm-text-light);
  padding-top: 3.8rem;
  padding-bottom: 3.5rem;
}

.info-card {
  background-color: #050608;
  border-radius: var(--bm-radius-lg);
  padding: 2.1rem 1.8rem 1.8rem;
  text-align: center;
  border-top: 3px solid var(--bm-accent);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.98);
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.9rem auto;
  background-color: rgba(100, 161, 157, 0.08);
  color: var(--bm-accent);
  font-size: 1.1rem;
}

.info-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.8rem;
}

.info-text {
  font-size: 0.9rem;
  color: #d1d5db;
}

.info-text a {
  color: #e5e7eb;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Iconos sociales del footer */
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  font-size: 0.85rem;
  transition: background-color 0.25s ease, color 0.25s ease,
    border-color 0.25s ease, transform 0.25s ease;
}

.social-link:hover {
  background-color: var(--bm-accent);
  border-color: var(--bm-accent);
  color: #ffffff;
  transform: translateY(-3px);
}

/* ----------------------- FOOTER -------------------------- */

.footer {
  background-color: #000000;
  color: var(--bm-text-muted);
  padding: 1.5rem 0 2rem;
  border-top: 1px solid #111827;
}

.footer a {
  color: var(--bm-accent-soft);
  font-weight: 600;
}

.footer a:hover {
  color: var(--bm-accent);
}

/* ----------------------- AJUSTES RESPONSIVE -------------- */

@media (max-width: 767.98px) {
  main section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-text {
    font-size: 0.94rem;
  }

  .info-card {
    margin-bottom: 1.2rem;
  }
}

/* === AJUSTE HERO: IMÁGENES MÁS VISIBLES === */

.masthead {
  position: relative;
  min-height: 100vh;
  padding-top: 6rem;   /* espacio para que no lo tape el navbar */
  padding-bottom: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  /* Fondo: imagen + overlay muy ligero */
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.55)),
    url("../assets/img/Diseño\ sin\ título\ \(7\).png"); /* <-- pon aquí tu collage */
  background-size: cover;      /* ocupa toda la pantalla */
  background-position: center top; /* se ve más el cuerpo completo */
  background-repeat: no-repeat;
  color: #fff;
}

/* Título y subtítulo un poco más limpios sobre la foto */
.masthead .hero-title {
  font-size: clamp(2.8rem, 5vw, 4rem);
  letter-spacing: 0.4rem;
  font-weight: 700;
}

.masthead .hero-subtitle {
  font-size: 1.05rem;
  max-width: 32rem;
  margin: 0 auto 1.8rem;
}

/* En pantallas grandes bajamos un poco el texto
   para que se vea más el vestido completo */
@media (min-width: 992px) {
  .masthead {
    padding-top: 7rem;
    padding-bottom: 7rem;
    background-position: center 15%; /* ajusta 0–25% según qué tanto quieras ver */
  }
}
