/* Custom styles for Ramada Hattiesburg */

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

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar scroll effect */
.navbar-scrolled {
    background-color: rgba(254, 252, 251, 0.98) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

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

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

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

/* Selection color */
::selection {
    background-color: #8b2525;
    color: #fefcfb;
}

/* Input focus styles */
input:focus,
textarea:focus {
    border-color: #8b2525 !important;
    box-shadow: 0 0 0 3px rgba(139, 37, 37, 0.1);
}

/* Image hover effects */
img {
    transition: transform 0.5s ease;
}

/* Button hover effects */
button,
a {
    transition: all 0.3s ease;
}

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

/* Decorative line */
.decorative-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #8b2525, #fad8c8);
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #8b2525, #a83232);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle pattern overlay */
.pattern-overlay {
    background-image: radial-gradient(circle at 1px 1px, rgba(139, 37, 37, 0.05) 1px, transparent 0);
    background-size: 20px 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
    
    .font-serif.text-5xl {
        font-size: 2.25rem;
    }
    
    .font-serif.text-4xl {
        font-size: 2rem;
    }
}

/* Print styles */
@media print {
    nav,
    button,
    form {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
