/* Custom styles for ReNew You Personal Growth Center */

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

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

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

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

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

/* Selection color */
::selection {
    background: #C2704E;
    color: white;
}

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

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

/* Mobile menu */
#mobileMenu {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

#mobileMenu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

/* Hamburger animation */
#menuBtn.active #line1 {
    transform: rotate(45deg) translate(5px, 5px);
}

#menuBtn.active #line2 {
    opacity: 0;
}

#menuBtn.active #line3 {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 24px;
    margin-left: 0;
}

/* 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);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal.hidden {
        opacity: 1;
        transform: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Form focus styles */
input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(194, 112, 78, 0.2);
}

/* Image hover zoom */
img {
    transition: transform 0.6s ease;
}

/* Gradient text (if needed) */
.gradient-text {
    background: linear-gradient(135deg, #C2704E, #d4b47f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
