:root {
    --navy: #102439;
    --navy-dark: #091827;
    --orange: #ffbd59;
    --orange-dark: #f0a731;
    --paper: #f5f7f6;
    --text: #243548;
    --muted: #667789;
}

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: Tahoma, Vazir, sans-serif;
}

a { text-decoration: none; }

.site-nav {
    background: rgba(9, 24, 39, .98);
    box-shadow: 0 5px 25px rgba(0, 0, 0, .12);
}

.brand {
    font-size: 1.3rem;
    font-weight: 800;
}

.brand-icon {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-left: 7px;
    border-radius: 11px;
    background: var(--orange);
    color: var(--navy-dark);
}

.site-nav .nav-link { color: #e2e9ef; }
.site-nav .nav-link:hover { color: var(--orange); }
.nav-action { margin-right: 10px; }

/* نوار ناوبری: جلوگیری از شکستن متن لینک‌ها در دسکتاپ */
@media (min-width: 992px) {
    .site-nav .navbar-nav {
        flex-wrap: nowrap;
    }

    .site-nav .nav-link {
        white-space: nowrap;
        font-size: 0.92rem;
        padding-left: 0.45rem;
        padding-right: 0.45rem;
    }
}


.btn-brand {
    border: 0;
    background: var(--orange);
    color: var(--navy-dark);
    font-weight: 800;
}

.btn-brand:hover {
    background: var(--orange-dark);
    color: var(--navy-dark);
}

.page-main { padding-top: 28px; padding-bottom: 70px; }

.hero {
    min-height: 470px;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    gap: 24px;
    overflow: hidden;
    padding: clamp(30px, 6vw, 75px);
    border-radius: 28px;
    background:
        radial-gradient(circle at 80% 20%, #245377 0, transparent 35%),
        linear-gradient(130deg, #102c44, #091827 70%);
    color: #fff;
}

.hero-content { position: relative; z-index: 1; }

.hero-kicker, .section-kicker {
    color: #d99025;
    font-size: .88rem;
    font-weight: 800;
    letter-spacing: .01em;
}

.hero-kicker { color: var(--orange); }

.hero h1 {
    margin: 19px 0;
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    font-weight: 900;
    line-height: 1.35;
}

.hero h1 span { color: var(--orange); }

.hero p {
    max-width: 570px;
    color: #d6e2eb;
    font-size: 1.12rem;
    line-height: 2;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 27px;
}

.btn-hero-outline {
    border: 1px solid rgba(255, 255, 255, .55);
    color: #fff;
}

.btn-hero-outline:hover { background: #fff; color: var(--navy); }

.hero-art { text-align: center; }

.art-circle {
    display: grid;
    place-items: center;
    width: min(25vw, 290px);
    height: min(25vw, 290px);
    margin: auto;
    border: 2px solid rgba(255, 189, 89, .6);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    box-shadow: 0 0 0 22px rgba(255, 255, 255, .035);
}

.art-circle i {
    color: var(--orange);
    font-size: clamp(5rem, 12vw, 9rem);
}

.art-caption {
    display: block;
    margin-top: 32px;
    color: #d6e2eb;
}

.section-space { margin-top: 76px; scroll-margin-top: 95px; }

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.section-title {
    margin: 9px 0 0;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--navy);
}

.section-lead {
    max-width: 580px;
    margin-top: 16px;
    color: var(--muted);
    line-height: 2;
}

.section-link, .tour-link {
    color: #aa6915;
    font-weight: 800;
}

.section-link:hover, .tour-link:hover { color: var(--navy); }

.intro-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.intro-tile, .tour-card, .knowledge-card {
    background: #fff;
    box-shadow: 0 10px 30px rgba(16, 36, 57, .06);
}

.intro-tile {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 180px;
    padding: 23px;
    border-radius: 18px;
    color: var(--text);
    transition: transform .2s;
}

.intro-tile:hover { transform: translateY(-5px); color: var(--text); }
.intro-tile i { font-size: 2rem; color: #cc8523; }
.intro-tile strong { font-size: 1.05rem; }
.intro-tile span { color: var(--muted); font-size: .9rem; }

.tour-card {
    height: 100%;
    overflow: hidden;
    border-radius: 19px;
}

.tour-image {
    display: block;
    width: 100%;
    height: 215px;
    object-fit: cover;
}

.tour-body { padding: 23px; }
.tour-body h3 { margin: 12px 0; font-size: 1.2rem; font-weight: 800; }
.tour-body p { margin: 7px 0; color: var(--muted); }
.tour-body p i { color: #cb8528; }
.tour-link { display: inline-block; margin-top: 14px; }

.tour-badge {
    padding: 6px 11px;
    border-radius: 100px;
    background: #e6f6ef;
    color: #167a52;
    font-size: .8rem;
    font-weight: 800;
}

.gallery-card {
    position: relative;
    display: block;
    height: 240px;
    overflow: hidden;
    border-radius: 18px;
    background: var(--navy);
    color: #fff;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.gallery-card:hover img { transform: scale(1.06); }
.gallery-card:hover { color: #fff; }

.gallery-caption {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 35px 18px 17px;
    background: linear-gradient(transparent, rgba(5, 17, 30, .92));
}

.gallery-caption small { color: #e1e6eb; }

.knowledge-card {
    height: 100%;
    padding: 25px;
    border-radius: 18px;
}

.knowledge-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: #fff1d9;
    color: #a86c1a;
    font-size: 1.3rem;
}

.knowledge-card h3 { margin: 17px 0 12px; font-size: 1.15rem; font-weight: 800; }
.knowledge-card p { color: var(--muted); line-height: 1.9; }
.knowledge-card summary { color: #aa6915; font-weight: 800; cursor: pointer; }
.knowledge-full { margin-top: 12px; white-space: pre-line; }

.empty-state {
    padding: 44px 20px;
    border: 1px dashed #c7d3da;
    border-radius: 18px;
    background: #fff;
    text-align: center;
}

.empty-state i { color: #c48a36; font-size: 2rem; }
.empty-state h3 { margin-top: 10px; font-size: 1.15rem; }
.empty-state p { margin-bottom: 0; color: var(--muted); }

.join-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 76px;
    padding: 37px;
    border-radius: 22px;
    background: var(--navy);
    color: #fff;
}

.join-banner h2 { margin: 9px 0; font-size: 1.7rem; font-weight: 800; }
.join-banner p { margin-bottom: 0; color: #d6e2eb; }

.site-footer {
    padding: 26px 0;
    background: var(--navy-dark);
    color: #c7d3db;
}

.site-footer a { color: var(--orange); }
.footer-divider { margin: 0 9px; opacity: .5; }

@media (max-width: 991px) {
    .hero { grid-template-columns: 1fr; }
    .hero-art { display: none; }
    .intro-section { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
    .hero { min-height: 390px; }
    .intro-grid { grid-template-columns: 1fr; }
    .join-banner { flex-direction: column; align-items: flex-start; }
    .nav-action { margin: 8px 0; }
}

.site-logo {
    height: 42px;       /* ارتفاع مناسب در نوار بالا */
    width: auto;
    object-fit: contain;
    border-radius: 6px; /* اختیاری: گوشه‌های کمی نرم */
}
