/* Custom styles for B Hive Salon & Spa */

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

/* Custom animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1); opacity: 1; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Geometric shape animations */
.geometric-shape {
    animation: float 4s ease-in-out infinite;
}

.geometric-shape:nth-child(2) {
    animation-delay: 1s;
}

.geometric-shape:nth-child(3) {
    animation-delay: 2s;
}

/* Hover effects for service cards */
.group:hover .group-hover\:rotate-12 {
    transform: rotate(12deg);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #8C4A2B;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

#mobile-menu.active {
    transform: translateX(0);
}

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #C0562A;
    box-shadow: 0 0 0 3px rgba(192, 86, 42, 0.2);
}

/* Button hover effects */
button,
a {
    transition: all 0.3s ease;
}

/* Image hover zoom */
.group:hover img {
    transform: scale(1.05);
}

/* Text selection color */
::selection {
    background-color: #C0562A;
    color: white;
}

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

/* Loading animation */
.loading {
    animation: pulse-ring 1.5s ease-in-out infinite;
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #C0562A 0%, #8C4A2B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
