/* Custom styles for Pink Ivory Salon */

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

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

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

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #C9A96E, #D4BA8A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1A3C34, #2D5A4E);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2D5A4E, #1A3C34);
}

/* Image hover effects */
.image-overlay {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.image-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(26, 60, 52, 0.8));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 1rem;
}

.image-overlay:hover::after {
    opacity: 1;
}

.image-overlay img {
    transition: transform 0.6s ease;
}

.image-overlay:hover img {
    transform: scale(1.05);
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(26, 60, 52, 0.1);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon {
    transition: all 0.4s ease;
}

/* Navigation link hover */
.nav-link {
    position: relative;
    color: #1A3C34;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(90deg, #C9A96E, #D4BA8A);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #C9A96E;
}

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

/* Form inputs */
.form-input {
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #C9A96E;
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
    outline: none;
}

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

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

/* Button effects */
.btn-primary {
    background: linear-gradient(135deg, #C9A96E, #D4BA8A);
    color: #1A3C34;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #D4BA8A, #C9A96E);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(201, 169, 110, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #FFF8F0;
    border: 2px solid #C9A96E;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #C9A96E;
    color: #1A3C34;
}

/* Divider */
.divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #C9A96E, transparent);
}

/* Testimonial card */
.testimonial-card {
    background: white;
    border-left: 4px solid #C9A96E;
}

/* CTA gradient */
.cta-gradient {
    background: linear-gradient(135deg, #1A3C34, #2D5A4E);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-gradient {
        padding-top: 80px;
    }
    
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
}

/* Print styles */
@media print {
    .fixed,
    .mobile-menu,
    .animate-bounce {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
