/* Residential detail page — scoped to avoid conflicts with mainpage.css / main.css */

.residential-detail-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding-bottom: 80px;
}

/* Override mainpage.css .hero-section { overflow:hidden; background:#f9fcfb } */
.residential-detail-page .hero-section {
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: visible;
    background: transparent;
    margin: 0;
    padding: 0;
}

.residential-detail-page .red-banner {
    width: 100%;
    background-color: #118b74;
    padding: 20px 0;
    color: white;
}

.residential-detail-page .company-name {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 10px 0;
    letter-spacing: 2px;
    color: #fff;
}

.residential-detail-page .project-name {
    display: block;
    font-size: 48px;
    font-weight: 700;
    margin: 5px 0 15px 0;
    line-height: 1.1;
    color: #fff;
}

.residential-detail-page .project-details {
    font-size: 14px;
    margin: 5px 0;
    opacity: 0.9;
    color: #fff;
}

.residential-detail-page .tagline-section {
    display: flex;
    align-items: center;
    height: auto;
    min-height: 80px;
}

.residential-detail-page .tagline-line {
    width: 2px;
    height: 80px;
    background-color: white;
    margin-right: 20px;
    flex-shrink: 0;
}

.residential-detail-page .tagline {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    letter-spacing: 1px;
    color: #fff;
}

.residential-detail-page .hero-image-section {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 500px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.residential-detail-page .hero-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.residential-detail-page .brochure-download-btn {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1050;
    background: #093E34;
    color: #fff;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 28px;
    font-weight: 600;
    box-shadow: 0 8px 20px #093e34;
    display: inline-flex;
    align-items: center;
    transition: all 0.25s ease;
}

.residential-detail-page .brochure-download-btn:hover {
    background: #093e34;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px #093e34;
}

.residential-detail-page .brochure-section {
    padding: 40px 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.residential-detail-page .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #093E34;
    margin-bottom: 10px;
}

.residential-detail-page .section-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 30px;
}

.residential-detail-page .project-highlights {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    height: 100%;
}

.residential-detail-page .highlight-title,
.residential-detail-page .location-title {
    color: #093E34;
    font-weight: 600;
    margin-bottom: 20px;
}

.residential-detail-page .highlight-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.residential-detail-page .highlight-list li {
    padding: 8px 0;
    font-size: 16px;
}

.residential-detail-page .location-info {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    border: 2px solid #093E34;
    height: 100%;
}

.residential-detail-page .location-details p {
    margin-bottom: 10px;
    font-size: 16px;
}

.residential-detail-page .site-plan-image {
    max-height: 500px;
    width: 100%;
    object-fit: contain;
}

.residential-detail-page .unit-card {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 25px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.residential-detail-page .unit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #093E34;
}

.residential-detail-page .unit-card.premium {
    border-color: #093E34;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.residential-detail-page .unit-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.residential-detail-page .unit-header h4 {
    color: #093E34;
    font-weight: 600;
    margin-bottom: 5px;
}

.residential-detail-page .unit-size {
    color: #666;
    font-weight: 500;
    font-size: 14px;
}

.residential-detail-page .unit-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.residential-detail-page .unit-features li {
    padding: 8px 0 8px 20px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.residential-detail-page .unit-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #093E34;
    font-weight: bold;
}

.residential-detail-page .amenity-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.residential-detail-page .amenity-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-color: #093E34;
}

.residential-detail-page .amenity-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.residential-detail-page .amenity-card h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
}

.residential-detail-page .amenity-card p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.residential-detail-page .faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.residential-detail-page .faq-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.residential-detail-page .faq-question {
    padding: 20px 25px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.residential-detail-page .faq-question h4 {
    color: #333;
    font-weight: 600;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.4;
    flex: 1;
}

.residential-detail-page .faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #093E34;
    background: #fff;
    border: 2px solid #093E34;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.residential-detail-page .faq-number {
    color: #093E34;
    font-weight: 700;
    margin-right: 10px;
}

.residential-detail-page .faq-answer {
    padding: 0 25px;
    background-color: #f8f9fa;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.residential-detail-page .faq-answer.show {
    padding: 20px 25px;
    max-height: 500px;
}

.residential-detail-page .faq-answer p {
    color: #666;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.residential-detail-page .specifications-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #093E34;
}

.residential-detail-page .spec-category {
    background-color: #093E34;
    color: white;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    width: 20%;
    vertical-align: top;
    border-right: 2px solid #093e34;
}

.residential-detail-page .spec-description {
    padding: 20px 25px;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    vertical-align: top;
}

.residential-detail-page .res-centered-text-headline {
    font-weight: 700;
    color: #333;
}

.residential-detail-page .res-centered-text-sub {
    font-weight: 600;
    color: #444;
}

.residential-detail-page .res-bullet-list {
    max-width: 900px;
    font-size: 16px;
    line-height: 1.9;
    color: #555;
}

.residential-detail-page .res-spec-two-col h5 {
    font-weight: 600;
    color: #333;
    margin-top: 20px;
    margin-bottom: 12px;
}

.residential-detail-page .res-spec-two-col ul {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.residential-detail-page .res-image-grid {
    margin-bottom: 1rem;
}

.residential-detail-page .res-image-cell {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 8px;
    background: #f0f0f0;
}

.residential-detail-page .res-full-width-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 768px) {
    .residential-detail-page .res-image-cell {
        height: 280px;
    }
}

@media (min-width: 992px) {
    .residential-detail-page .res-image-cell {
        height: 320px;
    }
}

.residential-detail-page .res-centered-image-wrap {
    text-align: center;
    margin: 1rem 0;
}

.residential-detail-page .res-centered-image-wrap img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .residential-detail-page .section-title { font-size: 2rem; }
    .residential-detail-page .section-subtitle { font-size: 1.2rem; }
    .residential-detail-page .brochure-section { padding: 20px 15px; }
    .residential-detail-page .company-name { font-size: 20px; }
    .residential-detail-page .project-name { font-size: 32px; }
    .residential-detail-page .tagline { font-size: 15px; }
    .residential-detail-page .tagline-line { height: 50px; }
    .residential-detail-page .hero-image-section { height: 280px; }
    .residential-detail-page .red-banner .col-md-4 { margin-top: 1.25rem; }
    .residential-detail-page .tagline-section { min-height: auto; }
    .residential-detail-page .brochure-download-btn {
        left: 15px;
        bottom: 15px;
        padding: 10px 14px;
        font-size: 14px;
    }
    .residential-detail-page .spec-category { width: 35%; padding: 15px 20px; }
    .residential-detail-page .spec-description { padding: 15px 20px; }
    .residential-detail-page .project-highlights,
    .residential-detail-page .location-info { margin-bottom: 20px; }
}
