/* Custom styles for Wyland Painting INC */

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

/* Custom selection color */
::selection {
    background-color: #C9A84C;
    color: #102A43;
}

/* Navbar transitions */
.nav-text {
    color: rgba(255, 255, 255, 0.85);
}

/* Service card hover effect */
.service-card {
    transform: translateY(0);
}

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

/* Gallery item hover */
.gallery-item {
    cursor: pointer;
}

/* Testimonial card */
.testimonial-card {
    position: relative;
}

/* Process step animation */
.process-step {
    position: relative;
}

/* Contact form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #C9A84C !important;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

/* Mobile menu link */
.mobile-link {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 {
        transition-delay: 0.1s;
    }

    .reveal-delay-2 {
        transition-delay: 0.2s;
    }

    .reveal-delay-3 {
        transition-delay: 0.3s;
    }

    .reveal-delay-4 {
        transition-delay: 0.4s;
    }
}

/* Back to top button */
#backToTop.visible {
    opacity: 1;
    visibility: visible;
}

/* Gold accent line animation */
.gold-line {
    position: relative;
    display: inline-block;
}

.gold-line::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #C9A84C;
    transition: width 0.3s ease;
}

.gold-line:hover::after {
    width: 100%;
}

/* Floating animation for hero cards */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(1deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0px) rotate(-1deg); }
    50% { transform: translateY(-8px) rotate(-1deg); }
}

/* Subtle background pattern for sections */
.pattern-overlay {
    background-image: url('data:image/svg+xml,%3Csvg width=\'60\' height=\'60\' viewBox=\'0 0 60 60\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cg fill=\'none\' fill-rule=\'evenodd\'%3E%3Cg fill=\'%23C9A84C\' fill-opacity=\'0.05\'%3E%3Cpath d=\'M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z\'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

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

::-webkit-scrollbar-track {
    background: #f0f4f8;
}

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.2;
    }
}

/* Print styles */
@media print {
    nav, #backToTop, .service-card:hover {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
