/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #faf8f5;
}
::-webkit-scrollbar-thumb {
    background: #d4b182;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c99d66;
}

/* Selection color */
::selection {
    background: #d46a46;
    color: white;
}

/* Service card hover */
.service-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Gallery item */
.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(212, 106, 70, 0);
    transition: background 0.4s ease;
    pointer-events: none;
}

.gallery-item:hover::after {
    background: rgba(212, 106, 70, 0.1);
}

/* Mobile menu */
.mobile-link {
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: #d46a46;
}

/* Form select arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a8a29e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .service-card,
    .gallery-item img,
    .service-card {
        transition: none;
    }
    
    .gallery-item img {
        transform: none !important;
    }
}

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

/* Subtle line decorations */
.divider-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #ecb29e, transparent);
}
