/* =============================================
   styles.css — موتا پیمایش
   ============================================= */

/* ---- Base & Body ---- */
body {
    font-family: 'Vazirmatn', sans-serif;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* ---- Custom Scrollbar ---- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

.dark-theme ::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: #0284c7;
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #0369a1;
    }

/* ---- Glassmorphism ---- */
.glass-nav {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.dark-theme .glass-nav {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.dark-theme .glass-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ---- Glow Animation ---- */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 15px 2px rgba(2, 132, 199, 0.4);
    }

    50% {
        box-shadow: 0 0 25px 6px rgba(6, 182, 212, 0.8);
    }
}

.btn-glow {
    animation: pulse-glow 3s infinite;
}

/* ---- Float Animation ---- */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

/* ---- Topographic Grid Overlay ---- */
.topo-grid {
    background-image: radial-gradient(rgba(0 ,0 ,0 , 0.35) 1px, rgba(0, 0, 0, 0.06) 0);
    background-size: 24px 24px;
}

body.dark-theme.topo-grid {
    background-image: radial-gradient(rgba(212, 212, 212, 0.47) 1px, transparent 0);
    background-size: 24px 24px;
}

/* ---- Waves Animation ---- */
.waves {
    position: relative;
    width: 100%;
    height: 12vh;
    min-height: 80px;
    max-height: 150px;
    margin-bottom: -1px;
}

.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}

    .parallax > use:nth-child(1) {
        animation-delay: -2s;
        animation-duration: 7s;
    }

    .parallax > use:nth-child(2) {
        animation-delay: -3s;
        animation-duration: 10s;
    }

    .parallax > use:nth-child(3) {
        animation-delay: -4s;
        animation-duration: 13s;
    }

    .parallax > use:nth-child(4) {
        animation-delay: -5s;
        animation-duration: 20s;
    }

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }

    100% {
        transform: translate3d(85px, 0, 0);
    }
}

/* ---- Theme Classes ---- */
.light-theme {
    background-color: #f8fafc;
    color: #0f172a;
}

.dark-theme {
    background-color: #0f172a;
    color: #f1f5f9;
}

/* ---- Navigation Active Link ---- */
.nav-link {
    position: relative;
}

    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -4px;
        left: 0;
        background-color: #0284c7;
        transition: width 0.3s ease;
    }

    .nav-link.active::after {
        width: 100%;
    }

/* ---- Custom Bullet List ---- */
.custom-bullet li::before {
    content: "✓";
    color: #06b6d4;
    font-weight: bold;
    display: inline-block;
    width: 1.5em;
    margin-right: -1.5em;
}
