/* Custom styles for Aloha Beauty Salon */

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

/* Geometric shapes animation */
.geometric-shape {
    position: absolute;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.shape-circle-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    border-radius: 50%;
    top: 10%;
    right: -50px;
    animation-delay: 0s;
}

.shape-circle-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #5eead4, #2dd4bf);
    border-radius: 50%;
    bottom: 20%;
    left: 5%;
    animation-delay: -5s;
}

.shape-square-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #99f6e4, #5eead4);
    top: 40%;
    left: -80px;
    transform: rotate(45deg);
    animation-delay: -10s;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #2dd4bf;
    top: 20%;
    left: 15%;
    animation-delay: -7s;
}

.shape-circle-3 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ccfbf1, #99f6e4);
    border-radius: 50%;
    bottom: 10%;
    right: 15%;
    animation-delay: -3s;
}

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
}

.animate-slide-up-delay {
    animation: slideUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.animate-slide-up-delay-2 {
    animation: slideUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

/* Service card hover effect */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.1), transparent);
    transition: left 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

/* Gallery hover effect */
.gallery-item {
    cursor: pointer;
}

/* Mobile menu animation */
#mobile-menu-btn.active #bar1 {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu-btn.active #bar2 {
    opacity: 0;
}

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

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

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

::-webkit-scrollbar-track {
    background: #0a1628;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #2dd4bf;
}

/* Input focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .shape-circle-1 {
        width: 200px;
        height: 200px;
    }
    
    .shape-square-1 {
        width: 120px;
        height: 120px;
    }
    
    .shape-triangle-1 {
        border-left-width: 60px;
        border-right-width: 60px;
        border-bottom-width: 104px;
    }
}
