@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700&family=Poppins:wght@300;400;500;600&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

:root{
    --bg:#080808;
    --card:#121212;
    --red:#ff2d2d;
    --white:#fff;
    --gray:#bdbdbd;
    --shadow:0 0 15px rgba(255,0,0,.35);
}

body{
    background:var(--bg);
    color:var(--white);
    font-family:'Poppins',sans-serif;
    overflow-x:hidden;
}

body::before,
body::after{
    content:"";
    position:fixed;
    border-radius:50%;
    z-index:-1;
    filter:blur(40px);
}

body::before{
    width:500px;
    height:500px;
    background:rgba(255,0,0,.15);
    top:-200px;
    right:-150px;
}

body::after{
    width:400px;
    height:400px;
    background:rgba(255,0,0,.1);
    bottom:-150px;
    left:-120px;
}

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-thumb{
    background:var(--red);
    border-radius:20px;
}

section{
    width:100%;
    min-height:100vh;
    padding:120px 10%;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    font-family:'Orbitron',sans-serif;
    font-size:40px;
    letter-spacing:3px;
    color:var(--red);
    text-shadow:0 0 12px red;
}

.btn{
    display:inline-block;
    padding:14px 35px;
    color:white;
    text-decoration:none;
    border:2px solid var(--red);
    border-radius:40px;
    font-weight:600;
    box-shadow:var(--shadow);
    transition:.3s;
}

.btn:hover{
    background:var(--red);
    transform:translateY(-5px);
}

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    padding:22px 10%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:rgba(0,0,0,.65);
    backdrop-filter:blur(15px);
    z-index:999;
    border-bottom:1px solid rgba(255,0,0,.2);
}

.logo{
    font-family:'Orbitron',sans-serif;
    font-size:28px;
    font-weight:bold;
    color:var(--red);
    letter-spacing:3px;
}

nav{
    display:flex;
    gap:30px;
}

nav a{
    color:white;
    text-decoration:none;
    position:relative;
    transition:.3s;
}

nav a:hover{
    color:var(--red);
}

nav a::after{
    content:"";
    position:absolute;
    bottom:-6px;
    left:0;
    width:0;
    height:2px;
    background:var(--red);
    transition:.3s;
}

nav a:hover::after{
    width:100%;
}


/* HERO */

.hero{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:70px;
}

.hero-text{
    flex:1;
}

.hero-text h3{
    color:var(--gray);
    letter-spacing:4px;
    margin-bottom:15px;
}

.hero-text h1{
    font-family:'Orbitron',sans-serif;
    font-size:70px;
    margin-bottom:25px;
}

.hero-text p{
    color:var(--gray);
    font-size:18px;
    margin-bottom:35px;
}

.hero-image{
    flex:1;
    display:flex;
    justify-content:center;
}

.profile-card{
    width:380px;
    height:480px;
    border-radius:25px;
    overflow:hidden;
    border:1px solid var(--red);
    box-shadow:0 0 30px rgba(255,0,0,.3);
    animation:float 4s infinite ease-in-out;
}

.profile-card img{
    width:100%;
    height:100%;
    object-fit:cover;
}

@keyframes float{
    50%{
        transform:translateY(-15px);
    }
}


/* ABOUT */

.about-container{
    display:flex;
    align-items:center;
    gap:60px;
}

.about-image img{
    width:350px;
    border-radius:20px;
    border:2px solid var(--red);
    box-shadow:0 0 30px rgba(255,0,0,.3);
}

.about-content{
    flex:1;
}

.about-content p{
    color:var(--gray);
    line-height:1.8;
    margin-bottom:20px;
}

.about-content strong{
    color:var(--red);
}


/* SKILLS */

.skills-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
}

.skill-card{
    padding:40px 20px;
    text-align:center;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,0,0,.3);
    border-radius:20px;
    transition:.3s;
}

.skill-card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 25px rgba(255,0,0,.35);
}

.skill-card i{
    font-size:55px;
    color:var(--red);
    margin-bottom:20px;
    text-shadow:0 0 15px red;
}


/* PROFILE */

.profile{
    display:flex;
    justify-content:center;
    align-items:center;
}

.profile-box{
    width:100%;
    max-width:1000px;
    display:flex;
    align-items:center;
    gap:50px;
    padding:40px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,0,0,.3);
    border-radius:20px;
}

.profile-box img{
    width:280px;
    border-radius:20px;
    border:2px solid var(--red);
}

.profile-info h3{
    color:var(--red);
    font-family:'Orbitron',sans-serif;
    font-size:32px;
    margin-bottom:20px;
}

.profile-info p{
    color:var(--gray);
    margin-bottom:12px;
}


/* HOBBIES */

.hobby-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
}

.hobby-card{
    padding:35px;
    text-align:center;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,0,0,.3);
    border-radius:18px;
    font-weight:600;
    transition:.3s;
}

.hobby-card:hover{
    color:var(--red);
    transform:translateY(-8px);
    box-shadow:0 0 20px rgba(255,0,0,.35);
}


/* CONTACT */

.contact form{
    max-width:750px;
    margin:auto;
    display:flex;
    flex-direction:column;
    gap:20px;
}

.contact input,
.contact textarea{
    padding:16px;
    border-radius:12px;
    background:#1a1a1a;
    color:white;
    border:1px solid rgba(255,0,0,.3);
    outline:none;
}

.contact button{
    cursor:pointer;
    width:max-content;
}


/* FOOTER */

footer{
    padding:30px;
    text-align:center;
    background:#050505;
    border-top:1px solid rgba(255,0,0,.2);
}

footer p{
    color:#888;
}


/* RESPONSIVE */

@media(max-width:992px){

    header{
        padding:20px 5%;
    }

    section{
        padding:100px 5%;
    }

    .hero,
    .about-container,
    .profile-box{
        flex-direction:column;
        text-align:center;
    }

    .hero-text h1{
        font-size:50px;
    }

}

@media(max-width:768px){

    header{
        flex-direction:column;
        gap:20px;
    }

    nav{
        flex-wrap:wrap;
        justify-content:center;
    }

    .profile-card{
        width:280px;
        height:360px;
    }

    .about-image img{
        width:260px;
    }

}

@media(max-width:480px){

    .hero-text h1{
        font-size:35px;
    }

    .section-title h2{
        font-size:28px;
    }

    .btn{
        width:100%;
        text-align:center;
    }

}