/* Custom styles for Skin Care and Waxing By Sunni */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FFF8F0;
}
::-webkit-scrollbar-thumb {
    background: #d95122;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c43c16;
}

/* Selection color */
::selection {
    background: #f3bba3;
    color: #3b0e06;
}

/* Hero animations */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(45deg); }
    50% { transform: translateY(-20px) rotate(45deg); }
}

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

@keyframes float-circle {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-25px) scale(1.05); }
}

.hero-diamond {
    animation: float-slow 6s ease-in-out infinite;
}

.hero-diamond-2 {
    animation: float-medium 4s ease-in-out infinite;
    animation-delay: 1s;
}

.hero-triangle {
    animation: float-slow 5s ease-in-out infinite;
    animation-delay: 0.5s;
}

.hero-circle-1 {
    animation: float-circle 8s ease-in-out infinite;
}

.hero-circle-2 {
    animation: float-circle 6s ease-in-out infinite;
    animation-delay: 2s;
}

.hero-circle-3 {
    animation: float-circle 7s ease-in-out infinite;
    animation-delay: 1.5s;
}

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Mobile menu transitions */
#mobileMenu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mobileMenu.open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Navbar glass effect */
.nav-scrolled {
    background: rgba(255, 248, 240, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

/* Image hover zoom */
img {
    transition: transform 0.4s 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;
    }
    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .font-display {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}
