/* Custom styles that complement the inline styles in index.html */

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

/* Selection color */
::selection {
    background: #961a33;
    color: #fff;
}

/* Focus visible for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 2px solid #961a33;
    outline-offset: 2px;
}

/* Hero image parallax-like effect on scroll */
.hero-img-col img {
    transition: transform 0.1s linear;
}

/* Geometric shape hover effects */
.service-card:hover .w-14 {
    transform: rotate(5deg) scale(1.1);
    transition: transform 0.3s ease;
}

/* Marquee strip hover pause */
.marquee-strip:hover .marquee-content {
    animation-play-state: paused;
}

/* Mobile menu overlay transition */
.mobile-menu {
    backdrop-filter: blur(4px);
}

/* Image hover zoom */
.service-card img, .hero-img-col img {
    transition: transform 0.5s ease;
}

/* Subtle pattern overlay on dark sections */
.bg-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Button active state */
.btn-primary:active, .btn-secondary:active {
    transform: translateY(0) scale(0.98);
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-content-col {
        padding: 6rem 2rem;
    }
}

/* Large screen optimizations */
@media (min-width: 1280px) {
    .hero-content-col {
        padding: 4rem 3rem;
    }
}
