body {
    font-family: 'Inter', sans-serif;
    background-color: #F8F5F1;
    color: #1A1A1A;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-serif {
    font-family: 'Playfair Display', serif;
}

.font-script {
    font-family: 'Great Vibes', cursive;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom scrollbar handling */
.hide-scroll::-webkit-scrollbar {
    display: none;
}

.hide-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.before-after-slider {
    position: relative;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
}

.before-img,
.after-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.resize-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: white;
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.resize-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Service Accordion Transitions */
.service-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-content.open {
    grid-template-rows: 1fr;
}

.service-inner {
    overflow: hidden;
}

/* Horizontal Snap Scroll */
.snap-x-mandatory {
    scroll-snap-type: x mandatory;
}

.snap-center {
    scroll-snap-align: center;
}

.burger-btn {
    width: 24px;
    height: 24px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    color: #292524;
}

.burger-line {
    width: 100%;
    height: 2px;
    background-color: currentColor;
    border-radius: 999px;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.burger-btn.is-open .burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger-btn.is-open .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-btn.is-open .burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
