/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #1a1a1a;
}

body {
    font-family: 'Helvetica', 'Arial', sans-serif;
    background-color: #1a1a1a;
    background-image: url('assets/img/Back.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #FFFFFF;
    height: 100vh;
    overflow: hidden;
    position: relative;
    /* Animación suave de entrada mejorada */
    opacity: 0;
    animation: fadeInImproved 1s ease-out forwards;
}

/* Animación mejorada para entrada suave */
@keyframes fadeInImproved {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Overlay oscuro para mejorar legibilidad del texto */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Layout principal centrado */
.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Contenido principal */
.content-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 40px;
    text-align: center;
    max-width: 800px;
    position: relative;
    height: 100vh;
    padding-top: 40px;
}

/* 1. Logo POWERSOL */
.powersol-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

.powersol-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.powersol-image {
    height: 120px;
    width: auto;
}

/* 2. Texto distribuidor */
.distributor-section {
    text-align: center;
    margin-bottom: 10px;
}

.distributor-text {
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-size: 22px;
    font-weight: 400;
    color: #FFFFFF;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 3. Logo COLNAGO */
.colnago-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.colnago-image {
    height: 90px;
    width: auto;
}

/* 4. Gráfico técnico bicicleta (DETRÁS del texto) */
.bike-diagram {
    position: absolute;
    top: 57%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.7;
    height: 230px;
    width: auto;
}

/* 5. Texto "SITIO EN CONSTRUCCIÓN" (ENCIMA de la bicicleta) */
.construction-section {
    text-align: center;
    position: absolute;
    top: 58%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.construction-text {
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-size: 34px;
    font-weight: bold;
    color: #FFFFFF;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background: transparent;
    z-index: 3;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-icon {
    width: 25px;
    height: 25px;
}

.address-text {
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #FFFFFF;
    letter-spacing: 0.5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Iconos de redes sociales */
.social-icon {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        overflow: auto;
        height: auto;
        min-height: 100vh;
    }

    .main-container {
        height: auto;
        min-height: calc(100vh - 200px);
        padding-bottom: 200px;
    }

    .content-column {
        height: auto;
        padding: 20px;
        padding-top: 40px;
        max-width: 100%;
    }

    .powersol-section {
        margin-bottom: 30px;
    }

    .powersol-image {
        height: 80px;
    }

    .distributor-section {
        margin-bottom: 20px;
    }

    .distributor-text {
        font-size: 16px;
        line-height: 1.3;
    }

    .colnago-section {
        margin-bottom: 40px;
    }

    .colnago-image {
        height: 70px;
    }

    .bike-diagram {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        height: 180px;
        opacity: 0.8;
        margin: 20px 0;
    }

    .construction-section {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 20px 0;
    }

    .construction-text {
        font-size: 24px;
        line-height: 1.2;
        white-space: normal;
        word-break: break-word;
    }

    .footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(10px);
    }

    .footer-item {
        justify-content: center;
        gap: 8px;
    }

    .address-text {
        font-size: 12px;
        text-align: center;
        line-height: 1.3;
    }

    .social-icons {
        gap: 20px;
    }

    .social-icon {
        width: 35px;
        height: 35px;
    }

    .footer-icon {
        width: 20px;
        height: 20px;
    }
}