/* Smooth N Shine - Custom Styles & Enhancements */
:root {
    --color-btn-primary: #A66373;
    --color-btn-hover: #8E4B5B;
    --color-primary: #A66373;
    --color-primary-dark: #7E4150;
    --color-primary-light: #FAF2EF;
    --color-secondary: #C57668;
    --color-accent-peach: #EAA597;
    --color-accent-lavender: #DFC2C9;
    --color-border: #ECDAD5;
    --color-bg: #FAF4F0;
    --color-dark: #2B1A20;
    --color-muted: #78636B;
    --color-white: #FFFFFF;
}

html {
    scroll-behavior: smooth;
    font-family: 'DM Sans', sans-serif;
}

body {
    background-color: #FAF4F0;
    color: #2B1A20;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.font-serif {
    font-family: 'DM Serif Display', Georgia, serif;
}

/* ================= ALL BUTTONS STYLING (#A66373) ================= */
button:not([class*="bg-transparent"]):not([class*="bg-white"]):not(.modal-close-btn):not(.faq-question):not(.swiper-pagination-bullet),
.btn-primary,
.btn:not([class*="bg-transparent"]):not([class*="bg-white"]),
[type="submit"],
.bg-primary,
a[href="booking.html"]:not([class*="text-"]),
a[href="#bookingModal"]:not([class*="text-"]):not([class*="bg-transparent"]),
[data-open-modal="booking"]:not([class*="text-"]):not([class*="bg-transparent"]),
[data-bs-target="#bookingModal"]:not([class*="text-"]):not([class*="bg-transparent"]),
.treatment-filter-btn.bg-primary {
    background-color: #A66373 !important;
    border-color: #A66373 !important;
    color: #FFFFFF !important;
    transition: all 0.25s ease-in-out;
}

/* Buttons Hover Effect */
button:not([class*="bg-transparent"]):not([class*="bg-white"]):not(.modal-close-btn):not(.faq-question):not(.swiper-pagination-bullet):hover,
.btn-primary:hover,
.btn:not([class*="bg-transparent"]):not([class*="bg-white"]):hover,
[type="submit"]:hover,
.bg-primary:hover,
a[href="booking.html"]:not([class*="text-"]):hover,
a[href="#bookingModal"]:not([class*="text-"]):hover,
[data-open-modal="booking"]:not([class*="text-"]):hover,
[data-bs-target="#bookingModal"]:not([class*="text-"]):hover {
    background-color: #8E4B5B !important;
    border-color: #8E4B5B !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(166, 99, 115, 0.4) !important;
}

/* Before / After Image Slider */
.ba-container {
    position: relative;
    overflow: hidden;
    user-select: none;
}

.ba-slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #FFFFFF;
    left: 50%;
    transform: translateX(-50%);
    cursor: ew-resize;
    z-index: 30;
    box-shadow: 0 0 12px rgba(0,0,0,0.3);
}

.ba-slider-handle::after {
    content: "◀ ▶";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 38px;
    height: 38px;
    background: #A66373;
    color: #FFFFFF;
    border: 3px solid #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(166, 99, 115, 0.45);
}

.ba-before-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
    z-index: 20;
}

.ba-before-image img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: auto;
    max-width: none;
}

/* Swiper Customizations */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(166, 99, 115, 0.3);
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 6px;
    background: #A66373 !important;
}

.testimonial-swiper .swiper-pagination-bullet-active {
    background: #A66373 !important;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #FAF4F0;
}
::-webkit-scrollbar-thumb {
    background: #ECDAD5;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #A66373;
}

/* Floating Vertical Enquire Tab */
.vertical-enquire-tab {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
}

/* Toast Notification Animation */
@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.toast-animate {
    animation: toastSlideIn 0.3s ease forwards;
}

/* Bottom Nav Padding for Mobile */
@media (max-width: 767px) {
    body {
        padding-bottom: 72px;
    }
}

/* Hide horizontal scrollbar completely */
.filter-scroll {
    overflow-x: auto;
    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;     /* IE/Edge */
}

.filter-scroll::-webkit-scrollbar {
    display: none;                /* Chrome/Safari */
    width: 0;
    height: 0;
}

/* Logo Image Styling */
.site-logo-img {
    height: 46px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.site-logo-img:hover {
    transform: scale(1.02);
}

.site-logo-footer {
    height: 48px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
}
