/* ============================================
   BALI LUXE ESTATES — Complete Stylesheet
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --primary: #2C3E2D;
    --gold: #D4A853;
    --gold-light: #e8c97a;
    --sand: #E8DDD3;
    --dark: #1A1A1A;
    --darker: #111111;
    --cream: #F5F0EB;
    --ocean: #3A7CA5;
    --white: #ffffff;
    --text: #555555;
    --text-light: #999999;

    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', 'Segoe UI', sans-serif;
    --font-accent: 'Bebas Neue', Impact, sans-serif;

    --section-padding: 120px 0;
    --container-width: 1200px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    --bg-gradient: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.3) 100%);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--cream);
    overflow-x: hidden;
    line-height: 1.6;
}

body.loading {
    overflow: hidden;
}

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

ul { list-style: none; }

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
}

/* ---------- Typography ---------- */
.section-label {
    font-family: var(--font-accent);
    font-size: 0.9rem;
    letter-spacing: 0.4em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-label.light { color: var(--gold-light); }

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 20px;
}

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

.section-desc {
    font-size: 1.05rem;
    color: var(--text);
    max-width: 560px;
    line-height: 1.7;
}

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

.section-header .section-desc {
    margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-family: var(--font-accent);
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 168, 83, 0.3);
}

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

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* ---------- Custom Cursor ---------- */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}

.cursor-outline {
    width: 35px;
    height: 35px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    opacity: 0.5;
    transition: width 0.3s, height 0.3s, opacity 0.3s;
}

.cursor-outline.hover {
    width: 55px;
    height: 55px;
    opacity: 0.3;
}

@media (pointer: coarse) {
    .cursor-dot, .cursor-outline { display: none; }
}

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.preloader-line {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto 30px;
    transform-origin: left;
}

.preloader-text {
    font-family: var(--font-accent);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--white);
    letter-spacing: 0.5em;
    margin-right: -0.5em;
}

.preloader-sub {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--gold);
    letter-spacing: 0.3em;
    margin-top: 12px;
    font-style: italic;
}

/* ============================================
   NAVIGATION
   ============================================ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: var(--transition);
}

#navbar.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: 0 2px 30px rgba(0,0,0,0.2);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-accent);
    font-size: 1.3rem;
    color: var(--white);
    letter-spacing: 0.3em;
}

.nav-logo span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 10px 25px;
}

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

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    width: 25px;
    height: 1px;
    background: var(--white);
    transition: var(--transition);
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: var(--dark);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-slow);
}

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

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

.mobile-links li {
    margin: 20px 0;
}

.mobile-links a {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--white);
    transition: var(--transition);
}

.mobile-links a:hover {
    color: var(--gold);
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

#hero-video,
.hero-fallback-img {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-fallback-img {
    z-index: 0;
}

#hero-video {
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.4) 0%,
        rgba(0,0,0,0.2) 40%,
        rgba(0,0,0,0.5) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 5%;
}

.hero-subtitle {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    letter-spacing: 0.5em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 24px;
    opacity: 0;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title em {
    font-style: italic;
    color: var(--gold);
}

.hero-line {
    display: block;
    overflow: hidden;
}

.hero-line > span {
    display: inline-block;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    max-width: 550px;
    margin: 0 auto 40px;
    line-height: 1.7;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero-scroll-indicator span {
    font-family: var(--font-accent);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
#about {
    padding: var(--section-padding);
    background: var(--cream);
}

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

/* Word-by-Word Rise Animation */
.title-line {
    display: block;
}

.word-clip {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    padding-bottom: 4px;
}

.word-rise {
    display: inline-block;
}

.about-divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 24px 0 30px;
}

.about-description {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 20px;
}

.desc-line {
    display: block;
    padding-bottom: 3px;
    margin-bottom: 6px;
}

/* Centered title-line for section headers */
.section-header .title-line {
    justify-content: center;
}

.section-header .desc-line {
    text-align: center;
}

.about-features {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.about-feature {
    display: flex;
    flex-direction: column;
}

.feature-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
}

.feature-label {
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
    margin-top: 8px;
}

/* About Images */
.about-images {
    position: relative;
    height: 550px;
}

.about-img-main {
    width: 80%;
    height: 450px;
    overflow: hidden;
    position: relative;
}

.about-img-main img {
    width: 100%;
    height: 130%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

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

.about-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 250px;
    overflow: hidden;
    border: 6px solid var(--cream);
}

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

/* ============================================
   PROPERTY SHOWCASE (Scroll Animation)
   ============================================ */
#properties {
    background: var(--dark);
}

.properties-intro {
    padding: 100px 0 60px;
    text-align: center;
}

.properties-intro .section-title {
    color: var(--white);
}

.properties-intro .section-desc {
    color: rgba(255,255,255,0.6);
    margin: 0 auto;
}

/* Showcase Container */
.property-showcase {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.property-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    will-change: transform;
}

.property-slide .outer,
.property-slide .inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
    will-change: transform;
}

.property-slide .bg {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    background-size: cover;
    background-position: center;
}

/* Property Background Images */
.property-slide.first .bg {
    background-image:
        var(--bg-gradient),
        url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1920&q=80');
}

.property-slide.second .bg {
    background-image:
        var(--bg-gradient),
        url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=1920&q=80');
}

.property-slide.third .bg {
    background-image:
        var(--bg-gradient),
        url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1920&q=80');
}

.property-slide.fourth .bg {
    background-image:
        var(--bg-gradient),
        url('https://images.unsplash.com/photo-1504280390367-361c6d9f38f4?auto=format&fit=crop&w=1920&q=80');
}

.property-slide.fifth .bg {
    background-image:
        var(--bg-gradient),
        url('https://images.unsplash.com/photo-1573790387438-4da905039392?auto=format&fit=crop&w=1920&q=80');
}

/* Property Content Overlay */
.property-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.property-tag {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 8px 20px;
    margin-bottom: 24px;
}

.property-showcase .section-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 400;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.9);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.property-location {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.15em;
    margin-bottom: 20px;
}

.property-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.detail-dot {
    width: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: 50%;
    display: inline-block;
}

.property-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 300;
    color: var(--gold);
    letter-spacing: 0.1em;
}

/* Property Gallery Thumbnails */
.property-gallery {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

.gallery-thumb {
    width: 150px;
    height: 100px;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.15);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-thumb:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-thumb:hover img {
    transform: scale(1.1);
}

.gallery-thumb span {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 4px 8px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    font-family: var(--font-accent);
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    text-align: center;
}

/* Slide Counter */
.slide-counter {
    position: absolute;
    left: 5%;
    bottom: 50px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-accent);
    color: var(--white);
    letter-spacing: 0.2em;
    font-size: 0.9rem;
}

.counter-line {
    width: 40px;
    height: 1px;
    background: rgba(255,255,255,0.3);
    position: relative;
}

.counter-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 20%;
    background: var(--gold);
    transition: width 0.5s ease;
}

/* Slide Navigation Dots */
.slide-nav {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.4);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.slide-dot.active {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.3);
}

.slide-dot:hover {
    border-color: var(--gold);
}

/* ============================================
   STATS SECTION
   ============================================ */
#stats {
    padding: 80px 0;
    background: var(--primary);
}

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

.stat-item h3 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
}

.stat-suffix {
    font-size: 0.6em;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 10px;
    font-family: var(--font-accent);
}

/* ============================================
   LOCATIONS SECTION
   ============================================ */
#locations {
    padding: var(--section-padding);
    background: var(--cream);
}

.locations-grid {
    display: flex;
    gap: 24px;
}

.location-card {
    flex: 1 1 0%;
    min-width: 0;
    background: var(--white);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: box-shadow 0.5s ease;
}

.location-card:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.location-img-wrapper {
    height: 260px;
    overflow: hidden;
}

.location-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.location-card:hover .location-img-wrapper img {
    transform: scale(1.05);
}

.location-info {
    padding: 24px;
}

.location-info h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--dark);
}

.location-info p {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 16px;
}

.location-count {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    color: var(--gold);
    text-transform: uppercase;
}

/* ============================================
   LIFESTYLE SECTION
   ============================================ */
#lifestyle {
    padding: var(--section-padding);
    background: var(--white);
}

.lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.lifestyle-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 300px;
}

.lifestyle-item.large {
    grid-column: span 2;
    height: 350px;
}

.lifestyle-img-wrapper {
    width: 100%;
    height: 100%;
}

.lifestyle-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.lifestyle-item:hover .lifestyle-img-wrapper img {
    transform: scale(1.1);
}

.lifestyle-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.lifestyle-item:hover .lifestyle-overlay {
    transform: translateY(0);
    opacity: 1;
}

.lifestyle-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 6px;
}

.lifestyle-overlay p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

/* Lifestyle Hook Text */
.lifestyle-hook {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 50px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.hook-line {
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 28px;
}

.hook-text {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 300;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 30px;
}

.hook-text em {
    font-style: italic;
    color: var(--gold);
}

.hook-cta {
    font-family: var(--font-accent);
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    border-bottom: 1px solid rgba(212, 168, 83, 0.4);
    padding-bottom: 4px;
    transition: var(--transition);
}

.hook-cta:hover {
    color: var(--gold-light);
    border-color: var(--gold-light);
    padding-left: 8px;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
#testimonials {
    padding: var(--section-padding);
    background: var(--cream);
}

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

.testimonial-card {
    background: var(--white);
    padding: 40px 30px;
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: -10px;
    opacity: 0.5;
}

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

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.author-avatar {
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-accent);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    flex-shrink: 0;
}

.author-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark);
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ============================================
   CONTACT / CTA SECTION
   ============================================ */
#contact {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    background: #1a1a1a;
}

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

.contact-bg img {
    position: absolute;
    top: -15%;
    left: 0;
    width: 100%;
    height: 130%;
    object-fit: cover;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,26,26,0.92) 0%, rgba(44,62,45,0.88) 100%);
}

.contact-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin-bottom: 40px;
}

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

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

.contact-icon-box {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(212,168,83,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 4px;
}

.contact-info-item p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* Contact Form */
.contact-form-wrapper {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 40px;
}

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

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

.form-row .form-group {
    margin-bottom: 0;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.35);
}

.contact-form select {
    color: rgba(255,255,255,0.35);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(255,255,255,0.4)' fill='none' stroke-width='1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
}

.contact-form select option {
    background: var(--dark);
    color: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
    background: rgba(255,255,255,0.08);
}

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

.contact-form .btn {
    margin-top: 8px;
}

/* ============================================
   FOOTER
   ============================================ */
#footer {
    position: relative;
    overflow: hidden;
    padding: 60px 0 0;
    margin-top: -1px;
    background-image: linear-gradient(#740f12, #a11519, #e01d23, #ee6528);
    transition: background-image 0.5s;
}

/* Sunset Scene */
.sunset-scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.sunset-sun {
    position: absolute;
    bottom: -2vh;
    right: -2vw;
    width: 45vw;
    aspect-ratio: 1;
    background: #faf026;
    border-radius: 50%;
}

.sunset-tree {
    position: absolute;
    bottom: 0;
    right: 3vw;
    width: 20vw;
    rotate: 9deg;
    z-index: 1;
}

.sunset-ground {
    position: absolute;
    right: -1.5vw;
    bottom: -1.5vh;
    width: calc(100% + 3vw);
    height: 4vh;
    background: #000;
    filter: url(#land);
    z-index: 2;
}

.sunset-svg {
    position: absolute;
    width: 0;
    height: 0;
}

/* Footer content must sit above sunset */
#footer > .container {
    position: relative;
    z-index: 3;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-logo {
    font-family: var(--font-accent);
    font-size: 1.8rem;
    color: var(--white);
    letter-spacing: 0.3em;
    line-height: 1.2;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.footer-logo span {
    color: #faf026;
    font-size: 0.7em;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 280px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    backdrop-filter: blur(4px);
    background: rgba(0,0,0,0.15);
}

.footer-social a:hover {
    border-color: #faf026;
    color: #faf026;
    background: rgba(0,0,0,0.3);
}

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

.footer-links h4 {
    font-family: var(--font-accent);
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    color: #faf026;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 12px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

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

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

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

.footer-bottom-links a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

.footer-bottom-links a:hover {
    color: #faf026;
}

/* ============================================
   REVEAL ANIMATION UTILITIES
   ============================================ */
.reveal-up {
    opacity: 0;
    transform: translateY(60px);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .about-grid {
        gap: 50px;
    }

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

    .location-card {
        flex: unset;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

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

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

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

    .gallery-thumb {
        width: 120px;
        height: 80px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    /* Hero */
    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    #hero-video {
        display: none;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-images {
        height: 350px;
    }

    .about-img-main {
        width: 100%;
        height: 260px;
    }

    .about-img-secondary {
        width: 50%;
        height: 160px;
    }

    .about-features {
        gap: 24px;
    }

    .section-title {
        font-size: clamp(1.6rem, 5vw, 2.5rem);
    }

    /* Property Showcase */
    .property-showcase .section-heading {
        font-size: clamp(1.6rem, 6vw, 3rem);
    }

    .property-price {
        font-size: 1.5rem;
    }

    .gallery-thumb {
        width: 100px;
        height: 65px;
    }

    .gallery-thumb span {
        font-size: 0.45rem;
    }

    .property-gallery {
        gap: 10px;
    }

    .slide-counter {
        bottom: 30px;
        font-size: 0.75rem;
    }

    .slide-nav {
        display: none;
    }

    .property-details {
        flex-wrap: wrap;
        gap: 8px;
        font-size: 0.75rem;
    }

    .detail-dot {
        display: none;
    }

    .property-tag {
        font-size: 0.6rem;
        padding: 6px 14px;
    }

    /* Locations */
    .locations-grid {
        display: grid;
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    /* Lifestyle */
    .lifestyle-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .lifestyle-item {
        height: 220px;
    }

    .lifestyle-item.large {
        height: 280px;
    }

    .lifestyle-hook {
        grid-column: span 2;
        padding: 30px;
    }

    .hook-text {
        font-size: clamp(1.4rem, 4vw, 2rem);
    }

    /* Contact */
    .contact-grid {
        gap: 40px;
    }

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

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

    /* Footer */
    .footer-links-group {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .sunset-sun {
        width: 55vw;
    }

    .sunset-tree {
        width: 25vw;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Buttons */
    .btn {
        padding: 14px 30px;
        font-size: 0.8rem;
    }

    /* Mobile Menu */
    .mobile-links a {
        font-size: 2rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
    }

    .section-title {
        font-size: clamp(1.4rem, 5.5vw, 2rem);
    }

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

    .lifestyle-item.large {
        grid-column: span 1;
    }

    .lifestyle-hook {
        grid-column: span 1;
        padding: 30px 24px;
    }

    .hook-text {
        font-size: 1.4rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .about-images {
        height: 300px;
    }

    .about-img-main {
        height: 220px;
    }

    .about-img-secondary {
        height: 140px;
    }

    .gallery-thumb {
        width: 80px;
        height: 55px;
    }

    .property-showcase .section-heading {
        font-size: clamp(1.3rem, 6vw, 2rem);
    }

    .property-price {
        font-size: 1.3rem;
    }

    .mobile-links a {
        font-size: 1.6rem;
    }

    .contact-form-wrapper {
        padding: 20px 16px;
    }

    .stat-item h3 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

/* Skip to Content Link */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 100000;
    padding: 12px 24px;
    background: var(--gold);
    color: var(--dark);
    font-family: var(--font-accent);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 16px;
}

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

/* Focus Visible Styles */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* ============================================
   FORM VALIDATION ERRORS
   ============================================ */

.form-error {
    display: block;
    font-size: 0.78rem;
    color: #ff6b6b;
    margin-top: 6px;
    min-height: 0;
    transition: var(--transition);
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.06);
}

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

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9990;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 20px 5%;
    background: rgba(26, 26, 26, 0.97);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(212, 168, 83, 0.25);
}

.cookie-content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    flex: 1;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 10px 24px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-btn-accept {
    background: var(--gold);
    color: var(--dark);
}

.cookie-btn-accept:hover {
    background: var(--gold-light);
}

.cookie-btn-decline {
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-btn-decline:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        padding: 12px 16px;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-subtitle,
    .hero-desc,
    .hero-buttons {
        opacity: 1 !important;
    }

    .reveal-up,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
    }

    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }

    .scroll-line::after {
        animation: none !important;
    }
}
