/* ============================================================
   Penny Levine Real Estate Website - Main Stylesheet
   2026 Modern Design with Light/Dark Theme
   Colors from original site + modernized
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES (Theme System)
   ============================================================ */
:root {
    /* Primary colors from original site */
    --primary: #1396e2;
    --primary-dark: #073855;
    --primary-light: #4db8ff;
    --primary-rgb: 19, 150, 226;

    /* Neutral palette */
    --text: #2a2a2a;
    --text-muted: #5a5a5a;
    --bg: #ffffff;
    --bg-alt: #f3f3f3;
    --bg-card: #ffffff;
    --border: rgba(0, 0, 0, 0.1);
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-lg: rgba(0, 0, 0, 0.15);

    /* Status colors */
    --for-sale: #2ecc71;
    --for-sale-dark: #27ae60;
    --sold: #e74c3c;
    --sold-dark: #c0392b;

    /* Spacing */
    --section-padding: 100px;
    --container-width: 1200px;

    /* Transitions */
    --transition: 0.3s ease;
    --transition-slow: 0.6s ease;

    /* Header height */
    --header-height: 80px;
}

/* ============================================================
   2. RESET & BASE STYLES
   ============================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.7;
    transition: background-color var(--transition), color var(--transition);
    overflow-x: hidden;
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
    transition: color var(--transition);
}

h1 { font-size: 3rem; margin-bottom: 1rem; }
h2 { font-size: 2.4rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }

p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    transition: color var(--transition);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: auto;
}

img[draggable="false"] {
    -webkit-user-drag: none;
}

/* ============================================================
   4. LAYOUT - Container
   ============================================================ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Section spacing */
.section {
    padding: var(--section-padding) 0;
}

.section-alt {
    background-color: var(--bg-alt);
    transition: background-color var(--transition);
}

/* Section header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 15px auto 0;
}

/* ============================================================
   5. HEADER & NAVIGATION
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #fff;
    border-bottom: 1px solid var(--border);
    transition: background-color var(--transition), box-shadow var(--transition), border-color var(--transition);
    height: var(--header-height);
}

/* Scrolled state - add shadow */
.site-header.scrolled {
    box-shadow: 0 2px 20px var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

/* Logo */
.logo img {
    height: 60px;
    width: auto;
    transition: opacity var(--transition);
}

.logo:hover img {
    opacity: 0.85;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-item a {
    display: block;
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-dark);
    border-radius: 8px;
    transition: all var(--transition);
    text-decoration: none;
}

.nav-item a:hover {
    color: var(--primary);
}

.nav-item.active a {
    color: var(--primary-dark);
    font-weight: 600;
    border-bottom: 2px solid var(--primary-dark);
    border-radius: 0;
}

/* Language switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all var(--transition);
    text-decoration: none;
    margin-left: 10px;
}

.lang-switch:hover {
    color: var(--primary);
    border-color: var(--primary);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background-color var(--transition);
}

.mobile-menu-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary-dark);
    border-radius: 2px;
    transition: all var(--transition);
}

/* Mobile menu open state */
.mobile-menu-toggle.open .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   6. HERO SECTION
   ============================================================ */
/* ============================================================
   HERO SOUND TOGGLE
   Circular play/pause button for jingle audio (EN only)
   ============================================================ */
.hero-sound-toggle {
    position: absolute;
    top: calc(var(--header-height) + 120px);
    left: 20px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.hero-sound-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.hero-sound-toggle.playing {
    background: rgba(255, 255, 255, 0.25);
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    margin-top: calc(-1 * var(--header-height));
    padding-top: var(--header-height);
}

/* Video background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Dark overlay on video */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0.55) 100%
    );
    z-index: 1;
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 20px 80px;
    width: 100%;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 1s ease forwards;
    animation-delay: 0.3s;
}

.hero-content .hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20rem;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 1s ease forwards;
    animation-delay: 0.6s;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 1s ease forwards;
    animation-delay: 0.9s;
}

/* ============================================================
   7. BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-dark:hover {
    background-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================================
   8. STATS BAR
   ============================================================ */
.stats-bar {
    background-color: var(--primary-dark);
    padding: 60px 0;
    transition: background-color var(--transition);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    color: #fff;
}

.stat-number {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ============================================================
   9. PROPERTY CARDS
   ============================================================ */

/* Filter tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text-muted);
    background: none;
    border: 2px solid var(--border);
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition);
}

.filter-tab:hover,
.filter-tab.active {
    color: var(--primary);
    border-color: var(--primary);
    background-color: rgba(var(--primary-rgb), 0.08);
}

/* Property grid */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Single property card */
.property-card {
    background-color: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all var(--transition);
    border: 1px solid var(--border);
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--shadow-lg);
}

/* Property image container */
.property-image {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

/* Property status tag (For Sale / Sold) - pill style like price tag */
.property-ribbon {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    z-index: 5;
    border-radius: 8px;
    background-color: rgba(7, 56, 85, 0.85);
    backdrop-filter: blur(10px);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.property-ribbon.for-sale,
.property-ribbon.sold {
    background-color: rgba(7, 56, 85, 0.85);
}

/* Sold note (e.g., "Represented Buyer") */
.property-ribbon .sold-note {
    display: block;
    font-size: 0.6rem;
    font-weight: 400;
    opacity: 0.85;
    text-transform: none;
    letter-spacing: 0;
    margin-top: 2px;
    text-align: left;
}

/* Sold ribbon text alignment */
.property-ribbon.sold {
    text-align: left;
}

/* Price tag */
.property-price {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background-color: rgba(7, 56, 85, 0.85);
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    backdrop-filter: blur(10px);
    z-index: 5;
}

/* Property info */
.property-info {
    padding: 20px;
}

.property-info h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 600;
}

.property-info h3 a {
    color: var(--text);
    text-decoration: none;
}

.property-info h3 a:hover {
    color: var(--primary);
}

.property-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

/* Property footer row (meta + centris inline) */
.property-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

/* Property meta (bedrooms, bathrooms) */
.property-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.property-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.property-meta i {
    color: var(--primary);
}

/* Centris link */
.property-centris {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 6px;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.property-centris:hover {
    background-color: var(--primary);
    color: #fff;
}

/* ============================================================
   10. TESTIMONIALS
   ============================================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    transition: all var(--transition);
    box-shadow: 0 4px 15px var(--shadow);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--shadow-lg);
}

/* Large quote mark */
.testimonial-card::before {
    content: '\201C';
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 6rem;
    color: var(--primary);
    opacity: 0.15;
    position: absolute;
    top: 10px;
    left: 25px;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

/* ============================================================
   11. PROFILE / PENNY PAGE
   ============================================================ */
.profile-section {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: start;
}

.profile-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-lg);
}

.profile-image img {
    width: 100%;
    height: auto;
    display: block;
}

.profile-content h1 {
    margin-bottom: 0.5rem;
}

.profile-subtitle {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.2rem;
}

/* Approach cards */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.approach-card {
    text-align: center;
    padding: 40px 30px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all var(--transition);
    box-shadow: 0 4px 15px var(--shadow);
}

.approach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-lg);
}

.approach-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(var(--primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--primary);
    transition: all var(--transition);
}

.approach-card:hover .approach-icon {
    background-color: var(--primary);
    color: #fff;
}

/* ============================================================
   12. CONTACT FORM
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text);
    background-color: var(--bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    transition: all var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Contact info sidebar */
.contact-sidebar {
    padding: 40px;
    background-color: var(--bg-alt);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: background-color var(--transition);
}

.contact-sidebar h3 {
    margin-bottom: 24px;
}

.contact-info-list {
    list-style: none;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}

.contact-info-list li:last-child {
    border-bottom: none;
}

.contact-info-list i {
    color: var(--primary);
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.contact-social a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: rgba(var(--primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    transition: all var(--transition);
}

.contact-social a:hover {
    background-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* Form messages */
.form-message {
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 500;
    margin-top: 16px;
    display: none;
}

.form-message.success {
    background-color: rgba(46, 204, 113, 0.1);
    color: var(--for-sale-dark);
    border: 1px solid var(--for-sale);
    display: block;
}

.form-message.error {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--sold-dark);
    border: 1px solid var(--sold);
    display: block;
}

/* ============================================================
   13. PRIVACY POLICY PAGE
   ============================================================ */
.policy-content {
    max-width: 1100px;
    margin: 0 auto;
}

.policy-content h1 {
    margin-bottom: 2rem;
}

.policy-content h3 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: var(--primary-dark);
}

.policy-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.policy-content ul {
    padding-left: 24px;
    margin-bottom: 1rem;
}

.policy-content ul li {
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.7;
}

/* ============================================================
   14. PAGE HERO (Sub-pages)
   ============================================================ */
.page-hero {
    background-color: var(--bg-alt);
    padding: 60px 0 40px;
    margin-top: 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
    transition: background-color var(--transition), border-color var(--transition);
}

.page-hero h1 {
    margin-bottom: 0.5rem;
}

.page-hero p {
    font-size: 1.1rem;
}

/* ============================================================
   15a. WELCOME SECTION (Home page)
   ============================================================ */
.welcome-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.welcome-image img {
    width: 100%;
    max-height: 260px;
    border-radius: 16px;
    box-shadow: 0 8px 30px var(--shadow);
    object-fit: cover;
    object-position: top;
}

/* ============================================================
   15b. FEATURED QUOTE SECTION
   ============================================================ */
.quote-section {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--primary-dark);
    color: #fff;
    position: relative;
}

.quote-section blockquote {
    max-width: 700px;
    margin: 0 auto;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.quote-section .quote-author {
    margin-top: 20px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1rem;
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   16. FOOTER STYLES
   ============================================================ */
.site-footer {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border);
    transition: background-color var(--transition), border-color var(--transition);
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h3 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Footer contact list */
.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-contact li i {
    color: var(--primary);
    width: 16px;
}

.footer-contact li a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-contact li a:hover {
    color: var(--primary);
}

/* Footer social */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background-color: rgba(var(--primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* Footer links */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all var(--transition);
    text-decoration: none;
}

.footer-links li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* Centris link in footer */
.footer-centris-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
}

.footer-centris-link:hover {
    color: var(--primary-dark);
}

/* Footer bottom bar */
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
}

.footer-bottom-inner {
    text-align: center;
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}


/* ============================================================
   17. ANIMATIONS
   ============================================================ */

/* Hero fade up animation */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll-triggered animation classes */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.visible {
    opacity: 1;
}

/* Fade up */
.fade-up {
    transform: translateY(40px);
}

.fade-up.visible {
    transform: translateY(0);
}

/* Fade in left */
.fade-left {
    transform: translateX(-40px);
}

.fade-left.visible {
    transform: translateX(0);
}

/* Fade in right */
.fade-right {
    transform: translateX(40px);
}

.fade-right.visible {
    transform: translateX(0);
}

/* Stagger delay for grid items */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ============================================================
   18. UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Push main content below fixed header */
main {
    padding-top: var(--header-height);
}

/* Pages with hero don't need the padding */
.has-hero main {
    padding-top: 0;
}

/* Accessible hidden text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   19. PROPERTY MODAL
   ============================================================ */

/* Overlay */
.property-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
}

.property-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal box */
.property-modal {
    background-color: var(--bg);
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s ease;
}

.property-modal-overlay.active .property-modal {
    transform: translateY(0) scale(1);
}

/* Close button */
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 10;
    transition: all var(--transition);
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* Slideshow */
.modal-slideshow {
    position: relative;
    width: 100%;
    height: 500px;
    background-color: #111;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.slideshow-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.slideshow-image.active {
    opacity: 1;
}

/* Slideshow navigation buttons */
.slideshow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all var(--transition);
    backdrop-filter: blur(10px);
    z-index: 5;
}

.slideshow-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.slideshow-prev {
    left: 16px;
}

.slideshow-next {
    right: 16px;
}

/* Slideshow counter */
.slideshow-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    backdrop-filter: blur(10px);
    z-index: 5;
}

/* Slideshow status badge overlay */
.slideshow-status-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 10;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    border-radius: 8px;
    background-color: rgba(7, 56, 85, 0.85);
    backdrop-filter: blur(10px);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.slideshow-status-badge .modal-sold-note {
    display: block;
    font-size: 0.6rem;
    font-weight: 400;
    opacity: 0.85;
    text-transform: none;
    letter-spacing: 0;
    margin-top: 2px;
}

/* Modal details section */
.modal-details {
    padding: 32px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 4px;
}

.modal-header h2 {
    font-size: 1.6rem;
    margin-bottom: 0;
}

.modal-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    white-space: nowrap;
}

/* Status badge (inline in meta row) */
.modal-status {
    display: none;
}

.modal-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #fff;
    background-color: rgba(7, 56, 85, 0.85);
    white-space: nowrap;
}

.modal-sold-note {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    opacity: 0.9;
}

/* Meta row (status + beds/baths + centris — all on one line) */
.modal-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.modal-meta-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.modal-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.modal-meta-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* Description */
.modal-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Actions (no longer separate — Centris is in meta row) */
.modal-actions {
    display: flex;
    gap: 12px;
}
