* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.header {
    width: 100%;
    background: #0d1625;
    padding: 15px 5%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;
    height: 80px;
}


.header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.logo img {
    width: 150px;
    cursor: pointer;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    margin-top: 15px;
    gap: 25px;
}

.nav-links li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: #00aaff;
}


.loginbtn {
    background: #007bff;
    border: none;
    padding: 3px 18px;
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s ease;
}

.loginbtn:hover {
    background: #005fcc;
    transform: scale(1.05);
}


.menu-icon {
    display: none;
    font-size: 28px;
    color: #ffffff;
    cursor: pointer;
}


@media (max-width: 768px) {

    .menu-icon {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: -600px; 
        left: 0;
        width: 100%;
        background: #0d1625;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 40px 0 30px 0;
        transition: 0.4s ease;
        box-shadow: 0px 8px 20px rgba(0,0,0,0.25);
    }

    .nav-links.active {
        top: 60px; 
    }

    .nav-links li a {
        font-size: 18px;
    }

    .loginbtn {
        font-size: 18px;
        padding: 10px 28px;
    }
}

@media (max-width: 480px) {
    .logo img {
        width: 130px;
    }

    .nav-links li a {
        font-size: 17px;
    }
}

/* section hero */

.property-hero {
    position: relative;
    height: 80vh;
    width: 100%;
    background-image: url('./image/lake.view.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.property-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.45);
}

.property-hero-content {
    position: relative;
    text-align: center;
    color: #fff;
    max-width: 700px;
    padding: 20px;
}

.property-hero-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: bold;
}

.property-hero-content p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.9;
}



@media (max-width: 768px) {
    .property-hero-content h1 {
        font-size: 34px;
    }

    .property-search-box {
        flex-direction: column;
    }

    .property-search-box input {
        width: 100%;
    }

    .property-search-box button {
        width: 100%;
        justify-content: center;
    }
}







/* section search */

.property-search-list {
    padding: 40px;
    background: #f8f8f8;
}

.property-search-input {
    text-align: center;
    margin-bottom: 30px;
}

.property-search-input input {
    width: 60%;
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 16px;
}

/* Cards Grid */
.property-card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.property-card {
    background: linear-gradient(135deg, rgb(48, 245, 130), aqua, rgb(48, 245, 130));
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.2s;
}

.property-card:hover {
    transform: translateY(-6px);
}

.property-card img {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    object-fit: cover;
}

.property-card h3 {
    font-size: 20px;
    margin-top: 10px;
}

.property-card .location {
    color: #666;
    margin: 8px 0;
}

.property-card .price {
    font-weight: bold;
    color: #0d7a1d;
    font-size: 18px;
}



/* section properties */

.property-section {
    padding: 40px;
    background: #f7f7f7;
}

.property-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

/* LEFT SIDE */
.property-left {
    flex: 1 1 45%;
}

.main-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Thumbnails */
.thumbnail-gallery {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.thumbnail-gallery img {
    width: 80px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.thumbnail-gallery img:hover {
    transform: scale(1.05);
}

/* RIGHT SIDE */
.property-right {
    flex: 1 1 45%;
    background: linear-gradient(135deg, rgb(0, 255, 94), aqua, rgb(0, 255, 38));
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.property-title {
    font-size: 26px;
    margin-bottom: 10px;
}

.price {
    font-size: 22px;
    color: #0c6b1f;
    font-weight: bold;
}

.location, .rating {
    margin: 8px 0;
    color: #444;
}

.rating i {
    color: #f4b400;
}

.desc {
    margin-top: 15px;
    line-height: 1.6;
}

.features {
    margin-top: 15px;
    list-style: none;
    padding: 0;
}

.features li {
    margin-bottom: 8px;
}

.features i {
    color: green;
}

.contact-btn {
    margin-top: 20px;
    background:#007bff;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.contact-btn:hover {
    background:#0056b3;
}

.property-container reverse {
    flex-direction: row-reverse;
}



@media (max-width: 992px) {
    .property-container {
        flex-direction: column;
        gap: 20px;
    }

    .property-left, .property-right {
        flex: 1 1 100%;
    }

    .main-image img {
        height: 320px;
    }

    .thumbnail-gallery img {
        width: 70px;
        height: 60px;
    }

    .property-title {
        font-size: 24px;
    }

    .price {
        font-size: 20px;
    }
}


@media (max-width: 768px) {
    .property-section {
        padding: 20px;
    }

    .main-image img {
        height: 250px;
    }

    .thumbnail-gallery img {
        width: 60px;
        height: 55px;
    }

    .property-title {
        font-size: 22px;
    }

    .price {
        font-size: 18px;
    }

    .contact-btn {
        width: 100%;
        text-align: center;
        padding: 14px;
        font-size: 17px;
    }
}


@media (max-width: 480px) {

    .property-title {
        font-size: 20px;
    }

    .main-image img {
        height: 200px;
    }

    .thumbnail-gallery img {
        width: 50px;
        height: 45px;
    }

    .price {
        font-size: 16px;
    }

    .desc {
        font-size: 14px;
    }

    .contact-btn {
        font-size: 15px;
        padding: 12px;
    }
}


/* Footer Section */
.footer {
    background: #0d1b2a;
    color: #ffffff;
    padding-top: 60px;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    padding: 0 8%;
}

/* About Section */
.footer-about {
    flex: 1;
    min-width: 260px;
}

.footer-about img {
    width: 160px;
    margin-bottom: 15px;
}

.footer-about p {
    font-size: 15px;
    line-height: 1.7;
    color: #dfe6ee;
    max-width: 320px;
}


.footer h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #ffcc66;
    font-weight: 600;
}


.footer-links,
.footer-support {
    flex: 1;
    min-width: 200px;
}

.footer-links ul,
.footer-support ul {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-support li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-support a {
    color: #dfe6ee;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.footer-links a:hover,
.footer-support a:hover {
    color: #ffcc66;
    padding-left: 5px;
}


.footer-contact {
    flex: 1;
    min-width: 260px;
}

.footer-contact p {
    font-size: 15px;
    margin-bottom: 8px;
    color: #dfe6ee;
}

.social-icon {
    margin-top: 10px;
}

.social-icon a {
    display: inline-block;
    margin-right: 10px;
    font-size: 18px;
    color:  #dfe6ee;
    background: rgba(13, 6, 230, 0.1);
    padding: 10px 12px;
    border-radius: 50%;
    transition: 0.3s ease;
}

.social-icon a:hover {
    background: #ffcc66;
    color: #0d1b2a;
}


.footer-bottom {
    text-align: center;
    padding: 18px 0;
    margin-top: 40px;
    background: #0a1622;
    font-size: 14px;
    color: #c8d2dc;
}

.footer-bottom p {
    margin: 0;
}


@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-about p {
        max-width: 100%;
    }

    .social-icon a {
        margin: 0 8px;
    }
}
