/* Custom styles that complement Tailwind */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background: rgba(212, 154, 18, 0.25);
    color: #1e3358;
}

/* Focus visible styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #d49a12;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Prevent layout shift on images */
img {
    max-width: 100%;
    height: auto;
}

/* Subtle pattern for hero overlay */
.hero-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(ellipse at 30% 50%, rgba(212, 154, 18, 0.08) 0%, transparent 60%),
                      radial-gradient(ellipse at 70% 20%, rgba(143, 174, 212, 0.1) 0%, transparent 50%);
    z-index: 1;
}

/* Subtle breathing animation for hero badge */
@keyframes breathe {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
.hero-content .animate-pulse {
    animation: breathe 2.5s ease-in-out infinite;
}

/* Card shimmer on hover */
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* Ensure map iframe is responsive */
iframe {
    max-width: 100%;
}

/* Print styles */
@media print {
    .hero, .fade-up, .fade-in, .mobile-menu { display: none !important; }
    body { color: #000; background: #fff; }
}
