*{box-sizing:border-box;margin:0;padding:0}
html{
    scroll-behavior:smooth;

}
body{
    color:#eee;
    font-family:Tahoma,Arial,sans-serif;
}
.hero{
    min-height:100vh;
    position:relative;
    padding:32px 3%;
    display:flex;
    align-items:center;

    background:
        linear-gradient(to right, transparent 50%, transparent 50%,rgba(0,0,0,.1)),
        url("../images/profile.jpg") center top /cover no-repeat;
}


.content{
    position:absolute;
    left:6%;
    right:auto;
    top:53%;
    transform:translateY(-50%);

    width:min(560px,48vw);

    direction:rtl;
    text-align:center;
}
.content>*{margin-left:0}
.hello{font-size:20px;color:#aaa;margin-bottom:15px}
h1{font-family:serif,Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size:75px;font-weight:500;line-height:1;margin-bottom:25px}
.role{font-size:20px;margin-bottom:27px}
.line{height:1px;background:#434242;width:100%;margin-bottom:25px;  box-shadow:0 0 6px rgba(103, 198, 219, 0.55);}
.about{font-size:17px;line-height:2;color:#c2c0c0;margin-bottom:32px}
h2{font-size:18px;font-weight:400;margin-bottom:18px}

.skills{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
    max-width:480px;
}

.skill{
    direction:ltr;
    padding:10px 15px;
    border:2px solid rgba(55, 162, 186, 0.59);
    border-radius:9px;
    background:linear-gradient(145deg,#111,#050505);
    box-shadow:0 0 9px rgba(95,168,184,.35);
    transition:.25s;
}
.skill:hover{
    border-color:#5FA8B8;
    box-shadow:0 0 12px rgba(95,168,184,.35);
    transform:translateY(-2px);

}
.skill img{
    width:18px;
    height:18px;
    vertical-align:middle;
}
.socials{
    display:flex;
    justify-content:center;
    gap:16px;
    margin-top:90px;
}
.socials a{
    width:58px;
    height:50px;
    border:2px solid rgba(95,168,184,.35);
    box-shadow:0 0 7px rgba(95,168,184,.18);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#eee;
    text-decoration:none;
    background:#080808;
    font-size:14px;
    transition:.25s;
}

.socials a:hover{
    border-color:#5FA8B8;
    box-shadow:0 0 12px rgba(95,168,184,.35);
    transform:translateY(-2px);
}

.scroll{
    position:absolute;
    bottom:25px;left:50%;
    transform:translateX(-50%);
    display:flex;flex-direction:column;
    align-items:center;gap:8px;
    color:#aaa;font-size:14px;
    cursor:pointer;transition:.3s
}
.mouse{
    width:31px;height:48px;border:1px solid #777;
    border-radius:18px;position:relative
}
.mouse:before{
    content:"";position:absolute;
    width:4px;height:9px;background:#aaa;
    border-radius:5px;left:50%;top:9px;
    transform:translateX(-50%);
    animation:wheel 1.4s infinite
}
.arrow{font-size:24px;line-height:15px;animation:arrow 1.4s infinite}
@keyframes wheel{0%,100%{top:8px;opacity:.4}50%{top:22px;opacity:1}}
@keyframes arrow{0%,100%{transform:translateY(0)}50%{transform:translateY(5px)}}

.next{min-height:100vh;background:#030303}
.glass-menu {
    position:absolute;
    left: 14%;
    top: 5%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.07);
    border:3px solid rgba(95,168,184,.35);
    border-radius: 999px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow:
        0 7px 15px rgba(42, 92, 127, 0.4);

    z-index: 1000;
}


.menu-item {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 11px 20px;

    color: #ccc;
    text-decoration: none;

    font-size: 14px;
    font-weight: 500;

    border-radius: 999px;

    transition: all 0.3s ease;
}

.menu-item:hover {
    color: #fff;
    background: rgba(1, 79, 134, 0.25);

    box-shadow:
        0 0 12px rgba(1, 79, 134, 0.25);
}

/* Active (صفحه‌ی فعلی) */
.menu-item.active {
    color: #fff;
    background: rgba(4, 79, 133, 0.707);

    box-shadow:
        0 0 12px rgba(1, 79, 134, 0.4);
}
@media(max-width:800px){
    html, body{
    overflow-x:hidden;
    }
    .hero{
        background-position:right center;
        padding:100px 20px 60px;
        align-items:flex-start;
        justify-content:center;
    }
    .content{
        position: fixed;
        bottom: 20px;
        top: auto;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 420px;
        margin: 0;
        text-align: center;
        direction: rtl;
    }

    h1{font-size:clamp(32px,8vw,52px)}
    .hello{font-size:14px;margin-bottom:8px}
    .role{font-size:16px;margin-bottom:16px}
    .about{font-size:18px;line-height:2;margin-bottom:19px}
    h2{font-size:13px;margin-bottom:10px}
    .skills{gap:6px;justify-content:center}
    .skill{padding:9px 11px;font-size:12px}
    .skill img{width:12px;height:12px}
    .socials{gap:8px;margin-top:30px;justify-content:center}
    .socials a{width:36px;height:32px;font-size:10px}
}

@media(max-width:480px){
    .content{max-width:320px}
    .glass-menu{transform:scale(.7)}
    h1{font-size:clamp(28px,9vw,38px)}
    .about{font-size:10px}
    .skill{padding:4px 6px;font-size:9px}
    .socials a{width:30px;height:28px;font-size:9px}
}
