/* Footer */
.site-footer {
    background: rgba(15, 15, 15, 0.97);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-newsletter {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-newsletter input {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--text);
}

.footer-newsletter button {
    padding: 0.75rem 1.5rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.footer-newsletter button:hover {
    background: #5A5ACF;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 1rem;
}

.footer-legal:hover {
    color: var(--text);
}

/* Waves Canvas Styling */
.social-media-section canvas,
.site-footer canvas {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

/* Ensure content stays above waves */
.footer-content,
.footer-bottom {
    position: relative;
    z-index: 2;
}

/* Enhance section positioning for waves */
.social-media-section,
.site-footer {
    position: relative;
    overflow: hidden;
}

/* Professional Scroll Arrow Indicator - Global */
.scroll-arrow-indicator {
    position: absolute;
    bottom: 3.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    animation: arrowFadeIn 1s ease-out 2s forwards;
    pointer-events: none;
}

.scroll-arrow-icon {
    width: 32px;
    height: 32px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: arrowPulse 3s ease-in-out infinite;
    animation-delay: 3s;
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.3);
    backdrop-filter: blur(5px);
}

.scroll-arrow-icon::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid var(--accent);
    margin-top: 3px;
    animation: arrowBounce 2s ease-in-out infinite;
    animation-delay: 3s;
    filter: drop-shadow(0 0 3px rgba(192, 192, 192, 0.5));
}

@keyframes arrowFadeIn {
    to {
        opacity: 0.8;
    }
}

@keyframes arrowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
        box-shadow: 0 0 15px rgba(192, 192, 192, 0.3);
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
        box-shadow: 0 0 25px rgba(192, 192, 192, 0.5);
    }
}

@keyframes arrowBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-4px);
    }
    60% {
        transform: translateY(-2px);
    }
}

/* Mobile responsiveness for scroll arrow */
@media (max-width: 768px) {
    .scroll-arrow-indicator {
        bottom: 2.5rem;
    }
    
    .scroll-arrow-icon {
        width: 28px;
        height: 28px;
    }
    
    .scroll-arrow-icon::before {
        border-left-width: 4px;
        border-right-width: 4px;
        border-top-width: 6px;
    }
}

/* Section Content Preview - Global */
.section-content-preview {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(10, 10, 10, 0.6));
    pointer-events: none;
    z-index: 1;
}

/* Section Transition - Global */
.section-transition-indicator {
    position: relative;
    margin-top: -30px;
    padding-top: 30px;
    background: linear-gradient(to bottom, transparent, var(--background));
    z-index: 2;
}

.section-transition-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    opacity: 0.6;
}

.section-transition-indicator::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 4px solid var(--accent);
    opacity: 0.6;
}

/* Mobile responsiveness for section indicators */
@media (max-width: 768px) {
    .section-transition-indicator {
        margin-top: -20px;
        padding-top: 20px;
    }
    
    .section-transition-indicator::before {
        height: 15px;
    }
    
    .section-transition-indicator::after {
        top: 7px;
        border-top-width: 3px;
    }
    
    .section-content-preview {
        height: 60px;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-newsletter {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        margin: 0.5rem 0;
    }
} 