
body{
font-family:Arial;
margin:0;
background:#f4f4f4;
color:#222;
}

header{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 40px;
background:#0c7785;
color:white;
}

.logo{
display:flex;
align-items:center;
gap:10px;
}

.logo img{
height:60px;
width:auto;
display:block;
}

nav{
display:flex;
gap:15px;
flex-wrap:wrap;
}

nav a{
color:white;
text-decoration:none;
font-weight:bold;
}

main{
padding:40px;
}

.hero{
background:white;
padding:60px;
border-radius:20px;
text-align:center;
}

.btn{
display:inline-block;
background:#2563eb;
color:white;
padding:10px 18px;
border-radius:8px;
text-decoration:none;
border:none;
cursor:pointer;
margin-top:10px;
margin-right:10px;
}

.outline{
background:#111827;
}

.danger{
background:#dc2626;
}

.card{
background:white;
padding:25px;
border-radius:18px;
margin-bottom:20px;
box-shadow:0 2px 10px rgba(0,0,0,0.08);
}

input, select{
width:100%;
padding:12px;
margin-top:10px;
margin-bottom:10px;
border-radius:8px;
border:1px solid #ccc;
box-sizing:border-box;
}

.listings-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px;
}
@media (max-width: 900px){

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

}
.listing-card{
    background:white;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 4px 15px rgba(0,0,0,0.1);
    transition:0.25s;
    display:flex;
    flex-direction:column;
}

.listing-card:hover{
    transform:translateY(-5px);
    box-shadow:0 8px 25px rgba(0,0,0,0.15);
}

.listing-link{
text-decoration:none;
color:black;
}

.listing-image{
    width:100%;
    height:250px;
    object-fit:cover;
    display:block;
}

.listing-content{
    padding:20px;
}
.listing-content h3{
    margin:10px 0;
}
.detail-image{
width:100%;
max-height:450px;
object-fit:cover;
border-radius:12px;
margin-bottom:20px;
}

.mini-image{
width:200px;
border-radius:10px;
margin-bottom:10px;
}
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

label {
    font-weight: bold;
    margin-top: 10px;
}

input,
textarea,
select {
    padding: 10px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

h3 {
    margin-top: 25px;
}
.listing-image{
    width:100%;
    height:220px;
    object-fit:cover;
}

.detail-image{
    width:100%;
    max-height:500px;
    object-fit:cover;
    border-radius:10px;
}

.gallery{
    display:flex;
    gap:10px;
    margin:15px 0;
    flex-wrap:wrap;
}

.thumb{
    width:100px;
    height:100px;
    object-fit:cover;
    cursor:pointer;
    border-radius:8px;
}

.mini-image{
    width:250px;
    height:150px;
    object-fit:cover;
    border-radius:8px;
}

.price{
    font-size:1.5rem;
    font-weight:700;
    color:#1f7a1f;
    margin-bottom:10px;
}

.address{
    color:#666;
    margin-bottom:15px;
}

.features{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
    margin-bottom:15px;
}

.feature{
    background:#f3f3f3;
    padding:6px 12px;
    border-radius:20px;
    font-size:0.9rem;
}

.nav-inline-form{
display:inline;
margin:0;
padding:0;
}

.nav-inline-form input[type="hidden"]{
display:none;
}

.nav-link-button{
background:none;
border:none;
color:white;
font:inherit;
font-weight:bold;
padding:0;
cursor:pointer;
}

.nav-link-button:hover{
text-decoration:underline;
}
