/* Custom styles for Dubose Apartments */

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

/* Selection color */
::selection {
    background: #d4a017;
    color: #3d2a24;
}

/* Hero floating card animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.hero-card-1 { animation: float 4s ease-in-out infinite; }
.hero-card-2 { animation: float 4s ease-in-out infinite 0.5s; }
.hero-card-3 { animation: float 4s ease-in-out infinite 1s; }

/* Subtle grain texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Navbar scroll effect */
nav.scrolled {
    box-shadow: 0 4px 20px rgba(61, 42, 36, 0.15);
}

/* Gold line animation */
.gold-line {
    position: relative;
    display: inline-block;
}

.gold-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4a017, #fbbf24);
    border-radius: 2px;
    transition: width 0.6s ease;
}

.reveal.visible .gold-line::after {
    width: 60px;
}

/* Card hover lift */
.reveal:hover {
    transform: translateY(-2px);
}

/* Mobile menu link underline on hover */
.mobile-link::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background: #fbbf24;
    transition: width 0.3s ease;
}

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