/* =========================================================
   CONQUEST EXPEDITIONS — STYLES
   ========================================================= */
html {
    scroll-behavior: smooth;
}

.expeditions-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 60px;
    box-sizing: border-box;
}

.expeditions-header {
    text-align: center;
    margin-bottom: 40px;
}

.expeditions-header h1 {
    font-size: 42px;
    color: #f2f2f2;
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.expeditions-tip {
    background: rgba(214, 170, 75, 0.1);
    border: 1px solid rgba(214, 170, 75, 0.3);
    padding: 15px 25px;
    border-radius: 8px;
    color: #f1d27c;
    font-size: 15px;
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
    box-sizing: border-box;
}

/* Quick Jump Navigation */
.tier-jump-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    position: sticky;
    top: 80px;
    background: rgba(7, 9, 13, 0.92);
    padding: 15px;
    z-index: 10;
    border-radius: 8px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
}

.tier-jump-btn {
    background: rgba(12, 16, 23, 0.9);
    color: #d8d8d8;
    border: 1px solid rgba(214, 170, 75, 0.25);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: 0.2s ease;
    white-space: nowrap;
}

.tier-jump-btn:hover {
    background: rgba(214, 170, 75, 0.15);
    color: #f1d27c;
    border-color: rgba(214, 170, 75, 0.6);
}

.tier-section {
    margin-bottom: 60px;
}

.tier-title {
    font-size: 26px;
    color: #cba84f;
    border-bottom: 1px solid rgba(214, 170, 75, 0.2);
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.expedition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

/* Expedition Card & Hover Effects */
.expedition-card {
    background: rgba(12, 16, 23, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.expedition-card:hover {
    border-color: rgba(214, 170, 75, 0.6);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(214, 170, 75, 0.15);
}

.expedition-img-wrap {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #05070a;
    position: relative;
    cursor: pointer;
}

.expedition-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.expedition-card:hover .expedition-img-wrap img {
    transform: scale(1.08);
}

.expedition-img-wrap::after {
    content: "🔍 Преглед";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f1d27c;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.expedition-img-wrap:hover::after {
    opacity: 1;
}

.expedition-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    box-sizing: border-box;
}

.expedition-name {
    font-size: 20px;
    color: #f2f2f2;
    margin-bottom: 12px;
    font-weight: 700;
}

.expedition-details {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    color: #9ea4ad;
    font-size: 14px;
    line-height: 1.6;
}

.expedition-details span {
    color: #f1d27c;
    font-weight: 600;
}

.youtube-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 0, 0, 0.15);
    color: #ff4d4d;
    border: 1px solid rgba(255, 0, 0, 0.4);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: 0.2s ease;
    text-align: center;
}

.youtube-btn:hover {
    background: rgba(255, 0, 0, 0.3);
    color: #ff8080;
    border-color: rgba(255, 0, 0, 0.8);
    transform: translateY(-2px);
}

.back-to-top-wrap {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
}

.back-to-top-btn {
    background: rgba(214, 170, 75, 0.15);
    color: #f1d27c;
    border: 1px solid rgba(214, 170, 75, 0.4);
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: 0.2s ease;
    display: inline-block;
}

.back-to-top-btn:hover {
    background: rgba(214, 170, 75, 0.3);
    border-color: rgba(214, 170, 75, 0.8);
    transform: translateY(-2px);
}

/* Lightbox Modal за увеличаване на снимките */
.image-lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(5, 7, 10, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    backdrop-filter: blur(8px);
}

.image-lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.image-lightbox-modal img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
    border: 1px solid rgba(214, 170, 75, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0,0, 0.8);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.image-lightbox-modal.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #f2f2f2;
    font-size: 35px;
    font-weight: 700;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.2s ease;
}

.lightbox-close:hover {
    color: #cba84f;
}

/* =========================================================
   RESPONSIVE — TABLET & MOBILE (max-width: 768px)
   ========================================================= */
@media (max-width: 768px) {
    .expeditions-container {
        padding: 90px 15px 40px;
    }

    .expeditions-header h1 {
        font-size: 32px;
    }

    .expeditions-tip {
        font-size: 14px;
        padding: 12px 16px;
    }

    /* Навигацията става хоризонтално скролируема на малки екрани */
    .tier-jump-nav {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 10px;
        top: 65px;
        scrollbar-width: none;
    }

    .tier-jump-nav::-webkit-scrollbar {
        display: none;
    }

    .tier-jump-btn {
        font-size: 13px;
        padding: 6px 12px;
    }

    .expedition-grid {
        grid-template-columns: 1fr;
    }

    .tier-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .expeditions-header h1 {
        font-size: 26px;
    }

    .expedition-img-wrap {
        height: 180px;
    }

    .expedition-info {
        padding: 15px;
    }

    .expedition-name {
        font-size: 18px;
    }
}