:root {
    --primary-orange: #F7931E;
    --primary-yellow: #FBB040;
    --gradient-brand: linear-gradient(135deg, #FBB040 0%, #F7931E 50%, #E8630A 100%);
    --dark: #1a1a1a;
    --dark-lighter: #2d2d2d;
    --cream: #faf8f5;
    --gray-100: #f5f5f5;
    --gray-200: #e8e8e8;
    --gray-400: #999;
    --gray-600: #666;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

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

/* Custom Cursor */
.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--primary-orange);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease, background 0.2s ease;
}

.cursor-dot.hover {
    width: 40px;
    height: 40px;
    background: rgba(247, 147, 30, 0.2);
    border: 2px solid var(--primary-orange);
}

.cursor-ring {
    position: fixed;
    width: 35px;
    height: 35px;
    border: 1.5px solid var(--primary-orange);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out, opacity 0.2s ease;
    opacity: 0.5;
}

.cursor-ring.hover {
    opacity: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--cream);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

body a,
body button,
body input,
body textarea,
body select {
    cursor: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

/* Header */
.header {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    max-width: 1400px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 100px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    top: 0.5rem;
}

.header-inner {
    padding: 0.6rem 1.5rem 0.6rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-img {
    height: 45px;
    width: auto;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-brand);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-radius: 50%;
    left: 8px;
    top: 12px;
}

.logo-icon::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 28px;
    background: white;
    right: 14px;
    top: 8px;
    transform: rotate(-15deg);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark);
    letter-spacing: 0.02em;
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--primary-orange);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-brand);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-orange);
}

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

.nav-cta {
    background: var(--gradient-brand);
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 147, 30, 0.35);
}

.admin-toggle {
    background: var(--dark);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.3s ease;
}

.admin-toggle:hover {
    background: var(--dark-lighter);
}

/* Hero Carousel */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: var(--dark);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--cream);
    border-radius: 100% 100% 0 0;
    z-index: 10;
}

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

.carousel-slides {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.carousel-video {
    background: #000;
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%);
    display: flex;
    align-items: center;
    padding: 0 5%;
}

.hero-content {
    max-width: 700px;
    color: white;
    animation: fadeInUp 1s ease;
}

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

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

.hero-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gradient-brand);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(247, 147, 30, 0.4);
}

.hero-btn svg {
    transition: transform 0.3s ease;
}

.hero-btn:hover svg {
    transform: translateX(5px);
}

.carousel-nav {
    position: absolute;
    bottom: 3rem;
    right: 5%;
    display: flex;
    gap: 1rem;
}

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

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

.carousel-dots {
    position: absolute;
    bottom: 3rem;
    left: 5%;
    display: flex;
    gap: 0.5rem;
}

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

.carousel-dot.active {
    background: var(--primary-orange);
    width: 36px;
    border-radius: 6px;
}

/* Sections */
.section {
    padding: 6rem 2rem;
}

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

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

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

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
}

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

.section-dark .section-desc {
    color: var(--gray-400);
}

/* Featured Listings Section */
.listings-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.listings-tab {
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--gray-200);
    background: transparent;
    color: var(--gray-600);
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.listings-tab:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.listings-tab.active {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
}

/* Listings Carousel */
.listings-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.listings-carousel {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.listings-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1.5rem;
    transition: transform 0.4s ease;
    touch-action: pan-x;
    width: max-content;
}

.listings-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-orange);
    border: none;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
    z-index: 10;
}

.listings-nav-btn:hover {
    background: var(--dark);
    transform: scale(1.1);
}

.listings-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

/* Listing Card — Sharp Corners */
.listing-card {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 300px;
    max-width: 400px;
    width: calc(33.333% - 1rem);
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

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

/* Card Image Area */
.listing-image-wrap {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

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

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

/* Tag Badges */
.listing-tags {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 80px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 2;
}

.listing-tag {
    padding: 3px 8px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: white;
    background: rgba(0,0,0,0.65);
}

.listing-tag.featured {
    background: var(--primary-orange);
}

/* SOLD Overlay - Diagonal Red Banner */
.listing-card.sold {
    pointer-events: none;
    opacity: 0.75;
}
.listing-card.sold .listing-actions {
    display: none;
}
.listing-sold-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 5;
    pointer-events: none;
    overflow: hidden;
}
.listing-sold-banner {
    position: absolute;
    top: 28px; left: -40px;
    width: 180px;
    text-align: center;
    padding: 6px 0;
    background: #dc2626;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transform: rotate(-45deg);
    box-shadow: 0 2px 8px rgba(220,38,38,0.4);
}

/* Price Overlay */
.listing-price-overlay {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 2;
}

.listing-price-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Gradient overlay on image bottom */
.listing-image-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(transparent, rgba(0,0,0,0.5));
    pointer-events: none;
}

/* Action Icons */
.listing-actions {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    gap: 6px;
    z-index: 3;
}

.listing-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: var(--dark);
}

.listing-action-btn:hover {
    background: var(--primary-orange);
    color: white;
    transform: scale(1.15);
}

.listing-action-btn.favorited {
    background: #ef4444;
    color: white;
}

.listing-action-btn.compared {
    background: var(--primary-orange);
    color: white;
    animation: compareIconPop 0.3s ease;
}

@keyframes compareIconPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.listing-action-btn svg {
    width: 16px;
    height: 16px;
}

/* Card Body */
.listing-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.listing-title {
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    margin-bottom: 0.3rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listing-location {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
}

/* Specs Row */
.listing-specs {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.listing-spec {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    color: var(--dark);
    font-weight: 500;
}

.listing-spec svg {
    width: 18px;
    height: 18px;
    color: var(--gray-600);
    stroke: var(--gray-600);
    fill: none;
}

.listing-property-type {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
}

/* Card Footer */
.listing-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--gray-200);
    font-size: 0.8rem;
    color: var(--gray-400);
}

.listing-agent {
    display: flex;
    align-items: center;
    gap: 5px;
}

.listing-agent svg {
    width: 14px;
    height: 14px;
}

.listing-time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.listing-time svg {
    width: 14px;
    height: 14px;
}

/* Check More Button */
.listings-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.check-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: var(--primary-orange);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0;
    transition: all 0.3s ease;
}

.check-more-btn:hover {
    background: var(--dark);
    gap: 1rem;
}

/* Image Popup */
.listing-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 10001;
    justify-content: center;
    align-items: center;
}

.listing-popup-overlay.active {
    display: flex;
}

.listing-popup-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.2s;
}

.listing-popup-close:hover {
    transform: scale(1.2);
}

.listing-popup-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 0;
}

/* Compare FAB */
.compare-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-orange);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(247, 147, 30, 0.4);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: compareFabPulse 2s infinite;
}

@keyframes compareFabPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(247, 147, 30, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(247, 147, 30, 0.7); }
}

.compare-fab:hover {
    transform: scale(1.1);
    background: var(--dark);
}

.compare-fab-count {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #22c55e;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.compare-fab-count.bump {
    animation: fabBump 0.4s ease;
}

@keyframes fabBump {
    0% { transform: scale(1); }
    40% { transform: scale(1.5); }
    100% { transform: scale(1); }
}

/* Compare Drawer */
.compare-drawer {
    position: fixed;
    top: 50%;
    right: -350px;
    transform: translateY(-50%);
    width: 320px;
    background: white;
    border-radius: 12px 0 0 12px;
    box-shadow: -4px 0 30px rgba(0,0,0,0.15);
    z-index: 9999;
    padding: 1.5rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.compare-drawer.open {
    right: 0;
}

.compare-drawer-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.compare-drawer-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.compare-drawer-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.compare-drawer-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.compare-drawer-item-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background 0.2s;
}

.compare-drawer-item-remove:hover {
    background: #ef4444;
}

.compare-drawer-btn {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background: var(--primary-orange);
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 0.5rem;
}

.compare-drawer-btn:hover {
    background: var(--dark);
}

.compare-drawer-close {
    display: block;
    width: 100%;
    padding: 0.6rem;
    background: transparent;
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    text-align: center;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s;
}

.compare-drawer-close:hover {
    border-color: var(--dark);
    color: var(--dark);
}

/* Listings Responsive */
@media (max-width: 992px) {
    .listing-card {
        flex: 0 0 280px;
        min-width: 280px;
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    .listings-nav-btn {
        display: none;
    }

    .listings-carousel {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .listings-carousel::-webkit-scrollbar {
        display: none;
    }

    .listings-grid {
        width: auto;
    }

    .listing-card {
        flex: 0 0 88vw;
        min-width: 88vw;
        max-width: 88vw;
        width: 88vw;
        scroll-snap-align: center;
    }

    .listings-tabs {
        gap: 0.375rem;
    }

    .listings-tab {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .compare-drawer {
        width: 280px;
    }
}

/* Projects Section */
.projects-wrapper {
    position: relative;
}

.projects-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.projects-grid.scrollable {
    overflow-x: auto;
}

.projects-grid::-webkit-scrollbar {
    display: none;
}

.project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    flex: 0 0 calc(25% - 1.125rem);
    min-width: 0;
}

@media (max-width: 1200px) {
    .project-card {
        flex: 0 0 calc(33.333% - 1rem);
    }
}

@media (max-width: 900px) {
    .project-card {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 600px) {
    .project-card {
        flex: 0 0 100%;
    }
}

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

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

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.85) 100%);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: background 0.4s ease;
}

.project-card:hover .project-overlay {
    background: linear-gradient(180deg, rgba(247, 147, 30, 0.7) 0%, rgba(232, 99, 10, 0.9) 100%);
}

.project-name {
    font-size: 1.75rem;
    color: white;
    margin-bottom: 0.25rem;
}

.project-type {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: gap 0.3s ease;
}

.project-link:hover {
    gap: 1rem;
}

/* Projects Navigation */
.projects-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.projects-dots {
    display: flex;
    gap: 0.5rem;
}

.projects-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-200);
    cursor: pointer;
    transition: all 0.3s ease;
}

.projects-dot.active {
    background: var(--primary-orange);
}

.project-scroll-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--gray-200);
    background: white;
    color: var(--gray-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.project-scroll-btn:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    background: rgba(247, 147, 30, 0.05);
}

.project-scroll-btn svg {
    width: 20px;
    height: 20px;
}

/* News Section - Carousel */
.news-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.news-carousel {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.news-grid {
    display: flex;
    gap: 2rem;
    transition: transform 0.4s ease;
    touch-action: pan-x;
}

.news-card {
    flex: 0 0 calc(33.333% - 1.33rem);
    min-width: calc(33.333% - 1.33rem);
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Navigation Arrows */
.news-nav-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-orange);
    border: none;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
    z-index: 10;
}

.news-nav-btn:hover {
    background: var(--dark);
    transform: scale(1.1);
}

.news-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.news-nav-btn.visible {
    display: flex;
}

/* See All Button */
.news-see-all {
    text-align: center;
    margin-top: 2.5rem;
}

.see-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.see-all-btn:hover {
    background: var(--primary-orange);
    color: white;
    gap: 1rem;
}

.news-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Video specific styling */
video.news-image {
    background: #000;
    object-fit: contain;
}

.news-content {
    padding: 1.75rem;
}

.news-date {
    font-size: 0.85rem;
    color: var(--primary-orange);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.news-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.news-excerpt {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.news-link:hover {
    gap: 1rem;
}

/* Responsive - Tablet */
@media (max-width: 992px) {
    .news-card {
        flex: 0 0 calc(50% - 1rem);
        min-width: calc(50% - 1rem);
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .news-carousel-wrapper {
        padding: 0;
    }

    .news-nav-btn {
        display: none !important;
    }

    .news-carousel {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .news-carousel::-webkit-scrollbar {
        display: none;
    }

    .news-grid {
        scroll-snap-align: start;
    }

    .news-card {
        flex: 0 0 85%;
        min-width: 85%;
        scroll-snap-align: center;
    }
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--dark-lighter);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-brand);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.service-desc {
    color: var(--gray-400);
    font-size: 0.95rem;
}

/* Estate Features Section */
.estate-features {
    background: var(--dark);
    border-radius: 60px 60px 0 0;
    padding: 5rem 2rem 4rem;
    margin-top: -30px;
    position: relative;
}

.estate-title {
    text-align: center;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--primary-orange);
    margin-bottom: 3rem;
}

.estate-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.estate-feature {
    text-align: center;
    max-width: 180px;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    cursor: pointer;
}

.estate-feature:hover {
    background: var(--primary-orange);
    max-width: 220px;
}

.estate-feature:hover .estate-icon svg {
    stroke: var(--dark);
}

.estate-feature:hover h4 {
    color: var(--dark);
}

.estate-feature:hover p {
    display: block;
}

.estate-feature p {
    display: none;
    color: var(--dark);
    opacity: 0.8;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.estate-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.estate-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--primary-orange);
}

.estate-feature h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    line-height: 1.4;
}

.estate-quote {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quote-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--primary-orange);
    border-radius: 50%;
    margin-bottom: 1rem;
}

.quote-text {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    font-style: italic;
}

.quote-signature {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--primary-orange);
    font-style: italic;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 5rem 2rem 2rem;
}

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

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-brand);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.footer-logo-icon::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid white;
    border-radius: 50%;
    left: 6px;
    top: 10px;
}

.footer-logo-icon::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 24px;
    background: white;
    right: 12px;
    top: 7px;
    transform: rotate(-15deg);
}

.footer-logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-desc {
    color: var(--gray-400);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gradient-brand);
    transform: translateY(-3px);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: white;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--gray-400);
    font-size: 0.95rem;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--primary-orange);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-orange);
}

/* Why Choose Us Section */
.why-section {
    background: var(--cream);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: flex-start;
}

.why-content {
    max-width: 450px;
}

.why-tag {
    display: inline-block;
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.why-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.25;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.why-title span {
    color: var(--gray-600);
    font-weight: 400;
}

.why-desc {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    text-align: justify;
}

.why-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: var(--dark);
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.why-btn:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.why-btn svg {
    width: 18px;
    height: 18px;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: white;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-orange);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.feature-card:first-child {
    border-left-color: #22c55e;
}

.feature-card:last-child {
    border-left-color: #a855f7;
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(247, 147, 30, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-orange);
}

.feature-icon.green {
    background: rgba(34, 197, 94, 0.1);
}

.feature-icon.green svg {
    stroke: #22c55e;
}

.feature-icon.purple {
    background: rgba(168, 85, 247, 0.15);
}

.feature-icon.purple svg {
    stroke: #a855f7;
}

.feature-info h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--dark);
}

.feature-info p {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.6;
    text-align: justify;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav {
        display: none;
    }

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

@media (max-width: 768px) {
    .section {
        padding: 4rem 1.5rem;
    }

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

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

    .why-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .why-content {
        max-width: 100%;
        text-align: center;
    }

    .why-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 1.5rem;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: var(--primary-orange);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: var(--dark);
    text-decoration: underline;
}

.breadcrumb-item.active span {
    color: var(--gray-600);
}

.breadcrumb-separator {
    color: var(--gray-400);
    font-size: 0.8rem;
}

/* Lazy loading images */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]) {
    opacity: 1;
}