/* ----------------------------------------------------
   DESIGN TOKENS & SYSTEM VARIABLES
   ---------------------------------------------------- */
:root {
    /* Color Palette */
    --primary: #1E4620;         /* Forest Green */
    --primary-light: #2d6630;
    --primary-dark: #122c14;
    --secondary: #4E3629;       /* Coffee Brown */
    --secondary-light: #6d4c3b;
    --secondary-dark: #35251c;
    --accent: #D4AF37;          /* Warm Gold */
    --accent-hover: #bda030;
    --bg-light: #F7F5F0;        /* Sand Beige */
    --bg-white: #FFFFFF;
    --text-dark: #2A2A2A;
    --text-muted: #666666;
    --border-color: #E2DDD5;
    
    /* UI Glassmorphism & Shadows */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-premium: 0 25px 50px -12px rgba(30, 70, 32, 0.15);
    
    /* Typography */
    --font-display: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Variables & Specific Overrides */
body.dark-theme {
    --bg-light: #16120F;         /* Deep coffee background */
    --bg-white: #251D19;         /* Dark warm card background */
    --text-dark: #F7F5F0;        /* Light sand text */
    --text-muted: #BCAE9F;
    --border-color: #3E3027;
    --glass-bg: rgba(37, 29, 25, 0.95);
    --glass-border: rgba(255, 255, 255, 0.05);
}

body.dark-theme h1, 
body.dark-theme h2, 
body.dark-theme h3, 
body.dark-theme h4, 
body.dark-theme h5, 
body.dark-theme h6 {
    color: var(--accent);
}

body.dark-theme .site-header {
    background-color: rgba(37, 29, 25, 0.9);
}

body.dark-theme .site-header.scrolled {
    background-color: rgba(37, 29, 25, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.dark-theme .logo-text span {
    color: var(--accent);
}

body.dark-theme .main-nav a {
    color: var(--text-dark);
}

body.dark-theme .main-nav a:hover {
    color: var(--accent);
}

body.dark-theme .garden-card {
    background-color: var(--bg-white);
    border-color: var(--border-color);
}

body.dark-theme .garden-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

body.dark-theme .card-content h3 {
    color: var(--text-dark);
}

body.dark-theme .spec-item .val {
    color: var(--accent);
}

body.dark-theme .card-price .val {
    color: var(--accent);
}

body.dark-theme .advantage-card {
    background-color: var(--bg-white);
    border-color: var(--border-color);
}

body.dark-theme .advantage-card h3 {
    color: var(--accent);
}

body.dark-theme .contact-section {
    background-color: var(--bg-light);
}

body.dark-theme .contact-details h2 {
    color: var(--accent);
}

body.dark-theme .contact-form-card {
    background-color: var(--bg-white);
    border-color: var(--border-color);
}

body.dark-theme .contact-form-card h3 {
    color: var(--accent);
}

body.dark-theme .form-group label {
    color: var(--text-dark);
}

body.dark-theme .form-group input, 
body.dark-theme .form-group select, 
body.dark-theme .form-group textarea {
    background-color: var(--bg-light);
    border-color: var(--border-color);
    color: var(--text-dark);
}

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

body.dark-theme .roi-results-card {
    background-color: var(--bg-white);
    border-color: var(--border-color);
    color: var(--text-dark);
}

body.dark-theme .roi-results-card h3 {
    color: var(--accent);
}

body.dark-theme .result-box {
    background-color: var(--bg-light);
    border-color: var(--border-color);
}

body.dark-theme .result-value {
    color: var(--accent);
}

body.dark-theme .result-total {
    background-color: rgba(212, 175, 55, 0.05);
    border-color: var(--accent);
}

body.dark-theme .total-value {
    color: var(--accent);
}

body.dark-theme .modal-content {
    background-color: var(--bg-white);
    color: var(--text-dark);
}

body.dark-theme .modal-close {
    background-color: var(--bg-light);
    border-color: var(--border-color);
    color: var(--text-dark);
}

body.dark-theme .modal-close:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
}

body.dark-theme .modal-header-info h2 {
    color: var(--accent);
}

body.dark-theme .modal-price-area {
    background-color: var(--bg-light);
    border-color: var(--border-color);
}

body.dark-theme .modal-price-area .val-price {
    color: var(--accent);
}

body.dark-theme .specs-table td {
    border-bottom-color: var(--border-color);
}

body.dark-theme .specs-table td:last-child {
    color: var(--text-dark);
}

body.dark-theme .modal-contact-box {
    background-color: var(--bg-light);
    border-color: var(--border-color);
}

body.dark-theme .broker-info strong {
    color: var(--accent);
}

body.dark-theme .modal-specs h3, 
body.dark-theme .modal-description h3 {
    color: var(--accent);
}

body.dark-theme .tab-btn {
    background-color: var(--bg-white);
    border-color: var(--border-color);
    color: var(--text-dark);
}

body.dark-theme .tab-btn:hover, 
body.dark-theme .tab-btn.active {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}

@media (max-width: 768px) {
    body.dark-theme .main-nav {
        background-color: var(--bg-white);
    }
}

/* Header scroll shrink transitions */
.site-header {
    transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.site-header.scrolled .header-container {
    padding: 8px 24px;
}

/* ----------------------------------------------------
   BASE STYLES & RESET
   ---------------------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-dark);
}

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

ul {
    list-style: none;
}

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

/* Common Layout Container */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

/* Section Header styling */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-subtitle {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    margin: 12px auto 0 auto;
    border-radius: var(--radius-full);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ----------------------------------------------------
   BUTTONS
   ---------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-normal);
}

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

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 70, 32, 0.25);
}

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

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
}

.btn-full {
    display: flex;
    width: 100%;
    margin-top: 15px;
}

/* ----------------------------------------------------
   HEADER & NAVBAR
   ---------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.header-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary);
}

.logo-text span {
    color: var(--secondary);
    font-weight: 400;
}

/* Nav Menu */
.main-nav ul {
    display: flex;
    gap: 32px;
}

.main-nav a {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--primary-dark);
    position: relative;
    padding: 6px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition-fast);
}

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

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

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
}

/* ----------------------------------------------------
   HERO SECTION
   ---------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 95vh;
    padding-top: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('assets/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--bg-white);
    text-align: center;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(18, 44, 20, 0.8) 0%, rgba(53, 37, 28, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px 24px;
}

.hero-content .badge {
    background-color: var(--accent);
    color: var(--primary-dark);
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    display: inline-block;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--bg-white);
    margin-bottom: 24px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 750px;
    margin: 0 auto 40px auto;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Glassmorphic Search / Filter Box */
.search-filter-box {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 20px;
    align-items: end;
    box-shadow: var(--shadow-premium);
    text-align: left;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-item label {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-item select {
    appearance: none;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    cursor: pointer;
    outline: none;
    transition: var(--transition-fast);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%234E3629' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.filter-item select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 70, 32, 0.1);
}

/* Custom range slider styling */
.range-slider-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.range-slider-container input[type="range"] {
    flex: 1;
    height: 6px;
    background: var(--border-color);
    border-radius: var(--radius-full);
    outline: none;
    appearance: none;
}

.range-slider-container input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.range-slider-container input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: var(--accent);
}

.slider-value {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--secondary);
    min-width: 70px;
}

.search-btn {
    height: 48px;
}

/* ----------------------------------------------------
   LISTINGS SECTION (CARDS GRID)
   ---------------------------------------------------- */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.tab-btn {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 10px 24px;
    font-family: var(--font-display);
    font-weight: 500;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-fast);
}

.tab-btn:hover, .tab-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Listing card styling */
.garden-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    animation: cardEntrance 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

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

.garden-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(30, 70, 32, 0.2);
}

.card-img-container {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.card-badge.durian {
    background-color: var(--primary);
}

.card-badge.coffee {
    background-color: var(--secondary);
}

.card-badge.mixed {
    background-color: var(--accent);
    color: var(--primary-dark);
}

.card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-location {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.card-location svg {
    color: var(--accent);
}

.garden-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.card-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.spec-item {
    display: flex;
    flex-direction: column;
}

.spec-item .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.spec-item .val {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--secondary);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.card-price {
    display: flex;
    flex-direction: column;
}

.card-price .label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.card-price .val {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary);
}

/* ----------------------------------------------------
   ROI CALCULATOR SECTION
   ---------------------------------------------------- */
.roi-section {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    background-image: linear-gradient(135deg, rgba(30, 70, 32, 0.95) 0%, rgba(53, 37, 28, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.roi-section .section-subtitle {
    color: var(--accent);
}

.roi-section h2 {
    color: var(--bg-white);
}

.roi-section p {
    color: rgba(255, 255, 255, 0.85);
}

.roi-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.roi-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.roi-parameters {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.parameter-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.parameter-group label {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
}

.parameter-group label span {
    color: var(--accent);
    font-weight: 800;
}

.parameter-group input[type="range"] {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    outline: none;
    appearance: none;
}

.parameter-group input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: var(--transition-fast);
}

.parameter-group input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.ratio-bar-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ratio-inputs {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 500;
}

.ratio-inputs span span {
    color: var(--accent);
    font-weight: 700;
}

.market-prices-display {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.market-prices-display h4 {
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.market-prices-display ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.market-prices-display li strong {
    color: var(--accent);
}

.market-prices-display small {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Calculator Results Display Card */
.roi-results-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: var(--text-dark);
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border-color);
}

.roi-results-card h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.result-box {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.result-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.result-value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
}

.card-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 24px 0;
}

.result-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.row-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.row-value {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
}

.row-value.val-revenue {
    color: var(--primary-light);
}

.row-value.val-cost {
    color: var(--secondary-light);
}

.row-subtext {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.result-total {
    background-color: rgba(30, 70, 32, 0.05);
    border: 1.5px dashed var(--primary);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    margin-bottom: 24px;
}

.total-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.total-value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--primary);
}

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

.roi-disclaimer p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ----------------------------------------------------
   CENTRAL HIGHLANDS ADVANTAGES
   ---------------------------------------------------- */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.advantage-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(212, 175, 55, 0.15);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.advantage-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.advantage-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ----------------------------------------------------
   CONTACT & CONSIGNMENT SECTION
   ---------------------------------------------------- */
.contact-section {
    background-color: var(--bg-white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-details h2 {
    font-size: 2.25rem;
    margin-bottom: 20px;
}

.contact-details p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

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

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

.info-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(30, 70, 32, 0.08);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.info-item p {
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Form Styling */
.contact-form-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
    text-align: center;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary-dark);
}

.form-group input, .form-group select, .form-group textarea {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%234E3629' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 70, 32, 0.15);
}

/* ----------------------------------------------------
   MODAL WINDOW STYLING
   ---------------------------------------------------- */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(18, 44, 20, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--bg-white);
    width: 100%;
    max-width: 1100px;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-backdrop.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    z-index: 10;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background-color: var(--primary);
    color: var(--bg-white);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    min-height: 500px;
}

/* Image gallery on the left */
.modal-gallery {
    background-color: var(--primary-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    gap: 20px;
}

.slideshow-container {
    position: relative;
    height: 380px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.slideshow-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slideshow-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
}

.slide-control {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.slide-control:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
    transform: scale(1.1);
}

.thumbnail-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.thumbnail-row img {
    width: 70px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: var(--transition-fast);
}

.thumbnail-row img.active, .thumbnail-row img:hover {
    opacity: 1;
    border-color: var(--accent);
}

/* Details on the right */
.modal-details-info {
    padding: 40px;
    overflow-y: auto;
}

.modal-header-info .badge {
    display: inline-block;
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.modal-header-info h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.modal-location {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.modal-price-area {
    display: flex;
    gap: 40px;
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.modal-price-area .label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.modal-price-area .value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.6rem;
}

.modal-price-area .val-price {
    color: var(--primary);
}

.modal-specs {
    margin-bottom: 30px;
}

.modal-specs h3, .modal-description h3 {
    font-size: 1.15rem;
    border-left: 3px solid var(--accent);
    padding-left: 10px;
    margin-bottom: 16px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table td {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.specs-table td:first-child {
    color: var(--text-muted);
    width: 45%;
}

.specs-table td:last-child {
    font-weight: 600;
    color: var(--primary-dark);
}

.modal-description {
    margin-bottom: 35px;
}

.modal-description p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.modal-description p a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
    transition: var(--transition-fast);
}

.modal-description p a:hover {
    color: var(--accent);
}

body.dark-theme .modal-description p a {
    color: var(--accent);
}

body.dark-theme .modal-description p a:hover {
    color: var(--accent-hover);
}

.modal-contact-box {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
}

.modal-contact-box h4 {
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.modal-broker-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.broker-info {
    display: flex;
    flex-direction: column;
}

.broker-info strong {
    font-size: 0.95rem;
    color: var(--primary-dark);
}

.broker-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ----------------------------------------------------
   SITE FOOTER
   ---------------------------------------------------- */
.site-footer {
    background-color: var(--secondary-dark);
    color: rgba(255,255,255,0.7);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px 50px 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.brand-col .footer-logo {
    margin-bottom: 20px;
    display: inline-flex;
}

.brand-col .logo-text {
    color: var(--bg-white);
}

.brand-col .logo-icon {
    color: var(--accent);
}

.brand-col p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-col h3 {
    color: var(--bg-white);
    font-size: 1.15rem;
    margin-bottom: 24px;
    font-family: var(--font-display);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.85rem;
}

/* ----------------------------------------------------
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ---------------------------------------------------- */

@media (max-width: 992px) {
    .search-filter-box {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .filter-actions {
        grid-column: span 2;
    }
    
    .roi-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .modal-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-gallery {
        padding: 24px;
    }
    
    .modal-details-info {
        padding: 24px;
    }
    
    .slideshow-container {
        height: 300px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .section-container {
        padding: 50px 16px;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .site-header {
        position: fixed;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 73px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--bg-white);
        padding: 40px 24px;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }
    
    .main-nav.active {
        transform: translateX(0);
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    
    .main-nav a {
        font-size: 1.25rem;
    }
    
    .header-actions {
        display: flex;
        gap: 12px;
    }
    
    .header-actions .btn {
        display: none; /* Hide Consignment button on very small header */
    }
    
    .search-filter-box {
        grid-template-columns: 1fr;
    }
    
    .filter-actions {
        grid-column: span 1;
    }
    
    .category-tabs {
        flex-wrap: wrap;
    }
    
    .listings-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .modal-broker-card {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Premium Micro-interactions */
.theme-toggle:hover {
    transform: scale(1.15) rotate(15deg);
}

#btn-clear-filters:hover {
    background-color: var(--primary) !important;
    color: white !important;
    border-color: var(--primary) !important;
}

#admin-leads-table tbody tr:hover {
    background-color: rgba(30, 70, 32, 0.03);
}

body.dark-theme #admin-leads-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.btn-delete-lead:hover {
    transform: scale(1.2);
    color: #ff3333 !important;
}
