/* Custom Styles for Zoe Beauty */
/* Color Palette: Olive Green (#6B7B5E) + Warm Beige (#E8E4DF) + Coral (#D4A5A5) */

/* Smooth scroll */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    width: 100%;
}

/* Before/After Slider Styles */
.before-after-slider {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.ba-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    cursor: ew-resize;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(107, 123, 94, 0.15);
}

.ba-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.ba-before {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
}

.ba-slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: #FAF8F5;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.ba-slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: #6B7B5E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #FAF8F5;
    cursor: ew-resize;
    transition: transform 0.2s ease;
}

.ba-slider-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.ba-slider-button svg {
    transform: rotate(90deg);
}

/* Selection color */
::selection {
    background: #6B7B5E;
    color: #FAF8F5;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #5A6950;
}

/* Animation for fade in */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #E8E4DF 0%, #D4C4B5 100%);
}

/* Decorative elements */
.decorative-ring {
    border: 1px solid rgba(107, 123, 94, 0.3);
}

/* Hover effects for service cards */
.group:hover .service-overlay {
    opacity: 1;
}

/* Coral accent line animation */
@keyframes drawLine {
    from {
        stroke-dashoffset: 200;
    }
    to {
        stroke-dashoffset: 0;
    }
}

.coral-line path {
    stroke-dasharray: 200;
    animation: drawLine 2s ease forwards;
}

/* Instagram embed container */
.instagram-container {
    width: 100%;
    max-width: 328px;
    margin: 0 auto;
}

.instagram-container .instagram-media {
    margin: 0 auto !important;
    width: 100% !important;
    min-width: auto !important;
}
