html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", system-ui, sans-serif;
    background: #f9fafb;
    color: #1f2937;
}

/* Custom animations */
@keyframes float-slow {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes float-rotate {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.float-element {
    animation: float-slow 6s ease-in-out infinite;
}

.float-element-2 {
    animation: float-rotate 7s ease-in-out infinite;
}

/* Fade-in on scroll */
.fade-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-section.show {
    opacity: 1;
    transform: translateY(0);
}

/* Button ripple effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple span.ripple {
    position: absolute;
    border-radius: 999px;
    transform: scale(0);
    animation: ripple 0.6s linear;
    background: rgba(255, 255, 255, 0.6);
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 60;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 1.5rem;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7);
}

.lightbox-overlay.show {
    display: flex;
}

/* Custom scrollbars (optional luxury touch) */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #f6d365, #fda085);
    border-radius: 999px;
}
