/* Custom styles that complement Tailwind */

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

/* Selection color */
::selection {
    background: #bf7355;
    color: #fdfcfa;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf5ed;
}
::-webkit-scrollbar-thumb {
    background: #d9b572;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #bf7355;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 3px solid #bf7355;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Button base styles */
.btn-primary, .btn-secondary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after, .btn-secondary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::after, .btn-secondary:hover::after {
    opacity: 1;
}

/* Thread line animation */
.thread-line {
    background: repeating-linear-gradient(
        to right,
        #bf7355 0px,
        #bf7355 6px,
        transparent 6px,
        transparent 10px
    );
    height: 2px;
}

/* Service card image hover */
.service-card img {
    transition: transform 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

/* Mobile menu link hover */
.mobile-link {
    position: relative;
}

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

.mobile-link:hover::after {
    width: 100%;
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

/* Print styles */
@media print {
    .fixed, .mobile-menu, #menu-overlay {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
    .hero-bg {
        background: #1a1512 !important;
    }
}
