/* =========================================
   1. ÜMUMİ RƏNGLƏR VƏ TƏNZİMLƏMƏLƏR
   ========================================= */

:root {
    --primary: #1b4332;
    /* Tünd meşə yaşılı */
    --primary-hover: #2d6a4f;
    /* Hover zamanı açıq yaşıl */
    --accent: #d97706;
    /* İsti narıncı / torpaq tonu */
    --text-dark: #1f2937;
    /* Əsas yazı rəngi */
    --text-muted: #6b7280;
    /* Köməkçi yazı rəngi */
    --bg-light: #f3f4f6;
    /* Açıq boz arxa fon */
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}


/* =========================================
   2. İKİ DİLLİ SİSTEM (EN / AZ)
   ========================================= */

body.lang-en [data-lang="az"] {
    display: none;
}

body.lang-az [data-lang="en"] {
    display: none;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-light);
    padding: 4px 10px;
    border-radius: 6px;
}

.lang-switch button {
    background: none;
    border: none;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    color: var(--text-muted);
    padding: 2px 4px;
    transition: 0.2s;
}

.lang-switch button.active {
    color: var(--primary);
    text-decoration: underline;
}


/* =========================================
   3. NAVİQASİYA MENYUSU (HEADER)
   ========================================= */

.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-nav {
    background: var(--primary);
    color: var(--white) !important;
    padding: 8px 18px;
    border-radius: 6px;
}

.btn-nav:hover {
    background: var(--primary-hover);
}


/* =========================================
   4. ƏSAS GİRİŞ BÖLMƏSİ (HERO)
   ========================================= */

.hero {
    background: url('dag.jpg') center/cover no-repeat;
    height: 82vh;
    min-height: 520px;
    position: relative;
}

/* 1. Daha dərin və oxunaqlı Hero arxa fonu */
.hero-overlay {
    background: linear-gradient(90deg, rgba(16, 42, 31, 0.85) 0%, rgba(0, 0, 0, 0.35) 100%);
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    color: var(--white);
    max-width: 720px;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 28px;
    opacity: 0.92;
}


/* Düymələr */

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 10px;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--text-dark);
}


/* =========================================
   5. MARŞRUT KARTLARI VƏ BÖLMƏLƏR
   ========================================= */

.section {
    padding: 75px 0;
}

.bg-light {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 45px;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

/* 2. Kartlara daha yumşaq kölgə və şəkil animasiyası */
.card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card:hover .card-img {
    transform: scale(1.05);
}

.card-img {
    height: 215px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.4s ease;
}

.difficulty {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
}

.easy {
    background: #10b981;
}

.moderate {
    background: #f59e0b;
}

.hard {
    background: #ef4444;
}

.card-body {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.card-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.link-arrow {
    text-decoration: none;
    color: var(--accent);
    font-weight: 600;
}

.link-arrow:hover {
    text-decoration: underline;
}


/* =========================================
   6. B2B VƏ HAQQIMDA BÖLMƏLƏRİ
   ========================================= */

.b2b-box {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    border-left: 6px solid var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.subtitle {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.b2b-box h2 {
    margin: 10px 0 15px;
    color: var(--primary);
}

.check-list {
    list-style: none;
    margin: 20px 0 25px;
}

.check-list li {
    margin-bottom: 10px;
    font-weight: 500;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text h2 {
    color: var(--primary);
    margin-bottom: 15px;
}

.stats {
    display: flex;
    justify-content: space-around;
    margin-top: 35px;
    flex-wrap: wrap;
    gap: 20px;
}

.stats strong {
    display: block;
    font-size: 1.6rem;
    color: var(--primary);
}

.stats span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* YENİ ƏLAVƏ EDİLƏN HİSSƏ */
.stats div {
    background: var(--white);
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    border-bottom: 3px solid var(--accent);
    min-width: 180px;
}


/* =========================================
   7. ALT HİSSƏ (FOOTER)
   ========================================= */

.footer {
    background: var(--primary);
    color: var(--white);
    padding: 50px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer .btn-primary {
    background: var(--accent);
}

.footer .btn-primary:hover {
    background: #b45309;
}

.contact-info {
    margin-top: 10px;
    font-size: 0.9rem;
    opacity: 0.85;
}


/* =========================================
   8. MOBİL CİHAZLAR ÜÇÜN UYĞUNLUQ
   ========================================= */

@media (max-width: 768px) {
    .nav-links {
        gap: 12px;
    }
    .nav-links li:not(.lang-switch):not(:last-child) {
        display: none;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .btn-outline {
        margin-left: 0;
        margin-top: 10px;
    }
}
.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.2s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.05);
}
/* Ən aşağıda görünən "Marşrut Adı / Proqram detalları" hissəsini gizlətmək üçün */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Footer bölməsindəki WhatsApp düyməsi */
.footer a {
    display: inline-block;
    background-color: var(--accent);
    color: var(--white) !important;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.footer a:hover {
    background-color: #4509b4;
}
/* Açılan Proqram Pəncərəsi (Modal) */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(3px);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    background: var(--white);
    padding: 30px;
    border-radius: 14px;
    max-width: 550px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
}

.close-modal:hover {
    color: var(--text-dark);
}

#modalTitle {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.5rem;
}

#modalDetails {
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.7;
    font-size: 0.95rem;
}
/* Kartlardakı "Ətraflı" düyməsinin dizaynı */
.card-footer button {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 9px 18px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 3px 10px rgba(27, 67, 50, 0.15);
}

.card-footer button:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(217, 119, 6, 0.25);
}