
/* =========================
   🎨 VARIABLES
========================= */
:root {
  --primary: #007bff;
  --primary-hover: #0056b3;
  --dark: #0d1b2a;
  --light: #f8f9fa;
  --text: #212529;
  --text-muted: #6c757d;
  --white: #ffffff;
  --success: #25D366;
}

/* =========================
   BASE TEMPLATE
========================= */
body {
  font-family: 'Lora';
  background: linear-gradient(rgba(13,27,42,0.6)), url("../img/bg.jpg");
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway';
}

p {
  line-height: 1.75;
}

/* =========================
   HEADINGS
========================= */

.section-heading-upper {
  color: var(--primary);
  font-weight: 800;
}

.section-heading-lower {
  font-size: 2rem;
  font-weight: 100;
}

/* =========================
   NAVBAR
========================= */
.custom-navbar {
  background-color: var(--dark) !important;
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 400;
  transition: 0.3s;
}

.navbar-nav .nav-link:hover {
  color: var(--primary) !important;
}

.navbar-nav .nav-link.active {
  color: var(--primary) !important;
}

/* =========================
   SECCIONES
========================= */
.bg-faded {
  background-color: rgba(255,255,255,0.9);
}

/* IMAGENES */
.intro-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TEXTO ENCIMA */
/* FIX INTRO paRA EVITAR SUPERPOSICION */
.intro {
  position: relative;
  padding-bottom: 40px; /* espacio real para el texto */
}

.intro-text {
  position: absolute;
  top: 55%;
  left: 50%;
  margin-bottom: 10%;
  transform: translate(10%, -60%); /* centrado perfecto */
  max-width: 550px;
  width: 90%;
  z-index: 10;
}

/* RESPONSIVE */
/* MOBILE */
@media (max-width: 768px) {

  /* contenedor general */
  .intro {
    display: flex;
    flex-direction: column;

  }

  /* SLIDE ARRIBA */
  .carousel {
    order: 1;
    max-width: 2000px;
  }
 .intro .intro-text {
    position: relative !important; /* rompe el absolute del template */
    order: 2;
    left:0;
    transform: translate(0%, -20%); /* centrado perfecto */;
    margin: 0 auto;
    width: 90%;
    z-index: 10;
  }

  

}

/* =========================
   CTA FIX
========================= */
.cta {
  margin-top: 80px !important;
  padding: 2rem 0;
  background-color: var(--primary);
  color: var(--white);
  position: relative;
  z-index: 1;
}
/* =========================
   CTA
========================= */

.cta .cta-inner {
  background-color: var(--white);
  color: var(--text);
}


/* =========================
   BOTONES
========================= */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

/* =========================
   FOOTER
========================= */
.footer {
  background-color: var(--dark) !important;
  color: var(--white);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-title {
  font-weight: 600;
}

.footer-text {
  color: #ccc;
}

/* =========================
   BOTONES FLOTANTES
========================= */
.floating-contact {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  gap: 12px;
  z-index: 9999;
}

.contact-btn {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  transition: 0.3s;
}

.contact-btn:hover {
  transform: scale(1.1);
}

.whatsapp {
  background-color: var(--success);
}

.mail {
  background: linear-gradient(135deg, var(--primary), #00c6ff);
}

/* =========================
   FORM
========================= */
.form-control {
  border-radius: 8px;
  
}

/* =========================
   LISTS / HOURS (template)
========================= */
.list-hours .list-hours-item.today {
  color: var(--primary);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .floating-contact {
    margin-top: 15px;
    bottom: 15px;
    right: 15px;
  }
}

/* =========================
   botones de mail y wa store.html
========================= */
.contact-inline {
  display: flex;
  justify-content: center; /* centrado horizontal */
  gap: 20px; /* espacio entre botones */
    margin-top: 25px;

}
 /* TOOLTIP */
      .contact-btn::after {
        content: attr(data-tooltip);
        position: absolute;
        bottom: 80px;
        right: 50%;
        transform: translateX(50%);
        background: #000;
        color: #fff;
        padding: 6px 10px;
        border-radius: 6px;
        font-size: 13px;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: 0.3s;
      }

      /* MOSTRAR TOOLTIP */
      .contact-btn:hover::after {
        opacity: 1;
        z-index: 99999;
      }




.contact-btn {
  position: relative;
  z-index: 99999;
}

/* CONTENEDOR VERTICAL */
.cv-container {
  display: flex;
  flex-direction: column;
  margin-top: 2%;
}

/* MENSAJE */
.formMessage {
  margin-top: 6px;
  font-size: 14px;
  min-height: 20px; /* evita saltos */
}

/* input del form */
/* WRAPPER */
.cv-input-wrapper {
  position: relative;
  width: 220px;
}

/* INPUT FAKE */
.cv-input {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: white;
  cursor: pointer;
}

/* TEXTO */
.cv-text {
  color: #6c757d;
  display: -webkit-box; 
  -webkit-box-orient: vertical;
  overflow: hidden;

  line-height: 1.2;
  font-size: 14px;
}


/* INPUT VISUAL */
.cv-input {
  overflow: hidden; /* corta lo que se sale */
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 12px;
}

/* BOTÓN */
.cvForm .uploadBtn {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}
/* FLECHA */
.cv-input i {
  font-size: 14px;
}


/* DROPDOWN */
.cv-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 5px;
  display: none;
  z-index: 999;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* OPCIONES */
.cv-option {
  padding: 10px;
  cursor: pointer;
}

.cv-option:hover {
  background: #f1f1f1;
}

/* =========================
   FORM SOLO FOOTER
========================= */

/* WRAPPER */
.footer-cv .cv-input-wrapper {
  position: relative;
  width: 220px;
}

/* INPUT */
.footer-cv .cv-input {
  height: 44px;
  display: flex;
  align-items:center;
  justify-content: space-between;
  padding: 0 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

/* TEXTO */
.footer-cv .cv-text {
  color: #6c757d;
}

/* FLECHA */
.footer-cv .cv-input i {
  font-size: 14px;
  color: #212529;
}

/* DROPDOWN */
.footer-cv .cv-dropdown {
  position: absolute;
  top: 100%;
  text-align: left;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 5px;
  display: none;
  z-index: 9999;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* OPCIONES */
.footer-cv .cv-option {
  padding: 10px;
  cursor: pointer;
  color: #212529;
}

.footer-cv .cv-option:hover {
  background: #f1f1f1;
}

/* BOTÓN */
.footer-cv .uploadBtn {
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

/* BOTÓN SUBIR */
#scrollTopBtn {
  position: fixed;
  bottom: 100px; /* arriba de WhatsApp */
  right: 25px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: none;
  background: #007bff;
  color: white;
  font-size: 22px;
  display: none; /* oculto al inicio */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  transition: 0.3s;
}

/* HOVER */
#scrollTopBtn:hover {
  background: #0056b3;
  transform: scale(1.1);
}



/* ALTURA FIJA DEL SLIDER */
#introCarousel {
  height: 400px;
}

/* TODAS LAS CAPAS DEL CAROUSEL */
#introCarousel .carousel-inner,
#introCarousel .carousel-item {
  height: 100%;
}

.intro-text {
  z-index: 9999 !important;
}
/* =========================
   FIX SLIDER + TEXTO ENCIMA
========================= */

/* CONTENEDOR */
.carousel {
  z-index: 1 !important;
}

.intro {
  position: relative;
}

/* SLIDER SIEMPRE ATRÁS */
.carousel,
.carousel-inner,
.carousel-item {
  position: relative;
  z-index: 1;
}

/* IMAGEN */
.carousel-item img {
  position: relative;
  z-index: 1;
}

/* TEXTO SIEMPRE ARRIBA */
.intro-text {
  position: absolute;
  z-index: 999; /* 👈 clave */
}

/* =========================
   FIX CAROUSEL FADE SIN HUECOS
========================= */

.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  position: absolute;
  inset: 0;
}

/* ACTIVA */
.carousel-fade .carousel-item.active {
  opacity: 1;
  position: relative;
  z-index: 2;
}

/* LA SIGUIENTE (para evitar hueco en loop) */
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
  opacity: 1;
  z-index: 1;
}

/* CONTENEDOR */
.about-heading .intro {
  position: relative;
}

/* TEXTO ENCIMA */
.about-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
  width: 90%;
  max-width: 600px;
}

@media (max-width: 768px) {

  .about-overlay {
    position: absolute;
    top: 60%;
    transform: translate(-50%, -50%);
  }

  /* evita desconfiguración en "modo escritorio" en celular */


}