/* --- VARIABLES --- */
:root {
    /* Pega abajo el código HEX del color más llamativo de tu logo (ej: #ff0000) */
    --primary: #ffb300; 
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --text-light: #f5f5f5;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

/* --- NAVEGACIÓN --- */
.custom-navbar {
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 15px 0;
}

.logo {
    padding: 0;
    margin: 0;
}

.navbar-logo {
    height: 50px; /* Puedes subir o bajar este número si el logo se ve muy chico o muy grande */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); /* Le da un leve sombreado para que resalte */
}

.logo-text {
    font-size: 24px;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- ANIMACIÓN DEL LOGO EN CASCADA --- */
.logo-part-1, .logo-part-2, .logo-part-3 {
    display: inline-block;
    opacity: 0; /* Inician invisibles */
    animation: dropInLogo 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.logo-part-1 {
    animation-delay: 0.2s; /* Cae primero */
}
.logo-part-2 {
    animation-delay: 0.4s; /* Cae un instante después */
}
.logo-part-3 {
    animation-delay: 0.6s; /* Cae última */
}

@keyframes dropInLogo {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- NAVEGACIÓN ENLACES --- */
.nav-link {
    color: white !important;
    font-weight: 700;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary) !important;
}

/* Menú desplegable oscuro */
.dropdown-menu {
    background-color: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.1);
}

.dropdown-item {
    color: var(--text-light);
}

.dropdown-item:hover {
    background-color: #333;
    color: var(--primary);
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80&w=1470&auto=format&fit=crop') center/cover;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    animation: fadeInDown 1s ease;
}

.hero p {
    font-size: 1.2rem;
    animation: fadeInUp 1s ease 0.5s both;
}

/* Botón Personalizado */
.btn-custom {
    padding: 12px 35px;
    background-color: var(--primary);
    color: white;
    font-weight: 700;
    border-radius: 30px;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-custom:hover {
    background-color: #ff8f00;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 179, 0, 0.5);
}

/* --- FORMULARIO --- */
.personal-trainer {
    padding: 100px 0;
}

.form-container {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.form-control, .form-select {
    background-color: #2a2a2a;
    border: 1px solid #333;
    color: white;
}

.form-control:focus, .form-select:focus {
    background-color: #2a2a2a;
    color: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(255, 179, 0, 0.25);
}

/* Color del texto de ayuda (placeholder) */
.form-control::placeholder {
    color: #aaaaaa;
    opacity: 1;
}

/* --- CAJA DE BENEFICIOS (TEXTO JUNTO AL FORMULARIO) --- */
.benefits-box {
    background: linear-gradient(145deg, var(--bg-card), var(--bg-dark));
    padding: 40px;
    border-radius: 15px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.benefits-box ul li {
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.benefits-box ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* --- TARJETAS (CARDS) --- */
.bg-custom-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bg-custom-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 179, 0, 0.15) !important;
}

.text-custom-primary {
    color: var(--primary) !important;
}

/* --- WHATSAPP FLOTANTE --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(-10deg);
    color: white;
    background-color: #1ebe57;
}

/* --- FOOTER --- */
footer {
    background: #0a0a0a;
    border-top: 2px solid var(--primary);
}

footer h5 {
    color: var(--primary);
    font-weight: 700;
}

footer a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white;
}

footer p {
    /* Forzamos un color claro, ignorando cualquier otra regla que oscurezca el texto */
    color: #cccccc !important;
}

/* Animaciones Custom */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}