/* Noble Residence Hall — Custom Styles */

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

/* Smooth scroll behavior handled in HTML */

/* Selection color */
::selection {
    background: rgba(6, 78, 59, 0.2);
    color: #022c22;
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #d4a574;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image loading placeholder */
img {
    background-color: #e7e5e4;
}

/* Print styles */
@media print {
    nav,
    #mobile-menu,
    #mobile-menu-overlay,
    .scroll-indicator {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .noble-card {
        break-inside: avoid;
    }
}

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

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

/* Subtle entrance animations for below-fold sections (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .animate-on-scroll {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
}

/* Ensure form inputs have proper appearance across browsers */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    -webkit-appearance: none;
    appearance: none;
}

/* Ensure buttons are clickable on touch devices */
button,
a {
    -webkit-tap-highlight-color: transparent;
}
