/* Custom styles for Nourish A Beauty Boutique */

:root {
    --burgundy-700: #852538;
    --burgundy-950: #3a0f17;
    --blush-50: #fdf8f6;
}

html {
    scroll-behavior: smooth;
}

body {
    font-feature-settings: 'cv02', 'cv03', 'cv04';
}

/* Navbar scroll behavior */
.navbar-scrolled {
    background: rgba(253, 248, 246, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(133, 37, 56, 0.08);
}

.navbar-scrolled .nav-logo {
    color: #852538 !important;
}

.navbar-scrolled .nav-sub {
    color: #d4506a !important;
}

/* Service card hover effects */
.service-card {
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(133, 37, 56, 0.15);
}

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

.gallery-item img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    .reveal.hidden {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Form styles */
.contact-form input,
.contact-form textarea {
    border-bottom: 2px solid #f5b0b9;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #852538;
}

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

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

::-webkit-scrollbar-thumb {
    background: #d4506a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #852538;
}

/* Selection color */
::selection {
    background: #fce4e8;
    color: #3a0f17;
}
