/* =========================================
   DISEÑO EXCLUSIVO PROYECTO 1 (360TourX)
   ========================================= */

.proyecto-header {
    margin-top: 40px;
    margin-bottom: 20px;
}

.btn-volver {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
}

.btn-volver:hover {
    transform: translateX(-10px);
}

.proyecto-titulo {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-top: 15px;
    margin-bottom: 30px;
}

/* BADGE PROFESIONAL (Hecho más grande) */
.proyecto-badge {
    display: inline-block;
    background-color: #f0f7ff;
    color: #2c3e50;
    padding: 10px 20px; /* Más espacio interior */
    border-radius: 20px;
    font-size: 1.1rem; /* Texto más grande */
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    border: 1px solid #d0e3ff;
}

.proyecto-badge i {
    margin-right: 8px;
    color: #3498db;
}

/* IMAGEN PRINCIPAL (Horizontal superior) */
.proyecto-imagen-principal {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

/* IMÁGENES DE PROCESO (Control de fotos verticales) */
.img-proceso {
    width: 100%;
    max-height: 550px; /* Limita el alto para que no ocupe toda la pantalla */
    object-fit: contain; /* Ajusta la imagen sin recortarla */
    background-color: #f8f9fa;
    border-radius: 12px;
    margin: 20px 0;
    display: block;
}

/* CONTENIDO Y SECCIONES */
.proyecto-contenido {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 60px;
}

.proyecto-contenido p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #444;
    text-align: justify;
}

.proyecto-seccion {
    margin-top: 40px;
    border-top: 1px solid #f0f0f0;
    padding-top: 30px;
}

/* TÍTULOS DE SECCIÓN (Hechos más pequeños) */
.proyecto-seccion h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.4rem; /* Texto más pequeño */
    display: flex;
    align-items: center;
    gap: 10px;
}

/* BANNER INTERACTIVO */
.banner-tour {
    position: relative;
    display: block;
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    margin: 20px 0;
    background-color: #2c3e50;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.banner-tour img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s ease;
}

.banner-overlay span {
    color: white;
    font-size: 1.4rem;
    font-weight: 800;
    border: 3px solid white;
    padding: 12px 25px;
    text-align: center;
}

.banner-tour:hover img {
    transform: scale(1.05);
}

.banner-tour:hover .banner-overlay {
    background: rgba(52, 152, 219, 0.7);
}

/* TECH ICONS Y BOTÓN FINAL */
.proyecto-tech {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8fbff;
    border-radius: 8px;
}

.tech-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.tech-icons span {
    background: #ffffff;
    border: 1px solid #dfebfd;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-enlace {
    display: inline-block;
    background-color: #3498db;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 30px;
    transition: 0.3s ease;
    text-align: center;
}

.btn-enlace:hover {
    background-color: #1a5276;
    transform: translateY(-3px);
}

/* =========================================
   DISEÑO RESPONSIVO (MÓVILES) - PROYECTO 1
   ========================================= */
@media (max-width: 768px) {
    .proyecto-titulo {
        font-size: 1.8rem;
    }
    
    .proyecto-contenido {
        padding: 20px; /* Reducimos el margen interior para ganar espacio */
    }

    .proyecto-badge {
        font-size: 0.9rem;
        padding: 8px 15px;
    }

    .banner-tour {
        height: 200px; /* Hacemos el banner más bajito en móviles */
    }

    .banner-overlay span {
        font-size: 1.1rem;
        padding: 8px 15px;
    }
    
    .img-proceso {
        max-height: 400px; /* Ajustamos las fotos verticales */
    }
}