*{
margin:0;
padding:0;
box-sizing:border-box;
scroll-behavior:smooth;
font-family:'Poppins',sans-serif;
}

body{
background:#0f0f14;
color:white;
overflow-x:hidden;
}

.section{
min-height:100vh;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
padding:100px 10%;
}

/* ================= NAVBAR ================= */

.navbar{
position:fixed;
top:0;
width:100%;
background:rgba(15,15,20,0.95);
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 10%;
z-index:1000;
backdrop-filter:blur(10px);
}

.logo{
font-weight:800;
font-size:1.5rem;
color:#8b5cf6;
}

.nav-links{
display:flex;
list-style:none;
gap:30px;
}

.nav-links a{
text-decoration:none;
color:white;
transition:0.3s;
position:relative;
}

.nav-links a:hover,
.nav-links a.active{
color:#8b5cf6;
}

/* ================= HAMBURGER ================= */

.hamburger{
display:none;
flex-direction:column;
gap:6px;
cursor:pointer;
z-index:1100;
}

.hamburger span{
width:28px;
height:3px;
background:white;
transition:0.3s;
}

/* X animation */
.hamburger.active span:nth-child(1){
transform:rotate(45deg) translate(5px,5px);
}

.hamburger.active span:nth-child(2){
opacity:0;
}

.hamburger.active span:nth-child(3){
transform:rotate(-45deg) translate(6px,-6px);
}

/* ================= HOME ================= */

.home{
text-align:center;
}

.home-content{
display:flex;
flex-direction:column;
align-items:center; /* TRUE CENTER */
justify-content:center;
width:100%;
}

.profile-img{
width:180px;
height:180px;
border-radius:50%;
object-fit:cover;
border:4px solid #8b5cf6;
box-shadow:0 0 40px #8b5cf6;
margin-bottom:30px;
display:block;
}

.home h1{
font-size:3rem;
font-weight:800;
line-height:1.2;
}

.gradient-text{
background:linear-gradient(90deg,#8b5cf6,#3b82f6);
-webkit-background-clip:text;
color:transparent;
}

/* ================= WORK ================= */

.section-title{
font-size:2.5rem;
margin-bottom:40px;
text-align:center;
}

.work-toggle{
display:flex;
gap:40px;
margin-bottom:40px;
cursor:pointer;
}

.work-toggle h3{
opacity:0.6;
transition:0.3s;
}

.work-toggle h3:hover{
opacity:1;
color:#8b5cf6;
}

.active-work{
opacity:1 !important;
color:#8b5cf6;
}

.video-container{
display:none;
gap:30px;
flex-wrap:wrap;
justify-content:center;
}

.video-container iframe{
width:320px;
height:500px;
border-radius:15px;
box-shadow:0 0 25px #8b5cf6;
}

.active-videos{
display:flex;
}

/* ================= ABOUT ================= */

.about-container{
display:flex;
align-items:center;
justify-content:space-between;
gap:60px;
width:100%;
max-width:1100px;
}

.about-left{
flex:1;
display:flex;
justify-content:flex-start;
}

.about-left img{
width:320px;
border-radius:20px;
box-shadow:0 0 30px #8b5cf6;
}

.about-right{
flex:1;
}

.about-right h2{
margin-bottom:20px;
font-size:2rem;
}

/* ================= CONTACT ================= */

.contact-wrapper{
display:flex;
gap:60px;
flex-wrap:wrap;
width:100%;
max-width:1000px;
}

.contact-info{
flex:1;
}

.contact-info a{
display:block;
margin-top:10px;
color:#8b5cf6;
text-decoration:none;
transition:0.3s;
}

.contact-info a:hover{
text-shadow:0 0 10px #8b5cf6;
}

form{
flex:1;
display:flex;
flex-direction:column;
gap:20px;
}

form input, form textarea{
padding:15px;
background:#1a1a24;
border:none;
border-radius:10px;
color:white;
outline:none;
}

form textarea{
resize:none;
height:150px;
}

form button{
padding:15px;
background:#8b5cf6;
border:none;
border-radius:10px;
cursor:pointer;
transition:0.3s;
font-weight:600;
}

form button:hover{
background:#3b82f6;
box-shadow:0 0 20px #3b82f6;
}

/* ================= MOBILE ================= */

@media(max-width:768px){

.nav-links{
position:fixed;
right:-100%;
top:0;
height:100vh;
width:260px;
background:#0f0f14;
flex-direction:column;
align-items:center;
justify-content:center;
gap:40px;
transition:0.4s;
}

.nav-links.active{
right:0;
}

.hamburger{
display:flex;
}

.about-container{
flex-direction:column;
text-align:center;
}

.about-left{
justify-content:center;
}
}
