/* Custom styles supplementing Tailwind */

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Ensure smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Better focus states */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: #d9a9b8;
    color: #2a0f17;
}

/* Prevent horizontal scroll */
body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf5f7;
}
::-webkit-scrollbar-thumb {
    background: #d9a9b8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a85570;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .float-card,
    .float-card-delay,
    .float-card-delay-2 {
        animation: none !important;
    }
    html {
        scroll-behavior: auto;
    }
    .service-card {
        transition: none;
    }
    .gallery-item img {
        transition: none;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .about-img-wrapper::after {
        display: none;
    }
}
