/* You can add global styles to this file, and also import other style files */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Asegurar que navbar de Bootstrap se vea correctamente */
.navbar {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
}

.navbar-brand {
    display: inline-block !important;
}

.navbar-toggler {
    display: block !important;
}

@media (min-width: 992px) {
    .navbar-toggler {
        display: none !important;
    }
    
    .navbar-collapse {
        display: flex !important;
    }
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Asegurar que router-outlet se vea */
router-outlet ~ * {
    display: block;
}

/* Estilos base para contenedores */
.container, .container-fluid {
    width: 100%;
}/* You can add global styles to this file, and also import other style files */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Asegurar que navbar de Bootstrap se vea correctamente */
.navbar {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
}

.navbar-brand {
    display: inline-block !important;
}

.navbar-toggler {
    display: block !important;
}

@media (min-width: 992px) {
    .navbar-toggler {
        display: none !important;
    }
    
    .navbar-collapse {
        display: flex !important;
    }
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Asegurar que router-outlet se vea */
router-outlet ~ * {
    display: block;
}

/* Estilos base para contenedores */
.container, .container-fluid {
    width: 100%;
}.offer-banner {
    position: absolute;
    top: 80px;
    left: -5px;
    background-color: rgb(57, 8, 70);
    color: rgb(251, 252, 250);
    padding: 5px 20px;
    transform: rotate(-35deg);
    font-weight: bold;
    font-size: 1.6em;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border-radius: 10px;
    z-index: 1000;
    overflow: hidden;
    white-space: nowrap;
}

/* Dispositivos móviles */
@media (max-width: 768px) {
    .offer-banner {
        top: 60px;
        font-size: 1rem;
        padding: 3px 10px;
        left: -10px;
    }
}

.offer-banner span {
    display: inline-block;
    animation: moveLeft 15s linear infinite;
}

@keyframes moveLeft {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.main-container {
    display: flex;
    margin-left: 2%;
    
    align-content: stretch;
    justify-content: center;
    align-items: stretch; /* hace que los hijos (side-menu y content) tengan la misma altura */
    
    background-color: #f8f9f9;
    padding: 7px;
    margin: 0px;
    min-height: auto;
    flex-direction: row;
    gap: 15px;
}

/* Tablet y dispositivos medianos (máximo 1024px) */
@media (max-width: 1024px) {
    .main-container {
        margin-left: 1%;
        gap: 10px;
    }
}

/* Dispositivos móviles (máximo 768px) */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        margin-left: 0;
        padding: 5px;
        gap: 15px;
    }
}

/* Estilos del menú lateral */
.side-menu1 {
    width: 220px;
    background-color: #fe0b0bdf;
    padding: 20px;
    border-radius: 15px;
    background-image: url('/assets/images/fondo3.jpg');
    background-size:contain;
    background-position: center;
    background-repeat: repeat;
    background-attachment:calc(100vh - 100px); 
    text-align: center;
    align-self: stretch; /* fuerza que el menú se estire junto al contenedor principal */
}

/* Tablet y dispositivos medianos */
@media (max-width: 1024px) {
    .side-menu1 {
        width: 180px;
        padding: 15px;
    }
}

/* Dispositivos móviles - ocupar 100% del ancho */
@media (max-width: 768px) {
    .side-menu1 {
        width: 100%;
        padding: 15px;
        border-radius: 10px;
        align-self: auto;
    }
}

.side-menu ul {
    list-style: none;
    padding: 0;
    margin: 5;
}

.side-menu li {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .side-menu li {
        margin-bottom: 8px;
    }
}

.side-menu a {
    color: white;
    text-decoration: none;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', 'sans-serif';
    font-size: 14px;
     transition: color 0.3s
     font-weight: bold;
}

@media (max-width: 768px) {
    .side-menu a {
        font-size: 12px;
    }
}
   

.side-menu a:hover {
    color: #3498db;
}

/* Estilos del contenido principal */
.content {
    flex: 1;
    
    position: relative; 
    padding: 10px;
    border-radius: 10px;
    margin: 8px;
    border: 1px solid #2c3e50; /* borde más delgado */
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-self: stretch; /* asegura que el contenido se estire a la misma altura que el menú */
}

/* Tablet */
@media (max-width: 1024px) {
    .content {
        padding: 8px;
        margin: 5px;
    }
}

/* Dispositivos móviles */
@media (max-width: 768px) {
    .content {
        flex: 1;
        padding: 10px;
        margin: 0;
        border-radius: 8px;
        align-self: auto;
    }
}

/* Estilos del encabezado */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

.logo {
    width: 170px;
    height: auto;
    position: absolute;
    top: 20px;
    right: 20px;
    border-radius: 10px;
}

/* Tablet */
@media (max-width: 1024px) {
    .logo {
        width: 120px;
        top: 15px;
        right: 15px;
    }
}

/* Dispositivos móviles */
@media (max-width: 768px) {
    .logo {
        position: static;
        width: 100px;
        margin-bottom: 10px;
    }
}

.title {
    font-size: 2.5em;
    color: #2c3e50;
    text-align: center;
    margin: 0;
}

/* Estilos de la descripción1 */
.description1 {
    max-width: 280px;
    margin: 0 auto;
    text-align: justify;
    line-height: 1.2;
    color: #0d031d;
    font-size: 0.8em;
    font-family: "Segoe UI";
    
    /* Nuevas propiedades para el scroll */
    max-height: 15.8em;        /* Alto para ~10 líneas (1.6em * 7) */
    overflow-y: auto;         /* Añade scroll vertical */
    padding-right: 5px;      /* Espacio para la barra de scroll */
    box-sizing: border-box;
    display: block;
}
/* Estilo personalizado para la barra de scroll1 (opcional) */
.description1::-webkit-scrollbar {
    width: 4px;
}
.description1::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}
.description1::-webkit-scrollbar-thumb {
    background: #450758;
    border-radius: 2px;
}

.description1::-webkit-scrollbar-thumb:hover {
    background: #555;
}


/* Estilos de la descripción */
.description {
    max-width: 700px;
    margin: 0 auto;
    text-align: justify;
    line-height: 1.6;
    color: #0d031d;
    font-size: 0.9em;
    font-family: "Segoe UI";
    
    /* Nuevas propiedades para el scroll */
    height: 6.4em;        /* Alto para 3 líneas (1.6em * 3) */
    overflow-y: auto;     /* Añade scroll vertical */
    padding-right: 10px;  /* Espacio para la barra de scroll */
}

/* Tablet */
@media (max-width: 1024px) {
    .description {
        font-size: 0.85em;
        height: 5.5em;
        line-height: 1.5;
    }
}

/* Dispositivos móviles */
@media (max-width: 768px) {
    .description {
        font-size: 0.8em;
        height: auto;
        max-height: 120px;
        line-height: 1.4;
        padding-right: 8px;
    }
}

/* Estilo personalizado para la barra de scroll (opcional) */
.description::-webkit-scrollbar {
    width: 6px;
}

.description::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.description::-webkit-scrollbar-thumb {
    background: #450758;
    border-radius: 2px;
}

.description::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.gallery-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 10px 0;
    padding: 0 5px;
    position: relative;
    min-height: 200px;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
}

/* Tablet */
@media (max-width: 1024px) {
    .gallery-container {
        gap: 20px;
        min-height: 150px;
    }
}

/* Dispositivos móviles */
@media (max-width: 768px) {
    .gallery-container {
        gap: 10px;
        min-height: auto;
        margin: 10px 0;
    }
}

.ubica-boton {
    position: absolute;
    top: 20%;
    left: 3px;
    transform: translateY(-50%);
    z-index: 2;
}

.ubica-boton2 {
    position: absolute;
    top: 20%;
    right: 3px;
    transform: translateY(-50%);
    z-index: 2;
}

.image-item {
    width: 244px; /* Ajusta según necesites */
    height: 208px; /* Ajusta según necesites */
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

button {
    padding: 5px 5px;
    cursor: pointer;
    
    
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 5px;
    padding: 3px;
    margin-top: 5px;
    width: auto;
    max-width: 100%;
}

/* Tablet */
@media (max-width: 1024px) {
    .image-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
        padding: 2px;
    }
}

/* Dispositivos móviles */
@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3px;
        padding: 2px;
        margin-top: 3px;
    }
}

/* Dispositivos muy pequeños */
@media (max-width: 480px) {
    .image-grid {
        grid-template-columns: 1fr;
        gap: 2px;
        padding: 1px;
    }
}

.images-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0;
}

.image-cell {
    border: 2px solid #3498db;
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    text-align: center;
}

@media (max-width: 768px) {
    .image-cell {
        border: 1px solid #3498db;
        padding: 3px;
    }
}

.image-cell img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.image-description {
    color: #270b69;
    font-size: 12px;
    margin: 0;
    padding: 5px;
}

@media (max-width: 768px) {
    .image-description {
        font-size: 10px;
        padding: 3px;
    }
}
.social-icon {
  margin: 0 10px;
  font-size: 24px;
  text-decoration: none;
}

.social-icon.facebook {
  color: #3b5998; /* Facebook blue */
}

.social-icon.instagram {
  color: #e4405f; /* Instagram pink */
}

.social-icon.youtube {
  color: #e90e0ee1; /* YouTube red */
}

.social-icon:hover {
  opacity: 0.7;
}

.oferta-titulo {
    color: #e9db1d;
    margin: 0 0 10px 0;
    font-weight: bold;
    text-align: center;
}

.oferta-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.oferta-item {
    color: #a8c9eb;
    margin-bottom: 8px;
}

.oferta-subtexto {
    color: #a8c9eb;
    margin-bottom: 8px;
    font-style: italic;
}

.oferta-destacado {
    color: #28e93b;
    margin-bottom: 8px;
    font-weight: bold;
    text-decoration: underline;
}

.oferta-separador {
    color: #34495e;
    margin-bottom: 8px;
}

.oferta-atencion {
    color: #55d735;
    margin-bottom: 8px;
    font-weight: bold;
    text-align: center;
    text-decoration: underline;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 14px;
}

.oferta-celular,
.oferta-vacio {
    color: #a8c9eb;
    margin-bottom: 8px;
    font-weight: bold;
    text-align: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.oferta-celular {
    font-size: 18px;
}

.oferta-vacio {
    font-size: small;
}

.marca-caja {
    background-color: #93bbdb;
    padding: 5px;
    border-top-left-radius: 35px;
    border-bottom-right-radius: 35px;
    border-style: solid;
    border-color: rgb(202, 201, 212);
    margin: 5px 0;
}

.marca-titulo {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: rgba(255, 255, 255, 0.658);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    font-weight: bold;
    letter-spacing: 5px;
    margin: 0;
}

.tecnicas-titulo {
    font-size: 0.9em;
    text-indent: 8%;
    position: relative;
    margin-top: 15px;
    color: blue;
}

.info-tabla {
    border-collapse: separate;
    width: 100%;
    margin-top: 10px;
}

.info-col {
    border: 1px solid #0066cc;
    padding: 10px;
    text-align: center;
}

.info-col-top-left {
    border-top-left-radius: 20%;
}

.info-col-top-right {
    border-top-right-radius: 20%;
}

.info-col-titulo {
    margin: 0;
    font-size: 12px;
}

.social-wrap {
    text-align: right;
    margin-top: 20px;
}

.copyright-note {
    color: #250346;
    margin-top: 20px;
    font-style: inherit;
    font: 0.6em sans-serif;
    text-align: center;
}

/* ===== MEDIA QUERIES PARA TABLA ===== */
.tecnicas-titulo {
    width: 100%;
    border-collapse: separate;
    margin-top: 10px;
}

table td {
    border: 1px solid #0066cc;
    padding: 10px;
    .tecnicas-titulo {
}

table img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Tablet */
@media (max-width: 1024px) {
    table {
        margin-top: 8px;
    }
    
    table td {
        padding: 8px;
        font-size: 0.9em;
    }
}

/* Dispositivos móviles */
@media (max-width: 768px) {
    table {
        display: block;
        margin-top: 10px;
        border-collapse: collapse;
    }
    
    table tr {
        display: block;
        margin-bottom: 10px;
        border: 1px solid #0066cc;
        border-radius: 8px;
        overflow: hidden;
    }
    
    table td {
        display: block;
        border: none;
        border-bottom: 1px solid #e0e0e0;
        padding: 10px;
        text-align: center;
    }
    
    table td:last-child {
        border-bottom: none;
    }
    
    table img {
        max-width: 100%;
        height: auto;
    }
}

/* ===== MEDIA QUERIES PARA HEADING H3 ===== */
h3 {
    font-size: 0.9em;
    text-indent: 8%;
    position: relative;
    margin-top: 15px;
    color: blue;
}

@media (max-width: 768px) {
    h3 {
        font-size: 0.85em;
        text-indent: 5%;
        margin-top: 10px;
    }
}/* Navbar styles 
.navbar {
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: #007bff;
}

.navbar-nav {
    margin-left: auto;
}

.nav-link {
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
    margin-left: 1rem;
}

.nav-link:hover {
    color: #007bff;
}

.nav-link.active {
    color: #007bff;
    text-decoration: underline;
} */

/* Mobile styles */
@media (max-width: 991px) {
    .navbar-toggler {
        border: 2px solid #007bff;
    }

    .navbar-collapse {
        margin-top: 0.5rem;
    }

    .navbar-collapse.show {
        background-color: #f8f9fa;
        border-top: 2px solid #007bff;
        padding-top: 1rem;
        border-radius: 0.5rem;
    }

    .nav-link {
        padding: 0.8rem 1rem;
        margin-left: 0;
        font-weight: 600;
    }

    .nav-link:hover {
        background-color: #e9ecef;
        border-radius: 0.3rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.5rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }
}



/* Estilos movidos desde home.php */
/* Proteger navbar de Bootstrap - MÁXIMA PRIORIDAD */
    nav.navbar {
      background-color: #6f42c1 !important;
      color: white !important;
      display: block !important;
      z-index: 1020 !important;
      position: relative !important;
      width: 100% !important;
    }
    
    nav.navbar .navbar-collapse {
      background-color: #6f42c1 !important;
    }
    
    nav.navbar .nav-link {
      color: white !important;
    }
    
    /* Proteger estilos específicos del navbar */
    .navbar { background-color: #6f42c1 !important; color: white !important; }
    .navbar-collapse { background-color: #6f42c1 !important; }
    .nav-link { color: white !important; }
    
    /* Estilos para que el carrusel funcione */
    .image-cell.hidden { display: none; }
    .gallery-container { display: flex; align-items: center; gap: 10px; justify-content: center; }
    .image-grid { display: flex; gap: 15px; }
    .image-cell { text-align: center; width: 150px; }
    .image-cell img { width: 100%; border-radius: 8px; }
    /* Ajustes de tu layout */
    .main-container { display: flex; margin-top: 10px; }
    .side-menu { width: 250px; background: #2c3e50; padding: 20px; color: white; }
    .content { flex: 1; padding: 20px; }
