/* ============================================
   SECTION SEPARATORS - ELEGANT DIVIDERS
   Subtle separators between sections
   ============================================ */

/* Base Section Separator */
.section-separator {
    position: relative;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
    z-index: 5;
}

/* Gradient Line with Dots */
.separator-gradient-line {
    position: relative;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.separator-gradient-line::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(102, 126, 234, 0.1) 10%, 
        rgba(102, 126, 234, 0.3) 50%, 
        rgba(102, 126, 234, 0.1) 90%, 
        transparent 100%);
}

.separator-gradient-line::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    animation: separator-pulse 3s ease-in-out infinite;
}

/* Wave Separator */
.separator-wave {
    position: relative;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.separator-wave svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.separator-wave-path {
    fill: none;
    stroke: rgba(102, 126, 234, 0.15);
    stroke-width: 2;
    animation: wave-flow 3s ease-in-out infinite;
}

/* Dots Pattern Separator */
.separator-dots {
    position: relative;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.separator-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    opacity: 0.3;
    animation: dot-pulse 2s ease-in-out infinite;
}

.separator-dot:nth-child(1) {
    animation-delay: 0s;
}

.separator-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.separator-dot:nth-child(3) {
    animation-delay: 0.4s;
    width: 12px;
    height: 12px;
    opacity: 0.6;
}

.separator-dot:nth-child(4) {
    animation-delay: 0.6s;
}

.separator-dot:nth-child(5) {
    animation-delay: 0.8s;
}

/* Icon Separator */
.separator-icon {
    position: relative;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.separator-icon::before {
    content: '';
    position: absolute;
    left: 0;
    width: calc(50% - 40px);
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(102, 126, 234, 0.2) 100%);
}

.separator-icon::after {
    content: '';
    position: absolute;
    right: 0;
    width: calc(50% - 40px);
    height: 1px;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.2) 0%, transparent 100%);
}

.separator-icon-center {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    position: relative;
    z-index: 2;
    animation: icon-rotate 4s ease-in-out infinite;
}

/* Diamond Separator */
.separator-diamond {
    position: relative;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.separator-diamond::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(102, 126, 234, 0.15) 20%, 
        rgba(102, 126, 234, 0.15) 80%, 
        transparent 100%);
}

.separator-diamond-shape {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: rotate(45deg);
    position: relative;
    z-index: 2;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    animation: diamond-spin 6s linear infinite;
}

/* Zigzag Separator */
.separator-zigzag {
    position: relative;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.separator-zigzag::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-image: 
        linear-gradient(45deg, transparent 33.33%, rgba(102, 126, 234, 0.2) 33.33%, rgba(102, 126, 234, 0.2) 66.66%, transparent 66.66%),
        linear-gradient(-45deg, transparent 33.33%, rgba(102, 126, 234, 0.2) 33.33%, rgba(102, 126, 234, 0.2) 66.66%, transparent 66.66%);
    background-size: 20px 20px;
    background-position: 0 0, 10px 0;
}

/* Glow Line Separator */
.separator-glow {
    position: relative;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.separator-glow-line {
    width: 300px;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(102, 126, 234, 0.2) 20%, 
        rgba(102, 126, 234, 0.8) 50%, 
        rgba(102, 126, 234, 0.2) 80%, 
        transparent 100%);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
    animation: glow-pulse 2s ease-in-out infinite;
}

/* Minimal Line Separator */
.separator-minimal {
    position: relative;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.separator-minimal-line {
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(102, 126, 234, 0.25) 50%, 
        transparent 100%);
}

/* Curved Separator */
.separator-curved {
    position: relative;
    width: 100%;
    height: 80px;
    overflow: visible;
}

.separator-curved svg {
    width: 100%;
    height: 100%;
}

.separator-curved-path {
    fill: none;
    stroke: rgba(102, 126, 234, 0.2);
    stroke-width: 2;
}

/* Animations */
@keyframes separator-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
    }
}

@keyframes wave-flow {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: 1000;
    }
}

@keyframes dot-pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.3);
    }
}

@keyframes icon-rotate {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(10deg) scale(1.1);
    }
    50% {
        transform: rotate(0deg) scale(1);
    }
    75% {
        transform: rotate(-10deg) scale(1.1);
    }
}

@keyframes diamond-spin {
    0% {
        transform: rotate(45deg);
    }
    100% {
        transform: rotate(405deg);
    }
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.6;
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 40px rgba(102, 126, 234, 0.6);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-separator {
        height: 60px;
    }

    .separator-wave {
        height: 70px;
    }

    .separator-icon-center {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .separator-glow-line {
        width: 200px;
    }

    .separator-minimal-line {
        width: 150px;
    }
}

@media (max-width: 480px) {
    .section-separator {
        height: 50px;
    }

    .separator-dots {
        gap: 10px;
    }

    .separator-dot {
        width: 6px;
        height: 6px;
    }

    .separator-dot:nth-child(3) {
        width: 10px;
        height: 10px;
    }

    .separator-glow-line {
        width: 150px;
    }

    .separator-minimal-line {
        width: 100px;
    }
}
