:root {
    --primary-cyan: #03e5fd;
    --primary-blue: #0173f3;
    --primary-pink: #ff3167;
    --dark-blue: #1a365d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    /* Prevenir scroll horizontal */
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-cyan));
}

.header {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.navbar-nav .nav-link {
    color: var(--dark-blue) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-blue) !important;
}

/* ===========================================
    PERSONALIZACIÓN DE IMAGEN DE FONDO HERO
    =========================================== */

.hero-section {
    min-height: 100vh;
    /* Imagen de fondo - CAMBIA ESTA URL POR TU IMAGEN */
    background-image:
        linear-gradient(135deg, rgba(1, 115, 243, 0.7), rgba(3, 229, 253, 0.1)),
        url('../images/bgimage.jpg');
    /* Reemplaza con tu imagen */

    /* Configuración de la imagen de fondo */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Versión alternativa sin imagen (solo gradiente) */
.hero-section.gradient-only {
    background-image: linear-gradient(135deg, var(--primary-blue), var(--primary-cyan));
    background-attachment: initial;
}


.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-custom {
    background: var(--primary-pink);
    border: none;
    color: white;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-custom:hover {
    background: #e8285a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 49, 103, 0.4);
    color: white;
}

.activities-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    color: var(--dark-blue);
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.activity-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.activity-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: all 0.8s ease;
}

.activity-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.4));
}

.activity-content {
    padding: 25px;
}

.activity-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.activity-info {
    margin-bottom: 20px;
}

.activity-info span {
    display: inline-block;
    background: var(--primary-cyan);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 5px 5px 5px 0;
}

.activity-description {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.activity-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-outline-custom {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    min-width: 120px;
}

.btn-outline-custom:hover {
    background: var(--primary-blue);
    color: white;
}

.contact-section {
    background: var(--dark-blue);
    color: white;
    padding: 80px 0;
}

.contact-info {
    text-align: center;
}

.contact-item {
    margin: 20px 0;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-cyan);
    margin-bottom: 10px;
}

.contact-item h4 {
    margin-bottom: 5px;
}

.footer {
    background: #1a1a1a;
    color: white;
    padding: 30px 0;
}

.footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-cyan);
}

.page-content {
    display: none;
    padding-top: 100px;
    min-height: 100vh;
}

.page-content.active {
    display: block;
}

.detail-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-cyan));
    color: white;
    padding: 80px 0 50px;
    text-align: center;
}

.detail-content {
    padding: 50px 0;
}

.detail-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 30px;
}

.price-badge {
    background: var(--primary-pink);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-block;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li i {
    color: var(--primary-blue);
    margin-right: 10px;
}

/* Animaciones para las imágenes de fondo */
.activity-image.fade-in {
    opacity: 1;
}

.activity-image.fade-out {
    opacity: 0.7;
}

/* Estilos para páginas legales */
.company-info,
.contact-info-legal,
.data-protection {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid var(--primary-blue);
}

.cookie-type {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-cyan);
}

.cookie-type h3 {
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .activity-buttons {
        flex-direction: column;
    }

    .btn-outline-custom {
        flex: none;
    }

    .footer .text-md-end {
        text-align: center !important;
        margin-top: 20px;
    }

    .footer .text-md-end a {
        display: block;
        margin: 5px 0;
    }
}