/* ===== MINILOAD SAYFASI ÖZEL CSS ===== */

/* ─── HERO ANİMASYON CONTAINER ──────────────────────────────── */
.miniload-hero-animation {
    width: 100%;
    height: 500px;
    min-height: 460px;
    position: relative;
    background: radial-gradient(ellipse at 50% 20%, #22262e 0%, #161820 55%, #13151a 100%);
    border-radius: 16px;
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden; /* frame içindeyiz, vinç barlar container içinde kalır */
}

/* Subtle grid */
.miniload-hero-animation::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background-image:
        linear-gradient(rgba(212, 160, 23, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 160, 23, 0.035) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}

/* System label */
.miniload-hero-animation::after {
    content: 'MİNİLOAD / SHUTTLE SİSTEMİ';
    position: absolute;
    top: 6px;
    left: 0; right: 0;
    text-align: center;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: rgba(148, 163, 184, 0.3);
    pointer-events: none;
    z-index: 1;
}

/* ─── RAF ÇERÇEVE ────────────────────────────────────────────── */
.rack-frame {
    position: absolute;
    top: 65px;
    left: 12px;
    right: 12px;
    background: #17191e;
    border: 2px solid #2a2010;
    border-radius: 4px;
    overflow: hidden;
    z-index: 5;
}

/* ─── RAF IZGARA ─────────────────────────────────────────────── */
.rack-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.rack-cell {
    height: 60px;
    border: 1px solid rgba(26, 51, 82, 0.9);
    background: #07101c;
    position: relative;
    transition: background 0.3s ease;
}

/* Derinlik efekti — hücre arka duvarı */
.rack-cell::before {
    content: '';
    position: absolute;
    inset: 4px;
    background: #040c16;
    border-radius: 2px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
}

.rack-cell.active {
    background: rgba(212, 160, 23, 0.1);
}

.rack-cell.active::before {
    background: rgba(212, 160, 23, 0.08);
    box-shadow: inset 0 0 12px rgba(212, 160, 23, 0.25);
}

/* ─── RAF TOTE'LAR ───────────────────────────────────────────── */
.rack-tote {
    position: absolute;
    inset: 7px;
    background: var(--tc, #f59e0b);
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45),
                inset 0 1px 0 rgba(255, 255, 255, 0.18);
    z-index: 2;
}

/* ─── VİNÇ: YATAY RAY ───────────────────────────────────────── */
.crane-h-bar {
    position: absolute;
    left: 12px; right: 12px; /* raf çerçevesi ile aynı genişlik */
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(96, 165, 250, 0.35) 8%,
        rgba(96, 165, 250, 0.85) 50%,
        rgba(96, 165, 250, 0.35) 92%,
        transparent 100%
    );
    box-shadow: 0 0 8px rgba(96, 165, 250, 0.5);
    transform: translateY(-50%);
    z-index: 20;
    pointer-events: none;
}

/* ─── VİNÇ: DİKEY RAY ───────────────────────────────────────── */
.crane-v-bar {
    position: absolute;
    top: 65px;   /* raf üstüyle hizalı */
    bottom: 55px; /* çıkış istasyonu merkezine kadar uzanır */
    width: 2px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(96, 165, 250, 0.35) 8%,
        rgba(96, 165, 250, 0.85) 50%,
        rgba(96, 165, 250, 0.35) 92%,
        transparent 100%
    );
    box-shadow: 0 0 8px rgba(96, 165, 250, 0.5);
    transform: translateX(-50%);
    z-index: 20;
    pointer-events: none;
}

/* ─── VİNÇ: BAŞ (kesişim noktası) ───────────────────────────── */
.crane-head {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #b07d10;
    border: 2px solid #e8c040;
    border-radius: 3px;
    box-shadow: 0 0 18px rgba(96, 165, 250, 0.75),
                0 0 5px  rgba(96, 165, 250, 0.4);
    transform: translate(-50%, -50%);
    z-index: 25;
    pointer-events: none;
}

/* ─── ÇIKIŞ İSTASYONU ────────────────────────────────────────── */
.output-station {
    position: absolute;
    bottom: 42px;
    left: 50%;
    transform: translateX(-50%);
    width: 88px;
    height: 55px;
    background: linear-gradient(180deg, #111e30 0%, #0b1622 100%);
    border: 1px solid #2a2010;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    z-index: 10;
}

.output-tote {
    width: 36px;
    height: 22px;
    background: var(--tc, #f59e0b);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    opacity: 0;
    transform: scale(0.7) translateY(4px);
    transition: opacity 0.32s ease, transform 0.32s ease;
}

.output-tote.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.output-label {
    font-size: 0.44rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #334155;
}

/* ─── BİLGİ PANELİ ──────────────────────────────────────────── */
.ml-info-panel {
    position: absolute;
    top: 28px;
    right: 12px;
    background: rgba(6, 13, 24, 0.88);
    border: 1px solid rgba(212, 160, 23, 0.13);
    border-radius: 8px;
    padding: 8px 12px;
    backdrop-filter: blur(10px);
    z-index: 30;
    min-width: 112px;
}

.ml-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 2px 0;
}

.ml-label {
    font-size: 0.43rem;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.ml-value {
    font-size: 0.72rem;
    font-weight: 700;
    color: #e8c040;
}

.ml-separator {
    height: 1px;
    background: rgba(212, 160, 23, 0.1);
    margin: 4px 0;
}

/* ─── KONTROLLER ─────────────────────────────────────────────── */
.ml-controls {
    position: absolute;
    top: 28px;
    left: 12px;
    display: flex;
    gap: 6px;
    background: rgba(6, 13, 24, 0.88);
    border: 1px solid rgba(212, 160, 23, 0.13);
    border-radius: 8px;
    padding: 6px 8px;
    backdrop-filter: blur(10px);
    z-index: 30;
}

.ml-btn {
    width: 26px;
    height: 26px;
    border: 1px solid rgba(212, 160, 23, 0.25);
    border-radius: 6px;
    background: rgba(212, 160, 23, 0.12);
    color: #f0d060;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    transition: all 0.2s ease;
}

.ml-btn:hover {
    background: rgba(212, 160, 23, 0.28);
    color: #fff;
    border-color: rgba(212, 160, 23, 0.5);
}

/* ─── MOBİL ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .miniload-hero-animation {
        height: 420px;
        min-height: 380px;
    }

    .rack-frame {
        top: 60px;
    }

    .rack-cell {
        height: 52px;
    }

    .crane-v-bar {
        top: 60px;
        bottom: 50px;
    }

    .output-station {
        width: 72px;
        height: 48px;
        bottom: 38px;
    }

    .ml-info-panel {
        min-width: 95px;
        padding: 6px 9px;
    }

    .ml-label  { font-size: 0.38rem; }
    .ml-value  { font-size: 0.62rem; }
    .ml-btn    { width: 22px; height: 22px; font-size: 0.58rem; }
}


/* ===== SAYFA ÖZEL BÖLÜMLER ===== */

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: var(--light-bg);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.step-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.step-card p {
    color: var(--secondary);
    line-height: 1.6;
}

/* Why Use Section */
.why-use {
    padding: 5rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.benefit-card p {
    color: var(--secondary);
    line-height: 1.6;
}

/* Where Used Section */
.where-used {
    padding: 5rem 0;
    background: var(--light-bg);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.application-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.application-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.application-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.application-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.application-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.application-card p {
    color: var(--secondary);
    line-height: 1.6;
} 