/* ================================
   TLM - Estilos Consolidados
   ================================ */

/* --- General --- */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
}

/* --- Navbar --- */
.navbar {
    background-color: #1c1c1c !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar-brand img {
    height: 45px;
    margin-right: 10px;
    vertical-align: middle;
}

.navbar-nav .nav-link {
    color: #ccc !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #3a7bd5 !important; /* Azul discreto y moderno */
}

/* --- Hero Section --- */
#inicio {
    position: relative;
    background: url('../../imgs/fondo-tlm.png') no-repeat center center/cover;
    height: 100vh;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
}

/* Capa oscura */
#inicio::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

/* Contenido sobre la capa */
#inicio .container {
    position: relative;
    z-index: 2;
    margin-top: 80px;
}

/* --- Animaciones de entrada --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#inicio h1, #inicio p, #inicio a {
    animation: fadeIn 1.2s ease forwards;
}

#inicio h1 {
    animation-delay: 0.2s;
}
#inicio p {
    animation-delay: 0.4s;
}
#inicio a {
    animation-delay: 0.6s;
}

/* --- Botón principal --- */
.btn-primary {
    background-color: #3a7bd5; /* Azul más suave */
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background-color: #2a5fa0; /* Azul más oscuro al pasar el cursor */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}


/* --- Sección Servicios --- */
#servicios {
    scroll-margin-top: 80px; /* evita que el título quede oculto */
    padding-top: 100px;
    padding-bottom: 80px;
}

#servicios h2 {
    font-weight: 700;
    font-size: 2rem;
    color: #222;
}

#servicios h2 span{
    font-weight: 700;
    font-size: 2rem !important;
    color:  #3a7bd5 !important;
}

#servicios p {
    font-size: 1.1rem;
    color: #666;
}

/* --- Tarjetas --- */
#servicios .card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#servicios .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* --- Íconos --- */
#servicios i {
    display: inline-block;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.05);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

#servicios .card:hover i {
    background-color: rgba(0,0,0,0.1);
    transform: scale(1.1);
}

/* Colores CMYK */
.text-primary {
    color: #3a7bd5 !important;
}   /* Azul */
.text-danger  {
    color: #d53a7b !important;
}   /* Magenta */
.text-warning {
    color: #f5b400 !important;
}   /* Amarillo */
.text-dark    {
    color: #222 !important;
}      /* Negro */

/* --- Listas --- */
#servicios ul {
    padding-left: 0;
    list-style: none;
    font-size: 0.95rem;
    color: #444;
}

#servicios ul li::before {
    content: "•";
    color: #3a7bd5;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}


/* --- Footer de valores --- */
#servicios .text-center span {
    font-size: 1rem;
    letter-spacing: 1px;
}




#valores {
    scroll-margin-top: 80px; /* evita que el título quede oculto */
}

#catalogo {
    scroll-margin-top: 80px; /* evita que el título quede oculto */
}



/* --- Footer --- */
footer {
    background-color: #1c1c1c;
    color: #ccc;
    text-align: center;
    padding: 15px 0;
    font-size: 0.9rem;
}

.producto h3 {
  font-size: 1.8rem;
  color: #000;
}

.producto h4 {
  font-size: 1.2rem;
  color: #3a7bd5;
  margin-bottom: 15px;
}

.producto ul {
  list-style: none;
  padding-left: 0;
}

.producto ul li::before {
  content: "•";
  color: #3a7bd5;
  margin-right: 8px;
}

.producto img {
  transition: transform 0.3s ease;
}

.producto img:hover {
  transform: scale(1.03);
}


.barra-color {
  width: 4px;              /* grosor de la barra */
  height: 40px;            /* altura */
  background-color: #d53a7b; /* color magenta */
  border-radius: 2px;      /* bordes suaves */
  display: inline-block;
  margin-right: 10px;      /* separación del texto */
  vertical-align: middle;
}


.titulo-barra {
  position: relative;
  padding-left: 12px;
}

.titulo-barra::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: 24px;
  background-color: #d53a7b; /* magenta */
  border-radius: 2px;
}


#contacto h2 {
  font-size: 2.2rem;
  letter-spacing: 1px;
}

#contacto h4 {
  font-size: 1.3rem;
}

/* Íconos circulares */
.icono-contacto {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Separadores magenta */
.contact-item {
  border-left: 4px solid #d53a7b;
  padding-left: 15px;
}

/* Botón WhatsApp centrado */
#contacto .btn-success {
  background-color: #25D366;
  border: none;
  border-radius: 30px;
  transition: background-color 0.3s ease;
}

#contacto .btn-success:hover {
  background-color: #1ebe5d;
}

/* Imagen y disposición */
#contacto img {
  max-width: 90%;
  border-radius: 12px;
}
