*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial,sans-serif;
    color:#333;
    line-height:1.6;
}

.container{
    width:100%;
    max-width:1200px;
    margin:auto;
}

.hero{
    height:90vh;

    background:
    linear-gradient(rgba(0,0,0,.25),
    rgba(0,0,0,.25)),
    url("img/hero.png");

    background-size:cover;
    background-position:center;

    display:flex;
    align-items:center;
}

.hero-content{
    color:white;
    max-width:600px;
    margin-left:8%;
}

.hero h1{
    font-size:60px;
    margin-bottom:20px;
}

.hero p{
    font-size:22px;
    margin-bottom:30px;
}

.btn{
    display:inline-block;

    background:#ffffff;
    color:#111;

    text-decoration:none;

    padding:15px 35px;
    border-radius:30px;

    font-weight:bold;
}

section{
    padding:80px 0;
}

h2{
    text-align:center;
    margin-bottom:50px;
    font-size:40px;
}

.features{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.feature{
    background:#f5f5f5;
    padding:30px;
    text-align:center;
    border-radius:12px;
}

.apartments {
    padding: 80px 0;
    background: #f7f3ec;
}

.apartments h2 {
    text-align: center;
    margin-bottom: 45px;
}

.apartments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.apartment-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.apartment-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.apartment-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.apartment-info {
    padding: 22px;
}

.apartment-info h3 {
    margin: 14px 0 10px;
    font-size: 21px;
}

.apartment-info p {
    color: #555;
    font-size: 15px;
    margin-bottom: 16px;
}

.apartment-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.apartment-info li {
    margin-bottom: 7px;
    color: #333;
    font-size: 14px;
}

.status {
    display: inline-block;
    padding: 6px 13px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.status.available {
    background: #d1fae5;
    color: #047857;
}

.status.occupied {
    background: #fee2e2;
    color: #b91c1c;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.gallery-grid img{
    width:100%;
    border-radius:12px;
    display:block;
}

.description p{
    max-width:900px;
    margin:auto;
    text-align:center;
    font-size:20px;
}

.contact{
    background:#f7f7f7;
    text-align:center;
}

.contact p{
    margin-bottom:30px;
    font-size:20px;
}

.location {
    background: #f7f7f7;
    text-align: center;
}

.location p {
    font-size: 20px;
    margin-bottom: 30px;
}

.map-box {
    width: 100%;
    max-width: 900px;
    height: 420px;
    margin: 0 auto 30px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.map-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media(max-width:768px) {
    .map-box {
        height: 320px;
    }


    .hero h1{
        font-size:40px;
    }

    .gallery-grid{
        grid-template-columns:1fr;
    }
    
        .apartments-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .apartments-grid {
        grid-template-columns: 1fr;
    }

    .apartment-card img {
        height: 240px;
    }

}