﻿/* Reset general */
 * {
 margin: 0;
 padding: 0;
 font-family: 'Noto Sans', Arial, sans-serif;
}

/* ========== Carrusel INDEX 10 imagenes ========== */

.slider-container-alt {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.slider-track-alt {
  display: flex;
  transition: transform 0.4s ease-in-out;
  height: 400px;
}

.slide-alt {
  min-width: 100%;
  position: relative;
}

.slide-alt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption-alt {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 15px;
  text-align: center;
  font-size: 14px;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 18px;
  z-index: 10;
  border-radius: 50%;
}

.slider-nav:hover {
  background-color: rgba(0,0,0,0.8);
}

.prev-alt {
  left: 15px;
}

.next-alt {
  right: 15px;
}

/*.slider-dots-alt {
  text-align: center;
  padding: 10px 0;
  position: absolute;
  bottom: 10px;
  width: 100%;
}*/

/*.dot-alt {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
}*/

.dot-alt.active, .dot-alt:hover {
  background-color: #691C32;
}

@media (max-width: 768px) {
  .slider-track-alt {
    height: 250px;
  }

  .slide-caption-alt {
    font-size: 12px;
    padding: 10px;
  }

  .slider-nav {
    padding: 8px 12px;
    font-size: 16px;
  }

  .dot-alt {
    height: 10px;
    width: 10px;
  }
}

/*========== Fin Carrusel principal ==========*/

   .dropdown-divider {
     border-top: 1px solid #BC955C;
    }

    .buttonn {
     display: flex;
     justify-content: flex-start;
     margin-right: 15px;
     gap: 10px;
     }

    .menu {
     background-color: white;
            padding: 10px;
            box-shadow: 0 4px 8px rgba(255, 0, 0, 0.5);
        }

        .menu-item {
            margin: 5px 0;
        }

/* ========== TEXTOS Y ESTILOS GENERALES ========== */
        .mision {
            color: #691C32;
        }

        .origenes {
            color: #10312B;
        }

        .vision {
            color: #10312B;
        }

        .linea-oro {
            border: 0;
            height: 2px;
            background-color: #BC955C;
            margin: 2rem 0;
        }

        li::marker {
            font-weight: bold;
        }

        .negrita {
            font-weight: bold;
        }

        .alineado-derecha {
            text-align: right;
        }

        .alinear-izquierda {
            text-align: left;
            
        }

        .sangria {
            text-indent: 30px;
        }

        .sangria2 {
            margin-left: 2em;
        }

        .sangria3 {
            text-indent: 42px;
        }

/* ========== TEXTO SOBRE IMAGEN ========== */
        .superpuesta-container {
            position: relative;
            width: 100%;
        }

        .superpuesta-image {
            display: block;
            width: 100%;
            height: auto;
        }

        .superpuesta-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 24px;
            font-weight: bold;
            text-align: center;
        }

        /* ========== RESPONSIVE ========== */

            .contenedor {
                flex-direction: column;
                gap: 15px;
            }

            .columna {
                width: 100%;
            }

            .buttonn {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
            }

            .logo-main {
                margin: 10px auto;
                width: 90%;
            }
        
            .carousel-item img {
                max-height: 250px;
            }
            
            .footer .col-12 {
                margin-bottom: 1.5rem;
            }
            
            
             .dropdown-menu .dropdown-item b {
              font-size: 10px; /* Aplica a todos los <b> dentro del dropdown */
              font-family: 'Noto Sans', Arial, sans-serif;
            }  
            
            /* Aumentar tamaño de elementos clickeables  del menu del gobierno
            a, button, .clickable {
                min-width: 100px;
                min-height: 30px;
            }*/

/* Estilos para botones contenedores */
            .button-container {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
           }

            .button-container img {
            width: 50px;
            height: 50px;
            margin-right: 10px;
           }

            .button-container span {
            color: #691C32;
            font-size: 16px;
            text-align: left;  
           }
           
            .container.custom-container {
             padding-left: 30px;
             padding-right: 30px; /* Valor base para móviles */
            }
 
            @media (min-width: 768px) {
            .container.custom-container {
            padding-right: 250px; /* Solo en pantallas medianas en adelante */
            }
            } 


/* ========== ESTRUCTURA CONTENEDOR ========== */
        .contenedor {
            display: flex;
            justify-content: space-between;
            gap: 20px;
            padding: 20px;
            flex-wrap: wrap;
        }

        .columna {
            width: 30%;
        }

/* ========== REDES SOCIALES ========== */
.redes-sociales {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.iconos-redes img {
    max-width: 30px;
    height: auto;
    margin: 0 5px;
    
}

.iconos-redes {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
    width: 150px;
    /* 150px; Ancho del botón */
    height: 40px;
    /* 50px; Alto del botón */
    background-color: transparent;
    /* #4CAF50 Color de fondo */
    color: white;
    /* Color del texto */
    border: none;
    /* Sin borde */
    cursor: pointer;
    /* Cambia el cursor a una mano */
    font-size: 16px;
    /* 16px; Tamaño de la fuente */
    
    }


/* ========== SITIOS RELACIONADOS ========== */
        .sitios-relacionados h4 {
            color: #691C32;
        }

        .sitios-relacionados ul {
            list-style-type: disc;
            padding-left: 20px;
        }

        .sitios-relacionados ul li {
            margin-bottom: 1px;
            font-size: medium;
            text-align: left;
        }


/* ========== RESPONSIVE ========== */

    .contenedor {
        flex-direction: column;
        gap: 15px;
    }

    .columna {
        width: 100%;
    }

    .buttonn {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .logo-main {
        margin: 20px auto;
        width: 90%;
    }

    /*actual*/

        /* ========== IMAGEN PRINCIPAL ========== */
        .imagen-principal img {
            max-width: 100%;
            height: auto;
        }

        /* ========== LOGO CNPC ========== */
        .logo-main {
            width: 100%;
            max-width: 1000px;
            height: auto;
            margin: 0 auto;
        }

        /* ========== MARCA DE AGUA ========== */
        .watermark {
            position: relative;
        }        

/* ========== Responsivo Carrusel INDEX ========== */
        @media screen and (max-width: 768px) {
            .slider-text-alt {
                top:70%;
                font-size: 8px;
                width: 95%;
            }


            .contenedor {
                flex-direction: column;
                gap: 15px;
            }

            .columna {
                width: 100%;
            }

            .buttonn {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
            }

            .logo-main {
                margin: 20px auto;
                width: 90%;
            }
             
            /* Aumentar tamaño de elementos clickeables */
            a, button, .clickable {
                min-width: 44px;
                min-height: 44px;
            }
        }

/* Ajustes generales para móviles */
            .carousel-item img {
                max-height: 250px;
            }
            
            .footer .col-12 {
                margin-bottom: 1.5rem;
            }
        
/* Estilos para la lista de materiales */
        .material-list {
        border-radius: 5px;
        overflow: hidden;
        }

        .material-item {
        display: flex;
        align-items: center;
        padding: 12px 15px;
        color: #10312B;
        text-decoration: none;
        transition: all 0.3s ease;
        border-bottom: 1px solid #e9ecef;
        }

        .material-item:hover {
        background-color: #f8f9fa;
        color: #691C32;
        }

        .material-item:last-child {
        border-bottom: none;
        }

        .material-item img {
        margin-right: 10px;
        }

.informacion-title {
    color: #691C32;
    font-weight: bold;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .material-item {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .material-item img {
        width: 20px;
        height: 20px;
    }
    
    .informacion-title {
        font-size: 1.1rem;
    }
}

       .btn-container {
            margin: 20px 0;
        }
        
        .btn-container img {
            max-width: 100%;
            height: auto;
            transition: transform 0.3s;
        }
        
        .btn-container img:hover {
            transform: scale(1.05);
        }
        /* Ajustes específicos para index3_2 en móviles */
            .content-img, .content-text {
                padding: 0 15px;
            }
            
            .btn-container {
                text-align: center;
            }
            
            .btn-container img {
                max-width: 80%;
            }