/* Custom Styles for Idaho Ridge */

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

/* Typography */
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-serif {
    font-family: 'Cormorant Garamond', serif;
}

/* Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background-color: rgba(201, 168, 76, 0.3);
    color: #fff;
}

/* Smooth Transitions */
a, button {
    transition: all 0.3s ease;
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Focus Styles for Accessibility */
*:focus-visible {
    outline: 2px solid #C9A84C;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    a {
        text-decoration: underline;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .btn-gold {
        background: #C9A84C;
        color: #000;
    }
    
    .btn-outline-gold {
        border-color: #C9A84C;
        color: #C9A84C;
    }
}

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

/* Landscape Mode on Mobile */
@media (max-width: 767px) and (orientation: landscape) {
    #hero {
        min-height: 100vh;
    }
    
    .font-serif {
        font-size: 2rem;
    }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 1023px) {
    .room-card {
        margin-bottom: 2rem;
    }
}

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

/* Touch Device Optimizations */
@media (hover: none) {
    .room-card:hover {
        transform: none;
    }
    
    .room-card:active {
        transform: translateY(-4px);
    }
}
