/* AMMA CLEANERS - Bespoke Design System & Anti-Slop Styles */

/* Browser Surfaces & Polish */
::selection {
    background-color: #064e3b;
    color: #ecfdf5;
}

::-moz-selection {
    background-color: #064e3b;
    color: #ecfdf5;
}

/* Custom Scrollbar - Subdued Architectural Grey */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f8fafc;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Focus Ring Polish */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #059669;
    outline-offset: 2px;
}

/* Tactile Micro-Interactions */
button:active, a.btn-tactile:active {
    transform: scale(0.985);
}

/* Service Tab Transition */
.service-tab-btn.active {
    background-color: #062b1f;
    color: #ffffff;
    box-shadow: 0 2px 6px -1px rgba(6, 43, 31, 0.2);
}

.service-tab-btn:not(.active) {
    background-color: #ffffff;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.service-tab-btn:not(.active):hover {
    background-color: #f8fafc;
    color: #0f172a;
    border-color: #cbd5e1;
}

/* Interactive Quick Selector Chips in Hero */
.hero-service-chip {
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-service-chip:hover {
    border-color: #059669;
    background-color: #f0fdf4;
    color: #064e3b;
}

/* Modal Open / Close Transition */
#bookingModal {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

#bookingModal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#bookingModal #bookingModalBox {
    transform: scale(0.97) translateY(8px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

#bookingModal.active #bookingModalBox {
    transform: scale(1) translateY(0);
}

/* Subtle Frame & Depth Treatments */
.bento-card {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

/* Text balance utility */
.text-balance {
    text-wrap: balance;
}
