/* ============================================
   RealPro Homes - Luxury Real Estate Website
   Premium Design System
   ============================================ */

/* CSS Reset & Variables */
:root {
    /* Brand Colors */
    --gold-primary: #C5A059;
    --gold-light: #E5C585;
    --gold-dark: #926F34;
    --gold-gradient: linear-gradient(135deg, #DFBD69 0%, #926F34 100%);
    --gold-text-gradient: linear-gradient(135deg, #C5A059 0%, #926F34 100%);
    --red-accent: #9B2335;
    --red-dark: #7A1C2A;

    /* Neutrals */
    --black: #0F0F0F;
    --charcoal: #1A1A1A;
    --dark-gray: #2C2C2C;
    --medium-gray: #555555;
    --light-gray: #AAAAAA;
    --pale-gray: #F9F9F9;
    --off-white: #FCFCFC;
    --white: #FFFFFF;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --section-padding-mobile: 80px;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
    --transition-elegant: 0.8s cubic-bezier(0.2, 1, 0.3, 1);

    /* Shadows */
    --shadow-subtle: 0 5px 25px rgba(0, 0, 0, 0.03);
    --shadow-medium: 0 15px 45px rgba(0, 0, 0, 0.08);
    --shadow-strong: 0 25px 65px rgba(0, 0, 0, 0.12);
    --shadow-gold: 0 10px 30px rgba(197, 160, 89, 0.2);
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark-gray);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 400;
    /* Lighter weight for elegance */
    line-height: 1.25;
    margin-bottom: 1.2rem;
    color: var(--charcoal);
    letter-spacing: -0.02em;
    /* Tighter layout for headlines */
}

p {
    margin-bottom: 1.8rem;
    font-weight: 300;
    /* Lighter body weight */
    color: var(--medium-gray);
    letter-spacing: 0.01em;
    /* Slight tracking for readability */
    line-height: 1.8;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.text-center {
    text-align: center;
}

/* ============================================
   Buttons
   ============================================ */
/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 45px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    cursor: pointer;
    transition: var(--transition-medium);
    border: 1px solid transparent;
    /* Thinner border */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary-gold {
    background: var(--gold-gradient);
    color: var(--white);
    border: none;
    box-shadow: 0 10px 20px rgba(146, 111, 52, 0.2);
}

.btn-primary-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #926F34 0%, #DFBD69 100%);
    z-index: -1;
    transition: opacity var(--transition-medium);
    opacity: 0;
}

.btn-primary-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(146, 111, 52, 0.3);
}

.btn-primary-gold:hover::before {
    opacity: 1;
}

.btn-outline-white {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--charcoal);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-outline-dark {
    background-color: transparent;
    border: 1px solid rgba(26, 26, 26, 0.3);
    color: var(--charcoal);
}

.btn-outline-dark:hover {
    background-color: var(--charcoal);
    color: var(--white);
    border-color: var(--charcoal);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
}

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
    background-color: var(--charcoal);
    color: var(--white);
    padding: 10px 0;
    font-size: 13px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info {
    color: var(--light-gray);
}

.top-bar-contact {
    display: flex;
    gap: 30px;
}

.top-bar-contact a {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-contact a:hover {
    color: var(--gold-primary);
}

.top-bar-contact .icon {
    font-size: 14px;
}

/* ============================================
   Header
   ============================================ */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.02);
    /* Very transparent initially */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle border */
    padding: 25px 0;
    transition: all var(--transition-medium);
}

.header.scrolled {
    padding: 15px 0;
    background-color: rgba(26, 26, 26, 0.95);
    /* Darker on scroll */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Header Container - Centered Logo Layout */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* Removed absolute positioning to put it on the left */
}

.nav {
    margin-left: auto; /* Push nav to the right */
}

/* Ensure mobile menu button stays on left/hidden correctly */
.mobile-menu-btn {
    z-index: 1001;
}

.logo img {
    height: 40px;
    width: auto;
    transition: var(--transition-medium);
}

.header.scrolled .logo img {
    height: 30px;
}

/* Navigation */
.nav-list {
    display: flex;
    gap: 40px;
}

.nav-list>li {
    position: relative;
}

.nav-list>li>a {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    padding: 10px 0;
    display: block;
}

.nav-list>li>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-primary);
    transition: var(--transition-medium);
}

.nav-list>li:hover>a::after {
    width: 100%;
}

.nav-list>li>a:hover {
    color: var(--gold-primary);
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--charcoal);
    min-width: 220px;
    box-shadow: var(--shadow-medium);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-medium);
    padding: 15px 0;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 12px 25px;
    font-size: 13px;
    font-weight: 500;
    color: var(--white);
}

.dropdown li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--gold-primary);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn .bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 6px 0;
    background-color: var(--white);
    transition: var(--transition-medium);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

@media (min-aspect-ratio: 16/9) {
    .hero-bg iframe {
        height: 56.25vw;
    }
}

@media (max-aspect-ratio: 16/9) {
    .hero-bg iframe {
        width: 177.78vh;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-text-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease forwards;
}

.hero-subtext {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.hero-partners {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 25px; /* Reduced gap to fit them better beside each other */
    align-items: center;
}

.hero-partners img {
    height: 80px;
    opacity: 1;
    transition: var(--transition-medium);
}

.hero-partners img:hover {
    transform: scale(1.05);
}

/* Partner Logo Specifics */
.realtor-logo-wrapper {
    display: grid;
    place-items: center;
    height: 60px; /* Matched to North Ridge height */
    width: 60px; /* constrain width too since it's just the 'R' we want mostly visible? or let it flow? */
    /* actually, let's keep width auto but constrain the image */
}

/* Reset height since wrapper controls it or strictly set on img */
.realtor-logo-wrapper {
    display: block;
    position: relative;
    height: 60px;
    width: 60px; /* Square container for the R icon */
}

.realtor-logo-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: auto;
    transition: transform 0.3s ease;
}

.realtor-logo-wrapper:hover img {
    transform: scale(1.05);
}

.realtor-part-icon {
    /* Pantone 186 Red approx filter */
    filter: invert(14%) sepia(94%) saturate(4649%) hue-rotate(349deg) brightness(88%) contrast(97%) !important;
    clip-path: inset(0 72% 0 0); /* Keep left 28% (the 'R' block) */
    opacity: 1 !important;
    transform-origin: left; /* Ensure scaling doesn't shift it */
}

.realtor-part-text {
    /* White filter */
    filter: brightness(0) invert(1) !important;
    clip-path: inset(0 0 0 28%); /* Keep right 72% (the text) */
    opacity: 1 !important;
    transform-origin: left;
}

.partner-northridge {
    background-color: #C5A059;
    padding: 10px;
    box-sizing: content-box;
    border-radius: 4px;
    height: 60px !important;
    filter: none !important;
    opacity: 1 !important;
    margin-bottom: 5px;
}

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

.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    /* Increased letter-spacing */
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.section-label-light {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold-light);
    margin-bottom: 20px;
}

.section-title-elegant {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 400;
    /* Lighter font weight */
    color: var(--charcoal);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.section-title-dark {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 400;
    color: var(--charcoal);
    letter-spacing: -0.5px;
}

.section-title-light {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 500;
    color: var(--white);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.section-subtitle {
    font-size: 16px;
    color: var(--medium-gray);
    margin-bottom: 20px;
}

.accent-line {
    width: 60px;
    height: 3px;
    background-color: var(--gold-primary);
    margin-bottom: 30px;
}

.accent-line-center {
    margin-left: auto;
    margin-right: auto;
}

.accent-line-left {
    margin-left: 0;
}

.accent-line-gold {
    background-color: var(--gold-light);
}

.section-header {
    margin-bottom: 60px;
}

/* ============================================
   Introduction Section
   ============================================ */
.intro-section {
    background-color: var(--white);
    padding: 80px 0;
}

.intro-content {
    text-align: center;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
}

/* 3D Gallery Section */
.gallery-3d-section {
    padding: 0;
    background-color: var(--pale-gray);
}

.gallery-3d-container {
    width: 100%;
    height: 80vh;
    min-height: 500px;
    background-image: url('FREEHO4-scaled.jpeg');
    background-size: cover;
    background-position: center;
}

.gallery-3d-container iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
    touch-action: pan-y;
    overflow: hidden;
}

/* ============================================
   Construction Update Section
   ============================================ */
.construction-section {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
    padding: 0;
    overflow: hidden;
}

.construction-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.construction-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 10s ease; /* Subtle zoom */
}

.construction-section:hover .construction-bg img {
    transform: scale(1.1);
}

.construction-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(26, 26, 26, 0.9) 0%, rgba(26, 26, 26, 0.7) 50%, rgba(26, 26, 26, 0.4) 100%);
    z-index: 2;
}

.construction-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin-left: 10%; /* Skew left layout like reference */
}

.construction-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.construction-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 30px;
    line-height: 1.2;
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    background-color: var(--pale-gray);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.1) 0%, transparent 100%);
}

.about-content p {
    font-size: 16px;
    color: var(--medium-gray);
    line-height: 1.8;
}

/* ============================================
   Preloader
   ============================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--charcoal);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    width: 80px;
    height: auto;
    animation: pulseLogo 2s infinite ease-in-out;
    margin-bottom: 20px;
}

@keyframes pulseLogo {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* ============================================
   Utilities & Text Effects
   ============================================ */
.gold-text-gradient {
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.feature-item strong {
    color: var(--charcoal);
    display: block;
    /* Make heading block for card layout */
    margin-bottom: 5px;
    font-size: 16px;
    font-family: var(--font-display);
}

.features-list {
    margin-top: 40px;
    padding: 0;
    background: transparent;
    border: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.features-list h4 {
    grid-column: 1 / -1;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 20px;
    border-left: 3px solid var(--gold-primary);
    padding-left: 20px;
    line-height: 1.4;
}

.feature-item {
    background: var(--white);
    padding: 30px;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-medium);
    border-left: 2px solid var(--gold-light);
    display: block;
    /* Reset flex */
    font-size: 14px;
    color: var(--medium-gray);
    line-height: 1.7;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-left-color: var(--gold-primary);
}

.feature-icon {
    color: var(--gold-primary);
    font-size: 20px;
    margin-bottom: 15px;
    display: block;
    /* Make independent block */
}

/* ============================================
   You're Home Section
   ============================================ */
.home-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.home-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.home-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* ============================================
   Newsletter Popup
   ============================================ */
.newsletter-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.newsletter-popup.active {
    opacity: 1;
    visibility: visible;
}

.newsletter-content {
    background-color: var(--white);
    padding: 0; /* Remove padding to let image bleed */
    width: 90%;
    max-width: 500px;
    text-align: center;
    border-radius: 4px; /* Sharper corners for luxury feel */
    border: none;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); /* Stronger shadow */
    position: relative;
    transform: translateY(20px);
    transition: transform 0.5s ease;
    overflow: hidden; /* For image */
}

.promo-popup {
    background-color: var(--charcoal);
    color: var(--white);
    display: flex;
    flex-direction: column;
}

.popup-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-text-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.popup-subtitle {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 5px;
}

.popup-title {
    font-family: var(--font-display);
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--white);
    font-weight: 400;
}

.popup-text-content p {
    font-size: 15px;
    color: var(--light-gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Close button style override for dark theme */
.promo-popup .close-btn {
    top: 10px;
    right: 15px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.3);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex; /* Flex to center the x */
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 10;
}

.promo-popup .close-btn:hover {
    background: var(--gold-primary);
    color: var(--white);
}

.newsletter-popup.active .newsletter-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--medium-gray);
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: var(--red-accent);
}

.newsletter-header h3 {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.newsletter-header p {
    font-size: 14px;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
}

.newsletter-form button {
    width: 100%;
    border-radius: 5px;
}


.home-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 60px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    /* Gold frame */
    background: rgba(0, 0, 0, 0.4);
    /* Slight darkening behind text */
    backdrop-filter: blur(5px);
}

.home-text {
    color: var(--white);
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.95;
}

/* ============================================
   Communities Section
   ============================================ */
.communities-section {
    background-color: var(--white);
}

.community-feature {
    margin-bottom: 80px;
}

.community-header {
    margin-bottom: 40px;
}

.community-name {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.coming-soon-badge {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--gold-primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 30px;
    margin-top: 10px;
}

/* ============================================
   Site Plan & Amenities (Northridge)
   ============================================ */
.amenities-section {
    margin: 50px 0;
    padding: 30px;
    background-color: var(--pale-gray);
    border-radius: 4px;
}

.amenities-title {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--charcoal);
    margin-bottom: 30px;
    text-align: center;
}

.amenities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.amenity-card {
    background: var(--white);
    padding: 15px;
    box-shadow: var(--shadow-subtle);
    border-radius: 4px;
    text-align: center;
}

.amenity-image-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: 15px;
    cursor: pointer;
    background-color: #f0f0f0; /* Fallback for placeholder */
    display: flex;
    align-items: center;
    justify-content: center;
}

.amenity-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.amenity-image:hover {
    transform: scale(1.02);
}

.amenity-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--gold-dark);
    letter-spacing: 1px;
}

.renderings-gallery {
    margin-top: 40px;
    text-align: center;
}

.renderings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 15px;
}

.rendering-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: var(--shadow-subtle);
    transition: transform 0.3s ease;
}

.rendering-img:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.image-caption {
    font-size: 13px;
    color: var(--light-gray);
    font-style: italic;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .amenities-grid, .renderings-grid {
        grid-template-columns: 1fr;
    }
    
    .amenity-image-wrapper {
        height: 250px;
    }
}

.community-info {
    max-width: 700px;
    margin: 40px auto 0;
}

.community-info p {
    font-size: 16px;
    color: var(--medium-gray);
    line-height: 1.8;
}

.slider-hint {
    font-size: 13px;
    color: var(--light-gray);
    font-style: italic;
    margin-bottom: 25px;
}

.community-divider {
    width: 100px;
    height: 1px;
    background-color: var(--gold-primary);
    margin: 80px auto;
}

/* Image Comparison Slider */
.img-comp-container {
    position: relative;
    height: 450px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: var(--shadow-strong);
}

.img-comp-img {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.img-comp-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-comp-img.img-overlay {
    z-index: 2;
    width: 50%;
    border-right: 3px solid var(--white);
}

.img-comp-slider {
    position: absolute;
    z-index: 9;
    cursor: ew-resize;
    width: 50px;
    height: 50px;
    background-color: var(--gold-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    font-size: 18px;
    transition: background-color var(--transition-fast);
}

.img-comp-slider:hover {
    background-color: var(--gold-dark);
}

.slider-label {
    position: absolute;
    bottom: 25px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    pointer-events: none;
    z-index: 3;
}

.label-before {
    left: 25px;
}

.label-after {
    right: 25px;
}

/* Mount Hope Grid */
.mount-hope-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    /* Increased gap */
}

.project-card {
    background: var(--white);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-medium);
    position: relative;
    border-radius: 2px;
    /* Slight rounding or keep sharp for modern look */
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    /* Deeper shadow */
}

.project-image-wrapper {
    position: relative;
    height: 350px;
    /* Taller images */
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
    /* Slower, smoother zoom */
}

.project-card:hover .project-image {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 60%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0.9;
    transition: var(--transition-medium);
}

.project-card:hover .project-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 70%);
}

.project-style {
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--gold-primary);
    padding-bottom: 5px;
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery-section {
    background-color: var(--off-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    /* Taller fixed rows */
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(2px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 15px 30px;
    background: rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* ============================================
   Insights Section
   ============================================ */
.insights-section {
    background-color: var(--white);
}

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

.insight-card {
    background: var(--white);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-medium);
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.insight-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.insight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.insight-card:hover .insight-image img {
    transform: scale(1.1);
}

.insight-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 15px;
    background-color: var(--gold-primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.insight-content {
    padding: 25px;
}

.insight-content h4 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 10px;
    line-height: 1.4;
}

.insight-date {
    font-size: 13px;
    color: var(--light-gray);
}

/* ============================================
   Contact Section — Premium
   ============================================ */
.contact-section-premium {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.contact-bg-image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.contact-bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(15,15,15,0.92) 0%, rgba(26,26,26,0.88) 50%, rgba(15,15,15,0.85) 100%);
    z-index: 2;
}

.contact-premium-inner {
    position: relative;
    z-index: 3;
}

.contact-premium-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.contact-left {
    padding: 20px 0;
    color: var(--white);
}

.contact-premium-logo {
    max-height: 55px;
    width: auto;
    margin-bottom: 24px;
    display: block;
}

.contact-gold-line {
    width: 50px;
    height: 2px;
    background: var(--gold-primary);
    margin-bottom: 24px;
}

.contact-partnership {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-partnership strong {
    color: var(--gold-primary);
    font-weight: 600;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(197,160,89,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    transition: var(--transition-medium);
}

.contact-info-row:hover .contact-info-icon {
    border-color: var(--gold-primary);
    background: rgba(197,160,89,0.1);
}

.contact-info-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold-primary);
    margin-bottom: 4px;
}

.contact-info-row span,
.contact-info-row a {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
}

.contact-info-row a:hover {
    color: var(--gold-primary);
}

.contact-right {
    /* intentionally no bg — the form has its own */
}

.contact-premium-form {
    background: var(--white);
    padding: 48px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.4);
}

.contact-premium-form h3 {
    font-family: var(--font-display);
    font-size: 26px;
    margin-bottom: 8px;
    text-align: center;
    color: var(--charcoal);
}

.contact-premium-form .form-subtitle {
    text-align: center;
    color: var(--medium-gray);
    font-size: 14px;
    margin-bottom: 30px;
}

.contact-premium-form .form-group input,
.contact-premium-form .form-group select,
.contact-premium-form .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 14px;
    transition: border-color 0.3s;
    background: var(--white);
    color: var(--charcoal);
}

.contact-premium-form .form-group input:focus,
.contact-premium-form .form-group select:focus,
.contact-premium-form .form-group textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(197,160,89,0.08);
}

.contact-premium-form .radio-label {
    color: var(--charcoal);
}

.contact-premium-form .radio-group label {
    color: var(--charcoal);
}

.contact-premium-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C5A059' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 45px;
}

@media (max-width: 768px) {
    .contact-section-premium {
        padding: 80px 0;
    }
    .contact-premium-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-premium-form {
        padding: 32px 24px;
    }
}

.form-subtitle {
    text-align: center;
    color: var(--medium-gray);
    font-size: 14px;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 14px;
    transition: border-color 0.3s;
    background: var(--white);
    color: var(--charcoal);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.radio-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--charcoal);
}

.radio-group {
    display: flex;
    gap: 30px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
    color: var(--charcoal);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--black);
    color: var(--light-gray);
    padding: 80px 0 30px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    max-height: 50px;
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: all 0.3s;
}

.footer-social a:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.footer-links h4,
.footer-newsletter h4 {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--white);
    margin-bottom: 25px;
}

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

.footer-links ul li a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--gold-primary);
}

.footer-newsletter p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-newsletter-form {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
}

.footer-newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.15);
    background: transparent;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
}

.footer-newsletter-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

.footer-newsletter-form input:focus {
    outline: none;
    border-color: var(--gold-primary);
}

.footer-newsletter-form .btn {
    white-space: nowrap;
    padding: 12px 24px;
    font-size: 13px;
}

.footer-partner-text {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

.footer-partner-text strong {
    display: block;
    color: var(--gold-primary);
    margin-top: 4px;
    font-size: 13px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
}

.footer-bottom p {
    font-size: 13px;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: var(--light-gray);
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--gold-primary);
}

.footer-legal {
    padding-top: 24px;
    text-align: center;
}

.footer-legal p {
    font-size: 11px;
    line-height: 1.8;
    color: rgba(255,255,255,0.35);
    max-width: 900px;
    margin: 0 auto;
}

/* Contact & Footer Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-form-panel {
        padding: 32px 24px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .footer-newsletter-form {
        flex-direction: column;
        gap: 12px;
    }
}

/* ============================================
   Mobile Navigation
   ============================================ */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--white);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.active {
    transform: translateY(0);
}

.mobile-nav-list li {
    margin: 15px 0;
    text-align: center;
}

.mobile-nav-list a {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 500;
    color: var(--charcoal);
    transition: var(--transition-medium);
}

.mobile-nav-list a:hover {
    color: var(--gold-primary);
}

.close-menu-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    font-size: 45px;
    cursor: pointer;
    color: var(--charcoal);
    line-height: 1;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image img {
        height: 400px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .top-bar {
        display: none;
    }

    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtext {
        font-size: 16px;
    }

    .hero-partners {
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
        bottom: 25px;
    }

    .hero-partners img {
        height: 50px;
    }


    .section-title-elegant {
        font-size: 32px;
    }

    .section-title-light {
        font-size: 36px;
    }

    .img-comp-container {
        height: 300px;
    }

    .mount-hope-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .gallery-item.large,
    .gallery-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-item {
        height: 200px;
    }

    .insights-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .gallery-3d-container {
        height: 60vh;
        min-height: 350px;
    }
}

@media (max-width: 480px) {

    .gallery-3d-container {
        height: 50vh;
        min-height: 300px;
    }
    .hero-title {
        font-size: 26px;
    }

    .hero-text-wrapper {
        padding: 20px;
    }

    .btn {
        padding: 14px 30px;
        font-size: 12px;
    }

    .section-title-elegant {
        font-size: 26px;
    }

    .community-name {
        font-size: 24px;
    }
}
/* ============================================
   Newsletter Popup & Float
   ============================================ */
.newsletter-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(5px);
    z-index: 5000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

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



.newsletter-modal.active .newsletter-content {
    transform: translateY(0);
}

.close-newsletter {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--charcoal);
    transition: var(--transition-fast);
}

.close-newsletter:hover {
    color: var(--gold-primary);
    transform: rotate(90deg);
}

.newsletter-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(146, 111, 52, 0.4);
    z-index: 4999;
    transition: var(--transition-medium);
    font-size: 24px;
    color: var(--white);
    animation: floatBounce 3s infinite ease-in-out;
}

.newsletter-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(146, 111, 52, 0.6);
}

@keyframes floatBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Form Styles */
.newsletter-form input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid var(--light-gray);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    border-color: var(--gold-primary);
}

/* ============================================
   Trust/Social Proof Section
   ============================================ */
.trust-section {
    background-color: var(--off-white);
}

.trust-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.trust-card {
    background: var(--white);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-medium);
    border-top: 3px solid var(--gold-primary);
}

.trust-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-top-color: var(--gold-dark);
}

.trust-icon {
    margin-bottom: 25px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 600;
    color: var(--gold-primary);
    display: block;
}

.trust-badge {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--white);
    background: var(--gold-gradient);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

.trust-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 15px;
    line-height: 1.3;
}

.trust-description {
    font-size: 14px;
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ============================================
   Registration CTA Section
   ============================================ */
.registration-cta-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0;
    overflow: hidden;
}

.registration-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('project_2_std.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
    transition: transform 10s ease;
}

.registration-cta-section:hover .registration-cta-bg {
    transform: scale(1.05);
}

.registration-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(15, 15, 15, 0.6) 100%);
    z-index: 2;
}

.registration-cta-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 60px;
}

.registration-cta-title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.registration-cta-text {
    font-size: 18px;
    color: var(--white);
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 30px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

/* ============================================
   Smart Lead Capture Form Enhancements
   ============================================ */
.smart-lead-form {
    background: var(--charcoal);
    color: var(--white);
    padding: 50px;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.smart-lead-form h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.form-subtitle {
    font-size: 14px;
    color: var(--gold-light);
    margin-bottom: 30px;
    text-align: center;
    opacity: 0.9;
}

.smart-lead-form .form-group input,
.smart-lead-form .form-group select,
.smart-lead-form .form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: var(--white);
    transition: all var(--transition-medium);
}

.smart-lead-form .form-group input::placeholder,
.smart-lead-form .form-group textarea::placeholder {
    color: var(--light-gray);
    opacity: 0.7;
}

.smart-lead-form .form-group input:focus,
.smart-lead-form .form-group select:focus,
.smart-lead-form .form-group textarea:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

.smart-lead-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C5A059' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 45px;
}

.smart-lead-form select option {
    background: var(--charcoal);
    color: var(--white);
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 10px 0;
    transition: var(--transition-fast);
}

.radio-option:hover {
    color: var(--gold-light);
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    position: relative;
    transition: var(--transition-fast);
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--gold-primary);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

/* ============================================
   Realtor Portal Styles
   ============================================ */
.realtor-hero {
    height: 70vh;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.realtor-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.realtor-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.realtor-welcome-section {
    background-color: var(--white);
}

.realtor-welcome-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.welcome-image {
    position: relative;
    overflow: hidden;
}

.welcome-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.commission-section {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    color: var(--white);
    padding: 0;
    overflow: hidden;
}

.commission-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.commission-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 10s ease;
}

.commission-section:hover .commission-bg img {
    transform: scale(1.1);
}

.commission-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    margin-left: 10%;
}

.commission-title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.commission-text {
    font-size: 16px;
    color: var(--white);
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 30px;
}

.materials-section {
    background-color: var(--pale-gray);
}

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

.material-card {
    background: var(--white);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-medium);
}

.material-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.material-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.material-card h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 15px;
}

.material-card p {
    font-size: 14px;
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 25px;
}

.realtor-registration-section {
    background-color: var(--off-white);
}

.registration-container {
    max-width: 700px;
    margin: 0 auto;
}

.registration-form-wrapper {
    background: var(--white);
    padding: 60px 50px;
    box-shadow: var(--shadow-medium);
}

.realtor-form .form-note {
    font-size: 12px;
    color: var(--medium-gray);
    text-align: center;
    margin-top: 20px;
    line-height: 1.5;
    margin-bottom: 0;
}

/* ============================================
   Community Carousel Enhancement
   ============================================ */
.community-carousel {
    position: relative;
    margin: 40px 0;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: var(--shadow-strong);
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 70%);
    color: var(--white);
    padding: 40px;
}

.slide-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 10px;
}

.slide-description {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 0;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(197, 160, 89, 0.9);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition-medium);
    z-index: 10;
}

.carousel-nav:hover {
    background: var(--gold-primary);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.3);
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-dot.active {
    background: var(--gold-primary);
}

.carousel-dot:hover {
    background: var(--gold-dark);
}

/* ============================================
   Mobile Responsive Adjustments
   ============================================ */
@media (max-width: 1024px) {
    .trust-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .realtor-welcome-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .trust-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .trust-card {
        padding: 30px 20px;
    }
    
    .registration-cta-title {
        font-size: 28px;
    }
    
    .registration-cta-text {
        font-size: 16px;
    }
    
    .registration-cta-content {
        padding: 40px 20px;
    }
    
    .smart-lead-form {
        padding: 30px 20px;
    }
    
    .materials-grid {
        grid-template-columns: 1fr;
    }
    
    .material-card {
        padding: 30px 20px;
    }
    
    .registration-form-wrapper {
        padding: 40px 30px;
    }
    
    .realtor-hero {
        height: 50vh;
        min-height: 400px;
    }
}
