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

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f4f4f5;
    color:#111827;
}

.hero{
    height:560px;
    background:url('images/1.jpeg') center/cover no-repeat;
    position:relative;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.5);
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:70px;
    color:white;
}

.hero h1{
    font-size:72px;
    margin-bottom:10px;
}

.year{
    font-size:28px;
    margin-bottom:25px;
}

.price{
    display:inline-block;
    width:max-content;
    background:#facc15;
    color:#111;
    font-weight:bold;
    padding:14px 24px;
    border-radius:14px;
    font-size:32px;
    margin-bottom:20px;
}

.direct-contact{
    font-size:24px;
    margin-bottom:25px;
}

.direct-contact a{
    color:#60a5fa;
    text-decoration:none;
    font-weight:bold;
}

.btn{
    background:#2563eb;
    color:white;
    text-decoration:none;
    padding:16px 28px;
    border-radius:14px;
    width:max-content;
    font-size:20px;
    font-weight:bold;
}

.container{
    max-width:1450px;
    margin:auto;
    padding:45px 24px;
}

.info-card{
    background:white;
    border-radius:24px;
    padding:40px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    margin-bottom:45px;
}

.info-card h2{
    font-size:42px;
    margin-bottom:20px;
}

.info-card p{
    font-size:24px;
    line-height:1.8;
    margin-bottom:30px;
}

.specs{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:18px;
}

.specs div{
    background:#f3f4f6;
    padding:18px;
    border-radius:14px;
    font-size:20px;
    font-weight:bold;
}

.gallery-title{
    font-size:44px;
    margin-bottom:28px;
}

.gallery{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(430px,1fr));
    gap:24px;
}

.gallery img{
    width:100%;
    height:430px;
    object-fit:cover;
    border-radius:22px;
    box-shadow:0 12px 28px rgba(0,0,0,0.16);
    transition:0.3s;
}

.gallery img:hover{
    transform:scale(1.02);
}

@media(max-width:768px){

    .hero{
        height:470px;
    }

    .overlay{
        padding:28px;
    }

    .hero h1{
        font-size:42px;
    }

    .year,
    .direct-contact{
        font-size:18px;
    }

    .price{
        font-size:24px;
    }

    .btn{
        font-size:17px;
    }

    .info-card h2,
    .gallery-title{
        font-size:30px;
    }

    .info-card p,
    .specs div{
        font-size:18px;
    }

    .gallery{
        grid-template-columns:1fr;
    }

    .gallery img{
        height:300px;
    }
}
