/* McDougall Lodge — Custom Styles */

/* Base resets and utilities */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', system-ui, sans-serif;
    background: #0A0A0A;
    color: #E8E6E3;
    overflow-x: hidden;
}

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

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

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

/* Loading state for images */
img {
    background: linear-gradient(135deg, #1A1A1A 0%, #232323 100%);
}

/* Custom cursor for interactive elements */
a, button {
    cursor: pointer;
}

/* 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;
        scroll-behavior: auto !important;
    }
    
    .lodge-card:hover {
        transform: none;
        box-shadow: none;
    }
    
    .fish-swim {
        animation: none;
    }
}

/* Print styles */
@media print {
    nav, #mobileMenu, .reveal-section {
        display: none !important;
    }
    
    body {
        background: #fff;
        color: #000;
    }
    
    section {
        page-break-inside: avoid;
    }
}

/* Tablet and up adjustments */
@media (min-width: 768px) {
    .hero-overlay {
        background: linear-gradient(
            to bottom,
            rgba(10,10,10,0.50) 0%,
            rgba(10,10,10,0.35) 35%,
            rgba(10,10,10,0.60) 65%,
            rgba(10,10,10,0.92) 100%
        );
    }
}

/* Large desktop adjustments */
@media (min-width: 1200px) {
    .font-serif {
        font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .lodge-card {
        border-color: #C9A84C;
    }
    
    .text-charcoal-300 {
        color: #b0b0b0;
    }
    
    .text-charcoal-400 {
        color: #888;
    }
}

/* Reduced data mode */
@media (prefers-reduced-data: reduce) {
    .reveal-section {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .lodge-card {
        transition: none;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .font-serif {
        font-size: 1.5rem;
    }
    
    .btn-gold, .btn-coral {
        padding: 0.75rem 1.5rem;
        font-size: 0.75rem;
    }
}

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