:root {
    --listing-accent-1: #1a3154;
    --listing-accent-2: #1b8e31;
    /* Green Accent */
    --listing-accent-3: #209e2e;
    --bg-pattern: url('../img/bg/pattern_bg_1.png');
}

body {
    background-color: #f4f7fa;
    background-image: radial-gradient(#e1e8f0 1px, transparent 1px);
    background-size: 20px 20px;
}

.details-header-section {
    background: #1a3154;
    padding: 140px 0 80px;
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.details-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    background-image: url('../img/normal/view-land-plot-real-estate-business-development.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.details-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 49, 84, 0.95) 0%, rgba(26, 49, 84, 0.7) 100%);
    z-index: -1;
}

.prop-title {
    font-family: var(--title-font);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.prop-location {
    font-size: 18px;
    opacity: 1;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
}

.prop-location i {
    color: var(--listing-accent-2);
    margin-right: 8px;
}

/* Gallery Carousel Styles */
.gallery-container {
    border-radius: 20px;
    /* overflow: hidden; */
    /* Removing overflow hidden to allow buttons to stick out if needed, but keeping borders round */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: var(--smoke-color3);
    padding: 10px;
    margin-bottom: 30px;
}

.carousel-main-container {
    border-radius: 15px;
    overflow: hidden;
    background: #000;
    position: relative;
}

.carousel-item {
    height: 450px;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    margin: 0 20px;
    transition: 0.3s;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #1a3154;
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
    /* Make default white icons black if needed on light bg, currently keeping white on translucent bg */
}

/* Video Slide */
.video-slide-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

/* Thumbnails */
.thumb-grid {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    margin-top: 10px;
    padding-bottom: 5px;
    /* Space for scrollbar */
    scrollbar-width: thin;
}

.thumb-grid::-webkit-scrollbar {
    height: 6px;
}

.thumb-grid::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.thumb-img {
    height: 100px;
    min-width: 140px;
    /* Fixed width for flex items */
    width: 140px;
    flex-shrink: 0;
    /* Prevent shrinking */
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
    border: 2px solid transparent;
}



.thumb-img:hover,
.thumb-img.active-thumb {
    opacity: 1;
    border-color: var(--listing-accent-2);
}

/* Content Sections */
.content-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    margin-bottom: 30px;
    border: 1px solid #edf2f7;
    position: relative;
    overflow: hidden;
}

/* Premium Gradient for Essentials */
.content-card.highlight-card,
.content-card.gradient-bg {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f7e8 100%);
    border: none;
    border-left: 5px solid var(--listing-accent-2);
}

.section-title {
    font-family: var(--title-font);
    font-size: 24px;
    font-weight: 700;
    color: #1a3154;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--listing-accent-2);
    background: rgba(27, 142, 49, 0.1);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 16px;
}

/* Essential Details Grid */
.essential-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    text-align: center;
}

.essential-item {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.essential-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--listing-accent-2);
    transform: scaleX(0);
    transition: 0.3s;
}

.essential-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(27, 142, 49, 0.15);
}

.essential-item:hover::after {
    transform: scaleX(1);
}

.essential-icon {
    font-size: 28px;
    color: var(--listing-accent-2);
    margin-bottom: 12px;
    display: inline-block;
}

.essential-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.essential-value {
    font-size: 20px;
    font-weight: 700;
    color: #1a3154;
    font-family: var(--title-font);
}

/* Feature List */
.feature-box {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.feature-box:hover {
    border-color: var(--listing-accent-2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.feature-icon {
    width: 45px;
    height: 45px;
    background: rgba(27, 142, 49, 0.1);
    color: var(--listing-accent-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 15px;
}

.feature-info h5 {
    font-size: 16px;
    margin-bottom: 2px;
    font-weight: 600;
}

.feature-info p {
    font-size: 14px;
    color: #777;
    margin: 0;
}

/* Landmark Timeline */
.landmark-list {
    position: relative;
    padding-left: 20px;
}

.landmark-item {
    position: relative;
    padding-bottom: 25px;
    padding-left: 25px;
    border-left: 2px dashed #ddd;
}

.landmark-item:last-child {
    border-left: none;
}

.landmark-icon {
    position: absolute;
    left: -16px;
    top: 0;
    width: 30px;
    height: 30px;
    background: var(--listing-accent-2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: 4px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.landmark-text {
    font-weight: 500;
    color: #333;
    display: inline-block;
    vertical-align: middle;
}

.landmark-dist {
    font-weight: 700;
    color: var(--listing-accent-2);
    float: right;
}

/* Sidebar Sticky Card */
.sticky-sidebar {
    position: sticky;
    top: 20px;
}

.action-card {
    background: #1a3154;
    color: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(26, 49, 84, 0.2);
    position: relative;
    overflow: hidden;
}

.action-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.price-tag-large {
    font-size: 36px;
    font-weight: 700;
    font-family: var(--title-font);
    display: block;
    margin-bottom: 5px;
}

.per-unit-large {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 25px;
    display: block;
}

.action-btn {
    display: block;
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 15px;
    transition: 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-site-visit {
    background: #fff;
    color: #1a3154;
}

.btn-site-visit:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.btn-advisor {
    background: var(--listing-accent-2);
    color: white;
}

.btn-advisor:hover {
    background: #146c25;
    transform: translateY(-2px);
    color: white;
}

.trust-badge-row {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.9;
}

.trust-item i {
    color: var(--listing-accent-2);
}

/* Why Choose Card */
.why-card {
    background: #ecf3fa;
    border-radius: 16px;
    padding: 30px;
    margin-top: 20px;
}

.why-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a3154;
    margin-bottom: 15px;
}

.why-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
    list-style: none;
}

.why-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--listing-accent-2);
    font-weight: bold;
}