/*GOOGLE FONT*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* RESET*/
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#050816;
    color:#fff;
    overflow-x:hidden;
    position:relative;
}

/*CYBER BACKGROUND*/

body::before{
    content:"";
    position:fixed;
    inset:0;
    background-image:
    linear-gradient(rgba(0,229,255,.05) 1px,transparent 1px),
    linear-gradient(90deg,rgba(0,229,255,.05) 1px,transparent 1px);
    background-size:55px 55px;
    z-index:-2;
}

body::after{
    content:"";
    position:fixed;
    inset:0;
    background:
    radial-gradient(circle at top left,#00e5ff18,transparent 40%),
    radial-gradient(circle at bottom right,#2563eb18,transparent 40%);
    z-index:-1;
}

/*NAVBAR*/

header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:1000;
}

nav{
    width:90%;
    max-width:1200px;
    margin:20px auto;
    padding:15px 30px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    background:rgba(164, 9, 20, 0.059);
    backdrop-filter:blur(10px);

    border:1px solid rgba(255,255,255,.08);
    border-radius:15px;
}

.logo{
    font-size:28px;
    font-weight:700;
}

.logo span{
    color:red;
}

nav ul{
    display:flex;
    list-style:none;
    gap:35px;
}

nav ul li a{
    color:red;
    text-decoration:none;
    transition:.3s;
}

nav ul li a:hover{
    color:red;
}

/* HERO */

.hero{
    min-height:100vh;
    width:90%;
    max-width:1200px;
    margin:auto;

    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:50px;
}

.hero-text{
    flex:1;
}

.status{
    display:inline-flex;
    align-items:center;
    gap:10px;
    background:#00e5ff15;
    border:1px solid #ff004050;
    padding:10px 18px;
    border-radius:30px;
    margin-bottom:25px;
}

.status span{
    width:10px;
    height:10px;
    background:#00ff88;
    border-radius:50%;
    box-shadow:0 0 12px #00ff88;
}

.hero h1{
    font-size:58px;
    line-height:1.2;
}

.hero h1 span{
    color:RED;
}

.hero h3{
    margin:20px 0;
    color:#9ca3af;
}

.hero p{
    max-width:550px;
    color:#cbd5e1;
    line-height:1.8;
}

/*BUTTONS*/

.buttons{
    margin-top:35px;
    display:flex;
    gap:15px;
}

.btn,
.btn2{
    padding:14px 28px;
    text-decoration:none;
    border-radius:8px;
    transition:.3s;
}

.btn{
    background:red;
    color:#050816;
    font-weight:600;
}

.btn:hover{
    transform:translateY(-5px);
    box-shadow:red;
}

.btn2{
    border:2px solid red;
    color:red;
}

.btn2:hover{
    background:red;
    color:#050816;
}

/*PROFILE*/

.hero-image{
    flex:1;
    display:flex;
    justify-content:center;
}

.hero-image img{
    width:340px;
    height:340px;
    border-radius:50%;
    object-fit:cover;
    border:5px solid red;
    box-shadow:0 0 35px rgba(255, 0, 60, 0.35);
}

/*SECTION TITLE*/

section{
    padding:100px 8%;
}

.title{
    text-align:center;
    font-size:38px;
    color:red;
    margin-bottom:50px;
}

/*ABOUT*/

.about-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:25px;
}

.card{

    background:#101827;
    border:1px solid rgba(255, 0, 0, 0.15);
    border-radius:15px;
    padding:30px;
    transition:.35s;
}

.card:hover{
    transform:translateY(-10px);
    border-color:red;
    box-shadow:0 0 25px rgba(255, 0, 30, 0.25);
}



.card h3{
    margin-bottom:15px;
}

.card p{
    color:#cbd5e1;
    line-height:1.7;
}

/*SKILLS*/

.skills-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:20px;
}

.skill-card{
    background:#271010;
    border-radius:15px;
    text-align:center;
    padding:30px 20px;
    border:1px solid rgba(255,255,255,.08);
    transition:.3s;
}

.skill-card:hover{
    transform:translateY(-8px);
    border-color:red;
    box-shadow:0 0 20px rgba(255, 0, 0, 0.25);

}

.skill-card h3{
    font-weight:500;
}

/*PROJECTS*/

.project-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.project-card{
    background:#101827;
    border-radius:15px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.08);
    transition:.35s;
}

.project-card:hover{
    transform:translateY(-10px);
    border-color:red;
    box-shadow:0 0 30px rgba(255, 0, 34, 0.25);
}

.project-card img{
    width:100%;
    height:200px;
    object-fit:cover;
}

.project-content{
    padding:25px;
}

.project-content h3{
    margin-bottom:15px;
}

.project-content p{
    color:#cbd5e1;
    line-height:1.7;
    margin-bottom:20px;
}

.project-btn{

    display:inline-block;
    text-decoration:none;
    background:red;
    color:#050816;
    padding:12px 22px;
    border-radius:8px;
    font-weight:600;
    transition:.3s;

}

.project-btn:hover{

    box-shadow:0 0 20px red;

}

/*CONTACT*/

.contact-container{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;

}

.contact-card{
    background:#101827;
    text-align:center;
    padding:30px;
    border-radius:15px;
    border:1px solid rgba(255,255,255,.08);
    transition:.35s;

}

.contact-card:hover{
    transform:translateY(-8px);
    border-color:red;
    box-shadow:0 0 25px rgba(255, 0, 0, 0.25);

}

.contact-card h3{
    margin-bottom:10px;
}

.contact-card p,
.contact-card a{
    color:#cbd5e1;
    text-decoration:none;
}

.contact-card a:hover{
    color:red;
}

/*FOOTER*/

footer{
    text-align:center;
    padding:30px;
    background:#0B1220;
    margin-top:80px;
    border-top:1px solid rgba(255,255,255,.08);
}

footer p{
    color:#94A3B8;
    margin:8px 0;
}

/*RESPONSIVE*/

@media(max-width:900px){
    nav{
        flex-direction:column;
        gap:20px;
    }

    nav ul{
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero{
        flex-direction:column-reverse;
        text-align:center;
        padding-top:140px;
    }

    .hero p{
        margin:auto;
    }
    .buttons{
        justify-content:center;
    }

    .hero h1{
        font-size:42px;
    }

    .hero-image img{
        width:260px;
        height:260px;
    }

}

/*JAVASCRIPT EFFECTS*/

.card,
.skill-card,
.project-card,
.contact-card{
    opacity:0;
    transform:translateY(30px);
    transition:.6s ease;
}

.show{
    opacity:1;
    transform:translateY(0);
}
.active{
    color:#00E5FF !important;
}

/*BEYOND THE SCREEN*/

.gallery-intro{
    max-width:850px;
    margin:auto;
    text-align:center;
    color:#cbd5e1;
    line-height:1.8;
    margin-bottom:50px;
}

.gallery-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.gallery-card{
    background:#101827;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    overflow:hidden;
    transition:.35s;
}

.gallery-card:hover{
    transform:translateY(-10px);
    border-color:red;
    box-shadow:0 0 25px rgba(255, 0, 8, 0.25);
}

.gallery-card img{
    width:100%;
    height:420px;
    object-fit:cover;
}

.gallery-content{
    padding:25px;
}

.gallery-content h3{
    color:red;
    margin-bottom:15px;
}

.gallery-content p{
    color:#cbd5e1;
    line-height:1.8;

}

.back-btn{
    display:block;
    width:fit-content;
    text-align:center;
    margin:20px auto;
    padding:14px 28px;
    text-decoration:none;
    color:red;
    border:2px solid rgb(0, 0, 0);
    border-radius:8px;
    font-weight:600;
    transition:.3s;
}

.back-btn:hover{
    background:red;
    color:black;
    transform:translateY(-5px);
}

.back-btn h2{
    font-size:18px;
}
