/**
 * TMA Law Associates - Minimal Custom CSS
 * 
 * Only essential custom styles that can't be achieved with Tailwind CSS
 */

/* Custom animations that extend Tailwind's built-in animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes float-delay {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-float-delay {
    animation: float-delay 3s ease-in-out infinite 1.5s;
}

/* Smooth scroll behavior - not available in Tailwind */
html {
    scroll-behavior: smooth;
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slider-wrapper {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Hero navigation buttons */
.hero-prev,
.hero-next {
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-prev:hover,
.hero-next:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(15px);
}

/* Hero dots indicator */
.hero-dot {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.hero-dot:hover {
    transform: scale(1.2);
    background-color: rgba(255, 215, 0, 0.7);
}

.hero-dot.active {
    background-color: #FFD700;
    transform: scale(1.25);
}

/* Focus styles for accessibility */
.hero-prev:focus,
.hero-next:focus,
.hero-dot:focus {
    outline: 2px solid #FFD700;
    outline-offset: 2px;
}

/* Prevent text selection during slider interactions */
.hero-slider {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Custom slideInUp animation for practice areas */
@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Professional legal silhouette background */
body {
    background: 
        linear-gradient(rgba(255, 255, 255, 0.75), rgba(248, 249, 250, 0.75)),
        url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
}

/* Alternative professional pattern */
.business-bg {
    background: 
        linear-gradient(90deg, rgba(212,175,55,0.02) 50%, transparent 50%),
        linear-gradient(rgba(139,0,0,0.01) 50%, transparent 50%);
    background-size: 20px 20px;
}

/* Subtle legal document texture */
.legal-texture {
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(212,175,55,0.01) 2px,
            rgba(212,175,55,0.01) 4px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 2px,
            rgba(139,0,0,0.005) 2px,
            rgba(139,0,0,0.005) 4px
        );
}
