*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
scroll-behavior:smooth;
}

body{
background:#f7f7f7;
color:#222;
line-height:1.7;
}


/* NAVBAR */

header{
position:fixed;
width:100%;
top:0;
left:0;
z-index:1000;
padding:20px 8%;
transition:.4s;
}

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
}

.logo img{
height:65px;
}

.nav-links{
display:flex;
gap:30px;
list-style:none;
}

.nav-links a{
text-decoration:none;
color:white;
font-weight:500;
font-size:15px;
transition:.3s;
}

.nav-links a:hover{
color:#31d6d6;
}

.btn-nav{
background:#31d6d6;
padding:12px 25px;
border-radius:30px;
text-decoration:none;
color:white;
font-weight:600;
}


/* HERO */

.hero{
height:100vh;
background:url("images/hero.jpg");
background-size:cover;
background-position:center;
position:relative;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
}

.overlay{
position:absolute;
width:100%;
height:100%;
background:rgba(0,0,0,.45);
}

.hero-content{
position:relative;
z-index:10;
max-width:850px;
padding:20px;
color:white;
}

.hero-content h1{
font-size:68px;
line-height:1.1;
margin-bottom:20px;
}

.hero-content p{
font-size:20px;
margin-bottom:30px;
}


.hero-buttons{
display:flex;
justify-content:center;
gap:15px;
flex-wrap:wrap;
}

.btn-primary,
.btn-secondary{

padding:15px 35px;
border-radius:30px;
text-decoration:none;
font-weight:600;
transition:.4s;

}

.btn-primary{
background:#31d6d6;
color:white;
}

.btn-secondary{

border:2px solid white;
color:white;

}

.btn-primary:hover,
.btn-secondary:hover{

transform:translateY(-5px);

}


/* ABOUT */

.about{

padding:100px 8%;
background:white;
text-align:center;

}

.about h2{

font-size:40px;
margin-bottom:25px;
color:#0f6f73;

}

.container{

max-width:900px;
margin:auto;

}



/* SAFARI */

.safari{

padding:100px 8%;

}

.safari h2{

text-align:center;
font-size:42px;
margin-bottom:50px;
color:#0f6f73;

}

.cards{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(330px,1fr));
gap:30px;

}

.card{

height:500px;
position:relative;
overflow:hidden;
border-radius:25px;
cursor:pointer;
box-shadow:0 10px 25px rgba(0,0,0,.15);

}

.card img{

width:100%;
height:100%;
object-fit:cover;
transition:1s;

}

.card:hover img{

transform:scale(1.1);

}

.card-content{

position:absolute;
bottom:0;
padding:30px;
width:100%;
background:linear-gradient(
transparent,
rgba(0,0,0,.95)
);

color:white;

}

.card-content span{

background:#31d6d6;
padding:8px 15px;
border-radius:20px;
font-size:12px;

}

.card-content h3{

font-size:30px;
margin-top:15px;

}

.card-content a{

display:inline-block;
margin-top:15px;
color:#31d6d6;
text-decoration:none;
font-weight:600;

}



/* EXCURSIONS */

.excursions{

padding:100px 8%;
background:#0f6f73;
color:white;
text-align:center;

}

.excursions h2{

font-size:42px;
margin-bottom:20px;

}



/* FOOTER */

footer{

background:black;
color:white;
padding:30px;
text-align:center;

}



/* MOBILE */

@media(max-width:900px){

.nav-links{

display:none;

}

.hero-content h1{

font-size:42px;

}

.hero-content p{

font-size:17px;

}

}
