/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Hero decorative elements */
.hero-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
}

.hero-deco-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 132, 28, 0.5) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float-slow 8s ease-in-out infinite;
}

.hero-deco-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 85, 168, 0.4) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
    animation: float-slow 10s ease-in-out infinite reverse;
}

.hero-deco-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(253, 214, 139, 0.4) 0%, transparent 70%);
    top: 50%;
    left: 40%;
    animation: float-slow 6s ease-in-out infinite;
}

/* Visit section decorations */
.visit-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    pointer-events: none;
}

.visit-deco-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 132, 28, 0.4) 0%, transparent 70%);
    bottom: -200px;
    right: -100px;
    animation: float-slow 12s ease-in-out infinite;
}

.visit-deco-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 85, 168, 0.3) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation: float-slow 9s ease-in-out infinite reverse;
}

/* Animations */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1s;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(250, 245, 251, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(123, 45, 142, 0.1);
}

.nav-scrolled .nav-logo-text {
    color: #7B2D8E !important;
}

.nav-scrolled .nav-link {
    color: #5c1f6a !important;
}

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

.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal-hidden {
        opacity: 1;
        transform: none;
    }
}

/* Mobile menu transitions */
#mobile-menu {
    transition: max-height 0.4s ease, opacity 0.3s ease;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu.open {
    max-height: 500px;
    opacity: 1;
}

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

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

::-webkit-scrollbar-thumb {
    background: #d9aedf;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c47fc9;
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid #D4841C;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: rgba(212, 132, 28, 0.2);
    color: #3d1347;
}
