/* RESET & BODY */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    background: linear-gradient(to right, #e3f2fd, #ffffff);
    color: #333;
}

/* HEADER */
header {
    background: #0a3d62;
    color: white;
    padding: 20px;
    text-align: center;
}

header img {
    display: block;
    margin: auto;
}

header h1 {
    margin: 10px 0;
    font-size: 28px;
}

header i {
    font-size: 14px;
}

/* NAVIGATION */
nav {
    background: #ccc;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 0;
}

nav a {
    color: black;
    margin: 0 10px;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: red;
}

/* HERO */
.hero {
    text-align: center;
    padding: 100px 20px;
    background: url('house6.jpg') no-repeat center/cover;
    color: white;
}

.hero h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* BUTTONS */
.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: green;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background: darkgreen;
}

/* SECTIONS */
section {
    padding: 50px 20px;
    text-align: justify;
}

/* SERVICE BOX / PROPERTY CARDS */
.service-box, .property, .property-card {
    border: 1px solid #ccc;
    margin: 20px auto;
    padding: 20px;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
  
        .property-container {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
        }

        .property-card {
            border: 1px solid #ccc;
            padding: 10px;
            width: 220px;
            border-radius: 10px;
            text-align: center;
            background: #fff;
        }

        .property-card img {
            width: 100%;
            height: 150px;
            object-fit: cover;
        }

        .price {
            color: green;
            font-weight: bold;
        }

        .btn {
            display: inline-block;
            padding: 5px 10px;
            background: black;
            color: white;
            text-decoration: none;
            margin-top: 5px;
        }

        .filter-bar {
            margin: 20px 0;
        }

        .image-slider img {
            display: none;
            width: 300px;
            height: 150px;
        }

        .image-slider img.active {
            display: block;
        }   



.property-card p {
    padding: 0 10px;
}

.property-card .btn {
    text-align: center;
    margin: 5px auto;
}

/* CONTACT FORM */
input, textarea {
    width: 50%;
    padding: 10px;
    margin: 10px 0;
}

button {
    padding: 10px 20px;
    background: green;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background: darkgreen;
}

/* FOOTER */
footer {
    background: #003366;
    color: white;
    text-align: center;
    padding: 15px;
}

/* HEADINGS */
h2 {
    text-align: center;
    text-decoration: underline;
    color: #007BFF;
    margin-bottom: 20px;
    /*image slider*/
}
.image-slider {
    position: relative;
    width: 300px;
    height: 200px;
}

.image-slider img {
    position: absolute;
    width: 100%;
    height: 150px;
    opacity: 0;
    transition: opacity 1s ease;
}

.image-slider img.active {
    opacity: 1;
}

/* PROPERTY DETAILS */
.details-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 30px;
}

.details-image {
    flex: 1;
}

.details-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
}

.thumbnail-container {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
}

.thumbnail-container img {
    width: 80px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

.thumbnail-container img:hover {
    transform: scale(1.1);
}

.details-info {
    flex: 1;
}

.details-info h2 {
    font-size: 28px;
}
/* For screens smaller than 768px (tablets & mobiles) */
@media (max-width: 768px) {
    .details-container {
        flex-direction: column;  /* Stack images and text vertically */
        padding: 20px;
    }

    .details-image img {
        max-width: 100%;  /* Images resize to fit the screen */
    }

    .thumbnail-container img {
        width: 60px;  /* Make thumbnails smaller on mobile */
    }

    nav {
        flex-direction: column;  /* Stack nav links vertically */
        text-align: center;
    }

    input, textarea {
        width: 90%;  /* Forms use almost full screen on mobile */
    }

    .service-box, .property-card {
        width: 90%;  /* Cards stretch on smaller screens */
    }
}
.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    font-size: 30px;
}

.social-icons a {
    text-decoration: none;
    padding: 10px;
    border-radius: 50%;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

/* WhatsApp Green */
.social-icons .whatsapp {
    background: #25D366;
}

/* Twitter Blue */
.social-icons .twitter {
    background: #1DA1F2;
}

/* Facebook Blue */
.social-icons .facebook {
    background: #1877F2;
}

/* Hover effect */
.social-icons a:hover {
    transform: scale(1.1);
    transition: 0.3s;
}
.contact-icons p {
    font-size: 16px;
    margin: 10px 0;
}

.contact-icons i {
    margin-right: 10px;
    font-size: 18px;
}

/* COLORS */
.phone { color: #2ecc71; }
.whatsapp { color: #25D366; }
.facebook { color: #1877F2; }
.twitter { color: #1DA1F2; }
.instagram { color: #E1306C; }
.email { color: #e67e22; }
.website { color: #34495e; }
.location { color: #e74c3c; }

/* LINKS STYLE */
.contact-icons a {
    text-decoration: none;
    color: #333;
}

.contact-icons a:hover {
    text-decoration: underline;
}