/* Custom Styles for Clean Windows BY Kent */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0d0d0d;
}

::-webkit-scrollbar-thumb {
    background: #3a3a3a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #C4703F;
}

/* Selection color */
::selection {
    background: rgba(196, 112, 63, 0.3);
    color: #fff;
}

/* Service card hover effect */
.service-card {
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Testimonial card hover */
.testimonial-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    border-color: rgba(196, 112, 63, 0.3);
    transform: translateY(-2px);
}

/* Mobile navigation link styles */
.mobile-nav-link {
    display: block;
    padding: 0.5rem 0;
    font-size: 1rem;
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #ec966e;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(13, 13, 13, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Fade-in animation for below-fold sections */
.fade-in-section {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .service-card:hover,
    .testimonial-card:hover {
        transform: none;
    }
    
    img:hover {
        transform: none;
    }
}

/* Focus visible styles for accessibility */
:focus-visible {
    outline: 2px solid #C4703F;
    outline-offset: 2px;
}

/* Button ripple effect */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #1a1a1a 0%, #222222 100%);
}

/* Gradient text utility */
.text-gradient {
    background: linear-gradient(135deg, #ec966e 0%, #e8c98a 50%, #ec966e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animated underline for links */
.hover-underline {
    position: relative;
}

.hover-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: #C4703F;
    transition: width 0.3s ease;
}

.hover-underline:hover::after {
    width: 100%;
}

/* Decorative line */
.accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #C4703F, #e8c98a);
    border-radius: 2px;
}

/* Glass morphism card */
.glass-card {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Shimmer effect for loading states */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Pulse animation for live indicators */
@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Float animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Glow effect */
.glow-terracotta {
    box-shadow: 0 0 40px rgba(196, 112, 63, 0.15);
}

.glow-sand {
    box-shadow: 0 0 40px rgba(232, 201, 138, 0.15);
}
