/* ============================================
   FLOATING SHAPES - SCROLL INTERACTIVE
   ============================================ */

.shapes-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    opacity: 0.15;
    transition: transform 0.3s ease-out;
    will-change: transform;
}

/* Shape Types */
.shape-circle {
    border-radius: 50%;
}

.shape-square {
    border-radius: 8px;
    transform: rotate(45deg);
}

.shape-triangle {
    width: 0;
    height: 0;
    background: transparent !important;
    border-style: solid;
}

.shape-hexagon {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.shape-blob {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

/* Shape Sizes - Increased */
.shape-xs {
    width: 60px;
    height: 60px;
}

.shape-sm {
    width: 110px;
    height: 110px;
}

.shape-md {
    width: 160px;
    height: 160px;
}

.shape-lg {
    width: 240px;
    height: 240px;
}

.shape-xl {
    width: 320px;
    height: 320px;
}

/* Color Themes */
/* Blue Theme - for light blue sections */
.theme-blue {
    background: rgba(0, 82, 165, 0.2);
}

/* Gold Theme - for gold sections */
.theme-gold {
    background: rgba(212, 175, 55, 0.2);
}

/* White/Gray Theme - for neutral sections */
.theme-gray {
    background: rgba(100, 116, 139, 0.15);
}

/* Mixed Theme */
.theme-mixed-1 {
    background: linear-gradient(135deg, rgba(0, 82, 165, 0.2) 0%, rgba(212, 175, 55, 0.2) 100%);
}

.theme-mixed-2 {
    background: linear-gradient(225deg, rgba(212, 175, 55, 0.2) 0%, rgba(0, 82, 165, 0.2) 100%);
}

/* Triangle colors handled differently - sizes adjusted */
.shape-triangle.theme-blue {
    border-color: transparent transparent rgba(0, 82, 165, 0.2) transparent;
    border-width: 0 80px 140px 80px;
}

.shape-triangle.theme-gold {
    border-color: transparent transparent rgba(212, 175, 55, 0.2) transparent;
    border-width: 0 80px 140px 80px;
}

.shape-triangle.theme-gray {
    border-color: transparent transparent rgba(100, 116, 139, 0.15) transparent;
    border-width: 0 80px 140px 80px;
}

/* Positioning variations */
.pos-1 {
    top: 10%;
    left: 5%;
}

.pos-2 {
    top: 20%;
    right: 8%;
}

.pos-3 {
    top: 40%;
    left: 15%;
}

.pos-4 {
    top: 60%;
    right: 12%;
}

.pos-5 {
    top: 80%;
    left: 10%;
}

.pos-6 {
    top: 30%;
    left: 70%;
}

.pos-7 {
    top: 50%;
    right: 20%;
}

.pos-8 {
    top: 70%;
    left: 25%;
}

.pos-9 {
    top: 15%;
    right: 30%;
}

.pos-10 {
    top: 85%;
    right: 15%;
}

/* Slow Shaky/Wobble Animation */
@keyframes slow-shake {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    20% {
        transform: translate(8px, -8px) rotate(3deg);
    }

    40% {
        transform: translate(-8px, 8px) rotate(-3deg);
    }

    60% {
        transform: translate(8px, 5px) rotate(2deg);
    }

    80% {
        transform: translate(-5px, -5px) rotate(-2deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

.floating-shape {
    animation: slow-shake 30s ease-in-out infinite;
}

.floating-shape:nth-child(even) {
    animation-duration: 25s;
    animation-direction: reverse;
}

.floating-shape:nth-child(3n) {
    animation-duration: 30s;
}

/* Hover effect for interactive feel */
.shapes-background:hover .floating-shape {
    opacity: 0.25;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .floating-shape {
        opacity: 0.04;
    }

    .shape-xl,
    .shape-lg {
        width: 100px;
        height: 100px;
    }

    .floating-shape:nth-child(n+6) {
        display: none;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .floating-shape {
        animation: none;
    }
}