/* Section Transitions */

/* Base transition setup */
[data-wipe] {
    position: relative;
    overflow: hidden;
}

/* Wipe transition base */
[data-wipe]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--wipe-color, #3478BD);
    transform-origin: right;
    transform: scaleX(0);
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
    z-index: 1;
}

/* Logo element */
[data-wipe]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 60px;
    height: 200px;
    background: url('/assets/images/GEO_MODSLogo.png') center/contain no-repeat;
    transform: translateY(-50%) rotate(-90deg);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

/* Active states */
[data-wipe].wipe-active::before {
    transform: scaleX(1);
}

[data-wipe].wipe-active::after {
    opacity: 0.15;
}

/* Content visibility with improved timing */
[data-wipe] > * {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.4s, 
                transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

[data-wipe].wipe-active > * {
    opacity: 1;
    transform: translateY(0);
}

/* Custom wipe colors with alpha for depth */
[data-wipe-color="blue"] {
    --wipe-color: rgba(52, 120, 189, 0.95);
}

[data-wipe-color="green"] {
    --wipe-color: rgba(76, 167, 6, 0.95);
}

/* Sequential delays for content */
[data-wipe] > *:nth-child(1) { transition-delay: 0.5s; }
[data-wipe] > *:nth-child(2) { transition-delay: 0.6s; }
[data-wipe] > *:nth-child(3) { transition-delay: 0.7s; }
[data-wipe] > *:nth-child(4) { transition-delay: 0.8s; }
[data-wipe] > *:nth-child(5) { transition-delay: 0.9s; } 