:root {
    --primary-navy: #0b101b;
    --accent-green: #25d366;
    --accent-green-hover: #1eb956;
    --pure-white: #ffffff;
    --muted-gold: #c5a059;
    --soft-gray: #f3f4f6;
    --border-gray: #e5e7eb;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 8px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--pure-white);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Placeholder */
.site-header {
    background-color: var(--primary-navy);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-green);
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 1.5rem 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--primary-navy);
}

/* Property Header */
.property-header {
    margin-bottom: 2rem;
}

.property-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-navy);
}

.property-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

/* Layout Grid */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

/* Gallery */
.gallery-section {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 2rem;
}

.main-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    transform: translateY(-50%);
}

.nav-btn {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.nav-btn:hover {
    background: white;
}

/* Info Cards */
.info-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--soft-gray);
    border-radius: var(--radius);
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.info-val {
    font-weight: 700;
    font-size: 1.125rem;
}

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

/* Inquiry Form */
.sidebar-card {
    background: white;
    border: 1px solid var(--border-gray);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
}

.price-tag {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.btn {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.btn-whatsapp {
    background: #fff;
    border-color: var(--accent-green);
    color: var(--accent-green);
}

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

.btn-primary {
    background: var(--primary-navy);
    color: white;
    width: 100%;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-gray);
    border-radius: var(--radius);
    background: var(--soft-gray);
    font-family: inherit;
    font-size: 0.9rem;
}

/* Details Grid */
.details-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--soft-gray);
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--border-gray);
    border-radius: var(--radius);
    overflow: hidden;
}

.detail-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    padding: 1rem;
    border-bottom: 1px solid var(--border-gray);
    background: #fff;
}

.detail-row:nth-child(even) {
    border-left: 1px solid var(--border-gray);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-key {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.detail-val {
    font-weight: 600;
}

/* Description */
.description-text {
    color: var(--text-main);
    white-space: pre-line;
    position: relative;
    max-height: 100px;
    /* Initial collapsed height */
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.description-text.expanded {
    max-height: 1000px;
    /* Large enough to show full content */
}

.read-more {
    color: var(--accent-green);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
    user-select: none;
}

@media (max-width: 992px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .sidebar-card {
        position: static;
    }
}