/* Custom styles for Angel's Loft Terramar */

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

/* Floating card animations */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
@keyframes float-medium {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-7px); }
}
@keyframes float-fast {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.animate-float-slow {
    animation: float-slow 5s ease-in-out infinite;
}
.animate-float-medium {
    animation: float-medium 4s ease-in-out infinite;
}
.animate-float-fast {
    animation: float-fast 3s ease-in-out infinite;
}

/* Scroll indicator */
@keyframes scroll-indicator {
    0% { top: -12px; opacity: 0; }
    30% { opacity: 1; }
    70% { opacity: 1; }
    100% { top: 12px; opacity: 0; }
}

.animate-scroll-indicator {
    animation: scroll-indicator 1.8s ease-in-out infinite;
}

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(250, 250, 247, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(45, 90, 61, 0.08), 0 4px 24px rgba(45, 90, 61, 0.06);
}

/* Mobile menu */
#mobileMenu {
    animation: slideDown 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.mobile-link {
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.mobile-link:hover {
    color: #4A8B5C;
    padding-left: 8px;
}

/* Form focus styles */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(74, 139, 92, 0.15);
}

/* Image hover container */
.rounded-2xl.overflow-hidden {
    position: relative;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .animate-float-slow,
    .animate-float-medium,
    .animate-float-fast,
    .animate-scroll-indicator {
        animation: none;
    }
    html {
        scroll-behavior: auto;
    }
}
