/* ============================================
   Top Realtors in Nassau County — Global Styles
   Reusable utility classes and component styles
   using the black / orange / white palette.
   ============================================ */

/* Typography ------------------------------------ */
body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
.font-serif,
h1, h2, h3, .heading {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* Reusable Nav Link Component ------------------- */
.nav-link {
    position: relative;
    color: #0A0A0A;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding-bottom: 4px;
    transition: color 0.25s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #FF971A;
    transition: width 0.35s ease;
}
.nav-link:hover {
    color: #FF971A;
}
.nav-link:hover::after {
    width: 100%;
}

.mobile-nav-link {
    display: block;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #0A0A0A;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}
.mobile-nav-link:hover {
    background-color: #FAF7F2;
    color: #FF971A;
    padding-left: 1.5rem;
}

/* Footer Utilities ------------------------------ */
.footer-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.1rem;
    position: relative;
    padding-bottom: 0.6rem;
}
.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 2px;
    background-color: #FF971A;
    border-radius: 2px;
}
.footer-link {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    transition: color 0.25s ease, transform 0.25s ease;
}
.footer-link::before {
    content: '›';
    margin-right: 0.4rem;
    color: #FF971A;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.footer-link:hover {
    color: #FF971A;
    transform: translateX(2px);
}
.footer-link:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Hamburger Menu Animation ---------------------- */
.hamburger-line {
    transform-origin: center;
}
#line1 { top: 8px; }
#line2 { top: 16px; }
#line3 { top: 24px; }

.hamburger-active #line1 {
    transform: rotate(45deg);
    top: 16px;
}
.hamburger-active #line2 {
    opacity: 0;
    transform: translateX(20px);
}
.hamburger-active #line3 {
    transform: rotate(-45deg);
    top: 16px;
}

body.drawer-open {
    overflow: hidden;
}

/* Scrollbar ------------------------------------- */
* {
    scrollbar-width: thin;
    scrollbar-color: #FF971A #f1f5f9;
}
*::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}
*::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}
*::-webkit-scrollbar-thumb {
    background: #FF971A;
    border-radius: 10px;
    transition: background 0.2s ease;
}
*::-webkit-scrollbar-thumb:hover {
    background: #0A0A0A;
}

/* Component: Realtor Card ----------------------- */
.realtor-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.4s ease,
                border-color 0.3s ease;
}
.realtor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -20px rgba(255, 151, 26, 0.35),
                0 10px 20px -10px rgba(10, 10, 10, 0.12);
    border-color: #FF971A;
}
.realtor-card .realtor-image {
    transition: transform 0.6s ease;
}
.realtor-card:hover .realtor-image {
    transform: scale(1.06);
}

/* Rank Badge ------------------------------------ */
.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #FF971A 0%, #E5850E 100%);
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 999px;
    box-shadow: 0 8px 20px -6px rgba(255, 151, 26, 0.55);
}

/* Section Heading Accent ------------------------ */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #FF971A;
}
.section-eyebrow::before,
.section-eyebrow::after {
    content: '';
    width: 24px;
    height: 1px;
    background-color: #FF971A;
}

/* Fade / slide-up animation --------------------- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up {
    animation: fadeUp 0.7s ease both;
}

/* Blog Rich Content (kept from previous project) */
.blog-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0A0A0A;
    margin: 2rem 0 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #f0f0f0;
}
.blog-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1A1A1A;
    margin: 1.5rem 0 0.5rem;
}
.blog-content p {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 1rem;
}
.blog-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}
.blog-content ul li {
    font-size: 0.9rem;
    color: #4a5568;
    padding: 0.3rem 0 0.3rem 1.5rem;
    position: relative;
    line-height: 1.7;
}
.blog-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 7px;
    height: 7px;
    background-color: #FF971A;
    border-radius: 50%;
}
.blog-content ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
    counter-reset: list-counter;
    list-style: none;
}
.blog-content ol li {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.7;
    counter-increment: list-counter;
    position: relative;
    padding: 0.3rem 0 0.3rem 2rem;
}
.blog-content ol li::before {
    content: counter(list-counter);
    position: absolute;
    left: 0;
    top: 0.25rem;
    width: 1.35rem;
    height: 1.35rem;
    background-color: #FF971A;
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-content blockquote {
    border-left: 4px solid #FF971A;
    background-color: #FAF7F2;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
    font-size: 0.95rem;
    color: #0A0A0A;
    font-style: italic;
    line-height: 1.75;
}
.blog-content strong {
    color: #0A0A0A;
    font-weight: 700;
}
