/* Variables globales */
:root {
    --primary-color: #4e54c8;
    --secondary-color: #8f94fb;
    --accent-color: #ff6b6b;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

/* Estilos generales */
body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* Head Section */
.head-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#bg-video2,
#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.min-vh-100 {
    min-height: 100vh;
}

/* Body Section - Image Cards */
.image-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.image-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.image-wrapper img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-card:hover .image-wrapper img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.image-card:hover .image-overlay {
    opacity: 1;
}

.image-content {
    color: white;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.image-card:hover .image-content {
    transform: translateY(0);
}

/* Footer */
footer {
    position: relative;
}

.footer-logo {
    height: 210px;
    width: auto;
    filter: invert(1) drop-shadow(2px 2px 2px rgba(0,0,0,0.5));
    /*filter: grayscale(100%) brightness(200%);*/
    transition: filter 0.3s ease;
}

.footer-logo:hover {
    filter: grayscale(0%) brightness(100%);
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Back to top button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Animaciones personalizadas */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

.pulse-target {
    animation-duration: 1s;
    animation-fill-mode: both;
}
.animate__pulse {
    animation-name: pulse;
    animation-timing-function: ease-in-out;
}

/* Responsive */
@media (max-width: 768px) {
    .head-section .display-3 {
        font-size: 2.5rem;
    }
    
    .image-card {
        margin-bottom: 20px;
    }
}

section#botton {
    background: goldenrod;
}