/* Cranberry Brooke Farm — Custom Styles */

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

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

/* Focus visible styles */
*:focus-visible {
    outline: 3px solid #E06B4A;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Prevent image overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Reduced motion for reveal animations */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    .card-hover {
        transition: none;
    }
    .card-hover:hover {
        transform: none;
        box-shadow: 0 4px 12px rgba(176, 62, 38, 0.1);
    }
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    nav, .wave-divider, .blob, .animate-bounce {
        display: none !important;
    }
    body {
        background: #fff !important;
        color: #000 !important;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .hero-overlay {
        background: linear-gradient(160deg, rgba(176, 62, 38, 0.80) 0%, rgba(207, 82, 51, 0.65) 50%, rgba(224, 107, 74, 0.45) 100%);
    }
}

/* Large desktop adjustments */
@media (min-width: 1200px) {
    .reveal.delay-100 { transition-delay: 0.1s; }
    .reveal.delay-200 { transition-delay: 0.2s; }
    .reveal.delay-300 { transition-delay: 0.3s; }
}
