/* Custom styles for Shine Hair Studio */

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

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Fade in animation for sections */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        opacity: 0;
        transform: translateY(30px);
    }
}

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

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(196, 119, 91, 0.15);
}

/* Navigation link underline animation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #C4775B;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Primary button styles */
.btn-primary {
    background: linear-gradient(135deg, #C4775B 0%, #9C5C45 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #9C5C45 0%, #7D4A38 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(196, 119, 91, 0.3);
}

/* Secondary button styles */
.btn-secondary {
    border: 2px solid #C4775B;
    color: #C4775B;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #C4775B;
    color: white;
}

/* Mobile menu styles */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

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

/* Image hover zoom effect */
.overflow-hidden {
    overflow: hidden;
}

.overflow-hidden img {
    transition: transform 0.5s ease;
}

.overflow-hidden:hover img {
    transform: scale(1.1);
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(196, 119, 91, 0.2);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #9C5C45;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-gradient {
        background: linear-gradient(135deg, #361F17 0%, #663D2F 50%, #7D4A38 100%);
    }
}

/* Print styles */
@media print {
    .fixed,
    .mobile-menu,
    .btn-primary,
    .btn-secondary {
        display: none;
    }
}
