/* Custom styles for Halo Salon And Spa */

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.3s ease;
}

/* Ensure proper spacing */
section {
    scroll-margin-top: 80px;
}

/* Hero gradient animation */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-gradient {
    background: linear-gradient(135deg, #fdf4f6 0%, #ffffff 50%, #fffbeb 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(132, 23, 50, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

/* Button ripple effect */
.cta-button {
    position: relative;
    overflow: hidden;
}

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

.cta-button:active::after {
    width: 300px;
    height: 300px;
}

/* Gallery item overlay */
.gallery-item {
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(61, 8, 18, 0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Form input focus states */
input:focus, textarea:focus, select:focus {
    border-color: #841732;
    box-shadow: 0 0 0 3px rgba(132, 23, 50, 0.1);
}

/* Mobile menu animation */
.mobile-menu {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(132, 23, 50, 0.1);
}

/* Custom selection color */
::selection {
    background: #841732;
    color: #ffffff;
}

/* Print styles */
@media print {
    .mobile-menu,
    .cta-button::after {
        display: none;
    }
}
