/* Custom styles for PRO Touch Painting and Home Improvement */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf8f5;
}
::-webkit-scrollbar-thumb {
    background: #e85d28;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d94416;
}

/* Service card hover effect */
.service-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

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

/* Project card hover effect */
.project-card {
    transform: translateY(0);
    transition: transform 0.3s ease;
}

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

/* Testimonial card hover */
.testimonial-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Navbar scroll state */
#navbar.scrolled {
    box-shadow: 0 1px 20px rgba(232, 93, 40, 0.08);
}

/* Mobile menu transition */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Selection color */
::selection {
    background: #f9d0b8;
    color: #b43012;
}

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

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

/* Custom geometric decorative elements */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #e85d28, #f4aa85);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}
