.base-render {
  width: 100%;
  height: auto;
  display: block; /* Removes the tiny gap below images */
}

.vector-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* This is the magic line: it forces the SVG to stretch exactly like the JPG */
  preserveAspectRatio="none";
}

/* The "Ghost" Vector Paths */
.room-path {
    fill: var(--logo-green);
    fill-opacity: 0;
    stroke: rgba(255, 255, 255, 0.2); /* Very faint white outline */
    stroke-width: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

/* HOVER STATE - Quick preview */
.room-path:hover {
    fill-opacity: 0.15;
    stroke: var(--logo-green);
    stroke-width: 2px;
}
/* THE LOCK STATE - High Contrast for Dark Mode */
.room-path.is-locked {
    fill-opacity: 0.3; /* Thicker fill */
    stroke: var(--logo-green);
    stroke-width: 3px;
    /* This creates the 'Light-Box' effect on your 3D render */
    filter: drop-shadow(0 0 8px var(--logo-green));
}




.section-dark-blueprint {
    background: #000;
    color: #fff;
    padding: 100px 0;
    overflow: hidden;
}




.plan-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 0 40px;
    align-items: center;
}

.map-wrapper {
    position: relative;
    width: 100%;
    line-height: 0; /* Kills the tiny 'ghost' space under images */
    display: block;
}

.base-render {
    width: 100%;
    height: auto;
    display: block;
}

.vector-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Crucial: This ensures the SVG stretches and shrinks
       exactly like the JPG below it */
    preserveAspectRatio: none;
    pointer-events: none; /* Let clicks pass through to the paths */
}

.room-path {
    pointer-events: all; /* Only the actual shapes capture the click */
}



/* MOBILE FIX */
@media (max-width: 768px) {
    .plan-layout {
        grid-template-columns: 1fr; /* Stack vertically */
    }

    .map-wrapper {
        padding: 10px;
    }

}

@media (max-width: 480px) {
    .section-dark-blueprint h2 { font-size: 2rem; }
}



/* THE CONTAINER */
.plan-stats {
    padding: 20px;
    background: transparent;
}

.stats-summary {
    margin-bottom: 30px;
    border-bottom: 1px solid #222;
    padding-bottom: 20px;
}

.stats-summary h3 {
    font-size: 2.5rem;
    color: #fff;
    margin: 0;
}

.stats-summary p {
    color: var(--logo-green);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    margin-top: 5px;
}

/* THE LIST - Minimal & Clean */
.area-list {
    display: flex;
    flex-direction: column;
    gap: 2px; /* Tiny gap for thin dividers */
}

.area-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #1a1a1a;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

/* Typography Fixes */
.room-name {
    color: #aaa; /* Soft gray, readable on black */
    font-size: 0.9rem;
    transition: color 0.3s;
}

.room-size {
    color: #fff; /* Bright white numbers */
    font-weight: 700;
    font-family: monospace; /* Gives a technical/measured feel */
}

/* Hover State - Subtle, not aggressive */
.area-item:hover {
    padding-left: 10px; /* Micro-interaction */
}

.area-item:hover .room-name {
    color: #fff;
}

/* THE LOCK STATE (is-locked) */
.area-item.is-locked {
    border-bottom-color: var(--logo-green);
}

.area-item.is-locked .room-name {
    color: var(--logo-green);
    font-weight: 700;
}

.area-item.is-locked .room-size {
    color: var(--logo-green);
}

/* Special styling for Terrace to separate from living space */
.highlight-row {
    margin-top: 15px;
    border-top: 1px dashed #333;
}

@media (max-width: 768px) {
    /* 1. Reduce Section Padding */
    .section-dark-blueprint {
        padding: 40px 0 20px 0 !important;
    }

    /* 2. Tighten Header Space */
    .section-dark-blueprint h2 {
        margin-bottom: 15px !important;
        font-size: 1.8rem;
    }

    .eyebrow-light {
        margin-bottom: 5px !important;
    }

    /* 3. The Map Wrapper - Minimal Border/Padding */
    .map-wrapper {
        padding: 5px !important; /* Tighten the frame around the image */
        margin-bottom: 15px !important;
    }

    /* 4. Total Area Compression */
    .stats-summary {
      margin-bottom: -10px !important;
      padding-bottom: 1px !important;
    }

    .stats-summary h3 {
        font-size: 1.8rem !important; /* Smaller but still bold */
    }

    /* 5. The List Items - Thin and Sharp */
    .area-item {
        padding: 8px 0 !important; /* Less height per row */
    }

    .room-name {
        font-size: 0.8rem !important; /* Small but readable */
    }

    .room-size {
        font-size: 0.85rem !important;
    }
}
