/* Custom styles complementing Tailwind */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f3ee;
}
::-webkit-scrollbar-thumb {
    background: #95c4a1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #64a070;
}

/* Selection color */
::selection {
    background: rgba(212, 168, 75, 0.3);
    color: #16301c;
}

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

/* Animation for scroll reveal */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .floating {
        animation: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Navbar scroll effect */
.nav-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Gold button shimmer */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.gold-btn {
    background: linear-gradient(90deg, #d4a84b 0%, #e8c97a 50%, #d4a84b 100%);
    background-size: 200% auto;
    transition: all 0.4s ease;
}

.gold-btn:hover {
    background-position: right center;
    box-shadow: 0 10px 30px -10px rgba(212, 168, 75, 0.4);
    transform: translateY(-2px);
}

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

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px -12px rgba(28, 61, 36, 0.15);
    border-color: rgba(212, 168, 75, 0.3);
}

/* Mobile menu transitions */
.mobile-menu {
    transition: transform 0.3s ease;
}

/* Input focus states */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(66, 125, 78, 0.1);
}

/* Print styles */
@media print {
    nav, .mobile-menu, #contactForm, button {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
}
