/* Custom styles for Muneca Dominican Beauty Salon */

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

/* Selection color */
::selection {
    background: #c44a22;
    color: #fff;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5ede0;
}
::-webkit-scrollbar-thumb {
    background: #d0aa78;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c44a22;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #c44a22;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(250, 246, 240, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(61, 43, 31, 0.08);
}

/* Mobile menu open state */
.mobile-menu-open {
    overflow: hidden;
}

/* Hamburger animation */
.menu-open #bar1 {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-open #bar2 {
    opacity: 0;
}
.menu-open #bar3 {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Service card image overlay on hover */
.service-card .relative::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(61, 43, 31, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: inherit;
}
.service-card:hover .relative::after {
    opacity: 1;
}

/* Decorative elements */
.terracotta-accent {
    background: linear-gradient(135deg, #c44a22 0%, #e06030 100%);
}

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

/* Form styles */
input, textarea {
    border: 1.5px solid #e0d4c4;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: #3d2b1f;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}
input:focus, textarea:focus {
    outline: none;
    border-color: #c44a22;
    box-shadow: 0 0 0 3px rgba(196, 74, 34, 0.1);
}
input::placeholder, textarea::placeholder {
    color: #b0a090;
}

/* Success message */
.success-message {
    animation: fadeInUp 0.4s ease forwards;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
