/* Custom styles for The Romantic Cottage */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FDF8F6;
}
::-webkit-scrollbar-thumb {
    background: #C4204A;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #A3163E;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(253, 248, 246, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(196, 32, 74, 0.08);
}

.nav-scrolled .nav-link {
    color: #5C4F4F !important;
}

.nav-scrolled .font-display {
    color: #851436 !important;
}

.nav-scrolled #menuBtn {
    color: #851436 !important;
}

/* Hero parallax effect */
#hero {
    scroll-behavior: smooth;
}

/* Button focus styles */
a:focus-visible, button:focus-visible {
    outline: 2px solid #C4204A;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mobile menu animation */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

#mobileMenu.open {
    max-height: 400px;
}

/* Subtle hover lift for cards */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(196, 32, 74, 0.12);
}

/* Decorative divider */
.divider-ornament {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.divider-ornament::before,
.divider-ornament::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #f2a7b2, transparent);
}

/* Image hover zoom container */
.img-zoom {
    overflow: hidden;
}
.img-zoom img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.img-zoom:hover img {
    transform: scale(1.05);
}

/* Selection color */
::selection {
    background: #f2a7b2;
    color: #5e182b;
}
