/* ===== Custom Styles for Daniels Concrete ===== */

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

/* Hero section */
.hero {
    background: linear-gradient(135deg, #0c0e11 0%, #17191e 50%, #1e2128 100%);
}

/* Coral line animation */
.coral-line {
    display: inline-block;
}

/* Button focus states */
.btn-coral:focus-visible {
    outline: 2px solid #F97066;
    outline-offset: 2px;
}

/* Form select arrow override for Firefox */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239a9da4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

/* Scroll indicator animation */
@keyframes scrollIndicator {
    0% { top: -16px; opacity: 1; }
    100% { top: 48px; opacity: 0; }
}
.animate-scroll-indicator {
    animation: scrollIndicator 1.5s ease-in-out infinite;
}

/* Selection color */
::selection {
    background: rgba(249, 112, 102, 0.3);
    color: #f6f6f7;
}

/* Mobile menu link hover */
.mobile-link {
    position: relative;
}
.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #F97066;
    transition: width 0.3s ease;
}
.mobile-link:hover::after {
    width: 100%;
}

/* Reduced motion */
@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; }
    .hero-img-reveal { clip-path: none; }
    .animate-scroll-indicator { animation: none; display: none; }
}

/* Print styles */
@media print {
    .navbar, .mobile-menu, .btn-coral { display: none; }
    body { background: white; color: black; }
    .hero { min-height: auto; padding: 2rem 0; }
}

/* Extra large screens */
@media (min-width: 1280px) {
    .hero h1 {
        font-size: clamp(3rem, 5vw, 4.5rem);
    }
}
