/* Importar fuentes Orbitron y Montserrat desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&family=Montserrat:wght@300;400;600&display=swap');

/* Estilos para la sección de información */
.info-section {
    background-color: rgba(0, 0, 0, 0.3); /* Fondo negro con mayor transparencia (30%) */
    backdrop-filter: blur(10px); /* Efecto de vidrio esmerilado */
    width: 90%;
    max-width: 900px;
    padding: 40px 20px;
    margin: 50px auto;
    border-radius: 12px;
    border: 1px solid rgba(192, 192, 192, 0.3); /* Borde plateado sutil */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    font-family: 'Montserrat', Arial, sans-serif;
}

.info-container {
    max-width: 100%;
    margin: 0 auto;
}

.info-article {
    margin-bottom: 70px;
    opacity: 0;
    transform: translateY(30px);
    animation: slideIn 1s ease-out forwards;
}

.info-article:nth-child(2) {
    animation-delay: 0.3s;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-image {
    text-align: center;
    margin-bottom: 25px;
}

.info-image img {
    width: 100%;
    max-width: 700px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #c0c0c0; /* Borde plateado */
    opacity: 0;
    animation: fadeInImage 1.2s ease-out forwards;
}

@keyframes fadeInImage {
    to {
        opacity: 1;
    }
}

.info-image img:hover {
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.5);
}

.info-article h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff; /* Blanco puro */
    text-align: center;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-shadow: 0 0 8px rgba(192, 192, 192, 0.3);
    transition: text-shadow 0.3s ease;
}

.info-article h2:hover {
    text-shadow: 0 0 12px rgba(192, 192, 192, 0.5);
}

.info-text {
    background-color: rgba(0, 0, 0, 0.5); /* Fondo transparente */
    backdrop-filter: blur(8px);
    border-radius: 10px;
    padding: 25px;
    font-size: 1rem;
    line-height: 1.7;
    color: #c0c0c0; /* Plateado */
    text-align: center;
    max-width: 800px; /* Aumentado para mostrar textos completos */
    margin: 0 auto;
    border: 1px solid rgba(192, 192, 192, 0.2);
}

.info-text p {
    margin: 0 0 20px;
}

.info-text ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    text-align: left;
    max-width: 700px; /* Aumentado para mostrar listas completas */
    margin-left: auto;
    margin-right: auto;
}

.info-text ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.info-text ul li i {
    color: #d4a017; /* Toque dorado solo en íconos */
    font-size: 1.2rem;
    margin-top: 5px;
}

.info-text ul li strong {
    font-weight: 600;
    color: #ffffff;
}

/* Estilos para los paneles deslizantes */
.sliding-panels {
    max-width: 800px; /* Aumentado para mostrar contenidos completos */
    margin: 0 auto 30px;
    position: relative;
    overflow: hidden;
}

.panel-toggle {
    display: none;
}

.panel-label {
    display: inline-block;
    background-color: rgba(192, 192, 192, 0.1);
    padding: 10px 20px;
    margin: 5px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: #c0c0c0;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.panel-label:hover {
    background-color: rgba(192, 192, 192, 0.2);
    color: #ffffff;
}

.panel-toggle:checked + .panel-label {
    background-color: rgba(212, 160, 23, 0.3);
    color: #ffffff;
}

.panel-content {
    position: absolute;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Fondo transparente */
    backdrop-filter: blur(8px);
    padding: 25px; /* Aumentado para mejor legibilidad */
    border-radius: 10px;
    border: 1px solid rgba(192, 192, 192, 0.2);
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.panel-toggle:checked + .panel-label + .panel-content {
    opacity: 1;
    transform: translateX(0);
}

.panel-content p, .panel-content ul {
    margin: 0;
}

.panel-content ul li {
    margin-bottom: 10px;
}

.contact-button {
    display: block;
    width: fit-content;
    margin: 30px auto;
    padding: 12px 35px;
    background-color: transparent;
    border: 2px solid #c0c0c0; /* Borde plateado */
    color: #c0c0c0;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(192, 192, 192, 0.3), transparent);
    transition: left 0.5s ease;
}

.contact-button:hover::after {
    left: 100%;
}

.contact-button:hover {
    color: #ffffff;
    border-color: #d4a017; /* Toque dorado al hover */
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .info-section {
        width: 95%;
        padding: 30px 15px;
    }

    .info-article h2 {
        font-size: 2rem;
    }

    .info-image img {
        height: 160px;
        max-width: 100%;
    }

    .info-text {
        font-size: 0.9rem;
        padding: 15px;
        max-width: 600px; /* Ajustado para móviles */
    }

    .info-text ul {
        max-width: 500px;
    }

    .sliding-panels {
        max-width: 600px;
    }

    .panel-content {
        padding: 15px;
    }

    .panel-label {
        font-size: 1rem;
        padding: 8px 15px;
    }

    .contact-button {
        font-size: 1rem;
        padding: 10px 25px;
    }
}

@media (max-width: 480px) {
    .info-article h2 {
        font-size: 1.8rem;
    }

    .info-image img {
        height: 140px;
    }

    .info-text {
        font-size: 0.85rem;
        max-width: 400px;
    }

    .info-text ul {
        max-width: 350px;
    }

    .sliding-panels {
        max-width: 400px;
    }

    .panel-label {
        font-size: 0.9rem;
        padding: 7px 12px;
    }

    .panel-content {
        padding: 12px;
    }

    .contact-button {
        font-size: 0.9rem;
    }
}