/*
 * Tri-State Residential - Main Stylesheet
 * Philadelphia Real Estate Excellence
 */

/* ==========================================================================
   Variables & Reset
   ========================================================================== */

:root {
    --navy: #0a1628;
    --gold: #b5985a;
    --cream: #f8f6f2;
    --warm: #f2ede6;
    --white: #ffffff;
    --gray: #6b7280;
    --light-gray: #e5e7eb;
    
    --font-heading: 'Italiana', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--navy);
    background: var(--cream);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

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

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

/* ==========================================================================
   Preloader
   ========================================================================== */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.preloader-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gold);
    letter-spacing: 0.3em;
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.site-header.scrolled {
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-tri {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: 0.1em;
}

.logo-residential {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.main-nav a {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.main-nav a:hover {
    color: var(--gold);
}

.nav-cta {
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--gold);
    border-radius: 2px;
}

.nav-cta:hover {
    background: var(--gold);
    color: var(--navy);
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--navy);
    padding: 1rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

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

.dropdown-menu li {
    padding: 0.5rem 1.5rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--navy);
    padding: 6rem 2rem 2rem;
    transition: right 0.3s ease;
    z-index: 999;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-list li {
    margin-bottom: 1.5rem;
}

.mobile-nav-list a {
    color: var(--white);
    font-size: 1.1rem;
}

.mobile-contact {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-contact p {
    color: var(--gold);
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.85) 0%, rgba(10, 22, 40, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 0.5rem;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.7s both;
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ==========================================================================
   Page Hero
   ========================================================================== */

.page-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    margin-top: 80px;
}

.page-hero-content {
    position: relative;
    z-index: 10;
    color: var(--white);
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--navy);
}

.btn-block {
    display: block;
    width: 100%;
}

/* ==========================================================================
   Stats Bar
   ========================================================================== */

.stats-bar {
    background: var(--white);
    padding: 3rem 0;
    margin-top: -50px;
    position: relative;
    z-index: 20;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.stat-number span {
    color: var(--gold);
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray);
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section-padding {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.section-intro {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray);
}

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

/* Watermark Text */
.watermark-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 180px;
    color: rgba(10, 22, 40, 0.02);
    letter-spacing: 0.1em;
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
}

/* ==========================================================================
   Services
   ========================================================================== */

.services-section {
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.service-item {
    position: relative;
    padding: 2.5rem;
    background: var(--white);
    border-bottom: 3px solid var(--gold);
}

.service-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}

.service-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-item p {
    color: var(--gray);
}

/* ==========================================================================
   Communities
   ========================================================================== */

.communities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.community-card {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 2px;
}

.community-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

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

.community-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.95), transparent);
    color: var(--white);
}

.community-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Parallax Break
   ========================================================================== */

.parallax-break {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.4);
}

.parallax-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
}

.parallax-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.parallax-content p {
    font-size: 1.3rem;
    color: var(--gold);
}

/* ==========================================================================
   Listings
   ========================================================================== */

.listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.listing-card {
    background: var(--white);
    overflow: hidden;
    border-bottom: 3px solid var(--gold);
}

.listing-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

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

.listing-content {
    padding: 2rem;
}

.listing-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.listing-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.listing-address {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.listing-specs {
    font-size: 0.9rem;
    color: var(--navy);
    font-weight: 500;
}

/* Full Listings Page */
.listings-grid-full {
    display: grid;
    gap: 3rem;
}

.listing-card-full {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: var(--white);
    padding: 2rem;
}

.listing-image-full {
    height: 100%;
    min-height: 350px;
    background-size: cover;
    background-position: center;
}

.listing-content-full {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.listing-description {
    margin: 1rem 0 1.5rem;
    color: var(--gray);
    line-height: 1.7;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-top: 3px solid var(--gold);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--navy);
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.testimonial-location {
    font-size: 0.9rem;
    color: var(--gold);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
    background: var(--navy);
    padding: 5rem 0;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--navy);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--gold);
    font-weight: 500;
    margin: 1rem 0 0.5rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

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

/* ==========================================================================
   Form Styles
   ========================================================================== */

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--navy);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 2px;
    background: var(--white);
    transition: var(--transition);
}

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.contact-title {
    color: var(--gold);
    margin-bottom: 2rem;
}

.contact-details {
    margin: 2rem 0;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--navy);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--gold);
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-bottom: 3px solid var(--gold);
}

.contact-form h3 {
    margin-bottom: 2rem;
}

/* ==========================================================================
   Process & Steps
   ========================================================================== */

.process-steps {
    display: grid;
    gap: 2rem;
}

.process-step {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2rem;
    padding: 2rem;
    background: var(--white);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--gold);
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}

.process-step h3 {
    margin-bottom: 0.75rem;
}

.process-step p {
    color: var(--gray);
    line-height: 1.7;
}

/* ==========================================================================
   About Page
   ========================================================================== */

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--gray);
    line-height: 1.8;
}

.about-image {
    height: 600px;
}

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

.stats-grid-large {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.stat-card {
    background: var(--white);
    padding: 3rem 2rem;
    text-align: center;
    border-bottom: 3px solid var(--gold);
}

.stat-number-large {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.stat-number-large span {
    color: var(--gold);
}

.stat-label-large {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--navy);
    margin-bottom: 1rem;
    font-weight: 600;
}

.stat-card p {
    color: var(--gray);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.expertise-item {
    background: var(--white);
    padding: 2.5rem;
}

.expertise-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}

.philosophy-content {
    max-width: 900px;
    margin: 0 auto;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 3rem;
}

.philosophy-points {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.philosophy-point {
    padding: 2rem;
    background: var(--white);
    border-left: 4px solid var(--gold);
}

.philosophy-point h4 {
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.philosophy-point p {
    color: var(--gray);
}

/* ==========================================================================
   Communities Pages
   ========================================================================== */

.communities-grid-large {
    display: grid;
    gap: 3rem;
}

.community-card-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: var(--white);
    overflow: hidden;
}

.community-image-large {
    height: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.community-card-large:hover .community-image-large {
    transform: scale(1.05);
}

.community-content-large {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.community-content-large h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.community-content-large p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.community-link {
    color: var(--gold);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.coverage-item {
    background: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

.coverage-item h3 {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.coverage-item p {
    color: var(--gray);
}

/* Community Detail Pages */
.community-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.community-intro h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.community-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.feature-item {
    background: var(--white);
    padding: 2.5rem;
}

.feature-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}

.feature-item h3 {
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--gray);
    line-height: 1.7;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.highlight-item {
    background: var(--white);
    padding: 2rem;
    border-left: 4px solid var(--gold);
}

.highlight-item h4 {
    margin-bottom: 0.75rem;
}

.highlight-item p {
    color: var(--gray);
}

/* ==========================================================================
   Benefits & Marketing Grids
   ========================================================================== */

.benefits-grid,
.marketing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-item,
.marketing-item {
    background: var(--white);
    padding: 2rem;
    border-bottom: 3px solid var(--gold);
}

.benefit-item h3,
.marketing-item h3 {
    margin-bottom: 1rem;
}

.benefit-item p,
.marketing-item p {
    color: var(--gray);
}

.marketing-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}

/* ==========================================================================
   Home Valuation Page
   ========================================================================== */

.valuation-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.valuation-benefits {
    margin-top: 3rem;
}

.valuation-benefits h3 {
    margin-bottom: 2rem;
}

.benefit-list {
    display: grid;
    gap: 2rem;
}

.benefit-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1.5rem;
}

.benefit-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--gold);
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}

.benefit-content h4 {
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: var(--gray);
}

.valuation-form {
    background: var(--white);
    padding: 3rem;
    border-bottom: 3px solid var(--gold);
}

.valuation-form h3 {
    margin-bottom: 2rem;
}

.form-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--gray);
    text-align: center;
}

/* ==========================================================================
   Quick Actions
   ========================================================================== */

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.action-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.action-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}

.action-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.action-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ==========================================================================
   Animation Classes
   ========================================================================== */

.reveal-fade,
.reveal-slide,
.reveal-scale {
    opacity: 0;
    transition: all 0.8s ease;
}

.reveal-fade {
    transform: translateY(30px);
}

.reveal-slide {
    transform: translateX(-30px);
}

.reveal-scale {
    transform: scale(0.95);
}

.reveal-fade.revealed,
.reveal-slide.revealed,
.reveal-scale.revealed {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero-title { font-size: 3rem; }
    
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    
    .services-grid,
    .communities-grid,
    .expertise-grid,
    .highlights-grid,
    .feature-grid { grid-template-columns: 1fr; }
    
    .listings-grid { grid-template-columns: repeat(2, 1fr); }
    
    .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    
    .mobile-toggle { display: flex; }
    
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    
    .stats-grid,
    .listings-grid,
    .testimonials-grid,
    .benefits-grid,
    .marketing-grid,
    .quick-actions-grid { grid-template-columns: 1fr; }
    
    .contact-wrapper,
    .valuation-wrapper,
    .about-content,
    .listing-card-full,
    .community-card-large { grid-template-columns: 1fr; }
    
    .process-step { grid-template-columns: 60px 1fr; gap: 1rem; }
    
    .step-number { font-size: 2.5rem; }
    
    .footer-main { grid-template-columns: 1fr; }
    
    .footer-bottom { flex-direction: column; gap: 0.5rem; }
    
    .hero-buttons,
    .cta-buttons { flex-direction: column; }
}

/* OVERRIDE: Make reveal elements visible by default */
.stats-bar { transform: translateX(-50%) !important; }
.reveal-fade,
.reveal-slide,
.reveal-scale,
.card,
.numbered-section,
.section-header,
.service-item,
.community-card,
.listing-card,
.testimonial-card,
.service-card,
.testimonial,
.card-overlay,
.numbered-item,
.why-item,
.process-step,
.feature-card,
.stat-card,
.about-content {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}
/* Video hero background */
video.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
video.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Parallax overlay lighter */
.parallax-overlay {
    background: rgba(10, 22, 40, 0.5) !important;
}
.parallax-break {
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    min-height: 400px;
}
@media (max-width: 768px) {
    .parallax-break { background-attachment: scroll !important; }
}
