﻿/* =========================================================
   STTech — Dynamic Hero Slider
   ========================================================= */
.hero-slider {
    background: radial-gradient(1200px 600px at 80% -10%, rgba(34,211,238,.15), transparent), radial-gradient(900px 500px at 10% 110%, rgba(59,130,246,.15), transparent), #060b14;
    color: #eaf2ff;
    border-radius: 10px;
    height: calc(100dvh - 155px);
    min-height: calc(100dvh - 155px);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0; /* حذف کامل فاصله بالا و پایین */
    width: 100%;
}

.min-vh-75 {
    min-height: calc(100dvh - 155px) !important;
    height: 100%;
    padding-top: 15px;
    padding-bottom: 45px;
}


/* در دسکتاپ و مانیتورها اسکرول مخفی می‌ماند و تصویر کامل فیت می‌شود */
@media (min-width: 992px) {
    html, body {
        overflow-y: hidden;
    }
}

/* در موبایل‌ها ارتفاع خودکار می‌شود تا متن‌ها بریده نشوند */
@media (max-width: 991px) {
    html, body {
        overflow-y: auto;
    }

    .hero-slider, .min-vh-75 {
        height: auto !important;
        min-height: calc(100dvh - 120px) !important;
        padding: 1.5rem 0;
    }
}



/* ---------- ذرات شناور ---------- */
.hero-particles span {
    position: absolute;
    bottom: -20px;
    right: calc((var(--i) * 37) % 100%);
    width: 6px;
    height: 6px;
    border-radius: 10px;
    background: rgba(34, 211, 238, .7);
    box-shadow: 0 0 8px rgba(34, 211, 238, .8);
    animation: floatUp calc(8s + var(--i)) linear infinite;
    animation-delay: calc(var(--i) * -2s);
}

@keyframes floatUp {
    to {
        transform: translateY(-110vh);
        opacity: 0;
    }
}

/* ---------- اسلایدها ---------- */
.hero-slide {
    display: none;
    animation: slideIn .8s cubic-bezier(0.16, 1, 0.3, 1);
}

    .hero-slide.active {
        display: block;
    }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- تیتر و متون ---------- */
.hero-badge {
    display: inline-block;
    background: rgba(34, 211, 238, .12);
    border: 1px solid rgba(34, 211, 238, .4);
    color: var(--neon-cyan, #22d3ee);
    border-radius: 10px;
    padding: .3rem 1.1rem;
    font-size: .85rem;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 900;
    line-height: 1.4;
}

    .hero-title .cursor {
        color: var(--neon-cyan, #22d3ee);
        animation: blink 1s steps(1) infinite;
    }

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.text-gradient {
    background: linear-gradient(90deg, #22d3ee, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    color: rgba(234, 242, 255, .75);
    font-size: 1.1rem;
    max-width: 580px;
    margin-inline: auto;
    line-height: 1.8;
}

/* ---------- کارت شیشه‌ای ---------- */
.glass-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(148, 197, 255, .18);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

/* ---------- پنجره کد ---------- */
.code-window {
    background: rgba(2, 8, 20, .85);
    border: 1px solid rgba(148, 197, 255, .2);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    box-shadow: 0 0 30px rgba(34, 211, 238, .15);
    animation: floatY 5s ease-in-out infinite;
}

@keyframes floatY {
    50% {
        transform: translateY(-10px);
    }
}

.code-window pre {
    margin: 0;
    font-size: .9rem;
    direction: ltr;
    text-align: left;
}

.code-dots span {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 10px;
    margin-left: 6px;
}

    .code-dots span:nth-child(1) {
        background: #ff5f57
    }

    .code-dots span:nth-child(2) {
        background: #febc2e
    }

    .code-dots span:nth-child(3) {
        background: #28c840
    }

.c-key {
    color: #c678dd
}

.c-type {
    color: #e5c07b
}

.c-var {
    color: #e06c75
}

.c-str {
    color: #98c379
}

.c-fn {
    color: #61afef
}

/* ---------- چیپ‌های تکنولوژی ---------- */
.chip {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(148,197,255,.25);
    border-radius: 10px;
    padding: .45rem 1rem;
    font-size: .9rem;
    transition: .25s;
}

    .chip:hover {
        border-color: #22d3ee;
        box-shadow: 0 0 12px rgba(34,211,238,.5);
        transform: translateY(-2px);
    }

/* ---------- دکمه‌ها ---------- */
.btn-neon, .btn-glass {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border-radius: 10px;
    padding: .65rem 1.6rem;
    text-decoration: none;
    font-weight: 700;
    transition: .25s;
}

.btn-neon {
    background: linear-gradient(135deg, #22d3ee, #3b82f6);
    color: #06121c;
    box-shadow: 0 0 14px rgba(34,211,238,.5);
}

    .btn-neon:hover {
        filter: brightness(1.15);
        color: #000;
        transform: translateY(-2px);
    }

.btn-glass {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.2);
    color: #eaf2ff;
}

    .btn-glass:hover {
        border-color: #22d3ee;
        color: #fff;
        box-shadow: 0 0 12px rgba(34,211,238,.4);
    }

/* ---------- فلش‌های ناوبری اسلایدر ---------- */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    border: 1px solid rgba(148, 197, 255, .25);
    background: rgba(255, 255, 255, .07);
    backdrop-filter: blur(8px);
    color: #eaf2ff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .25s;
    cursor: pointer;
}

    .hero-arrow:hover {
        border-color: #22d3ee;
        box-shadow: 0 0 14px rgba(34, 211, 238, .55);
        color: #fff;
    }

    .hero-arrow.prev {
        right: 24px;
    }

    .hero-arrow.next {
        left: 24px;
    }

@media (max-width: 768px) {
    .hero-arrow {
        display: none;
    }
}

/* ---------- ویژوال اسلاید «درباره من» ---------- */
.about-visual i {
    font-size: 4.5rem;
    color: #22d3ee;
    text-shadow: 0 0 24px rgba(34, 211, 238, .6);
    animation: floatY 5s ease-in-out infinite;
}

/* ---------- نقطه‌های اسلایدر ---------- */
.hero-dots {
    position: absolute;
    bottom: 24px;
    right: 0;
    left: 0;
    display: flex;
    justify-content: center;
    gap: .6rem;
    z-index: 5;
}

    .hero-dots button {
        width: 34px;
        height: 5px;
        border: none;
        border-radius: 10px;
        background: rgba(255,255,255,.25);
        transition: .3s;
        cursor: pointer;
    }

        .hero-dots button.active {
            background: linear-gradient(90deg, #22d3ee, #3b82f6);
            box-shadow: 0 0 8px rgba(34,211,238,.7);
            width: 44px;
        }
/* آیتم‌های فشرده لیست پروژه‌ها */
.project-mini-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    transition: all 0.25s ease-in-out;
}

    .project-mini-item:hover {
        background: rgba(34, 211, 238, 0.08);
        border-color: rgba(34, 211, 238, 0.35);
        transform: translateX(-4px);
    }

.project-num {
    font-family: monospace;
    font-weight: bold;
    color: #22d3ee;
    font-size: 0.95rem;
    background: rgba(34, 211, 238, 0.12);
    padding: 2px 7px;
    border-radius: 6px;
}

.text-light-50 {
    color: #a0aec0;
    font-size: 0.82rem;
}

.text-neon-cyan {
    color: #22d3ee;
    text-shadow: 0 0 12px rgba(34, 211, 238, 0.45);
}

.glass-card-terminal {
    background: rgba(8, 15, 28, 0.75);
    border-color: rgba(56, 189, 248, 0.2) !important;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.hero-badge-neon {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #38bdf8; /* فیروزه‌ای روشن و کاملاً خوانا */
    background: rgba(14, 165, 233, 0.12); /* پس‌زمینه تیره شفاف هماهنگ */
    border: 1px solid rgba(56, 189, 248, 0.4); /* حاشیه نئونی */
    border-radius: 50rem;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.15);
    margin-bottom: 0.75rem;
}

    .hero-badge-neon i {
        color: #38bdf8;
    }

    /* آیکون‌های یکپارچه Badgeهای بخش Hero */
    .hero-badge .hero-icon,
    .hero-badge-neon .hero-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        line-height: 1;
        margin-left: 0.4rem;
        vertical-align: -0.08em;
        flex-shrink: 0;
    }

/* رنگ اختصاصی هر آیکون */
.hero-icon-cyan {
    color: #38bdf8;
}

.hero-icon-yellow {
    color: #fbbf24;
}

.hero-icon-purple {
    color: #c084fc;
}

.hero-icon-green {
    color: #4ade80;
}

.hero-icon-blue {
    color: #60a5fa;
}

.hero-icon-orange {
    color: #fb923c;
}

/* ---------- انیمیشن و استایل صفحه Under Construction ---------- */
.radar-pulse {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .radar-pulse::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background: rgba(34, 211, 238, 0.4);
        animation: radarRing 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
        z-index: 0;
    }

@keyframes radarRing {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* نوار وضعیت درصد پیشرفت */
.construction-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.construction-progress-bar {
    height: 100%;
    width: 68%; /* درصد تکمیل فعلی */
    background: linear-gradient(90deg, #3b82f6, #22d3ee);
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.8);
    border-radius: 10px;
}
/* =========================================================
   STTech — Contact & About Forms (Glassmorphism Inputs)
   ========================================================= */
.form-glass-control {
    background: rgba(2, 8, 20, 0.6) !important;
    border: 1px solid rgba(148, 197, 255, 0.2) !important;
    color: #eaf2ff !important;
    border-radius: 10px;
    padding: 0.65rem 0.95rem;
    font-size: 0.95rem;
    transition: all 0.25s ease-in-out;
}

    .form-glass-control:focus {
        background: rgba(2, 8, 20, 0.85) !important;
        border-color: #22d3ee !important;
        box-shadow: 0 0 12px rgba(34, 211, 238, 0.35) !important;
        color: #ffffff !important;
        outline: none;
    }

    .form-glass-control::placeholder {
        color: rgba(234, 242, 255, 0.4);
        font-size: 0.88rem;
    }

.contact-label {
    color: #eaf2ff;
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
    font-weight: 500;
}

/* کارت خالی و آماده پر شدن درباره من */
.about-placeholder-box {
    border: 1px dashed rgba(34, 211, 238, 0.35);
    background: rgba(34, 211, 238, 0.02);
    border-radius: 10px;
    min-height: 240px;
}



