/* Google Font */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Inter',sans-serif;
}

body{
background:#050505;
color:white;
overflow-x:hidden;
}

/* NAVBAR */

nav{
position:fixed;
top:0;
width:100%;
display:flex;
justify-content:space-between;
align-items:center;
padding:22px 60px;
background:rgba(10,10,10,.45);
backdrop-filter:blur(18px);
border-bottom:1px solid rgba(255,255,255,.08);
z-index:999;
transition:.3s;
}

nav h1{
font-weight:600;
letter-spacing:2px;
font-size:20px;
}

nav ul{
display:flex;
gap:28px;
list-style:none;
}

nav a{
text-decoration:none;
color:white;
font-weight:500;
opacity:.9;
transition:.3s;
}

nav a:hover{
opacity:1;
}

/* HERO */

.hero{
height:100vh;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
position:relative;
}

.hero video{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
object-fit:cover;
z-index:-2;
}

.hero::after{
content:"";
position:absolute;
width:100%;
height:100%;
background:rgba(0,0,0,.55);
z-index:-1;
}

.hero-content{
padding:70px;
border-radius:24px;
background:rgba(255,255,255,0.06);
backdrop-filter:blur(20px);
border:1px solid rgba(255,255,255,.15);
box-shadow:0 20px 60px rgba(0,0,0,.6);
animation:fadeUp 1s ease;
}

.hero h2{
font-size:54px;
margin-bottom:15px;
letter-spacing:1px;
}

.hero p{
opacity:.9;
margin-bottom:35px;
}

/* BUTTON */

.btn{
padding:14px 34px;
border-radius:40px;
border:1px solid rgba(255,255,255,.7);
color:white;
text-decoration:none;
font-weight:500;
background:transparent;
transition:.35s;
}

.btn:hover{
background:rgba(255,255,255,.15);
transform:translateY(-2px);
}

/* SECTIONS */

.section{
padding:130px 10%;
max-width:1300px;
margin:auto;
}

.section h2{
font-size:38px;
margin-bottom:30px;
}

.section p{
line-height:1.7;
opacity:.9;
}

/* PROJECTS GRID */

.projects{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:35px;
margin-top:40px;
}

.project{
overflow:hidden;
border-radius:18px;
background:rgba(255,255,255,.05);
border:1px solid rgba(255,255,255,.08);
box-shadow:0 15px 40px rgba(0,0,0,.6);
cursor:pointer;
transition:.35s;
}

.project:hover{
transform:translateY(-8px) scale(1.02);
}

.project img{
width:100%;
display:block;
transition:.5s;
}

.project:hover img{
transform:scale(1.1);
}

/* LIGHTBOX */

.lightbox{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.92);
display:none;
align-items:center;
justify-content:center;
z-index:2000;
animation:fadeIn .3s;
}

.lightbox img{
max-width:90%;
max-height:85%;
border-radius:12px;
}

/* FORM */

form{
display:flex;
flex-direction:column;
gap:18px;
max-width:520px;
margin-top:30px;
}

input,textarea{
padding:14px;
border-radius:10px;
border:1px solid rgba(255,255,255,.2);
background:rgba(255,255,255,.04);
color:white;
font-size:15px;
}

textarea{
height:140px;
resize:none;
}

/* FOOTER */

footer{
margin-top:80px;
text-align: center;
padding:50px 10%;
background:#020202;
display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;
border-top:1px solid rgba(255,255,255,.08);
}

footer p{
opacity:.6;
font-size:14px;
text-align: center;
}

.social{
text-align: center;
display:flex;
gap:18px;
}

.social a{
font-size:22px;
text-align: center;
color:white;
opacity:.8;
transition:.3s;
}

.social a:hover{
opacity:1;
transform:translateY(-2px);
}

/* ANIMATIONS */

@keyframes fadeUp{
from{
opacity:0;
transform:translateY(40px);
}
to{
opacity:1;
transform:translateY(0);
}
}

@keyframes fadeIn{
from{opacity:0}
to{opacity:1}
}

/* MOBILE */

@media(max-width:768px){

nav{
padding:18px 30px;
}

nav ul{
gap:18px;
font-size:14px;
}

.hero h2{
font-size:36px;
}

.hero-content{
padding:40px;
}




}

}


