/* Additional custom styles for editorial touches */

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F5F0E8;
}

::-webkit-scrollbar-thumb {
    background: #B85A44;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8C4030;
}

/* Selection color */
::selection {
    background: #B85A44;
    color: #FDFCFA;
}

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

/* Image hover effects */
img {
    transition: transform 0.6s ease;
}

/* Button hover states */
button:hover,
a:hover {
    transform: translateY(-2px);
}

button:active,
a:active {
    transform: translateY(0);
}

/* Form input focus states */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(184, 90, 68, 0.1);
}

/* Print styles */
@media print {
    nav,
    .mobile-menu,
    .cta-button,
    form {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .reveal-text,
    .image-reveal {
        opacity: 1;
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-charcoal\/70,
    .text-white\/70,
    .text-white\/60,
    .text-white\/40 {
        opacity: 1;
    }
}

/* Reduced motion support */
@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;
    }
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    #hero {
        min-height: auto;
        padding: 80px 0;
    }
    
    .mobile-menu {
        transform: translateY(-100%);
    }
    
    .mobile-menu.open {
        transform: translateY(0);
    }
}

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

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover {
        transform: none;
    }
    
    .cta-button:hover::before {
        left: -100%;
    }
}

/* Dark mode support (optional enhancement) */
@media (prefers-color-scheme: dark) {
    :root {
        --terra: #D68C7A;
        --sand: #1A1A1A;
        --charcoal: #F5F0E8;
    }
}
