/* ===============================
   ENASWIM - estilos generales
   Archivo externo para index.html y nosotros.html
   =============================== */

/* Estilos que antes estaban dentro de index.html */
/* FONDO DE PANTALLA CON IMAGEN */
        body {
            /* Cambia 'fondo.png' por el nombre real de tu imagen */
            background-image: url('/imagenes/fondo.png'); 
            background-size: cover; /* Hace que cubra toda la pantalla */
            background-repeat: no-repeat; /* Evita que se formen mosaicos */
            background-attachment: fixed; /* Se queda fija al hacer scroll */
            background-position: center center; /* La centra perfectamente */
        }

        /* Barra de navegación color mar claro */
        .navbar-custom {
            background-color: #e3f6f9 !important; /* Tono azul clarito */
        }

        /* Estilos de los enlaces */
        .navbar-nav .nav-link { 
            font-size: 13px; 
            font-weight: 500; 
            text-transform: uppercase; 
            color: #333 !important; 
        }
        /* Color coral para el enlace activo de INICIO */
        .navbar-nav .nav-link.active-link { color: #ff6b52 !important; }
        
        /* Contenedor del texto sobre las fotos */
        .hero-overlay { 
            position: absolute; 
            bottom: 20%; 
            left: 8%; 
            z-index: 10; 
            text-align: left; 
        }
        .hero-title { 
            color: #001e62; 
            font-weight: 900; 
            font-size: 3.5rem; 
            margin-bottom: 0; 
        }
        .hero-subtitle { 
            color: #fbc02d; 
            font-weight: 600; 
            font-size: 1.5rem; 
            margin-bottom: 25px; 
        }
        
        /* Botón del catálogo */
        .btn-catalogo { 
            background-color: #ff6b52; 
            color: white; 
            border-radius: 0; 
            padding: 12px 30px; 
            font-weight: bold; 
            border: none; 
            letter-spacing: 1px; 
        }
        .btn-catalogo:hover { background-color: #e65a43; color: white; }
        
        /* Ajuste de imágenes para rellenar la pantalla exacta */
        .carousel-item img { 
            height: calc(100vh - 85px); 
            object-fit: cover; 
        }

/* Estilos que antes estaban dentro de nosotros.html */
/* FONDO DE PANTALLA CON IMAGEN */
        body {
            /* Cambia 'fondo.png' por el nombre real de tu imagen */
            background-image: url('/imagenes/fondo.png'); 
            background-size: cover; /* Hace que cubra toda la pantalla */
            background-repeat: no-repeat; /* Evita que se formen mosaicos */
            background-attachment: fixed; /* Se queda fija al hacer scroll */
            background-position: center center; /* La centra perfectamente */
        }
        
        /* Barra de navegación color mar claro */
        .navbar-custom { background-color: #e3f6f9 !important; }

        /* Estilos de los enlaces */
        .navbar-nav .nav-link { 
            font-size: 13px; 
            font-weight: 500; 
            text-transform: uppercase; 
            color: #333 !important; 
        }
        /* Color coral para el enlace activo de NOSOTROS */
        .navbar-nav .nav-link.active-link { color: #ff6b52 !important; }

        /* Estilos generales para los títulos delgados de estas secciones */
        .titulo-delgado {
            color: #001e62;
            font-weight: 300; 
            font-size: 3rem; 
            letter-spacing: 1px; 
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        /* Color azul claro para resaltar textos */
        .texto-resalte { color: #001e62; font-weight: bold; }
        
        /* Ajuste general para párrafos */
        .parrafo-nosotros { color: #555; font-size: 18px; line-height: 1.8; text-align: justify; }

/* Sección final: De Atletas para Atletas */
.atletas-final {
    background: transparent;
}

.atletas-icono {
    width: 85px;
    margin-bottom: 45px;
}

.atletas-titulo {
    color: #001e62;
    font-weight: 300;
    font-size: 3rem;
    letter-spacing: 1.5px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-ena {
    background-color: #e3f6f9;
    color: #001e62;
    margin-top: 70px;
}

.footer-logo {
    height: 55px;
}

.footer-text {
    color: #333;
    font-size: 15px;
}

.footer-social a {
    color: #001e62;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.footer-social a:hover {
    color: #ff6b52;
}

.footer-social i {
    margin-right: 6px;
    font-size: 18px;
}

.footer-copy {
    color: #555;
}

/* =========================
   MI CUENTA
========================= */

.cuenta-body {
    min-height: 100vh;
    background-image:
        linear-gradient(120deg, rgba(227, 246, 249, 0.72), rgba(255, 255, 255, 0.48)),
        url('/imagenes/fondo.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #1f2a33;
}

.cuenta-page {
    min-height: 100vh;
    padding: 48px 0 70px;
}

.cuenta-top {
    margin-bottom: 28px;
}

.cuenta-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid rgba(0, 30, 98, 0.25);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    color: #001e62;
    text-decoration: none;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.cuenta-back:hover {
    color: #ff6b52;
    border-color: #ff6b52;
}

.cuenta-header {
    margin-bottom: 35px;
}

.cuenta-logo {
    height: 58px;
    margin-bottom: 18px;
}

.cuenta-header h1 {
    color: #001e62;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 8px;
}

.cuenta-header p {
    color: #27313a;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.cuenta-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 18px 50px rgba(0, 30, 98, 0.16);
    backdrop-filter: blur(12px);
}

.cuenta-card-center {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}

.cuenta-card-title {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
}

.cuenta-card h2 {
    color: #001e62;
    font-weight: 800;
    margin-bottom: 4px;
}

.cuenta-card-title p,
.cuenta-muted {
    color: #59636d;
    margin-bottom: 0;
}

.cuenta-icon,
.cuenta-icon-small {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e3f6f9;
    color: #001e62;
    border-radius: 50%;
}

.cuenta-icon {
    width: 76px;
    height: 76px;
    font-size: 38px;
    margin: 0 auto 18px;
}

.cuenta-icon-small {
    width: 54px;
    height: 54px;
    font-size: 26px;
    flex-shrink: 0;
}

.cuenta-input {
    border-radius: 14px;
    padding: 13px 15px;
    border: 1px solid rgba(0, 30, 98, 0.16);
    background: rgba(255, 255, 255, 0.92);
}

.cuenta-input:focus {
    border-color: #ff6b52;
    box-shadow: 0 0 0 0.22rem rgba(255, 107, 82, 0.18);
}

.cuenta-btn {
    background-color: #ff6b52;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 13px 24px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.cuenta-btn:hover {
    background-color: #e65a43;
    color: #fff;
}

.cuenta-btn-secondary {
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 700;
    background: #001e62;
    color: #fff;
}

.cuenta-btn-secondary:hover {
    background: #0b2f86;
    color: #fff;
}

.cuenta-btn-danger {
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 700;
    background: #ff6b52;
    color: #fff;
}

.cuenta-btn-danger:hover {
    background: #e65a43;
    color: #fff;
}

.cuenta-alert {
    max-width: 760px;
    margin: 0 auto 24px;
    border-radius: 18px;
}

@media (max-width: 768px) {
    .cuenta-page {
        padding: 28px 0 45px;
    }

    .cuenta-card {
        padding: 26px 22px;
        border-radius: 22px;
    }

    .cuenta-card-title {
        align-items: flex-start;
    }
}

.nav-icon {
    font-size: 1.2rem;
    cursor: pointer;
}

.nav-account-link,
.nav-cart-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #333;
    text-decoration: none;
}

.nav-account-link:hover,
.nav-cart-link:hover {
    color: #ff6b52;
}

.cuenta-texto {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

/* =========================
   BOTÓN MOSTRAR CONTRASEÑA
========================= */

.input-group .cuenta-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.toggle-password {
    border-color: rgba(0, 30, 98, 0.16);
    background: rgba(255, 255, 255, 0.92);
    color: #001e62;
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password:hover {
    background: #e3f6f9;
    color: #ff6b52;
    border-color: rgba(0, 30, 98, 0.25);
}

.toggle-password:focus {
    box-shadow: 0 0 0 0.22rem rgba(255, 107, 82, 0.18);
    border-color: #ff6b52;
}

.toggle-password i {
    font-size: 1.2rem;
}