body {
    margin: 0;
    background: #f3f4f6;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #223;
}

.header {
    background: #143761;
    color: #fff;
    padding: 20px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-icon {
    font-size: 28px;
    cursor: pointer;
    display: inline-block;
}

.logo {
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 1px;
}

.header-right {
    font-size: 24px;
}

.user-icon {
    font-size: 26px;
}

.search-section {
    background: #fff;
    padding: 25px 0;
    display: flex;
    justify-content: center;
    box-shadow: 0 1px 8px rgba(80,80,80,0.03);
}

.search-input {
    width: 60%;
    padding: 10px 18px;
    border: 1.5px solid #e2e8f0;
    border-radius: 999px;
    font-size: 1.1rem;
    transition: border-color 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: #2563eb;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 90%;
    max-width: 1050px;
    margin: 40px auto 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 16px rgba(44, 68, 103, 0.1);
    background: #fff;
    min-height: 260px;
}

.hero-slide {
    display: none;
    height: 260px;
    background-size: cover;
    background-position: center;
    position: absolute;
    width: 100%;
    top: 0; left: 0;
    transition: opacity 0.8s;
}

.hero-slide.active {
    display: block;
    position: relative;
    opacity: 1;
}

.hero-content {
    position: absolute;
    left: 0; bottom: 0;
    padding: 32px 40px;
    background: linear-gradient(0deg, rgba(28,32,41,0.87) 60%, rgba(0,0,0,0) 100%);
    width: 100%;
    color: #fff;
}

.hero-details {
    font-size: 1.06rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 7px;
}

.hero-desc {
    font-size: 1.02rem;
    color: #d9e2ef;
    margin-bottom: 12px;
}

.hero-price {
    font-size: 1.4rem;
    font-weight: bold;
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    right: 26px;
    z-index: 3;
}

.slider-dots .dot {
    display: inline-block;
    height: 11px; width: 11px;
    margin: 0 2px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.2s;
}

.slider-dots .dot.active {
    opacity: 1;
    background: #2563eb;
}

/* Deals Section */
.deals-section {
    max-width: 1050px;
    margin: 50px auto 0 auto;
    padding: 0 10px;
    background: none;
}

.deals-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.deals-desc {
    text-align: center;
    color: #8590ad;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.deals-listings {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

@media (max-width: 800px) {
    .deals-listings {
        grid-template-columns: 1fr;
    }
    .hero-slider { min-height: 180px; }
    .hero-content { padding: 16px 20px;}
}

.listing-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 10px rgba(44, 68, 103, 0.10);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.listing-img {
    width: 100%;
    height: 210px;
    background-size: cover;
    background-position: center;
}

.listing-content {
    padding: 20px 22px 16px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.listing-badges {
    margin-bottom: 7px;
}
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 9px;
    font-size: 0.74rem;
    font-weight: 600;
    margin-right: 6px;
}
.badge-featured { background: #dbffe4; color: #11b43a; }
.badge-rent { background: #f2f3f6; color: #3b3d45; }

.listing-title {
    font-weight: 500;
    font-size: 1.17rem;
    margin-bottom: 3px;
}

.listing-price {
    color: #2563eb;
    font-size: 1.16rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.listing-info span {
    font-size: 0.96rem;
    margin-right: 17px;
}

.listing-actions {
    margin-top: 13px;
}
.listing-actions button {
    background: #f3f5f7;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    margin-right: 9px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.18s;
}
.listing-actions button:hover {
    background: #e0e8fa;
}

/* Footer */
.footer {
    margin-top: 48px;
    background: #143761;
    color: #fff;
    padding: 48px 10% 20px 10%;
}

.footer-sections {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1050px;
    margin: 0 auto;
}

.footer-section {
    flex: 1 1 210px;
    min-width: 180px;
    margin-bottom: 30px;
}

.footer-section h5 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #b1c6e7;
    text-decoration: none;
    font-size: 1.03rem;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.newsletter-form {
    display: flex;
    margin-bottom: 8px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 8px 10px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 8px 18px;
    border: none;
    background: #2563eb;
    color: #fff;
    font-size: 1rem;
    border-radius: 0 5px 5px 0;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
.newsletter-form button:hover {
    background: #1d4ed8;
}

.newsletter-desc {
    font-size: 0.95rem;
    color: #b1c6e7;
}

.footer-social {
    margin-top: 24px;
    text-align: center;
    color: #b1c6e7;
    font-size: 1.07rem;
    letter-spacing: 0.7px;
}

.footer-social span {
    margin-right: 14px;
}

@media (max-width: 700px) {
    .footer-sections {
        flex-direction: column;
        gap: 10px;
    }
    .footer-section {
        margin-bottom: 20px;
    }
    .deals-listings {
        grid-template-columns: 1fr;
    }
    .search-input {
        width: 92%;
    }
}
