*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    background: white;
    color: black;}

/* Header */
header{
    background:rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 30px;
    box-shadow:0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(200, 155, 60, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header h1{
    font-size: 1.6rem;
    color:#c89b3c;
    font-weight: 700;
    letter-spacing: 0.5px;
}

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

.logo img{
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 8px;
}

.logo h1{
    font-size: 2rem;
    margin: 0;
}

nav a{
    text-decoration:none;
    color:#E2E8F0;
    margin-left:25px;
    font-weight:600;
    transition:  0.3s ;
    display: flex;
    align-items: center;
    gap: 8px;
}

nav a i{
    color: #ffffff;
    font-size: 16px;
}

nav a:hover{
    color:#d4a64a;
    border-bottom: 2px solid #d4a64a;
    padding-bottom: 5px;
}

/* Hero Section */
section:first-of-type{
    background: 
    linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)),
    url("visual\ image.jpeg");
    background-size:cover;
    background-position:center;
    background-repeat: no-repeat;
    height:80vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items: center;
    text-align: center;
    color:white;
}

section:first-of-type h2{
    font-family: playfair Display, serif;
    font-size:70px;
    margin: 0 auto;
    line-height: 1.15;
    font-weight: 700;
    font-style: italic;
    width: 100%;;
    color: white;
}

section:first-of-type p{
    font-size:20px;
    margin-bottom:20px;
}

form{
    display:flex;
    gap:10px;
}

form input{
    padding:12px;
    border:none;
    border-radius:5px;
    width:250px;
}

form button{
    padding:12px 20px;
    background:#d32f2f;
    color:white;
    border:none;
    border-radius:5px;
    cursor:pointer;
}

form button:hover{
    background:#b71c1c;
}

/* Featured Properties */
section:nth-of-type(2){
    padding:60px 8%;
}

section:nth-of-type(2) h2{
    text-align:center;
    margin-bottom:40px;
}

section:nth-of-type(2) div{
    display:inline-block;
    width:30%;
    background:black;
    margin:10px;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 3px 10px rgba(0,0,0,0.1);
}

section:nth-of-type(2) img{
    width:100%;
    height:120px;
    object-fit:cover;
}

section:nth-of-type(2) h3{
    padding:10px;
    color: white;
}

section:nth-of-type(2) p{
    padding:10px;
    color: white;
}

/* About */
section:nth-of-type(3){
    padding:60px 8%;
    text-align:center;
    background:white;
}

section:nth-of-type(3) h2{
    margin-bottom:20px;
}

/* Contact */
section:nth-of-type(4){
    padding:60px 8%;
    text-align:center;
}

section:nth-of-type(4) h2{
    margin-bottom:20px;
}

section:nth-of-type(4) form{
    justify-content:center;
    flex-wrap:wrap;

}

section:nth-of-type(4) input {
    border:2px solid #000000;
    border-radius: 4px;
    padding: 8px 12px;
    margin: 0 10px;
    outline: none;
}

/* Footer */
footer{
    background:#222;
    color:white;
    text-align:center;
    padding:20px;
    margin-top:30px;
}

/* Responsive */
@media(max-width:768px){

    section:first-of-type{
        height: 57vh;
        background-size: cover;
        background-position: center;
    }

    section:first-of-type h2{
        font-size: 28px;
        width: 90%;
    }

    section:first-of-type p{
        font-size: 16px;
    }

    header{
        flex-direction:column;
    }

    nav{
        margin-top:15px;
    }

    section:nth-of-type(2) div{
        display: inline-block;
        width: 46%;
        margin: 1.5%;
        vertical-align: top;
        box-sizing: border-box;
    }

    section:first-of-type h2{
        font-size:35px;
    }

    form{
        flex-direction:column;
    }
}