/* Custom styles for Tiger's Den — Corsicana Hotels & Lodging */

/* Scroll reveal base — content always visible, JS adds animation */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Prefers reduced motion — skip animations entirely */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf2f4;
}
::-webkit-scrollbar-thumb {
    background: #be2442;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9c1a34;
}

/* Navbar transition */
#navbar.scrolled {
    background: rgba(59, 7, 17, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Selection color */
::selection {
    background: #be2442;
    color: #fff;
}

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

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

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

/* Subtle tiger stripe accent */
.tiger-stripe {
    background: repeating-linear-gradient(
        90deg,
        #6d172c,
        #6d172c 20px,
        #3b0711 20px,
        #3b0711 40px
    );
    height: 4px;
    width: 60px;
    border-radius: 2px;
}

/* Form styles */
input, textarea {
    border: 1px solid #fce7eb;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
input:focus, textarea:focus {
    outline: none;
    border-color: #be2442;
    box-shadow: 0 0 0 3px rgba(190, 36, 66, 0.1);
}

/* Success message */
.success-message {
    animation: fadeIn 0.5s ease-out;
}

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