/* ===== Coronas Hair Salon — Custom Styles ===== */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fefcf8;
}
::-webkit-scrollbar-thumb {
    background: #d4a0a0;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a12547;
}

/* Selection color */
::selection {
    background: #f9d0d9;
    color: #6f1e35;
}

/* ===== Reveal Animations (progressive enhancement) ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal[data-revealed="false"] {
    opacity: 0;
    transform: translateY(24px);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ===== Navbar scroll state ===== */
#navbar.scrolled {
    box-shadow: 0 1px 20px rgba(101, 37, 56, 0.08);
}

/* ===== Mobile menu transition ===== */
#mobile-menu {
    animation: slideDown 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ===== Button focus states ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #ec7496;
    outline-offset: 2px;
}

/* ===== Service card hover glow ===== */
.group:hover .group-hover\\:bg-burgundy-100 {
    background-color: #fce7eb;
}

.group:hover .group-hover\\:bg-rose-100 {
    background-color: #fad4dc;
}

/* ===== Mobile link hover ===== */
.mobile-link {
    position: relative;
}
.mobile-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #a12547, #ec7496);
    transition: width 0.2s ease;
}
.mobile-link:hover::after {
    width: 100%;
}

/* ===== Testimonial card shimmer ===== */
.bg-white\\/5:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

/* ===== Image hover zoom wrapper ===== */
.group:hover img {
    transform: scale(1.1);
}

img {
    display: block;
}

/* ===== Hero decorative animation ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* ===== Pulse dot ===== */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.animate-pulse {
    animation: pulse-dot 2s ease-in-out infinite;
}
