/* Custom styles for Lehigh Motor Lodge */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navbar transition */
.nav-link {
    color: #3d3d3d;
}

.nav-scrolled .nav-link {
    color: #1e1e1e;
}

.nav-scrolled .nav-link:hover {
    color: #FF6B4A;
}

.nav-link-color {
    color: #1e1e1e;
}

/* Mobile nav links */
.mobile-nav-link {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered delays */
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Default state for reveal elements (visible without JS) */
.reveal {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    /* JS will add .revealed class to trigger animation */
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f6f6f6;
}

::-webkit-scrollbar-thumb {
    background: #c4c4c4;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #919191;
}

/* Selection color */
::selection {
    background: #FF6B4A;
    color: white;
}

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

/* Form input transitions */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(255, 107, 74, 0.1);
}

/* Hover lift effect for cards */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Subtle gradient text */
.gradient-text {
    background: linear-gradient(135deg, #1e1e1e 0%, #FF6B4A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button ripple effect */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Print styles */
@media print {
    nav, #back-to-top, .reveal {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
