/* --- proizvodstvo.css --- */
body {
    background-color: #0e0e0e;
    color: #F5F5F0;
    font-family: 'Manrope', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Hero Section */
.hero-prod {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    background: radial-gradient(circle at top right, rgba(20, 40, 40, 0.5) 0%, rgba(14, 14, 14, 0.95) 70%), url('img/hero-proizvodstvo.webp') center/cover no-repeat;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-prod h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(36px, 5vw, 80px);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.hero-prod p {
    font-size: clamp(16px, 2vw, 22px);
    color: rgba(245, 245, 240, 0.7);
    max-width: 800px;
    margin: 0 auto;
}

/* Metrics WOW Element */
.prod-metrics {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.metric-item {
    text-align: center;
}

.metric-val {
    font-family: 'Oswald', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.metric-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 10px;
}

/* Workshops Grid */
.workshops-section {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 60px;
    text-align: center;
}

.workshops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.workshop-card {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    transition: transform 0.3s;
}

.workshop-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.workshop-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.workshop-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #fff;
}

.workshop-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Assortment Tiles */
.assortment-section {
    padding: 100px 40px;
    background: #111;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.assortment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

@media(max-width: 1024px) {
    .assortment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 768px) {
    .assortment-grid {
        grid-template-columns: 1fr;
    }
}

.assort-tile {
    position: relative;
    height: 400px;
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
}

.assort-tile-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: top center;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    z-index: 1;
    opacity: 0.6;
    /* Fallback opacity if no image is loaded yet */
}

.assort-tile::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 2;
}

.assort-tile:hover .assort-tile-img {
    transform: scale(1.05);
    opacity: 0.8;
}

.assort-tile-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.assort-tile-title {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 15px;
    line-height: 1.2;
}

.assort-tile-btn {
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.3s;
}

.assort-tile:hover .assort-tile-btn {
    border-color: #fff;
}

/* Map / Geography */
.geo-section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.map-container {
    background: #090909;
    padding: 40px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    margin-top: 40px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.map-point {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-point span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    font-family: 'Manrope', sans-serif;
}

.arrow {
    color: rgba(255, 255, 255, 0.3);
}

/* WOW ELEMENT: Progress Bar */
.load-indicator-section {
    padding: 80px 40px;
    background: #111;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.indicator-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.indicator-title {
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.progress-container {
    width: 100%;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), #fff);
    width: 0%;
    /* Animates to target */
    border-radius: 20px;
    position: relative;
    transition: width 2s cubic-bezier(0.2, 1, 0.3, 1);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.1) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.1) 75%, transparent 75%, transparent);
    background-size: 40px 40px;
    animation: stripes 1s linear infinite;
}

@keyframes stripes {
    100% {
        background-position: 40px 0;
    }
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    color: #fff;
    mix-blend-mode: difference;
    z-index: 2;
    font-size: 16px;
    letter-spacing: 0.1em;
}

.available-text {
    font-size: 18px;
    color: #4dff88;
    margin-bottom: 30px;
}

.dynamic-month {
    font-weight: 700;
    text-decoration: underline;
}

.cta-loader {
    background: #fff;
    color: #000;
    padding: 15px 40px;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
}

.cta-loader:hover {
    background: #ccc;
}

/* =================================================================
   MOBILE OPTIMIZATIONS
   ================================================================= */
@media (max-width: 768px) {

    /* Мощности фабрики — hero */
    .hero-prod {
        padding: 100px 16px 60px;
    }

    /* Структура фабрики */
    .workshops-section,
    .assortment-section {
        padding: 60px 16px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .workshops-grid {
        grid-template-columns: 1fr;
    }

    /* «География поставок» — вертикальный стек */
    .geo-section {
        padding: 60px 16px;
    }

    .map-container {
        flex-direction: column;
        border-radius: 24px;
        padding: 30px 24px;
        gap: 12px;
        align-items: flex-start;
    }

    .map-point {
        font-size: 18px;
    }

    /* Стрелки → становятся ↓ */
    .arrow {
        transform: rotate(90deg);
        display: block;
        padding-left: 8px;
        font-size: 14px;
    }

    /* Загрузка производства */
    .load-indicator-section {
        padding: 60px 16px;
    }
}