/* Custom styles for Seneca Hall */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Geometric shapes for hero */
.geo-shape {
    position: absolute;
    opacity: 0.08;
    pointer-events: none;
}

.shape-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: #f5f5f0;
    top: -200px;
    right: -150px;
    animation: float 20s ease-in-out infinite;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: #f5f5f0;
    bottom: 10%;
    left: -80px;
    animation: float 15s ease-in-out infinite reverse;
}

.shape-circle-3 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #f5f5f0;
    top: 40%;
    right: 10%;
    animation: float 12s ease-in-out infinite;
}

.shape-square-1 {
    width: 200px;
    height: 200px;
    background: #f5f5f0;
    top: 20%;
    left: 5%;
    transform: rotate(45deg);
    animation: spin 30s linear infinite;
}

.shape-square-2 {
    width: 120px;
    height: 120px;
    background: #f5f5f0;
    bottom: 25%;
    right: 5%;
    transform: rotate(20deg);
    animation: spin 25s linear infinite reverse;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #f5f5f0;
    top: 60%;
    left: 15%;
    animation: float 18s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar styles */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(245, 245, 240, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

.nav-logo-text {
    color: #f5f5f0;
    transition: color 0.3s ease;
}

#navbar.scrolled .nav-logo-text {
    color: #11301c;
}

.nav-link {
    color: rgba(245, 245, 240, 0.8);
    transition: color 0.3s ease;
}

#navbar.scrolled .nav-link {
    color: #11301c;
}

#navbar.scrolled .nav-link:hover {
    color: #236339;
}

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .geo-shape {
        animation: none;
    }
    
    .shape-square-1,
    .shape-square-2 {
        animation: none;
    }
    
    .scroll-reveal {
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f5f5f0;
}

::-webkit-scrollbar-thumb {
    background: #82be96;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #52a06d;
}
