body {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    margin: 0;
    padding: 0;
    display: flexbox;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    overflow: hidden;
    background-color: rgb(255, 255, 255);
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.image-container img {
    width: 100%;
    height: auto;
}

.thumbnails {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnails img {
    width: 100px;
    height: auto;
    margin: 5px;
    cursor: pointer;
    display: none;
    
}
    

header {
    background-color: #3498db;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-bottom: 20px;
}

.HOU{
    font-size: 20px;
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 10px;
    text-align: center;
    color: rgb(0, 174, 255);
    text-decoration: underline;
}

.houses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 32px;
}
.house {
    background: rgba(255,255,255,0.92);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
@media (max-width: 800px) {
    .houses {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .house {
        padding: 16px;
    }
}

.view {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 10px;
}

.instruction {
    text-align: center;
    margin-top: 20px;
    font-style: italic;
}

.homepage-link {
    text-align: center;
    margin-top: 20px;
}

.homepage-link a {
    text-decoration: none;
    color: #3498db; /* Or any color you prefer */
    font-weight: bold;
}

.homepage-link a:hover {
    text-decoration: underline;
    text-shadow: black; 
}

/* ... your existing CSS ... */

.main-image {
    position: relative;
}

.main-image img {
    width: 100%;
    display: block;
    cursor: zoom-in;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    cursor: pointer;
    display: none;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

.main-image:hover .arrow {
    display: block;
}

@media (max-width: 480px) {
    .arrow {
        display: block !important;
    }
}

.thumbnails {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

/* ... your existing CSS ... */

.thumbnails {
    display: flex; /* Use flexbox to arrange items horizontally */
    justify-content: center; /* Center the thumbnails horizontally */
}

.thumbnails img {
    width: 80px; /* Adjust thumbnail width as needed */
    margin: 5px; /* Adjust spacing between thumbnails */
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.thumbnails img:hover {
    transform: scale(1.2);
    cursor: zoom-out;
}

/* ... rest of your CSS ... */

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black */
    z-index: 1000; /* Ensure it's on top */
}

.expanded-image {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centers the element */
    z-index: 1001; /* Ensure it's above the overlay */
    max-width: 90%; /* Adjust as needed */
    max-height: 90%; /* Adjust as needed */
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white; /* Optional: Add a background */
    padding: 10px;
}

@media (max-width: 480px) {
    .expanded-image {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .expanded-image {
        pointer-events: none;
        touch-action: none;
    }
}

.expanded-image img {
    max-width: 100%;
    max-height: 100%;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 1.5em;
    background: none;
    border: none;
    color: black;
}

.close-button:hover{
    color: red;
}

.arrow-expanded {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    font-size: 20px;
    z-index: 1001;
}

.arrow-left-expanded {
    left: 10px;
}

.arrow-right-expanded {
    right: 10px;
}

.copy{
    background-color: saddlebrown;
    margin-top: 0px;
    margin-right: 0px;
    padding-top: 25px;
    padding-bottom: 25px;
    color: wheat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-bottom: 5px;
}

.icon:hover{
    background-color: rgb(18, 19, 20);
    opacity: 0.8;

}

.icon:active{
    opacity: 10;
}

.contact-container{
    background-color: #dae1e6;
    margin-top: 100px;
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
        padding: 0;
    }
    .container, #page-container, #house-plans-intro, #house-plan-categories {
        padding: 6px;
        max-width: 100vw;
        border-radius: 0;
    }
    header {
        font-size: 1.1em;
        padding: 6px 0;
    }
    .houses {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 16px;
    }
    .house {
        padding: 10px;
        border-radius: 8px;
    }
    .main-image img, .image-container img, .house-category-image {
        max-width: 100%;
        height: auto;
    }
    .thumbnails img {
        width: 60px;
        margin: 3px;
    }
    .view, .view-button, .inquiryBtn a {
        padding: 8px 12px;
        font-size: 0.95em;
    }
    .all-covered-heading, .house-plan-heading, .view-house-heading {
        font-size: 1.2em;
    }
    .house-category-card {
        padding: 10px;
    }
    .footer-contact, .copyright {
        font-size: 0.9em;
    }
    .contact-list, .phone-list {
        font-size: 0.95em;
    }
    .copy {
        padding: 12px 0;
        font-size: 0.95em;
    }
    .icon {
        width: 28px;
        height: 28px;
    }
    .expanded-image {
        max-width: 98vw;
        max-height: 98vh;
        padding: 4px;
    }
    .arrow, .arrow-expanded {
        padding: 6px;
        font-size: 1em;
    }
    #whatsappModal > div {
        max-width: 95vw;
        margin: 40px auto;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    header {
        font-size: 1em;
        padding: 8px 0;
        text-align: center;
        background: #2d3e50;
    }
    .top-nav {
        flex-direction: column;
        gap: 10px;
        margin-top: 6px;
    }
    .nav-button {
        padding: 10px 0;
        font-size: 1em;
        border-radius: 12px;
        width: 100%;
        box-sizing: border-box;
    }
    .header-banner {
        max-height: 60px;
        width: 100vw;
        object-fit: cover;
        border-radius: 0;
    }
}





body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f8f8f8;
    color: #222;
}

#page-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    border-radius: 8px;
    overflow: hidden;
}

header {
    background: #2d3e50;
    color: #fff;
    padding-bottom: 10px;
    text-align: center;
}

.header-banner {
    width: 100%;
    max-height: 550px;
    object-fit: cover;
    border-bottom: 2px solid #eaeaea;
}

.top-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 10px;
}

.nav-button {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 20px;
    transition: background 0.2s;
}

.nav-button:hover {
    background: #1abc9c;
    color: #fff;
}

.section-divider {
    border: none;
    border-top: 2px solid #eaeaea;
    margin: 30px 0;
}

#house-plans-intro {
    padding: 30px 40px;
    background: #f4f9fa;
    border-radius: 8px;
    margin: 30px 0;
}

.all-covered-heading {
    font-size: 2.2em;
    color: #1abc9c;
    margin-bottom: 10px;
    text-align: center;
}

.covered-text {
    font-size: 1.1em;
    margin-bottom: 18px;
    line-height: 1.7;
}

.modern-house-text {
    color: #e67e22;
    font-weight: bold;
}

.view-house-heading {
    font-size: 1.5em;
    color: #34495e;
    margin-top: 30px;
    margin-bottom: 10px;
    text-align: center;
}

#house-plan-categories {
    padding: 30px 40px;
}

.house-plan-heading {
    font-size: 2em;
    color: #1abc9c;
    margin-bottom: 25px;
    text-align: center;
}

.house-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.house-category-card {
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
    padding: 18px;
    text-align: center;
    transition: box-shadow 0.2s;
}

.house-category-card:hover {
    box-shadow: 0 4px 16px rgba(52,152,219,0.13);
}

.house-category-title {
    font-size: 1.3em;
    color: #34495e;
    margin-bottom: 10px;
}

.house-category-image {
    width: 100%;
    max-width: 180px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid #eaeaea;
}

.view-button {
    display: inline-block;
    background: #1abc9c;
    color: #fff;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 500;
    margin-top: 10px;
    transition: background 0.2s;
}

.view-button:hover {
    background: #16a085;
}

footer {
    background: #2d3e50;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 30px 0 10px 0;
    text-align: center;
    border-top: 2px solid #eaeaea;
}

.footer-contact {
    margin-bottom: 20px;
}

 .contact-list a {
    color: #07bdae;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s; 
 }

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 400px;
    text-align: center;
   
}

.contact-list li {
    margin-bottom: 14px;
}

.mb-20 {
    margin-bottom: 20px;
}

.phone-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.whatsapp-icon {
    width: 28px;
    vertical-align: middle;
    margin-left: 6px;
    
}

.whatsapp-icon:hover {
    filter: brightness(0.8);
}   

.copyright {
    font-size: 0.95em;
    color: #f3f3f3;
    margin-top: 10px;
    font-weight: max(400px);
}

@media (max-width: 700px) {
    #page-container, #house-plans-intro, #house-plan-categories {
        padding: 10px;
    }
    .house-categories-grid {
        grid-template-columns: 1fr;
    }
    .header-banner {
        max-height: 200px;
    }
}




#whatsappModal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.45);
    animation: fadeIn 0.3s;
}
#whatsappModal > div {
    background: #fff;
    border-radius: 14px;
    max-width: 350px;
    margin: 80px auto;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    position: relative;
    animation: slideUp 0.3s;
}
#whatsappModal h3 {
    margin-top: 0;
    color: #25d366;
    font-size: 1.4em;
    letter-spacing: 1px;
}
#whatsappModal p {
    color: #444;
    font-size: 1em;
}
#whatsappModal img.icon {
    width: 28px;
    height: 28px;
    vertical-align: middle;
    margin-right: 8px;
}
#whatsappModal a {
    color: #25d366;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}
#whatsappModal a:hover {
    color: #128c7e;
    text-decoration: underline;
}
#closeModal {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.7em;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}
#closeModal:hover {
    color: #25d366;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* CSS for inquiryBtn */
.inquiryBtn {
    text-align: center;
    margin-top: 10px;
}
.inquiryBtn a {
    display: inline-block;
    background: #25d366;
    color: #fff !important;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(37,211,102,0.12);
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
    font-size: 1em;
}
.inquiryBtn a:hover {
    background: #128c7e;
    box-shadow: 0 4px 16px rgba(18,140,126,0.18);
}


