/* ===================================
   DETAIL PAGE STYLES
   =================================== */

/* === DETAIL HERO === */
.detail-hero {
    padding: 100px 20px 40px;
    background: linear-gradient(135deg, rgba(0, 177, 156, 0.05), rgba(0, 177, 156, 0.1));
}


.detail-hero-estate {
   background: url('../image/estate/estate_1.jpg') no-repeat center center;
    background-size: cover; /* Gambar tidak akan gepeng dan menutupi container */
    height: 100vh;          /* Tinggi layar penuh */
    width: 100%;
    padding: 100px 20px 40px;

}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 14px;
    color: var(--text-gray);
}

.breadcrumb a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

.breadcrumb i {
    font-size: 10px;
    color: var(--text-light);
}

.detail-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: start;
}

.detail-title {
    font-size: 48px;
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.detail-location {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 25px;
}

.detail-location i {
    color: var(--primary-color);
    font-size: 18px;
}

.inline-block {
    display: inline-block;
}

.detail-price {
    display: flex;
    flex-direction: column;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}



.detail-price-estate {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 15px;
    color: #333;
    display: inline-block;
    border-left: 5px solid #00bfa5;
    margin-top: 30px;
    /* display: flex;
    flex-direction: column;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color); */
}

.detail-price .price-label {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.detail-price .price-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.detail-price .price-note {
    font-size: 14px;
    color: var(--text-gray);
}


.detail-price ul {
    list-style: none;
    margin-bottom: 20px;
}

.detail-price ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 15px;
}

.detail-price ul li i {
    font-size: 16px;
}

.detail-header-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1; /* Berada di belakang teks */
    transform: translate(-50%, -50%);
    object-fit: cover; /* Video memenuhi layar tanpa gepeng */
}


.detail-header-right-estate {
     position: absolute;
    right: 10%;
    top: 40%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
}



.btn-large {
    padding: 16px 32px;
    font-size: 17px;
    white-space: nowrap;
}

/* === PROJECT GALLERY === */
.project-gallery {
    padding: 40px 20px;
}

.gallery-main {
    width: 100%;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow-lg);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.thumb {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.thumb:hover {
    border-color: var(--primary-light);
    transform: translateY(-3px);
}

.thumb.active {
    border-color: var(--primary-color);
}

/* === PROJECT OVERVIEW === */
.project-overview {
    padding: 60px 20px;
}

.overview-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.overview-main h2 {
    font-size: 36px;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.overview-main h3 {
    font-size: 28px;
    margin: 40px 0 25px;
    color: var(--text-dark);
}

.overview-main p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.highlight-boxes-estate {
    display: inline;
    margin: 40px 0;
}

.highlight-boxes-residence {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 40px 0;
}


.highlight-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.highlight-box {
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    margin: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.highlight-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.highlight-box i {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.highlight-box h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.highlight-box p {
    font-size: 14px;
    text-align: justify;
    color: var(--text-gray);
    margin: 0;
}



.hero-section-vd {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* === SPECIFICATIONS === */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.spec-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.spec-item i {
    font-size: 32px;
    color: var(--primary-color);
}

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

.spec-label {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 3px;
}

.spec-value {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
}

.spec-lokasi {
    font-size:medium;
    color: black;
    font-weight: bold;
    margin-bottom: 3px;
}

.spec-lokasiDetail {
    font-size: small;
    color: var(--text-dark);
}


/* === FACILITIES LIST === */
.facilities-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.facility-item-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(0, 177, 156, 0.05);
    border-radius: 8px;
    font-size: 15px;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.facility-item-detail:hover {
    background: rgba(0, 177, 156, 0.1);
    transform: translateX(5px);
}

.facility-item-detail i {
    font-size: 20px;
    color: var(--primary-color);
}

/* === LOCATION BENEFITS === */
.location-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    font-size: 15px;
    color: var(--text-dark);
}

.benefit-item i {
    font-size: 18px;
    color: var(--primary-color);
}

.benefit-item i {
    font-size: 18px;
    color: var(--primary-color);
}

/* === SIDEBAR === */
.overview-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
}

.contact-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-card > p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 25px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

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

.contact-info-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-item > div {
    display: flex;
    flex-direction: column;
}

.contact-info-item .label {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 3px;
}

.contact-info-item .value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.promo-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.promo-card h4 {
    font-size: 20px;
    margin-bottom: 20px;
}

.promo-card ul {
    list-style: none;
    margin-bottom: 20px;
}

.promo-card ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 15px;
}

.promo-card ul li i {
    font-size: 16px;
}

.promo-valid {
    font-size: 13px;
    opacity: 0.9;
    font-style: italic;
    margin: 0;
}

/* === KPR SIMULATOR === */
.kpr-simulator {
    background: linear-gradient(135deg, rgba(0, 177, 156, 0.05), rgba(0, 177, 156, 0.1));
    padding: 80px 20px;
}

.simulator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.simulator-input,
.simulator-result {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.simulator-input h3,
.simulator-result h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.input-with-prefix,
.input-with-suffix {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-prefix input,
.input-with-suffix input {
    flex: 1;
}

.prefix {
    position: absolute;
    left: 15px;
    font-weight: 600;
    color: var(--text-gray);
}

.input-with-prefix input {
    padding-left: 45px;
}

.suffix {
    position: absolute;
    right: 15px;
    font-weight: 600;
    color: var(--text-gray);
}

.input-with-suffix input {
    padding-right: 45px;
}

.dp-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.dp-btn {
    padding: 12px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dp-btn:hover {
    border-color: var(--primary-light);
}

.dp-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.dp-amount {
    margin-top: 10px;
    padding: 12px;
    background: rgba(0, 177, 156, 0.05);
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-gray);
}

.dp-amount strong {
    color: var(--primary-color);
}

.form-group small {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-light);
}

.result-summary {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(0, 177, 156, 0.05), rgba(0, 177, 156, 0.1));
    border-radius: 12px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.result-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.result-item.highlight {
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
}

.result-item .label {
    font-size: 14px;
    color: var(--text-gray);
}

.result-item .value {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.result-item.highlight .value {
    font-size: 24px;
    color: var(--primary-color);
}

.kpr-table-wrapper {
    overflow-x: auto;
    margin-bottom: 25px;
}

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

.kpr-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
}

.kpr-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 15px;
}

.kpr-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s ease;
}

.kpr-table tbody tr:hover {
    background: rgba(0, 177, 156, 0.05);
}

.kpr-table td {
    padding: 15px;
    font-size: 15px;
}

.kpr-table td:first-child {
    font-weight: 600;
    color: var(--text-dark);
}

.result-note {
    display: flex;
    align-items: start;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #ffc107;
    border-radius: 8px;
}

.result-note i {
    color: #ffc107;
    font-size: 18px;
    margin-top: 2px;
}

.result-note p {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.6;
}

/* === CTA SECTION === */
.cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
    .overview-content {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        position: static;
    }
    
    .simulator-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .detail-hero {
        padding: 90px 20px 30px;
    }
    
    .detail-header {
        grid-template-columns: 1fr;
    }
    
    .detail-title {
        font-size: 32px;
    }
    
    .detail-price .price-value {
        font-size: 28px;
    }
    
    .detail-header-right {
        flex-direction: row;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .gallery-main {
        height: 300px;
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .highlight-boxes {
        grid-template-columns: 1fr;
    }
    
    .spec-grid {
        grid-template-columns: 1fr;
    }
    
    .overview-main h2 {
        font-size: 28px;
    }
    
    .overview-main h3 {
        font-size: 22px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .detail-title {
        font-size: 26px;
    }
    
    .detail-location {
        font-size: 14px;
    }
    
    .detail-price .price-value {
        font-size: 24px;
    }
    
    .detail-header-right {
        flex-direction: column;
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .thumb {
        height: 100px;
    }
    
    .simulator-input,
    .simulator-result {
        padding: 25px;
    }
    
    .dp-options {
        grid-template-columns: 1fr;
    }
    
    .kpr-table {
        font-size: 13px;
    }
    
    .kpr-table th,
    .kpr-table td {
        padding: 10px;
    }
}
