/* Custom styles for Be Beautifully Inspired by Michelle */

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

/* Prevent flash of hidden content - all content is visible by default */
/* Scroll reveal is progressive enhancement via JS */

/* Floating shapes animation */
.floating-shape {
    position: absolute;
    opacity: 0.6;
    pointer-events: none;
}

.shape-1 {
    top: 15%;
    left: 8%;
    animation: float1 8s ease-in-out infinite;
}

.shape-2 {
    top: 60%;
    right: 10%;
    animation: float2 10s ease-in-out infinite;
}

.shape-3 {
    bottom: 20%;
    left: 15%;
    animation: float3 12s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(25px) rotate(-15deg); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

/* Scroll reveal base - content always visible */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Scroll reveal animation - only active when JS adds the class */
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion - disable animations */
@media (prefers-reduced-motion: reduce) {
    .floating-shape {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .scroll-reveal {
        transition: none;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Navbar styles */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e65c35;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile menu */
#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: 8px;
}

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

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

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

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Button hover effects */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Image hover effects */
img {
    -webkit-user-drag: none;
}

/* Selection color */
::selection {
    background: #f9c4b0;
    color: #3f100b;
}

/* Print styles */
@media print {
    nav, .floating-shape, footer {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
