/* assets/css/style.css */

/* Core Styles */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Framer Motion Parity Animation Classes */

/* Base element class, hidden initially */
.fade-element {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Initial Transformation States (matching Framer variants) */
.fade-init-up {
    transform: translateY(50px);
}

.fade-init-down {
    transform: translateY(-50px);
}

.fade-init-left {
    transform: translateX(-50px);
}

.fade-init-right {
    transform: translateX(50px);
}

/* Visible State (Triggered by IntersectionObserver) */
.fade-element.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Specific SVG fixes from existing content */
h2 svg,
h1 svg {
    display: inline-block;
    height: 1.5em;
    /* Adjust to match the title size */
    margin-right: 10px;
    vertical-align: middle;
}

/* Swiper Gallery Modifications */
.services-swiper .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 400px;
    filter: grayscale(100%);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.services-swiper .swiper-slide-active {
    filter: grayscale(0%);
}

.services-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-swiper .swiper-button-next,
.services-swiper .swiper-button-prev {
    color: white;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.services-swiper .swiper-button-next:hover,
.services-swiper .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.services-swiper .swiper-button-next:after,
.services-swiper .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.services-swiper .swiper-pagination-bullet {
    background: rgba(0, 0, 0, 0.5);
    opacity: 1;
}

.services-swiper .swiper-pagination-bullet-active {
    background: #000;
}