:root {
    --primary-color: #1a4d2e;
    --secondary-color: #4f8a8b;
    --accent-color: #ee4e34;
    --text-color: #333;
    --light-gray: #f8f8f8;
    --border-color: #e0e0e0;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lato', sans-serif;
}

/* Reset and Base Styles */
body {
    font-family: var(--font-body);
    background: var(--light-gray);
    color: var(--text-color);
    line-height: 1.7;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 15px;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
}
a:hover {
    color: var(--accent-color);
}

/* Layout Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Mobile Home Page Layout */
.mobile-home-listing {
    padding: 40px 0;
}

/* Listing Header */
.listing-header {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    margin-bottom: 30px;
}

.listing-title {
    font-size: 2.6em;
    margin-bottom: 10px;
}

.listing-location {
    color: #777;
    font-size: 1.1em;
}

.listing-location i {
    color: var(--secondary-color);
    margin-right: 6px;
}

.listing-price {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--accent-color);
    margin-top: 15px;
}

/* Gallery */
.listing-gallery {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.main-image img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

.thumbnail-images {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.thumbnail-images img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 6px;
    transition: 0.3s ease;
    cursor: pointer;
}

.thumbnail-images img:hover,
.thumbnail-images img.active {
    border-color: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

/* Details Section */
.listing-details {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.details-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}

.detail-item {
    background: var(--light-gray);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.detail-item:hover {
    transform: translateY(-5px);
}

.detail-item i {
    color: var(--secondary-color);
    font-size: 1.5em;
    margin-bottom: 8px;
    display: block;
}

.detail-value {
    font-weight: 600;
    font-size: 1.1em;
}

/* Description */
.listing-description h2,
.listing-features h2,
.community-info h2,
.social-share-options h2,
.contact-agent h2 {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
    margin-top: 0;
}

.listing-description p {
    margin-bottom: 12px;
}

/* Features List */
.listing-features ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin: 15px 0 0;
}

.listing-features li {
    flex-basis: calc(50% - 10px);
    background: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.listing-features li i {
    color: #28a745;
}

/* Community Info */
.community-info ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.community-info li {
    flex-basis: calc(50% - 10px);
    background: var(--light-gray);
    padding: 10px 15px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.community-info li i {
    color: var(--secondary-color);
}

/* Map */
.map-embed iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 20px;
}

/* Social Share */
.social-share-options {
    text-align: center;
    margin-top: 30px;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    color: #fff;
    gap: 10px;
    font-size: 0.95em;
    transition: 0.3s ease;
}

.share-btn i {
    font-size: 1.1em;
}

.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #000000; }
.share-btn.pinterest { background: #bd081c; }
.share-btn.copy-link { background: var(--secondary-color); }

.share-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* Contact Agent */
.contact-agent {
    background: linear-gradient(135deg, var(--secondary-color), #347070);
    color: #fff;
    padding: 35px;
    border-radius: 10px;
    text-align: center;
    margin-top: 30px;
}

.agent-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 20px;
}

.agent-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
}

.agent-details h3 {
    margin-bottom: 5px;
}

.agent-details p {
    margin-bottom: 15px;
    opacity: 0.85;
}

.btn {
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-primary {
    background: var(--accent-color);
    color: #fff;
}

.btn-primary:hover {
    background: #d13a29;
}

.btn-secondary {
    background: #fff;
    color: var(--secondary-color);
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* Mobile CTA Bar */
.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: var(--primary-color);
    padding: 10px 20px;
    justify-content: space-around;
    align-items: center;
    z-index: 999;
}

.btn-primary-small, .btn-secondary-small {
    flex: 1;
    text-align: center;
    padding: 12px 10px;
    font-size: 0.9em;
    color: #fff;
    border-radius: 5px;
}

.btn-primary-small {
    background: var(--accent-color);
}
.btn-secondary-small {
    background: #fff;
    color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .details-overview {
        grid-template-columns: 1fr 1fr;
    }

    .thumbnail-images img {
        width: 90px;
        height: 60px;
    }

    .agent-info {
        flex-direction: column;
        text-align: center;
    }

    .mobile-cta-bar {
        display: flex;
    }

    body {
        padding-bottom: 70px;
    }
}











@media (max-width: 768px) {
    /* Listing Title & Price */
    .listing-title {
        font-size: 1.8em;
    }

    .listing-price {
        font-size: 2.2em;
    }

    .listing-header,
    .listing-gallery,
    .listing-details {
        padding: 20px;
    }

    /* Details Overview (2 columns) */
    .details-overview {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .detail-item {
        font-size: 0.95em;
        padding: 12px;
    }

    .detail-item i {
        font-size: 1.3em;
    }

    /* Thumbnails */
    .thumbnail-images {
        gap: 10px;
    }

    .thumbnail-images img {
        width: 80px;
        height: 60px;
    }

    /* Listing Features and Community */
    .listing-features ul,
    .community-info ul {
        flex-direction: column;
    }

    .listing-features li,
    .community-info li {
        flex-basis: 100%;
        max-width: 100%;
    }

    /* Contact Agent Section */
    .agent-info {
        flex-direction: column;
        text-align: center;
    }

    .agent-details {
        text-align: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
        margin: 10px 0;
    }

    /* Map Embed */
    .map-embed iframe {
        height: 250px;
    }

    /* Share Buttons */
    .share-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .share-btn {
        width: 100%;
        justify-content: center;
    }

    /* CTA Bar */
    .mobile-cta-bar {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 999;
        background-color: var(--primary-color);
        padding: 10px 15px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    .btn-primary-small,
    .btn-secondary-small {
        font-size: 0.9em;
        padding: 10px 12px;
        flex: 1;
        text-align: center;
        margin: 0 5px;
    }

    body {
        padding-bottom: 70px; /* prevent content from being hidden behind CTA bar */
    }
}

@media (max-width: 480px) {
    .listing-title {
        font-size: 1.5em;
    }

    .listing-price {
        font-size: 2em;
    }

    .detail-item i {
        font-size: 1.2em;
    }

    .thumbnail-images img {
        width: 70px;
        height: 50px;
    }

    .btn-primary-small,
    .btn-secondary-small {
        font-size: 0.85em;
        padding: 8px 10px;
    }
	
	
	.container {
    
    padding: 0 0px;
}
	
	
}
