/* Custom styles for Jacayla Properties */

/* Smooth scroll padding for fixed nav */
section {
    scroll-margin-top: 80px;
}

/* Scroll indicator animation */
@keyframes scrollIndicator {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

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

/* Mobile menu transition */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

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

/* Mobile nav link hover effect */
.mobile-nav-link {
    position: relative;
}

.mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #316838;
    transition: width 0.2s ease;
}

.mobile-nav-link:hover::after {
    width: 100%;
}

/* Navbar glass effect when scrolled */
nav.scrolled {
    background: rgba(253, 252, 248, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(152, 197, 158, 0.2);
    box-shadow: 0 1px 20px rgba(26, 54, 30, 0.06);
}

/* Subtle hover lift for service cards */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Custom selection color */
::selection {
    background-color: #c5dfc9;
    color: #1a361e;
}

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

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #e3efe5 0%, #f2f7f4 100%);
}
