/* ============================================
   SHARON MAXWELL — RAY WHITE DESIGN SYSTEM
   White + Yellow (#FED100) + Clean modern
   ============================================ */

:root {
    --rw-yellow: #FED100;
    --rw-yellow-hover: #e6be00;
    --rw-yellow-light: #fff8d4;
    --charcoal: #3C3C3C;
    --text-dark: #222222;
    --text-body: #555555;
    --text-muted: #888888;
    --white: #ffffff;
    --off-white: #fafafa;
    --gray-50: #f7f7f7;
    --gray-100: #eeeeee;
    --gray-200: #dddddd;
    --border: #e5e5e5;

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
    --shadow-xl: 0 16px 50px rgba(0,0,0,0.12);
    --shadow-luxury: 0 25px 80px rgba(0,0,0,0.08), 0 10px 30px rgba(0,0,0,0.05);
    --transition: all 0.3s ease;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    animation: pageIn 0.6s ease;
}

@keyframes pageIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

img, svg { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-yellow {
    background: var(--rw-yellow);
    color: var(--charcoal);
}

.btn-yellow:hover {
    background: var(--rw-yellow-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(254,209,0,0.3);
}

.btn-outline-light {
    background: transparent;
    color: var(--charcoal);
    border: 2px solid var(--charcoal);
}

.btn-outline-light:hover {
    background: var(--charcoal);
    color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--charcoal);
    border: 2px solid var(--charcoal);
}

.btn-outline-dark:hover {
    background: var(--charcoal);
    color: var(--white);
}

.btn-lg { padding: 16px 40px; font-size: 14px; }
.btn-full { width: 100%; }

/* ============================================
   TOP BAR — WHITE BACKGROUND
   ============================================ */
.top-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: relative;
    z-index: 100;
}

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

.rw-logo {
    display: flex;
    align-items: flex-start;
    text-decoration: none;
    flex-shrink: 0;
}

.rw-logo-yellow {
    background: var(--rw-yellow);
    padding: 14px 20px;
    display: flex;
    flex-direction: column;
    line-height: 1;
    position: relative;
}

.rw-logo-text {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 18px;
    color: var(--white);
    letter-spacing: -0.5px;
}

.rw-logo-text:last-child {
    font-size: 22px;
}

.top-bar-center {
    flex: 1;
    max-width: 400px;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gray-50);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 10px 16px;
}

.search-icon { color: var(--text-muted); flex-shrink: 0; }

.search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-dark);
    outline: none;
}

.search-bar input::placeholder { color: var(--text-muted); }

.top-bar-right {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* ============================================
   NAVIGATION — WHITE BACKGROUND
   ============================================ */
.nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 99;
    overflow: visible;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   GOLD CORNER RIBBON
   ============================================ */
.corner-ribbon {
    position: absolute;
    left: calc((100% - min(1280px, 100%)) / 2);
    top: 0;
    width: 110px;
    height: 110px;
    overflow: hidden;
    z-index: 101;
    pointer-events: none;
}

.ribbon-text {
    display: block;
    position: absolute;
    top: 22px;
    left: -28px;
    width: 140px;
    padding: 6px 0;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #3a2a00;
    text-shadow: 0 1px 0 rgba(255,240,160,0.6);
    background: linear-gradient(135deg, #C89E00 0%, #E8B900 20%, #FED100 45%, #FFE566 55%, #FED100 70%, #D4A800 100%);
    box-shadow:
        0 4px 10px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,240,160,0.5),
        inset 0 -1px 0 rgba(150,110,0,0.3);
    transform: rotate(-45deg);
}

/* Folded triangle ends behind the ribbon */
.ribbon-text::before,
.ribbon-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    border: 5px solid #9A7800;
    border-bottom-color: transparent;
}
.ribbon-text::before {
    left: 0;
    border-left-color: transparent;
}
.ribbon-text::after {
    right: 0;
    border-right-color: transparent;
}

@media (max-width: 768px) {
    .corner-ribbon { display: none; }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 18px 24px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-body);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--rw-yellow-hover);
    border-bottom-color: var(--rw-yellow);
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    transition: var(--transition);
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--charcoal);
}

.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 700px;
    max-height: none;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Ken Burns — each slide gets a different cinematic movement */
.hero-slide:nth-child(1).active { animation: kenBurns1 12s ease forwards; }
.hero-slide:nth-child(2).active { animation: kenBurns2 12s ease forwards; }
.hero-slide:nth-child(3).active { animation: kenBurns3 12s ease forwards; }

@keyframes kenBurns1 {
    0%   { background-size: 100%; background-position: center; }
    100% { background-size: 120%; background-position: 25% 65%; }
}
@keyframes kenBurns2 {
    0%   { background-size: 120%; background-position: 75% 35%; }
    100% { background-size: 105%; background-position: center; }
}
@keyframes kenBurns3 {
    0%   { background-size: 100%; background-position: 35% center; }
    100% { background-size: 118%; background-position: 65% 35%; }
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 35%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.05) 100%);
}

.hero-slide-content {
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 600px;
    opacity: 0;
    transition: opacity 0.6s ease 0.3s, transform 0.8s ease 0.3s;
}

.hero-slide.active .hero-slide-content {
    opacity: 1;
    animation: heroTextIn 0.9s ease 0.2s both;
}

@keyframes heroTextIn {
    0%   { opacity: 0; transform: translateY(-50%) translateX(-30px); }
    100% { opacity: 1; transform: translateY(-50%) translateX(0); }
}

.hero-accent-line {
    width: 5px;
    height: 80px;
    background: var(--rw-yellow);
    margin-bottom: 24px;
}

.hero-slide-content h1 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 500;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 32px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-social {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 3;
}

.hero-social a {
    color: var(--white);
    opacity: 0.7;
    transition: var(--transition);
}

.hero-social a:hover {
    opacity: 1;
    color: var(--rw-yellow);
}

.hero-controls {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 5;
}

.hero-arrow {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--white);
}

.hero-arrow:hover {
    background: var(--rw-yellow);
    border-color: var(--rw-yellow);
    color: var(--charcoal);
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(254,209,0,0.4);
}

/* Hero progress bar */
.hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,255,255,0.15);
    z-index: 5;
}

.hero-progress-bar {
    height: 100%;
    background: var(--rw-yellow);
    width: 0%;
    transition: none;
}

.hero-progress-bar.animate {
    width: 100%;
    transition: width 6s linear;
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot:hover {
    border-color: var(--white);
}

.hero-dot.active {
    background: var(--rw-yellow);
    border-color: var(--rw-yellow);
    box-shadow: 0 0 12px rgba(254,209,0,0.5);
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
    border-bottom: 3px solid var(--rw-yellow);
    padding: 56px 0;
}

.stats-bar-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

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

.stat-number, .stat-prefix, .stat-suffix {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    color: var(--charcoal);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 4px;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 64px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.section-cta {
    text-align: center;
    margin-top: 64px;
}

/* ============================================
   PROPERTY CAROUSEL
   ============================================ */
.listings {
    padding: 120px 0;
    background: var(--white);
}

.carousel-nav {
    display: flex;
    gap: 8px;
}

.carousel-arrow {
    width: 48px;
    height: 48px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--charcoal);
}

.carousel-arrow:hover {
    background: var(--rw-yellow);
    border-color: var(--rw-yellow);
    transform: scale(1.08);
    box-shadow: 0 4px 15px rgba(254,209,0,0.3);
}

.property-carousel {
    overflow: hidden;
}

.property-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.listing-card {
    flex: 0 0 calc(33.333% - 16px);
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.listing-card:hover {
    box-shadow: 0 30px 80px rgba(0,0,0,0.15), 0 0 0 1px rgba(254,209,0,0.2);
    transform: translateY(-12px);
}

.listing-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.listing-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.listing-card:hover .listing-image::after {
    opacity: 1;
}

.listing-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.listing-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--rw-yellow);
    color: var(--charcoal);
    padding: 8px 18px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    z-index: 2;
}

.listing-save {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 2;
}

.listing-save:hover,
.listing-save.active {
    background: var(--rw-yellow);
    transform: scale(1.1);
}

.listing-body {
    padding: 24px 24px 28px;
}

.listing-address {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.listing-card:hover .listing-address {
    color: var(--charcoal);
}

.listing-suburb {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.listing-features {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-100);
}

.listing-features span {
    font-size: 13px;
    color: var(--text-body);
}

.listing-features strong {
    color: var(--text-dark);
}

.listing-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.listing-price {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
}

.listing-enquire {
    font-size: 13px;
    font-weight: 600;
    color: var(--rw-yellow-hover);
    transition: var(--transition);
}

.listing-enquire:hover { color: var(--charcoal); }

/* ============================================
   SOLD SECTION
   ============================================ */
.sold-section {
    padding: 120px 0;
    background: var(--gray-50);
}

.sold-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.sold-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
}

.sold-card:hover {
    box-shadow: 0 30px 80px rgba(0,0,0,0.15), 0 0 0 1px rgba(254,209,0,0.2);
    transform: translateY(-10px);
}

.sold-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.sold-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.8s ease;
    filter: saturate(0.85);
}

.sold-card:hover .sold-image img {
    transform: scale(1.06);
    filter: saturate(1);
}

.sold-banner {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--rw-yellow);
    color: var(--charcoal);
    padding: 8px 24px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.sold-body {
    padding: 20px;
}

.sold-body h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.sold-detail {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   ABOUT / WHY CHOOSE
   ============================================ */
.about {
    padding: 140px 0;
    background: var(--white);
}

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

.about-image {
    position: relative;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--rw-yellow);
    border-radius: 8px;
    z-index: -1;
    opacity: 0.4;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    aspect-ratio: 5/6;
}

.about-lead {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 20px;
}

.about-text {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-highlights {
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.highlight-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--rw-yellow-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight strong {
    display: block;
    font-size: 15px;
    margin-bottom: 2px;
}

.highlight p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   APPRAISAL CTA
   ============================================ */
.appraisal-cta {
    position: relative;
    padding: 140px 0;
    overflow: hidden;
}

.appraisal-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.appraisal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 30, 30, 0.85);
}

.appraisal-inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.appraisal-content h2 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 52px);
    color: var(--white);
    margin-bottom: 16px;
}

.appraisal-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: 120px 0;
    background: var(--gray-50);
}

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

.testimonial-card {
    background: var(--white);
    padding: 44px 36px;
    border-radius: 12px;
    border: 1px solid var(--border);
    border-top: 3px solid transparent;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-top-color: var(--rw-yellow);
}

.testimonial-stars {
    color: var(--rw-yellow);
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 17px;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--rw-yellow);
    color: var(--charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
}

.testimonial-author strong {
    display: block;
    font-size: 14px;
}

.testimonial-author span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 120px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-text {
    font-size: 16px;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 32px;
}

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

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

.contact-icon-wrap {
    width: 44px;
    height: 44px;
    background: var(--rw-yellow-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.contact-form {
    background: var(--gray-50);
    padding: 48px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

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

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 14px;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    background: var(--white);
    transition: var(--transition);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--rw-yellow);
    box-shadow: 0 0 0 3px rgba(254,209,0,0.15);
}

.form-group textarea { resize: vertical; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--charcoal);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-rw-logo {
    margin-bottom: 16px;
}

.footer-agent {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--white);
    margin-bottom: 8px;
}

.footer-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.footer-social a {
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.footer-social a:hover { color: var(--rw-yellow); }

.footer-links h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.footer-links a:hover { color: var(--rw-yellow); }

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    margin-bottom: 4px;
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.footer-bottom a:hover { color: var(--rw-yellow); }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   STAGGERED REVEAL ANIMATIONS
   ============================================ */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* ============================================
   PROPERTY IMAGE LIGHTBOX
   ============================================ */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    cursor: zoom-out;
    backdrop-filter: blur(10px);
}
.lightbox-overlay.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.lightbox-overlay.open .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 80px rgba(0,0,0,0.6);
}

.lightbox-caption {
    position: absolute;
    bottom: -48px;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255,255,255,0.8);
    font-family: var(--font-display);
    font-size: 18px;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}
.lightbox-close:hover {
    background: var(--rw-yellow);
    border-color: var(--rw-yellow);
    color: var(--charcoal);
}

/* Make listing images clickable for lightbox */
.listing-image {
    cursor: zoom-in;
}

/* ============================================
   PARALLAX SECTIONS
   ============================================ */
.appraisal-bg {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* ============================================
   ENHANCED LISTING CARD HOVER
   ============================================ */
.listing-card {
    border: 1px solid transparent;
}
.listing-card:hover {
    border-color: var(--rw-yellow);
}

.listing-body {
    position: relative;
}

/* Gold accent line slides in on hover */
.listing-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--rw-yellow), var(--rw-yellow-hover));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.listing-card:hover::after {
    transform: scaleX(1);
}

/* ============================================
   SHIMMER ACCENT ON SECTION HEADERS
   ============================================ */
.section-title {
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--rw-yellow), transparent);
    margin-top: 12px;
    transition: width 0.5s ease;
}
.section-header:hover .section-title::after,
.section-title:hover::after {
    width: 160px;
}

/* ============================================
   GLASSMORPHISM ON TESTIMONIAL HOVER
   ============================================ */
.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-color: rgba(254, 209, 0, 0.3);
}

/* ============================================
   SMOOTH SECTION TRANSITIONS
   ============================================ */
section {
    position: relative;
}

/* Gold divider between sections */
.listings::before,
.about::before,
.testimonials::before,
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--rw-yellow), transparent);
}

/* ============================================
   SERVICES SHOWCASE — FULL-WIDTH SLIDER
   ============================================ */
.services-showcase {
    padding: 120px 0 0;
    background: var(--charcoal);
    overflow: hidden;
}

.services-showcase .section-title {
    color: var(--white);
}

.services-showcase .section-subtitle {
    color: rgba(255,255,255,0.6);
}

.services-showcase .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

.services-slider {
    position: relative;
    margin-top: 64px;
}

.services-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-slide {
    flex: 0 0 100%;
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.service-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 8s ease;
}

.service-slide.active .service-slide-bg {
    transform: scale(1.08);
}

.service-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30,30,30,0.92) 0%, rgba(30,30,30,0.8) 50%, rgba(30,30,30,0.65) 100%);
}

.service-slide-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 80px 80px 80px 120px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.service-slide.active .service-slide-content {
    opacity: 1;
    transform: translateY(0);
}

.service-badge {
    display: inline-block;
    padding: 8px 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--charcoal);
    background: var(--rw-yellow);
    margin-bottom: 24px;
}

.service-badge.gold {
    background: linear-gradient(135deg, #C89E00, #FED100, #FFE566, #FED100);
}

.service-slide-content h3 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.service-description {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 32px;
}

.service-features-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 32px;
    margin-bottom: 40px;
}

.service-features-list li {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
}

.service-features-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--rw-yellow);
    font-weight: 700;
}

.service-price-tag {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 36px;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.service-price-label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.service-price-amount {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--rw-yellow);
}

.service-price-note {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.services-controls {
    position: absolute;
    bottom: 40px;
    right: 80px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 5;
}

.services-arrow {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--white);
}

.services-arrow:hover {
    background: var(--rw-yellow);
    border-color: var(--rw-yellow);
    color: var(--charcoal);
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(254,209,0,0.4);
}

.services-dots {
    display: flex;
    gap: 8px;
}

.services-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.services-dot:hover {
    border-color: var(--white);
}

.services-dot.active {
    background: var(--rw-yellow);
    border-color: var(--rw-yellow);
    box-shadow: 0 0 12px rgba(254,209,0,0.5);
}

.services-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,255,255,0.1);
    z-index: 5;
}

.services-progress-bar {
    height: 100%;
    background: var(--rw-yellow);
    width: 0%;
    transition: none;
}

.services-progress-bar.animate {
    width: 100%;
    transition: width 8s linear;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .listing-card {
        flex: 0 0 calc(50% - 12px);
    }

    .sold-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .stats-bar-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .service-slide-content {
        padding: 60px 40px;
    }
    .service-features-list {
        grid-template-columns: 1fr;
    }
    .services-controls {
        right: 40px;
    }
}

@media (max-width: 768px) {
    .top-bar-center,
    .top-bar-right { display: none; }

    .top-bar-inner {
        justify-content: space-between;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.open { display: flex; }

    .nav-link {
        padding: 16px 24px;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-toggle { display: flex; }

    .nav-inner {
        justify-content: flex-end;
    }

    .hero-slider {
        height: 60vh;
        min-height: 400px;
    }

    .hero-slide-content {
        left: 24px;
        right: 24px;
    }

    .hero-social { display: none; }

    .listing-card {
        flex: 0 0 calc(100% - 0px);
    }

    .sold-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .about-grid,
    .contact-grid,
    .appraisal-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .stat-number, .stat-prefix, .stat-suffix {
        font-size: 32px;
    }

    .service-slide {
        min-height: 600px;
    }
    .service-slide-content {
        padding: 40px 24px;
    }
    .services-controls {
        right: 24px;
        bottom: 24px;
    }
    .service-price-tag {
        flex-wrap: wrap;
    }
    .services-showcase {
        padding: 80px 0 0;
    }
}

@media (max-width: 480px) {
    .stats-bar-inner {
        grid-template-columns: 1fr 1fr;
    }

    .hero-slider {
        height: 50vh;
    }

    .contact-form {
        padding: 24px;
    }
}
