* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
    overflow-y: auto; /* Asegurar scroll vertical normal */
    height: 100vh;
    margin: 0; /* Eliminar márgenes por defecto */
}

/* Video de fondo */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    position: absolute; /* Asegurar posición absoluta */
    top: 0;
    left: 0;
    transform: none !important; /* Forzar que no tenga transformaciones */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.2) 100%
    ); /* Cambiado a overlay negro en lugar de colores */
    z-index: -1;
}

/* Contenido principal */
.main-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Cambiado a center para centrar verticalmente */
    align-items: center; /* Agregado para centrar horizontalmente */
    padding: 2rem 2rem; /* Simplificado el padding */
}

/* Header */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0; /* Ajustado el padding */
    margin-bottom: 1rem; /* Restaurado margen inferior */
}

.logo img {
    height: 80px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Sección hero */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem 0; /* Restaurado padding */
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
    margin-top: 0; /* Eliminado margen negativo */
}

.hero-title {
    margin-bottom: 0.5rem; /* Reducido de 1.5rem a 0.5rem */
    margin-top: 0;
}

.welcome-text {
    display: block;
    font-size: 1.5rem;
    font-weight: 300;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.brand-name {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #007BBF, #00BFA5, #FFD700, #FF6B6B); /* Colores del logo: azul, verde agua, dorado, coral */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 10px rgba(0, 123, 191, 0.5)); /* Cambiado a azul del logo */
    }
    to {
        filter: drop-shadow(0 0 20px rgba(0, 191, 165, 0.8)); /* Cambiado a verde agua del logo */
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Botones CTA */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1.5rem; /* Reducido de 3rem a 1.5rem */
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    min-width: 200px;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-tours {
    background: linear-gradient(135deg, #007BBF, #00BFA5);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 191, 0.4);
}

.btn-tours:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 191, 165, 0.6);
}

.arrow {
    transition: transform 0.3s ease;
}

.btn:hover .arrow {
    transform: translateX(5px);
}

/* Enlaces rápidos */
.quick-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-link:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.link-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.quick-link span {
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Footer */
.footer {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
    margin-top: 2rem; /* Aumentado margen superior */
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Partículas flotantes */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.particle:nth-child(2) {
    left: 40%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.particle:nth-child(3) {
    left: 60%;
    animation-delay: 4s;
    animation-duration: 7s;
}

.particle:nth-child(4) {
    left: 80%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.particle:nth-child(5) {
    left: 10%;
    animation-delay: 3s;
    animation-duration: 5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10%, 90% {
        opacity: 1;
    }
    50% {
        transform: translateY(-10vh) rotate(180deg);
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .main-content {
        padding: 1rem 1rem 1rem 1rem;
    }
    
    .header {
        padding: 1.5rem 0 1.5rem 0; /* Aumentado padding inferior */
        margin-bottom: 1.5rem; /* Aumentado margin-bottom */
    }
    
    .hero-section {
        padding: 0.5rem 0 1rem 0;
    }
    
    .hero-content {
        margin-top: 0; /* Resetear margen negativo */
    }
    
    .logo img {
        height: 60px; /* Tamaño reducido para tablets */
    }
    
    .brand-name {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .quick-links {
        gap: 1rem;
    }
    
    .quick-link {
        padding: 0.8rem;
    }
    
    .social-links {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 0.75rem 1rem 1rem 1rem;
    }
    
    .header {
        padding: 1rem 0 1rem 0; /* Aumentado padding inferior */
        margin-bottom: 1rem; /* Aumentado margin-bottom */
    }
    
    .hero-section {
        padding: 0.25rem 0 1rem 0;
    }
    
    .hero-content {
        margin-top: 0; /* Resetear margen negativo */
    }
    
    .logo img {
        height: 50px; /* Tamaño reducido para móviles */
    }
    
    .brand-name {
        font-size: 2rem;
    }
    
    .welcome-text {
        font-size: 1.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        min-width: 180px;
    }
}