/* Custom styles for OrangeLeaf */

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

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

.shape-circle-1 {
    width: 400px;
    height: 400px;
    border: 3px solid rgba(251, 191, 36, 0.15);
    border-radius: 50%;
    top: 10%;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    background: rgba(251, 191, 36, 0.08);
    border-radius: 50%;
    bottom: 20%;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(251, 191, 36, 0.1);
    top: 30%;
    left: 15%;
    transform: rotate(-15deg);
    animation: rotate 12s linear infinite;
}

.shape-ring {
    width: 150px;
    height: 150px;
    border: 4px solid rgba(196, 90, 155, 0.2);
    border-radius: 50%;
    bottom: 30%;
    right: 20%;
    animation: float 7s ease-in-out infinite;
}

.shape-dots {
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, rgba(251, 191, 36, 0.3) 2px, transparent 2px);
    background-size: 15px 15px;
    top: 60%;
    left: 40%;
}

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

@keyframes rotate {
    from { transform: rotate(-15deg); }
    to { transform: rotate(345deg); }
}

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

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

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #9d2454;
}

/* Button focus states */
button:focus-visible,
a:focus-visible {
    outline: 3px solid #fcd34d;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image loading optimization */
img {
    content-visibility: auto;
}
