/* Custom styles for Adele's Bed & Breakfast */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #faf9f6;
}
::-webkit-scrollbar-thumb {
    background: #d15656;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a83232;
}

/* Selection color */
::selection {
    background: #f5c2c2;
    color: #4a0f0f;
}

/* Subtle pattern overlay for hero */
#home {
    background-image: radial-gradient(circle at 20% 80%, rgba(211, 86, 86, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255, 143, 122, 0.05) 0%, transparent 50%);
}

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    img,
    .group:hover img {
        transition: none;
    }
    .group:hover {
        transform: none;
    }
}

/* 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 4px 20px rgba(74, 15, 15, 0.1);
}

/* Room card hover */
.group:hover {
    transform: translateY(-4px);
}

/* Button press effect */
button:active,
a:active {
    transform: scale(0.98);
}
