/* Hostal Costa Mora - Custom Styles */

/* Hero Background Configuration */
.hero-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-mobile.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Responsive Hero Background for Desktop */
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
    .hero-bg {
        background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-web.jpg');
        background-attachment: fixed;
    }
}

/* Ensure smooth scrolling with padding for fixed header */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Utilities */
.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.texto-terminal {
    color: white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Custom Scrollbar for Webkit */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #E3343F;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #C81E27;
}

/* Background Patterns */
.pattern-dots {
    background-image: radial-gradient(circle, #374151 1px, transparent 1px);
    background-size: 20px 20px;
}