/* Custom styles for Casa de Gibby */

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

/* Reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal-on-scroll {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }
    
    .reveal-text {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
}

/* Fallback for browsers that don't support prefers-reduced-motion */
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

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

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

/* Hover effects for images */
img {
    transition: transform 0.5s ease;
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #c05f42;
    outline-offset: 2px;
}

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

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Date input styling */
input[type="date"] {
    color: #7d5031;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.4) sepia(0.8) saturate(3) hue-rotate(340deg);
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    border-color: #c05f42 !important;
    box-shadow: 0 0 0 3px rgba(192, 95, 66, 0.2) !important;
}
