/* ═══════════════════════════════════════════════════════════
   Addresses of Amarillo, Realtors — Custom Styles
   ═══════════════════════════════════════════════════════════ */

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

/* ── Selection Color ── */
::selection {
    background-color: #C9A84C;
    color: #3e2035;
}

/* ── Base Typography ── */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f5f4;
}
::-webkit-scrollbar-thumb {
    background: #6B3A5E;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #5c3050;
}

/* ── Navigation Link Hover Effect ── */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: #C9A84C;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-link:hover::after {
    width: 80%;
}

/* ── Mobile Link Hover ── */
.mobile-link:hover {
    padding-left: 0.5rem;
}

/* ── Reveal on Scroll ── */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Hero Fade-in ── */
.hero-fade {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-fade:nth-child(1) { animation-delay: 0.1s; }
.hero-fade:nth-child(2) { animation-delay: 0.3s; }
.hero-fade:nth-child(3) { animation-delay: 0.5s; }
.hero-fade:nth-child(4) { animation-delay: 0.7s; }

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Floating Cards Animation ── */
@keyframes float1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(0.5deg); }
}
@keyframes float2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(-0.5deg); }
}
@keyframes float3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(0.3deg); }
}

.animate-float-1 {
    animation: float1 4s ease-in-out infinite;
}
.animate-float-2 {
    animation: float2 5s ease-in-out infinite;
}
.animate-float-3 {
    animation: float3 4.5s ease-in-out infinite;
}

/* ── Input Focus Styles ── */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* ── Header Scroll State ── */
#site-header.scrolled {
    background: rgba(62, 32, 53, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ── Image Hover Zoom ── */
.group:hover img {
    transform: scale(1.05);
}

/* ── Responsive Adjustments ── */
@media (max-width: 767px) {
    .font-serif {
        word-spacing: -0.02em;
    }
}

/* ── Print Styles ── */
@media print {
    header, footer, #contact-form, #mobile-menu {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
