/* Custom styles for Broad Street Winery */

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

/* Hero asymmetric layout adjustments */
.hero-layout .absolute {
    will-change: transform;
}

/* Custom geometric decorations */
.geo-circle, .geo-rect {
    will-change: transform;
}

/* Image hover effects */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Nav transition states */
.nav-scrolled {
    background: rgba(80, 7, 36, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu animation */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Form focus styles */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(157, 23, 77, 0.1);
}

/* Button press effect */
button:active, .transition-all:active {
    transform: scale(0.98);
}

/* Selection color */
::selection {
    background: #fbbf24;
    color: #500724;
}

/* 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;
    }
}

/* Print styles */
@media print {
    nav, #hero, footer {
        background: white !important;
        color: black !important;
    }
    .geo-circle, .geo-rect, .geo-line {
        display: none;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .bg-plum-900 {
        background-color: ButtonText;
    }
    .text-plum-900 {
        color: ButtonText;
    }
    .bg-amber-400 {
        background-color: ButtonFace;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}

/* Large screen optimizations */
@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 80rem;
    }
}
