/* Modern Animations & Effects */

/* Disable any transitions on lines to prevent unwanted persiana effect */
.container .line {
    transition: none !important;
    animation: none !important;
}

/* Smooth hover effects for links */
a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced language selector with modern effects */
.language-selector a {
    position: relative;
    overflow: hidden;
}

.language-selector a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.language-selector a:hover::before {
    left: 100%;
}

/* Parallax effect for sections */
.section {
    transform-style: preserve-3d;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Floating animation for mouse button */
.mouse_btn {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Modern card effect for info-list */
.info-list {
    transition: transform 0.3s ease;
}

.info-list:hover {
    transform: translateX(10px);
}

/* Gradient text effect for title */
.h-title {
    background: linear-gradient(135deg, #fff 0%, #ff463f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Social icons with modern hover */
.soc a {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.soc a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #ff463f;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.soc a:hover::after {
    transform: scaleX(1);
}

.soc a:hover {
    transform: translateY(-3px);
}

/* Pulse effect for active language */
.language-selector a.active {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 70, 63, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 70, 63, 0);
    }
}

/* Smooth transitions for all interactive elements */
button, input, textarea, select {
    transition: all 0.3s ease;
}

/* Modern backdrop blur effect */
@supports (backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px)) {
    .language-selector {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}
