:root{
 --bg:#ffffff;
 --text:#111111;
 --secondary:#666;
}

.dark{
 --bg:#0d0d0d;
 --text:#ffffff;
 --secondary:#999;
}

*{
 margin:0;
 padding:0;
 box-sizing:border-box;
}

html{
 scroll-behavior:smooth;
}

body{
 background:var(--bg);
 color:var(--text);
 font-family:'Inter',sans-serif;
 transition:.4s;
 overflow-x:hidden;
}

.navbar{
 position:fixed;
 top:0;
 width:100%;
 padding:30px 5%;
 display:flex;
 justify-content:space-between;
 align-items:center;
 z-index:100;
 backdrop-filter:blur(10px);
}

.navbar ul{
 display:flex;
 gap:30px;
 list-style:none;
}

.navbar a{
 text-decoration:none;
 color:var(--text);
}

#themeToggle{
 background:none;
 border:none;
 font-size:20px;
 cursor:pointer;
 color:var(--text);
}

.hero{
 height:100vh;
 position:relative;
 overflow:hidden;
}

.hero img{
 width:100%;
 height:100%;
 object-fit:cover;
}

.overlay{
 position:absolute;
 inset:0;
 background:rgba(0,0,0,.35);
}

.hero-content{
 position:absolute;
 bottom:10%;
 left:7%;
 max-width:900px;
 color:white;
}

.hero-content span{
 text-transform:uppercase;
 letter-spacing:2px;
}

.hero-content h1{
 font-size:clamp(3rem,8vw,8rem);
 line-height:0.95;
 margin-top:20px;
}

.projects{
 padding:120px 5%;
 display:grid;
 grid-template-columns:repeat(2,1fr);
 gap:40px;
}

.project{
 overflow:hidden;
 border-radius:25px;
 cursor:pointer;
}

.project img{
 width:100%;
 height:600px;
 object-fit:cover;
 transition:1s;
}

.project:hover img{
 transform:scale(1.08);
}

.project h2{
 margin-top:20px;
 font-size:2rem;
}

.about{
 padding:150px 10%;
 display:grid;
 grid-template-columns:1fr 2fr;
 gap:80px;
}

.about h2{
 font-size:4rem;
}

.about p{
 font-size:2rem;
 line-height:1.5;
}

.stats{
 padding:150px 5%;
 display:flex;
 justify-content:space-around;
 text-align:center;
}

.stats h3{
 font-size:5rem;
}

.contact{
 padding:200px 10%;
 text-align:center;
}

.contact h2{
 font-size:clamp(3rem,7vw,7rem);
 margin-bottom:40px;
}

.contact a{
 display:inline-block;
 text-decoration:none;
 color:white;
 background:black;
 padding:20px 40px;
 border-radius:100px;
}

.cursor{
 width:20px;
 height:20px;
 border:2px solid white;
 border-radius:50%;
 position:fixed;
 pointer-events:none;
 z-index:9999;
 transform:translate(-50%,-50%);
 mix-blend-mode:difference;
}

@media(max-width:768px){

.projects{
 grid-template-columns:1fr;
}

.about{
 grid-template-columns:1fr;
}

.stats{
 flex-direction:column;
 gap:60px;
}
}