/* Custom Styles for Albergue Gabino */

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

/* Navigation Transitions */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #F59E0B;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

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

/* Mobile Links */
.mobile-link {
    position: relative;
    padding-left: 0;
}

.mobile-link:hover {
    padding-left: 1rem;
}

/* Image Hover Effects */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

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

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

::-webkit-scrollbar-thumb {
    background: #5B2C6F;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4A2460;
}

/* Focus Styles */
input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

/* Button Hover Effects */
button:hover,
a:hover {
    cursor: pointer;
}

/* Section Animations */
@media (prefers-reduced-motion: no-preference) {
    .group {
        transition: all 0.3s ease;
    }
}

/* Print Styles */
@media print {
    nav,
    #contact-form,
    button {
        display: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .bg-plum-50 {
        background-color: #ffffff;
    }
}

/* Reduced 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;
    }
}
