/* Core Design System & Variables */
:root {
    /* Color Palette */
    --color-primary: #111827; /* Midnight/Slate Black */
    --color-primary-light: #1f2937;
    --color-accent: #c0a062; /* Elegant Gold */
    --color-accent-hover: #a88a4e;
    --color-text-main: #374151;
    --color-text-muted: #6b7280;
    --color-bg-main: #ffffff;
    --color-bg-light: #f9fafb;
    --color-white: #ffffff;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Layout */
    --container-max-width: 1280px;
    --spacing-section: 6rem;
    --spacing-element: 2rem;
    
    /* Effects */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-primary);
}

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

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

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--spacing-section) 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(192, 160, 98, 0.3);
}

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

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 1.5rem 0;
}

.navbar.transparent {
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

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

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

.brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.brand-main {
    font-family: 'Lokko St', 'Syncopate', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.brand-sub {
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.navbar.scrolled .brand-sub {
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--color-white);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.nav-links a:hover {
    color: var(--color-accent);
    opacity: 1;
}

@media (min-width: 769px) {
    .nav-links a {
        position: relative;
        padding-bottom: 4px;
    }
    
    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: var(--color-accent);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
    }
    
    .nav-links a:hover::after {
        transform: scaleX(1);
    }
}

.navbar.scrolled .nav-links a {
    color: var(--color-primary);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--color-accent);
}

.navbar.scrolled .btn-outline {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.navbar.scrolled .btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
}

.navbar.scrolled .mobile-menu-btn {
    color: var(--color-primary);
}

/* Cart Styles */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-btn {
    position: relative;
    font-size: 1.25rem;
    color: var(--color-white);
    transition: var(--transition-fast);
}

.navbar.scrolled .cart-btn {
    color: var(--color-primary);
}

.cart-btn #cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--color-accent);
    color: var(--color-white);
    font-size: 0.65rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    font-weight: 700;
}

/* Parallax Effect Class */
.parallax {
    background-attachment: fixed !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem; /* Account for navbar */
}

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05); /* Slight scale for potential animation */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.hero-text {
    max-width: 700px;
}

.hero-text h1 {
    color: var(--color-white);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-text span {
    color: var(--color-accent);
    font-style: italic;
}

.hero-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 500px;
}

/* Glassmorphism Panel */
.glassmorphism {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Search Auto Panel */
.search-panel {
    max-width: 1000px;
}

.search-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.search-tabs .tab {
    background: transparent;
    border: none;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--transition-fast);
}

.search-tabs .tab.active, .search-tabs .tab:hover {
    border-bottom-color: var(--color-accent);
    color: var(--color-accent);
}

.search-fields {
    display: flex;
    gap: 1.5rem;
    align-items: flex-end;
}

.search-fields .field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.field label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.field input, .field select {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    background-color: var(--color-white);
    color: var(--color-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

.search-btn {
    padding: 1rem 2rem;
}

/* Section Header */
.section-header {
    margin-bottom: 4rem;
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
}

.section-header.text-center p {
    margin-left: auto;
    margin-right: auto;
}

.section-header .view-all {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-accent);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-header.text-center .view-all {
    position: static;
    transform: none;
    justify-content: center;
    margin-top: 1.5rem;
}

.view-all i {
    transition: transform 0.3s ease;
}

.view-all:hover i {
    transform: translateX(5px);
}

/* Properties Grid */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.property-card {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.property-card.sold-out-inactive {
    opacity: 0.75;
}

.property-card.sold-out-inactive:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
}

.property-card.sold-out-inactive .card-image-wrapper {
    filter: grayscale(35%);
}

.add-to-cart-btn.sold-out-disabled {
    background-color: #64748b !important;
    color: #cbd5e1 !important;
    cursor: not-allowed !important;
    opacity: 0.8;
}

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

.card-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 2px;
}

.price-tag {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: rgba(255,255,255,0.95);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 4px;
}

.card-content {
    padding: 2rem;
}

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

.card-content .location {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.card-content .location i {
    color: var(--color-accent);
    margin-right: 0.5rem;
}

/* Estate Card Design */
.estate-card-content {
    padding: 2.5rem 2rem;
    text-align: center;
}

.estate-card-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    color: var(--color-primary);
    font-weight: 700;
}

.tags-row {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.estate-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
    min-width: 120px;
}

.tag-location {
    background-color: var(--color-accent); /* Brand gold instead of red */
    color: var(--color-white);
}

.tag-size {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 2.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f3f4f6;
}

.amenity-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.amenity-item i {
    font-size: 1.5rem;
    color: var(--color-primary);
    opacity: 0.8;
}

.amenity-item span {
    font-size: 0.65rem;
    color: var(--color-text-muted);
    line-height: 1.3;
    font-weight: 500;
}

.buy-property-btn {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 1.1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition-smooth);
    width: 100%;
    justify-content: center;
}

.buy-property-btn:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-3px);
}

.card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.add-to-cart-btn {
    padding: 0.75rem 1rem;
    background-color: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    border-radius: 4px; /* Matches button style */
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.add-to-cart-btn:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.add-to-cart-btn.success {
    background-color: #10b981;
    border-color: #10b981;
    color: white;
}

/* Plots Selector */
.plots-selector {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.5rem;
    background: var(--color-bg-light);
    border-radius: 6px;
}

.plots-selector label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.plots-qty-input {
    width: 60px;
    padding: 0.4rem;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-align: center;
    outline: none;
}

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

.service-card {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.service-card:hover {
    border-color: rgba(192, 160, 98, 0.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: var(--color-bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-accent);
    transition: var(--transition-smooth);
}

.service-card:hover .icon-wrapper {
    background-color: var(--color-accent);
    color: var(--color-white);
}

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

.service-card p {
    color: var(--color-text-muted);
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

.delay-1 {
    animation-delay: 0.2s;
}

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

/* Footer */
.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-section) 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(192, 160, 98, 0.5), transparent);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    color: var(--color-white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-brand span {
    color: var(--color-accent);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    max-width: 300px;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(192, 160, 98, 0.2);
}

.footer-links h3, .footer-contact h3 {
    color: var(--color-white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    padding-left: 0;
    transition: var(--transition-fast);
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: var(--transition-smooth);
    opacity: 0;
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 15px;
}

.footer-links a:hover::before {
    width: 10px;
    opacity: 1;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--color-accent);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    margin-top: 4px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

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

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content span {
    color: var(--color-accent);
    font-style: italic;
}

.about-content p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Latest Listings Carousel */
.carousel-container {
    width: 100%;
    margin-top: 2rem;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    padding: 1rem 1rem 3rem 1rem;
    margin: 0 -1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

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

.carousel-card {
    width: 360px; /* Optimal width for 3 cards in 1280px container */
    flex-shrink: 0;
    scroll-snap-align: start;
    transition: var(--transition-fast);
}

.carousel-card:hover {
    transform: translateY(-8px);
}

/* Real Estate Needs Section */
.section-title-bold {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-family: var(--font-body);
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

.needs-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}

.needs-modern-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 480px;
    display: flex;
    align-items: flex-end;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.needs-modern-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.needs-modern-card:hover img {
    transform: scale(1.08); /* slight cinematic zoom */
}

.card-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(16, 20, 31, 1) 0%, rgba(16, 20, 31, 0.75) 50%, rgba(16, 20, 31, 0.3) 100%);
    z-index: 2;
    transition: background 0.4s ease;
}

.needs-modern-card:hover .card-overlay {
    background: linear-gradient(to top, rgba(16, 20, 31, 1) 0%, rgba(16, 20, 31, 0.85) 60%, rgba(16, 20, 31, 0.5) 100%);
}

.card-content-modern {
    position: relative;
    z-index: 3;
    padding: 2.5rem;
    color: var(--color-white);
    width: 100%;
}

.card-content-modern .icon-circle {
    width: 60px; height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-bottom: 1.25rem;
    transition: transform 0.4s ease, background 0.4s ease;
}

.needs-modern-card:hover .icon-circle {
    transform: translateY(-5px);
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.card-content-modern h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-white);
}

.card-content-modern p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.explore-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}

.needs-modern-card:hover .explore-link {
    opacity: 1;
    transform: translateX(0);
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Management Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-card {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition-smooth);
}

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

.team-image-wrapper {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

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

.team-social {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(17, 24, 39, 0.9));
    padding: 2rem 0 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-smooth);
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.team-social a {
    color: var(--color-white);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: var(--transition-fast);
}

.team-social a:hover {
    background-color: var(--color-accent);
}

.team-info {
    padding: 1.5rem;
}

.team-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.team-info .role {
    color: var(--color-accent);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Explore Types Section */
.explore-types-bg {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.subtitle-accent {
    color: var(--color-accent);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.title-light {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-family: var(--font-body); /* Using sans-serif for alignment with ref image */
    font-weight: 600;
}

.text-accent {
    color: var(--color-accent);
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.type-card {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem 1rem;
    text-align: center;
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--color-white);
    position: relative; /* For absolutely positioned pseudo-element */
}

/* Base static border on hover/active remains as default while glow overlays */
.type-card:hover, .type-card.active {
    background-color: rgba(255, 255, 255, 0.05); /* Slight illumination */
    transform: translateY(-5px);
}

/* Animated Border wrapper using masking */
.type-card::after {
    content: "";
    position: absolute;
    inset: -1px; /* Overlaps precisely over the 1px border */
    border-radius: inherit;
    padding: 1px; /* Defines the thickness of the gradient border */
    background: conic-gradient(from var(--angle), transparent 60%, var(--color-accent) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.type-card:hover::after, .type-card.active::after {
    opacity: 1;
    animation: rotate-border-angle 2.5s linear infinite;
}

@keyframes rotate-border-angle {
    0% {
        --angle: 0deg;
    }
    100% {
        --angle: -360deg; /* Anticlockwise rotation */
    }
}

.type-card .type-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.75rem;
    color: var(--color-white);
    transition: all var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.type-card:hover .type-icon, .type-card.active .type-icon {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.type-card h3 {
    color: var(--color-white);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-family: var(--font-body);
}

.type-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* Blog & Article Section */
.blog-header {
    margin-bottom: 3.5rem;
}

.subtitle-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.badge-square {
    width: 12px;
    height: 12px;
    background-color: var(--color-accent);
    display: inline-block;
}

.blog-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
}

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

.blog-card {
    display: flex;
    flex-direction: column;
    text-align: left;
    background-color: transparent;
}

.blog-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.blog-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

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

.blog-meta {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.blog-meta .dot {
    font-size: 0.5rem;
}

.blog-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.4;
    transition: color var(--transition-fast);
    cursor: pointer;
}

.blog-card:hover .blog-title {
    color: var(--color-accent);
}

.btn-outline-accent {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-outline-accent:hover {
    background-color: #a6894d;
    color: var(--color-white);
    transform: translateY(-2px);
}

/* CTA Banner Section */
.section-cta-wrapper {
    padding-bottom: 0;
}

.ready-cta-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    padding: 6rem 2rem;
    text-align: center;
    background-image: url('images/photo-1486406146926-c627a92ad1ab.jpg');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    box-shadow: var(--shadow-lg);
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95) 0%, rgba(17, 24, 39, 0.7) 100%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background-color: var(--color-white);
    color: var(--color-primary);
    padding: 1.25rem 2.5rem;
    font-weight: 700;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

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

.btn-outline-white {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
    padding: 1.25rem 2.5rem;
    font-weight: 700;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

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

/* Schedule a Visit Section */
.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.schedule-text h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
    font-weight: 700;
}

.schedule-text p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 400px;
}

.schedule-form-wrapper {
    background-color: var(--color-bg-light); /* Matching brand colors */
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05); /* Slight border for definition */
}

.schedule-form-wrapper h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--color-primary);
}

.schedule-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group input, 
.input-group select, 
.input-group textarea {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: 1px solid transparent;
    border-radius: 8px;
    background-color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-primary);
    outline: none;
    transition: var(--transition-fast);
}

.input-group select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.input-group textarea {
    resize: vertical;
}

.input-group input:focus, 
.input-group select:focus, 
.input-group textarea:focus {
    border-color: var(--color-accent);
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: #a0a0a0;
}

.input-group i {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-accent);
    font-size: 1rem;
    pointer-events: none;
}

.input-group textarea ~ i {
    top: 1.5rem;
    transform: none;
}

.submit-btn {
    width: 100%;
    margin-top: 0.5rem;
    font-size: 1.1rem;
    padding: 1.25rem;
    border-radius: 8px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 3.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .search-fields {
        flex-direction: column;
        align-items: stretch;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .types-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .blog-grid {
        gap: 1.5rem;
    }

    .needs-modern-grid {
        gap: 1.5rem;
    }

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

    .cta-content h2 {
        font-size: 2.75rem;
    }
}

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

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-primary);
        padding: 0;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        gap: 0;
        transition: all 0.4s ease;
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.active {
        max-height: 400px;
        opacity: 1;
        visibility: visible;
        padding: 1.5rem 0;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem 0;
    }

    .navbar.scrolled .nav-links {
        background-color: var(--color-bg-main);
    }
    
    .navbar.scrolled .nav-links a {
        color: var(--color-primary);
    }
    
    .navbar.scrolled .nav-links a:hover {
        color: var(--color-accent);
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-text h1 {
        font-size: 2.75rem;
    }
    
    .section-header .view-all {
        position: static;
        transform: none;
        display: inline-flex;
        margin-top: 1rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand p {
        max-width: 100%;
    }

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

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

    .needs-modern-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title-bold {
        font-size: 1.75rem;
    }

    .schedule-form-wrapper {
        padding: 2rem;
    }

    .ready-cta-card {
        padding: 4rem 1.5rem;
    }

    .cta-content h2 {
        font-size: 2.25rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .types-grid {
        grid-template-columns: 1fr;
    }
    .brand-main {
        font-size: 0.75rem;
    }
    .brand-sub {
        font-size: 0.4rem;
    }
    .logo img {
        height: 28px !important;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    height: 54px;
    padding: 0 25px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    gap: 10px;
}

.whatsapp-float i {
    font-size: 24px;
}

.whatsapp-float span {
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-body);
    white-space: nowrap;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: translateY(-5px);
    color: #FFF;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        padding: 0;
        bottom: 20px;
        right: 20px;
        border-radius: 50%;
    }
    .whatsapp-float span {
        display: none;
    }
}

/* Lightbox Styles */
.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}
.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.lightbox-overlay.active .lightbox-content {
    transform: scale(1);
}
.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 100000;
    transition: color 0.3s;
}
.lightbox-close:hover {
    color: #b8995e;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 100000;
    user-select: none;
    padding: 1rem;
    transition: color 0.3s, transform 0.3s;
}
.lightbox-nav:hover {
    color: #b8995e;
    transform: translateY(-50%) scale(1.1);
}
.lightbox-prev {
    left: 2rem;
}
.lightbox-next {
    right: 2rem;
}

@media (max-width: 900px) {
    .lightbox-nav { font-size: 2rem; padding: 0.5rem; }
    .lightbox-prev { left: 0.5rem; }
    .lightbox-next { right: 0.5rem; }
}

/* Carousel Container Wrapper & Navigation */
.carousel-container-wrapper {
    position: relative;
    width: 100%;
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    color: var(--color-primary);
    font-size: 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-nav-btn:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.carousel-nav-btn.prev-btn {
    left: -25px;
}

.carousel-nav-btn.next-btn {
    right: -25px;
}

@media (max-width: 1300px) {
    .carousel-nav-btn.prev-btn {
        left: 10px;
    }
    .carousel-nav-btn.next-btn {
        right: 10px;
    }
}

/* Scroll Fade Indicator (Gives sign that user can slide right) */
.carousel-container-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.9) 100%);
    pointer-events: none;
    z-index: 5;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.carousel-container-wrapper.scrolled-end::after {
    opacity: 0;
}

/* Welcome Property Popup */
.welcome-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.welcome-popup-overlay.active {
    opacity: 1;
}

.welcome-popup-card {
    position: relative;
    background: var(--color-white);
    width: 90%;
    max-width: 800px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.welcome-popup-overlay.active .welcome-popup-card {
    transform: scale(1);
}

.welcome-popup-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 2rem;
    color: var(--color-primary);
    cursor: pointer;
    z-index: 100010;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.welcome-popup-close:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: rotate(90deg);
}

.welcome-popup-body {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
}

.welcome-popup-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 380px;
    background: #000;
    cursor: pointer;
    overflow: hidden;
}

.welcome-popup-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

.welcome-popup-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.welcome-popup-details {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.welcome-popup-tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: block;
}

.welcome-popup-details h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.welcome-popup-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.welcome-popup-meta i {
    color: var(--color-accent);
    margin-right: 0.25rem;
}

.welcome-popup-details p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.welcome-popup-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.welcome-popup-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    font-family: var(--font-display);
}

@media (max-width: 768px) {
    .welcome-popup-card {
        width: 85%;
        max-height: 75vh;
        overflow-y: auto;
        border-radius: 16px;
    }
    .welcome-popup-body {
        grid-template-columns: 1fr;
    }
    .welcome-popup-image-wrapper {
        height: 160px;
        min-height: 160px;
    }
    .welcome-popup-image-wrapper img {
        object-fit: cover;
    }
    .welcome-popup-details {
        padding: 1.75rem 1.25rem;
    }
    .welcome-popup-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 32px;
        height: 32px;
        font-size: 1.5rem;
    }
    .welcome-popup-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    .welcome-popup-meta span {
        width: 100%;
        display: block;
    }
    #welcome-popup-size {
        white-space: nowrap;
    }
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        justify-content: center;
    }
    .property-card {
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }
    .navbar .container {
        padding: 0 1rem;
    }
    .logo img {
        height: 32px !important;
    }
    .logo a {
        gap: 0.5rem;
    }
    .brand-main {
        font-size: 0.85rem;
    }
    .brand-sub {
        font-size: 0.45rem;
    }
}

/* Floating Share Button on Card */
.share-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    color: var(--color-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 10;
}

.share-btn:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: scale(1.1);
}

/* Share Modal Styles */
.share-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10002;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.share-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.share-modal-card {
    background: var(--color-white);
    border-radius: 12px;
    width: 90%;
    max-width: 480px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.share-modal-overlay.active .share-modal-card {
    transform: translateY(0) scale(1);
}

.share-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: color 0.2s;
}

.share-modal-close:hover {
    color: var(--color-primary);
}

.share-modal-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
}

.share-property-title {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.share-image-preview {
    width: 100%;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

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

.share-link-copy-container {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

#share-link-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    background: var(--color-bg-light);
    color: var(--color-text-main);
    outline: none;
    width: 100%;
}

.share-copy-btn {
    padding: 0.75rem 1.25rem !important;
    font-size: 0.9rem !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-accent) !important;
    color: var(--color-white) !important;
}

.share-copy-btn:hover {
    background-color: var(--color-accent-hover) !important;
}

.share-options-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--color-text-main);
    font-size: 0.75rem;
    font-weight: 500;
    transition: transform 0.2s;
}

.share-option:hover {
    transform: translateY(-3px);
}

.share-option i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: opacity 0.2s;
}

.share-option:hover i {
    opacity: 0.9;
}

.share-option.whatsapp i {
    background-color: #25d366;
}

.share-option.facebook i {
    background-color: #1877f2;
}

.share-option.twitter i {
    background-color: #111111;
}

.share-option.email i {
    background-color: var(--color-accent);
}




