/* Backyard Escapes And More - Custom Styles */

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Smooth scroll behavior handled in HTML */

/* Selection color */
::selection {
    background-color: rgba(212, 168, 75, 0.3);
    color: #ffffff;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid #d4a84b;
    outline-offset: 2px;
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent text zoom on input focus on iOS */
input,
textarea,
select {
    font-size: 16px;
}

/* Print styles */
@media print {
    nav,
    .mobile-menu,
    #menuOverlay {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .service-card,
    .bg-charcoal-700\/50 {
        border: 1px solid #ccc !important;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .service-card {
        border: 1px solid ButtonText;
    }
    
    .gold-gradient {
        color: ButtonText;
        -webkit-text-fill-color: ButtonText;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .hero-split {
        min-height: auto;
    }
    
    .hero-split > div:first-child {
        padding: 8rem 1.5rem 4rem;
    }
    
    .hero-split > div:last-child {
        min-height: 50vh;
    }
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
