
body{
margin:0;
font-family:Arial,sans-serif;
background:#f8f4ec;
color:#222;
}

header{
position:fixed;
top:0;
width:100%;
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 5%;
background:rgba(0,0,0,.9);
z-index:100;
box-sizing:border-box;
}

.logo{
width:170px;
}

nav a{
color:white;
margin-left:20px;
text-decoration:none;
}

.hero{
height:100vh;
background:url('assets/coastal-homes.jpeg') center/cover no-repeat;
display:flex;
align-items:center;
justify-content:center;
position:relative;
text-align:center;
color:white;
}

.overlay{
position:absolute;
inset:0;
background:rgba(0,0,0,.45);
}

.hero-content{
position:relative;
z-index:2;
max-width:700px;
padding:20px;
}

.hero h1{
font-size:70px;
margin:0;
}

.hero p{
font-size:22px;
margin:20px 0;
}

.button{
display:inline-block;
background:#caa14a;
padding:14px 26px;
border-radius:50px;
color:black;
text-decoration:none;
font-weight:bold;
border:none;
cursor:pointer;
font-size:16px;
}

.button.light{
background:white;
}

.intro,.about,.map-section{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
align-items:center;
padding:100px 8%;
}

.intro img,.about img,.map-section img{
width:100%;
border-radius:20px;
}

.small-title{
letter-spacing:3px;
color:#a78a4b;
font-weight:bold;
}

.services{
padding:100px 8%;
background:#111;
color:white;
}

.services h2{
text-align:center;
font-size:50px;
margin-bottom:50px;
}

.cards{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
}

.card{
background:white;
color:black;
border-radius:20px;
overflow:hidden;
}

.card img{
width:100%;
height:260px;
object-fit:cover;
}

.card-text{
padding:25px;
}

.contact{
padding:120px 8%;
background:url('assets/marina.jpeg') center/cover no-repeat;
position:relative;
color:white;
}

.contact::before{
content:'';
position:absolute;
inset:0;
background:rgba(0,0,0,.62);
}

.contact-inner{
position:relative;
z-index:2;
max-width:760px;
margin:auto;
text-align:center;
}

.contact h2{
font-size:50px;
margin:0 0 15px;
}

.contact-buttons{
display:flex;
justify-content:center;
gap:15px;
flex-wrap:wrap;
margin:25px 0 35px;
}

form{
background:rgba(255,255,255,.96);
color:#222;
padding:30px;
border-radius:22px;
text-align:left;
box-shadow:0 20px 50px rgba(0,0,0,.25);
}

label{
display:block;
font-weight:bold;
margin-bottom:18px;
}

input,select,textarea{
width:100%;
padding:13px;
margin-top:7px;
border:1px solid #ccc;
border-radius:10px;
font-size:16px;
box-sizing:border-box;
font-family:Arial,sans-serif;
}

textarea{
resize:vertical;
}

.submit-button{
width:100%;
margin-top:5px;
}

.hidden{
display:none;
}

footer{
background:black;
color:white;
text-align:center;
padding:40px;
}

footer a{
color:white;
}

.footer-logo{
width:240px;
}

.thank-you{
min-height:100vh;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
text-align:center;
background:#111;
color:white;
padding:30px;
}

.thank-you h1{
font-size:56px;
margin-bottom:10px;
}

@media(max-width:900px){
header{
position:static;
display:block;
text-align:center;
}

.logo{
margin-bottom:12px;
}

nav a{
display:inline-block;
margin:8px;
}

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

.cards,.intro,.about,.map-section{
grid-template-columns:1fr;
}

.contact h2{
font-size:38px;
}
}
