/* Custom styles for Clayton Valley Salon */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #0f766e;
}

/* Hero background fix */
.hero-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Service card hover effect */
.service-card {
    transition: all 0.3s ease;
}

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

/* Gallery item hover */
.gallery-item {
    overflow: hidden;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

/* Button animations */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #f0fdfa;
    border-color: #14b8a6;
    color: #0d9488;
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 80px;
    right: 0;
    width: 100%;
    max-width: 300px;
    height: calc(100vh - 80px);
    background: white;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 50;
    padding: 2rem;
}

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

/* Navigation active state */
.nav-link.active {
    color: #0d9488;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-bg {
        background-attachment: scroll;
    }
    
    .mobile-menu {
        max-width: 100%;
    }
}

/* Print styles */
@media print {
    .hero-bg {
        background: #1e293b !important;
    }
    
    .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
