﻿
*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Averia Sans Libre', sans-serif;
background:linear-gradient(135deg,#0b0613,#140a24);
color:#f5f3ff;
line-height:1.6;
}

/*
   TYPOGRAPHY
 */

h1,h2,h3{
font-family:'Comfortaa',sans-serif;
}

h1{
font-size:3rem;
background:linear-gradient(90deg,#a855f7,#e9d5ff);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
margin-bottom:20px;
}

h2{
color:#c4b5fd;
margin-bottom:20px;
}

h3{
margin-bottom:10px;
}

p{
color:#d8b4fe;
max-width:650px;
margin-bottom:20px;
}

/* 
   NAVIGATION
 */

nav{
display:flex;
justify-content:center;
gap:50px;
padding:25px 10%;
background:rgba(255,255,255,0.03);
backdrop-filter:blur(10px);
border-bottom:1px solid rgba(168,85,247,0.2);
}

nav a{
text-decoration:none;
color:#c4b5fd;
font-weight:500;
letter-spacing:1px;
position:relative;
}

nav a:hover{
color:white;
}

/* underline animation */

nav a::after{
content:"";
position:absolute;
width:0;
height:2px;
background:linear-gradient(90deg,#a855f7,#c084fc);
left:0;
bottom:-6px;
transition:0.3s;
}

nav a:hover::after{
width:100%;
}

/* 
   GLOBAL SPACING
 */

body > *:not(nav){
padding:60px 10%;
}

/* 
   HERO SECTION
 */

.hero{
display:flex;
justify-content:space-between;
align-items:center;
min-height:90vh;
}

.hero-text{
max-width:600px;
}

.hero-buttons{
margin-top:30px;
display:flex;
gap:20px;
}

.btn-primary{
padding:12px 24px;
background:linear-gradient(90deg,#a855f7,#c084fc);
border-radius:8px;
text-decoration:none;
color:white;
transition:0.3s;
}

.btn-primary:hover{
transform:translateY(-3px);
box-shadow:0 10px 30px rgba(168,85,247,0.4);
}

.btn-outline{
padding:12px 24px;
border:1px solid #a855f7;
border-radius:8px;
text-decoration:none;
color:#c4b5fd;
}

.btn-outline:hover{
background:rgba(168,85,247,0.1);
}

/* hero image */

.hero-visual{
position:relative;
width:400px;
height:400px;
display:flex;
justify-content:center;
align-items:center;
}


.hero-photo{
width:320px;
height:320px;
object-fit:cover;
border-radius:50%;
border:3px solid rgba(168,85,247,0.4);
box-shadow:0 0 60px rgba(168,85,247,0.4);
}


/* 
   PROJECTS
 */

.projects{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:35px;
margin-top:40px;
}

.project-card{
background:rgba(255,255,255,0.05);
border-radius:20px;
padding:20px;
border:1px solid rgba(168,85,247,0.2);
backdrop-filter:blur(12px);
height:420px;
display:flex;
flex-direction:column;
justify-content:space-between;
}

/* PROJECT IMAGE CONTAINER */

.project-image{
position:relative;
height:320px;
overflow:hidden;
border-radius:16px;
}

/* image + video behave the same */

.project-image img,
.project-image video{
width:100%;
height:100%;
object-fit:cover;
transition:0.3s ease;
display:block;
}

/* hover zoom */

.project-image:hover img,
.project-image:hover video{
transform:scale(1.05);
}

/* make entire thumbnail clickable */

.project-image a{
display:block;
width:100%;
height:100%;
}

/* VIEW PROJECT overlay */

.project-image::after{
content:"View Project";
position:absolute;
bottom:15px;
right:15px;
font-size:0.8rem;
background:linear-gradient(90deg,#a855f7,#c084fc);
padding:6px 12px;
border-radius:8px;
opacity:0;
transition:0.3s;
pointer-events:none;
}

.project-image:hover::after{
opacity:1;
}

/* 
   ABOUT PAGE
 */

.about-section{
display:flex;
align-items:center;
gap:60px;
flex-wrap:wrap;
}

.about-image img{
width:280px;
border-radius:10px;
}

.skills-section{
margin-top:40px;
}

.skills-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:20px;
margin-top:20px;
}

.skill-card{
background:rgba(255,255,255,0.05);
padding:20px;
border-radius:12px;
text-align:center;
border:1px solid rgba(168,85,247,0.2);
backdrop-filter:blur(12px);
color:#f5f3ff;
transition:0.3s ease;
}


.skill-card:hover,
.software-list li:hover{
transform:translateY(-5px);
border-color:#a855f7;
box-shadow:0 10px 25px rgba(168,85,247,0.2);


}

.software-list{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
gap:10px;
list-style:none;
margin-top:20px;

}

.software-list li{
background:rgba(255,255,255,0.05);
padding:20px;
border-radius:12px;
text-align:center;
border:1px solid rgba(168,85,247,0.2);
backdrop-filter:blur(12px);
color:#f5f3ff;
transition:0.3s ease;
}


/* 
   CONTACT
 */

.contact-section{
display:flex;
justify-content:space-between;
gap:60px;
align-items:flex-start;
}

.contact-info{
max-width:450px;
}

.contact-details p{
margin-top:15px;
}

.contact-left-content{
display:flex;
gap:60px;
margin-top:30px;
}

/* social icons */

.social-links{
display:flex;
flex-direction:column;
gap:25px;
}

.social-links a{
display:inline-block;
}

.social-links img{
width:40px;
height:40px;
object-fit:contain;
transition:0.2s;
}

.social-links img:hover{
transform:scale(1.2);
filter:brightness(1.2);
}

/* contact form */

.contact-form-container{
flex:1;
background:rgba(255,255,255,0.05);
padding:40px;
border-radius:20px;
border:1px solid rgba(168,85,247,0.2);
backdrop-filter:blur(12px);
}

.contact-form{
display:flex;
flex-direction:column;
gap:25px;
}

.form-group{
display:flex;
flex-direction:column;
}

.form-group label{
margin-bottom:8px;
color:#c4b5fd;
}

.form-group input,
.form-group textarea{
padding:12px;
border-radius:8px;
border:1px solid rgba(168,85,247,0.3);
background:rgba(255,255,255,0.03);
color:white;
}

.form-group input:focus,
.form-group textarea:focus{
border-color:#a855f7;
box-shadow:0 0 15px rgba(168,85,247,0.3);
}

/* 
   FOOTER
 */

footer{
text-align:center;
padding:40px;
color:#a78bfa;
font-size:0.9rem;
}

/* 
   RESPONSIVE
 */

@media(max-width:768px){

nav{
flex-wrap:wrap;
gap:20px;
padding:20px;
text-align:center;
}

.hero{
flex-direction:column;
text-align:center;
gap:40px;
}

.hero-visual{
width:280px;
height:280px;
}

.hero-photo{
width:240px;
height:240px;
}

.hero-buttons{
flex-direction:column;
align-items:center;
}

.projects{
grid-template-columns:1fr;
}

.project-card{
height:auto;
}

.contact-section{
flex-direction:column;
}

.about-section{
flex-direction:column;
text-align:center;
}

}

