/* ===== BREADCRUMB ===== */
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    font-size: 0.9rem;
    color: #4A4E50;
}

.breadcrumb a {
    color: #C5A55A;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ===== LAYOUT ===== */
.layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

.main-content {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* ===== GALLERY ===== */
.gallery {
    position: relative;
}

.main-image {
    width: 100%;
    height: 500px;
    background: #E8E4DF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #4A4E50;
    cursor: pointer;
}

.thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 10px;
    background: #F0ECE6;
}

.thumbnail {
    height: 100px;
    background: #E8E4DF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #4A4E50;
    transition: border-color 0.2s;
}

.thumbnail:hover, .thumbnail.active {
    border-color: #C5A55A;
}

/* ===== PROPERTY HEADER ===== */
.property-header {
    padding: 2rem;
    border-bottom: 1px solid #E8E4DF;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1B2A4A;
    margin-bottom: 0.5rem;
}

.address {
    font-size: 1.3rem;
    color: #2D3436;
    margin-bottom: 1rem;
}

.property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1rem 0;
    font-size: 0.95rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: #C5A55A;
    color: #1B2A4A;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* ===== ACTION BUTTONS ===== */
.action-buttons {
    padding: 1.5rem 2rem;
    background: #FAF8F5;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid #E8E4DF;
}

.icon-btn {
    padding: 0.8rem;
    background: white;
    border: 2px solid #E8E4DF;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s;
}

.icon-btn:hover {
    border-color: #C5A55A;
    color: #C5A55A;
}

/* ===== SECTIONS ===== */
.section {
    padding: 2rem;
    border-bottom: 1px solid #E8E4DF;
}

.section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1B2A4A;
}

.description {
    color: #4A4E50;
    line-height: 1.8;
}

.description p {
    margin-bottom: 1rem;
}

/* ===== FEATURES LIST ===== */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.8rem;
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #4A4E50;
}

.features-list li::before {
    content: '✓';
    color: #C5A55A;
    font-weight: 700;
    font-size: 1.2rem;
}

/* ===== FLOORPLAN ===== */
.floorplan-box {
    background: #F0ECE6;
    padding: 3rem;
    text-align: center;
    border-radius: 8px;
    color: #4A4E50;
}

.floorplan-box p {
    margin-top: 1rem;
    color: #4A4E50;
}

/* ===== MAP & LOCATION ===== */
.map-box {
    background: #E8E4DF;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4A4E50;
    font-size: 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.nearby-list {
    list-style: none;
    color: #4A4E50;
}

.nearby-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #E8E4DF;
    display: flex;
    justify-content: space-between;
}

.nearby-list li:last-child {
    border-bottom: none;
}

/* ===== CALCULATOR ===== */
.calculator {
    background: #FAF8F5;
    padding: 1.5rem;
    border-radius: 8px;
}

.calc-row {
    margin-bottom: 1rem;
}

.calc-row label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
    color: #2D3436;
}

.calc-row input[type="range"] {
    width: 100%;
}

.calc-row input[type="number"] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #E8E4DF;
    border-radius: 4px;
}

.calc-result {
    background: #C5A55A;
    color: #1B2A4A;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    margin-top: 1rem;
}

.calc-result .amount {
    font-size: 1.8rem;
    font-weight: 700;
}

/* ===== SIMILAR PROPERTIES ===== */
.similar-properties {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.property-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.2s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.property-card-image {
    height: 200px;
    background: #E8E4DF;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4A4E50;
}

.property-card-content {
    padding: 1.5rem;
}

.property-card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1B2A4A;
    margin-bottom: 0.5rem;
}

.property-card-address {
    color: #4A4E50;
    margin-bottom: 0.5rem;
}

.property-card-meta {
    font-size: 0.9rem;
    color: #4A4E50;
}

/* ===== SIDEBAR ===== */
.sidebar {
    position: sticky;
    top: 80px;
    height: fit-content;
}

.agent-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.agent-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #1B2A4A;
}

.agent-info {
    margin-bottom: 1.5rem;
}

.agent-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: #4A4E50;
}

.agent-info-item strong {
    color: #2D3436;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .similar-properties {
        grid-template-columns: 1fr;
    }
    
    .main-image {
        height: 300px;
    }
    
    .thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
}
