/* Custom styles for Bella's the Salon */

/* Smooth scroll behavior handled in HTML head */

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

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

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

.geo-square {
    animation: float-reverse 10s ease-in-out infinite;
}

.geo-triangle {
    animation: float 12s ease-in-out infinite;
}

/* Subtle gradient overlay for hero image */
.hero-img-overlay {
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.1) 0%, rgba(6, 78, 59, 0.3) 100%);
}

/* Card hover effects */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Button ripple effect */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:active::after {
    width: 200px;
    height: 200px;
}

/* Gallery image hover */
.gallery-img {
    transition: transform 0.5s ease;
}

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

/* Decorative accent line */
.accent-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #059669, #34d399);
    border-radius: 2px;
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    background: rgba(6, 78, 59, 0.5);
    backdrop-filter: blur(4px);
}

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

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

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

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

/* Selection color */
::selection {
    background: #a7f3d0;
    color: #064e3b;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #059669;
    outline-offset: 2px;
}

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