/* Custom Styles for Finger Paints Nail Salon */

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

/* Navbar Scroll State */
nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(131, 20, 67, 0.1);
}

nav.scrolled .nav-logo-text {
    color: #831443;
}

nav.scrolled .menu-line {
    background: #831443;
}

/* Geometric Shapes Animation */
.geo-shape {
    position: absolute;
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #fbbf24 0%, transparent 70%);
    top: 10%;
    left: -5%;
    border-radius: 50%;
    animation-delay: 0s;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #f9a8d4 0%, transparent 70%);
    bottom: 10%;
    right: -5%;
    border-radius: 50%;
    animation-delay: -5s;
}

.geo-circle-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #fde68a 0%, transparent 70%);
    top: 40%;
    right: 20%;
    border-radius: 50%;
    animation-delay: -10s;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #fbbf24;
    top: 20%;
    right: 10%;
    opacity: 0.1;
    animation-delay: -3s;
    animation-duration: 25s;
}

.geo-square {
    width: 150px;
    height: 150px;
    background: #f9a8d4;
    bottom: 20%;
    left: 15%;
    transform: rotate(45deg);
    opacity: 0.1;
    animation-delay: -7s;
    animation-duration: 22s;
}

.geo-dots {
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, #fbbf24 2px, transparent 2px);
    background-size: 15px 15px;
    top: 60%;
    left: 5%;
    opacity: 0.2;
    animation-delay: -2s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(5deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
    75% {
        transform: translate(20px, 10px) rotate(3deg);
    }
}

/* Service Card Hover */
.service-card {
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-8px);
}

/* Gallery Item Hover */
.gallery-item {
    cursor: pointer;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Mobile Menu Animation */
.menu-line {
    transition: all 0.3s ease;
}

#mobile-menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#mobile-menu-btn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

/* Mobile Link Animation */
.mobile-link {
    position: relative;
}

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

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

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

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

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

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

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

/* Focus Styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
    border-radius: 4px;
}
