/* Custom styles for Bay Road Inn */

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

/* Navbar scroll effect */
.nav-text {
    transition: color 0.3s ease;
}

#navbar.scrolled .nav-text {
    color: #842a3e;
}

.nav-link {
    position: relative;
}

/* Room cards */
.room-card {
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.room-card:hover {
    transform: translateY(-8px);
}

/* Amenity cards */
.amenity-card {
    transform: translateY(0);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.amenity-card:hover {
    transform: translateY(-4px);
}

/* Testimonial cards */
.testimonial-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
}

/* Scroll animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays */
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }

/* Mobile menu */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

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

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

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

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

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

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

/* Selection color */
::selection {
    background: #f0205a;
    color: white;
}

/* Hero image parallax feel */
#hero {
    background-attachment: fixed;
}

@media (max-width: 768px) {
    #hero {
        background-attachment: scroll;
    }
}

/* Geometric pattern for CTA */
.cta-pattern {
    background-image: radial-gradient(circle at 25% 25%, rgba(255, 80, 127, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(132, 42, 62, 0.1) 0%, transparent 50%);
}

/* Print styles */
@media print {
    #navbar, .animate-bounce {
        display: none;
    }
}
