*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Poppins',sans-serif;
background:#f7f7f7;
scroll-behavior:smooth;
}

/* HEADER */

header{
position:fixed;
width:100%;
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 40px;
/* background:transparent; */
background: #000;
transition:.3s;
z-index:1000;
}

header.scrolled{
background:#000;
}

.logo img{
height:40px;
}

nav ul{
display:flex;
gap:30px;
list-style:none;
}

nav a{
color:white;
text-decoration:none;
}

/* HERO */

.hero{

height:100vh;
position:relative;
display:flex;
align-items:center;
justify-content:center;
color:white;
text-align:center;

}

#heroVideo{
position:absolute;
width: 100vw;
height:100vh;
width: auto;
object-fit:cover;
z-index: -1;
}

.hero-content h1{
font-size:3rem;
}

.btn{
background:#FFD000;
padding:12px 30px;
margin-top:20px;
display:inline-block;
color:black;
text-decoration:none;
font-weight:600;
border-radius:6px;
}

/* SECTIONS */

section{
padding:100px 10%;
text-align:center;
}

h2{
margin-bottom:40px;
}

/* SERVICES */

.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:20px;
}

.card{
background:white;
padding:30px;
border-radius:10px;
box-shadow:0 5px 20px rgba(0,0,0,.1);
}

/* PORTFOLIO */

.portfolio-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

.p-card img{
width:100%;
border-radius:10px;
}

/* TESTIMONIAL */

#testimonial{
max-width:600px;
margin:auto;
font-size:1.2rem;
}

/* CONTACT */

form{
max-width:500px;
margin:auto;
display:flex;
flex-direction:column;
gap:15px;
}

input,textarea{
padding:12px;
border:1px solid #ccc;
}

button{
background:#FFD000;
border:none;
padding:12px;
font-weight:bold;
cursor:pointer;
}

/* FOOTER */

footer{
background:#000;
color:white;
padding:40px;
}

.footer-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:30px;
}

iframe{
width:100%;
height:150px;
}

/* ANIMAÇÃO */

.reveal{
opacity:0;
transform:translateY(40px);
transition:1s;
}

.reveal.active{
opacity:1;
transform:translateY(0);
}

/* MENU MOBILE */

.menu-toggle{
display:none;
flex-direction:column;
cursor:pointer;
}

.menu-toggle span{
height:3px;
width:25px;
background:white;
margin:4px;
}

@media(max-width:768px){

nav{
position:absolute;
top:70px;
right:-100%;
background:black;
width:200px;
height:auto;
transition:.4s;
}

nav.active{
right:0;
}

nav ul{
flex-direction:column;
padding:20px;
}

.menu-toggle{
display:flex;

}

#heroVideo{
display:none;
z-index: -10;
}

.hero{
background: #000;
}

}

