/* WebHouse Inc. - Main Stylesheet */

/* Base Styles */

:root {
    color-scheme: light; /* Forces the page and native elements to stay light */
  }
  
body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 1,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
}

html {
    scroll-behavior: smooth;
}

/* Component Styles */
.bento-card {
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.text-stroke {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    color: transparent;
}

.clip-slant {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

/* Animations */
@keyframes shimmer {
    from {
        background-position: 0% 0%;
    }
    to {
        background-position: 200% 200%;
    }
}

@keyframes width {
    from {
        width: 0;
    }
    to {
        width: 85%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Clients logo marquee - single row, scrolling by default */
@keyframes clients-marquee-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.clients-marquee {
    display: flex;
    width: max-content;
    animation: clients-marquee-scroll 45s linear infinite;
}

.clients-marquee:hover {
    animation-play-state: paused;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .clients-marquee-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .clients-marquee {
        animation: none;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus {
    outline: 2px solid #b90606;
    outline-offset: 2px;
}

/* Skip to main content link for screen readers */
.skip-to-main {
    position: absolute;
    left: -9999px;
    z-index: 999;
}

.skip-to-main:focus {
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 2rem;
    background: #b90606;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
}

