/* Property Listing Styles - styles.css */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #8db1d4;
}

.container {
    max-width: 820px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

header {
    font-family: Georgia, 'Times New Roman', Times, sans-serif, serif;
    text-align: center;
    margin-bottom: 2rem;
    /* padding-bottom: 2rem; */
    /* border-bottom: 3px solid #2c5530; */
}

h1 {
    font-size: 2rem;
    color: rgb(44, 134, 94);
    margin-bottom: 1rem;
    font-weight: bold;
    font-variant: small-caps;
    text-wrap: balance;
}

h2 {
    font-size: 1.3rem;
    color: rgb(44, 134, 94);
    margin-bottom: 0.5rem;
    text-wrap: balance;
}

.subtitle {
    font-style: italic;
    color: #a623ce;
}

section {
    margin-bottom: 1rem;
    /* padding-bottom: 1.5rem; */
    /* border-bottom: 2px solid #d7dbdf; */
}

section:last-child {
    border-bottom: none;
}

p {
    font-family: sans-serif;
    margin-bottom: 1rem;
    text-align: justify;
    font-size: 1.1rem;
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 1rem 0;
    justify-content: center;
}

.property-image {
    width: 360px;
    height: 240px;
    object-fit: cover;
    border: 2px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.prop-img-layout:hover {
    transform: scale(2);
    border-color: #2c5530;
}


.layout {
    max-width: 600px;
    height: auto;
    border: 2px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.property-image:hover {
    transform: scale(2);
    border-color: #2c5530;
}

.virtual-tour {
    text-align: center;
    background-color: #f1f8e9;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 5px solid #2c5530;
}

footer {
    background-color: #2c5530;
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

footer h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.agent {
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.agent-photo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ffb700ff;
    flex-shrink: 0;
}

.agent-details {
    flex: 1;
}

.footer-note {
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
    opacity: 0.8;
}

a {
    color: #4a6741;
    text-decoration: none;
}

a:hover {
    color: #2c5530;
    text-decoration: underline;
}

footer a {
    color: #a8d5a8;
}

footer a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.1rem;
    }

    p {
        font-size: 1rem;
    }

    .property-image {
        width: 100px;
        height: 70px;
    }

    .contact-info {
        flex-direction: column;
    }

    .agent {
        min-width: auto;
        justify-content: center;
    }

    .agent-photo {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    h1 {
        font-size: 1.3rem;
    }

    .property-image {
        width: 80px;
        height: 60px;
    }

    .image-gallery {
        gap: 5px;
    }
}

.image-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.img1 {
   max-width: 800px;
    height: auto;
    border: 1px solid black;
}

.img-layout {
    max-width: 600px;
    height: auto;
}

