/*
   پوستهٔ مدرن کوهسار
   برای بازگشت به ظاهر قبلی، لینک این فایل را از templates/base.html حذف کنید.
*/
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');

:root {
    --brand-navy: #102a43;
    --brand-blue: #1769aa;
    --brand-sky: #37a9df;
    --brand-mint: #48c5b1;
    --surface: #f6fafc;
}

body {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
    background: var(--surface);
    letter-spacing: -0.15px;
}

.navbar {
    min-height: 68px;
    padding: 10px clamp(20px, 5vw, 80px);
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid rgba(16, 42, 67, 0.08);
    box-shadow: 0 10px 30px rgba(16, 42, 67, 0.08);
    backdrop-filter: blur(14px);
}

.nav-brand img,
.logo-img {
    height: 58px;
    width: auto;
    filter: drop-shadow(0 3px 7px rgba(16, 42, 67, 0.13));
}

.nav-links {
    gap: clamp(18px, 3vw, 42px);
}

.nav-links a {
    color: #31475d;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 2px;
}

.nav-links a::after {
    height: 2px;
    background: var(--brand-mint);
}

.nav-links a:hover {
    color: var(--brand-blue);
}

.hero {
    isolation: isolate;
    min-height: 650px;
    height: min(100vh, 820px);
    padding: 92px 6% 32px;
    overflow: hidden;
    background:
        radial-gradient(circle at 16% 78%, rgba(72, 197, 177, 0.52), transparent 30%),
        radial-gradient(circle at 88% 12%, rgba(92, 196, 255, 0.48), transparent 28%),
        linear-gradient(125deg, #0b2138 0%, #125b91 50%, #1b8eae 100%);
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero::before {
    width: min(62vw, 840px);
    height: min(62vw, 840px);
    left: -19vw;
    bottom: -38vw;
    box-shadow: 0 0 0 48px rgba(255, 255, 255, 0.035), 0 0 0 96px rgba(255, 255, 255, 0.025);
}

.hero::after {
    width: min(36vw, 470px);
    height: min(36vw, 470px);
    right: -8vw;
    top: 16%;
    box-shadow: 0 0 0 32px rgba(255, 255, 255, 0.035);
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(4, 21, 38, 0.22), transparent 60%);
}

.hero-content {
    width: min(780px, 100%);
    padding: clamp(28px, 5vw, 56px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    background: rgba(8, 37, 61, 0.18);
    box-shadow: 0 24px 70px rgba(3, 20, 35, 0.24);
    backdrop-filter: blur(7px);
}

.hero-content h1 {
    margin: 0 0 18px;
    font-size: clamp(2.7rem, 6vw, 5.1rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -2px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.hero-content p {
    max-width: 620px;
    margin: 0 auto 30px;
    font-size: clamp(1.05rem, 2vw, 1.35rem) !important;
    font-weight: 400;
    line-height: 2;
    color: rgba(255, 255, 255, 0.92);
}

.btn-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 178px;
    padding: 13px 26px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    color: #115d91;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.14);
}

.btn-custom:hover {
    background: var(--brand-mint);
    color: #072b3c;
    transform: translateY(-4px);
}

@media (max-width: 768px) {
    .navbar {
        min-height: 56px;
    }

    .nav-brand img,
    .logo-img {
        height: 42px;
    }

    .hero {
        min-height: 590px;
        height: auto;
        padding: 92px 20px 34px;
    }

    .hero-content {
        padding: 30px 20px;
        border-radius: 22px;
    }

    .hero-content h1 {
        letter-spacing: -1px;
    }

    .btn-custom {
        width: min(100%, 260px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
