/* Custom styles for Cozy Cabin Retreat */

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

/* Selection color */
::selection {
    background-color: rgba(13, 148, 136, 0.4);
    color: #f0fdfa;
}

/* Navbar scroll state */
.navbar-scrolled {
    background-color: rgba(8, 14, 26, 0.95) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(13, 148, 136, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Teal accent bar */
.accent-bar {
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Image zoom container */
.img-zoom-container {
    overflow: hidden;
    border-radius: 0.75rem;
}

/* Custom date input styling */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="date"]::-moz-calendar-picker-indicator {
    filter: invert(0.7) sepia(1) hue-rotate(170deg);
    cursor: pointer;
}

/* Reduce 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; }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    .img-zoom { transition: none !important; }
    .img-zoom:hover { transform: none; }
}

/* Mobile-specific adjustments */
@media (max-width: 640px) {
    .hero-grid {
        min-height: auto;
    }
    #hero {
        min-height: 100vh;
    }
}
