/* ========================================
   Clean Gradient Sections
   ======================================== */

/* Base styling */
body {
    background: #ffffff !important;
    min-height: 100vh;
}

/* Section base */
section.section,
.section {
    background: transparent !important;
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

/* Gradient overlay transitions */
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.3s ease !important; /* Quick snap transition */
}

/* Add subtle animation to the gradients */
.gradient-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    animation: shimmer 10s infinite linear;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Ensure content stays above gradients */
.section .container,
.section .sizer,
.section .row {
    position: relative;
    z-index: 1;
}

/* Enhanced blocks for glassmorphic theme */
.block,
.accordion {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.06),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Remove default overlays */
.section__overlay {
    display: none !important;
}

/* Text styling for visibility */
section h1, 
section h2, 
section h3, 
section h4, 
section h5, 
section h6 {
    color: #2c3e50;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

section p:not(.block p) {
    color: #34495e;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .gradient-overlay::after {
        animation: none; /* Disable shimmer on mobile for performance */
    }
}