.title-section {
    background-color: #f8f9f9;
    padding: 20px 0;
    border-bottom: 1px solid #e9e9e9;
}

.title-container {
    margin: 0 6%;
}

.main-title {
    font-size: 35px;
    color: #333;
    font-weight: 700;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.7rem;
    }
}

.project-section {
    padding: 40px 0;
}

.project-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 6%;
}

.project-col {
    flex: 1 1 100%;
}

.image-col {
    display: flex;
    flex-direction: column;
}

.details-col {
    padding: 0 10px;
}

.section-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 5px;
}

.section-line {
    border: none;
    height: 2px;
    width: 50px;
    background-color: #006605;
    margin-bottom: 20px;
}

.detail-block-text{
    font-size: 16px;
    font-family: Garamond, 'Times New Roman', serif;
}

.image-wrapper img {
    max-width: 100%;
    height: auto;
    border: 2px solid #ccc;
    border-radius: 10px;
}

.contact-btn {
    width: 21%;
    margin-top: 15px;
    display: inline-block;
    padding: 10px 20px;
    background-color: #006605;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.contact-btn:hover {
    background-color: #006605ce;
}

.detail-block {
    margin-bottom: 20px;
    font-size: 1rem;
}

.description-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: Garamond, 'Times New Roman', serif;
}

.table-wrapper {
    overflow-x: auto;
}

.contact-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.contact-table th,
.contact-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.contact-table th {
    background-color: #999;
    color: white;
}

.contact-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.contact-table tr:hover {
    background-color: #e1e1e1;
}

a {
    color: #006605;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .project-col {
        flex: 1 1 48%;
    }

    .details-col {
        padding-left: 20px;
    }
}

.section-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 6%;
    padding-bottom: 20px;
}

.section-column {
    flex: 1 1 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .section-column {
        flex: 1 1 48%;
        max-width: 48%;
    }
}

.section-heading h2 {
    margin: 0;
    font-size: 20px;
    color: #333;
    font-weight: 600;
}

.amenities-header{
    margin-top: 5%;
}

.heading-separator {
    width: 50px;
    height: 2px;
    background-color: #006605;
    margin: 10px 0 20px 0;
}

.floor-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.floor-gallery {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.floor-gallery img {
    width: 100%;
    max-width: 260px;
    height: auto;
    display: block;
    border-radius: 4px;
}

.size-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 16px;
}

.size-table th,
.size-table td {
    border: 1px dotted #aaa;
    text-align: center;
    padding: 10px;
    font-size: 16px;
}

.size-table thead th {
    background-color: grey;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
}

.amenities-list {
    list-style: disc inside;
    padding-left: 5%;
    font-size: 16px;
    font-family: Garamond, 'Times New Roman', serif;
    margin-top: 20px;
}

.amenities-list li {
    margin-bottom: 8px;
    font-weight: 500;
}

.interior-gallery-section {
    padding: 40px 0;
}

.interior-gallery-container {
    margin: 0 6%;
}

.interior-gallery-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.interior-gallery-line {
    border: none;
    height: 2px;
    background-color: #006605;
    width: 50px;
    margin: 0 0 30px;
}

.interior-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.interior-gallery-grid img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.interior-gallery-grid a:hover img {
    transform: scale(1.05);
}

.map-disclaimer-container {
    margin: 0 6%;
}

.section-block {
    margin-bottom: 40px;
}

.section-heading {
    font-size: 20px;
    color: #333;
    margin-bottom: 8px;
}

.section-divider {
    height: 2px;
    background-color: #006605;
    width: 50px;
    margin: 0 0 20px;
    border: none;
}

.map-embed-wrapper iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 8px;
}

.disclaimer-text {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
    font-family: Garamond, 'Times New Roman', serif;
}

/* Responsive */
@media (max-width: 768px) {
    .section-heading {
        font-size: 22px;
    }

    .map-embed-wrapper iframe {
        height: 300px;
    }

    .section-divider {
        width: 40px;
    }
}

/* === Floor Viewer Styles (flv-prefixed for uniqueness) === */
.flv-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.flv-image {
    max-width: 90%;
    max-height: 80%;
    margin: auto;
    display: block;
    border-radius: 8px;
}

.flv-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.flv-prev,
.flv-next {
    position: absolute;
    top: 50%;
    font-size: 40px;
    padding: 20px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transform: translateY(-50%);
    transition: background 0.2s;
}

.flv-prev:hover,
.flv-next:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.flv-prev { left: 20px; }
.flv-next { right: 20px; }

@media (max-width: 768px) {
    .flv-prev, .flv-next {
        font-size: 28px;
        padding: 15px;
    }
}

/* === Interior Gallery Viewer Styles (igv- prefix) === */
.igv-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
}

.igv-image {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    display: block;
    margin: auto;
}

.igv-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.igv-prev, .igv-next {
    position: absolute;
    top: 50%;
    font-size: 40px;
    color: white;
    padding: 16px;
    cursor: pointer;
    user-select: none;
    transform: translateY(-50%);
}

.igv-prev:hover, .igv-next:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.igv-prev { left: 20px; }
.igv-next { right: 20px; }

@media (max-width: 768px) {
    .igv-prev, .igv-next { font-size: 30px; padding: 12px; }
    .igv-close { font-size: 32px; }
}