/* Custom styles for RCO Builders */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f0f3f9;
}
::-webkit-scrollbar-thumb {
    background: #b8c8e2;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #8fa8d0;
}

/* Selection color */
::selection {
    background: #f4e09a;
    color: #1e3a5f;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hamburger animation */
.mobile-toggle.active #bar1 {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active #bar2 {
    opacity: 0;
}
.mobile-toggle.active #bar3 {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 6px;
}

/* Service card icon hover */
.card-hover .service-icon {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Gallery image hover */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Subtle pattern for sections */
.section-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(30, 58, 95, 0.03) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Print styles */
@media print {
    nav, #contact-form, .reveal { display: none !important; }
    body { color: #000; background: #fff; }
    .hero-gradient { background: #1e3a5f !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
