/* Custom styles for The Cascade Lodge sandbox site */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #2d3748;
}

/* Container utility */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Navigation enhancements */
.nav-main {
    transition: all 0.3s ease;
}

.nav-item {
    transition: color 0.2s ease;
    position: relative;
}

.nav-item:hover::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #1e40af;
}

/* Mobile menu transitions */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    max-height: 500px;
}

/* Hero section enhancements */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-image-container {
    position: relative;
    z-index: 10;
}

/* Room card hover effects */
.room-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
    transform: translateY(-4px);
}

/* Button styles */
.primary-cta,
.secondary-cta {
    transition: all 0.2s ease;
    display: inline-block;
    text-decoration: none;
}

.primary-cta:focus,
.secondary-cta:focus {
    outline: 2px solid #1e40af;
    outline-offset: 2px;
}

/* Form styles */
.form-field {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e0;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-field:focus {
    outline: none;
    border-color: #1e40af;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #718096;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #2d3748;
}

/* Urgency message placeholder */
.urgency-message {
    background-color: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0.25rem;
}

/* Social proof placeholder */
.social-proof {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #38a169;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-subheadline {
        font-size: 1.25rem;
    }
    
    .room-grid {
        grid-template-columns: 1fr;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 2px solid #1e40af;
    outline-offset: 2px;
}

