/* Custom styles for Beauty By Esthetics */

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

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #7c1f3b, #d4456a);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #962243, #e8718f);
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(124, 31, 59, 0.1);
}

.nav-scrolled .navbar-link {
    color: #7c1f3b !important;
}

.nav-scrolled .navbar-link:hover {
    color: #d4456a !important;
}

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

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

.floating-card:nth-child(2) {
    animation-delay: 0.5s;
}

.floating-card:nth-child(3) {
    animation-delay: 1s;
}

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

/* Card hover effects */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(124, 31, 59, 0.25);
}

/* Gallery hover effects */
.gallery-item {
    overflow: hidden;
    border-radius: 1rem;
}

.gallery-item img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Button hover effects */
.btn-primary {
    background: linear-gradient(135deg, #7c1f3b, #b82d52);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #962243, #d4456a);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -10px rgba(124, 31, 59, 0.4);
}

.btn-secondary {
    border: 2px solid rgba(253, 208, 217, 0.5);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(124, 31, 59, 0.8);
    border-color: rgba(124, 31, 59, 0.8);
}

/* Input focus effects */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(212, 69, 106, 0.2);
}

/* Section reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile menu animation */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    max-height: 400px;
}

/* Decorative elements */
.decorative-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1;
    pointer-events: none;
}

/* Print styles */
@media print {
    nav,
    .no-print {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* 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;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .service-card {
        border: 2px solid #7c1f3b;
    }
    
    .btn-primary {
        border: 2px solid #fbbf24;
    }
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: #fde68a;
    color: #3a0c1a;
}
