/* Custom styles for Barbara's B & B & Honeymoon */

/* Smooth focus outlines */
input:focus, textarea:focus, button:focus, a:focus {
    outline: none;
}

/* Custom scrollbar for webkit */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fef8f5;
}
::-webkit-scrollbar-thumb {
    background: #c02747;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a11c3a;
}

/* Ornament decorative line */
.ornament {
    position: relative;
    height: 1px;
    margin: 0 auto;
    max-width: 200px;
}
.ornament::before,
.ornament::after {
    content: '';
    position: absolute;
    top: 0;
    width: 60px;
    height: 1px;
}
.ornament::before {
    left: -70px;
    background: linear-gradient(90deg, transparent, #c02747);
}
.ornament::after {
    right: -70px;
    background: linear-gradient(90deg, #c02747, transparent);
}

/* Animation for floating cards */
@keyframes float1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}
@keyframes float2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}
@keyframes float3 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

.card-float-1 { animation: float1 6s ease-in-out infinite; }
.card-float-2 { animation: float2 7s ease-in-out infinite; }
.card-float-3 { animation: float3 5.5s ease-in-out infinite; }

/* Reveal animations for scroll sections */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure all text meets contrast requirements */
.text-burgundy-700 { color: #a11c3a; }
.text-burgundy-900 { color: #701f36; }
.text-burgundy-950 { color: #3d0a14; }
.text-burgundy-600 { color: #c02747; }
.text-burgundy-500 { color: #d94068; }

/* Hero text readability */
.hero-bg {
    position: relative;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: opacity 0.3s ease, transform 0.3s ease;
}
#mobile-menu.hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}
#mobile-menu:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* Navbar transition */
#navbar {
    transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

/* Button hover effects */
a[href="#rooms"],
a[href="#experience"],
a[href="#honeymoon"],
a[href="#location"],
a[href="#contact"] {
    transition: all 0.3s ease;
}
