/* Custom Animations and Effects */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(5deg); }
    66% { transform: translateY(-10px) rotate(-3deg); }
}

@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(255, 102, 102, 0.3)); }
    50% { filter: drop-shadow(0 0 40px rgba(255, 102, 102, 0.6)); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 102, 102, 0.3); }
    50% { box-shadow: 0 0 40px rgba(255, 102, 102, 0.8); }
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* Ensure the parent container has relative positioning */
#Intro {
    position: relative;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 102, 102, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.floating-circle-1 {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-circle-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.floating-circle-3 {
    width: 100px;
    height: 100px;
    top: 40%;
    left: 70%;
    animation-delay: 4s;
    animation-duration: 7s;
}

/* Logo Animation */
.logo-animation {
    animation: logoGlow 4s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.logo-animation:hover {
    transform: scale(1.05);
}

/* Modern Button Styles */
.btn-modern {
    background: linear-gradient(135deg, #ff6666, #ff4444);
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-modern::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;
}

.btn-modern:hover::before {
    left: 100%;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 102, 102, 0.4);
}

/* Section Title Animations */
.section-title-animated {
    position: relative;
    display: inline-block;
}

.section-title-animated::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff6666, #ff4444);
    border-radius: 2px;
}

/* Improved Social Media Icons */
.social-media-enhanced {
    position: relative;
}

/* Hero Call-to-Action Buttons */
.btn-hero-primary {
    background: linear-gradient(135deg, #ff6666, #ff4444);
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    box-shadow: 0 5px 15px rgba(255, 102, 102, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 102, 102, 0.4);
    color: white;
    text-decoration: none;
}

.btn-hero-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    padding: 13px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Mission Highlights */
.highlight-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 102, 102, 0.2);
}

/* Artist Tabs */
.tab-btn.active {
    background: linear-gradient(135deg, #ff6666, #ff4444) !important;
    color: white !important;
    border-color: transparent !important;
}

.tab-btn:hover {
    background: rgba(255, 102, 102, 0.1) !important;
    color: #ff6666 !important;
}

/* Artist Section Improvements */
#Artists {
    max-height: 100vh;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.card-wrap .image-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
    transition: all 0.4s ease;
}

/* Ensure image wrapper has consistent dimensions */
.card-wrap .image-wrap {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
    border-radius: 15px;
}

/* Artist grid layout - 2 columns for better spacing */
.flip-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    padding: 2rem;
    justify-items: center;
}

.flip-card .card-wrap {
    width: 100%;
    max-width: 450px;
    margin-bottom: 2rem;
}

/* Add scrollbar styling */
#Artists::-webkit-scrollbar {
    width: 8px;
}

#Artists::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

#Artists::-webkit-scrollbar-thumb {
    background: rgba(255, 102, 102, 0.6);
    border-radius: 4px;
}

#Artists::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 102, 102, 0.8);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-circle {
        width: 100px !important;
        height: 100px !important;
    }

    .hero-subtitle {
        margin-top: 1rem;
    }

    .hero-subtitle p {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    /* Single column on mobile */
    .flip-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }
    
    .card-wrap .image-wrap,
    .card-wrap .image-wrap img {
        height: 400px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    /* Maintain 2 columns on tablets */
    .flip-card {
        gap: 2rem;
        padding: 1.5rem;
    }
    
    .flip-card .card-wrap {
        max-width: 400px;
    }
}

.social-media-enhanced .mbr-iconfont {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-media-enhanced .mbr-iconfont:hover {
    transform: translateY(-5px) scale(1.1);
    background: rgba(255, 102, 102, 0.8);
    box-shadow: 0 10px 25px rgba(255, 102, 102, 0.4);
}

/* Contact Form Enhancements */
.form-control-enhanced {
    background: rgba(64, 64, 64, 0.8) !important;
    border: 2px solid transparent !important;
    border-radius: 12px !important;
    padding: 15px 20px !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px);
}

.form-control-enhanced:focus {
    border-color: #ff6666 !important;
    background: rgba(64, 64, 64, 1) !important;
    box-shadow: 0 0 0 3px rgba(255, 102, 102, 0.1) !important;
    transform: translateY(-2px);
}