/* =========================================
   CO-LOCATION VARIABLES (INDUSTRIAL THEME)
   ========================================= */
:root {
    --bg-body: #f8fafc;
    /* Çelik Mavisi ve Voltaj Sarısı */
    --primary: #334155; /* Slate 700 (Steel) */
    --secondary: #0f172a; /* Slate 900 (Dark) */
    --accent: #eab308; /* Yellow 500 (Voltage) */
    --rack-gradient: linear-gradient(90deg, #1e293b 0%, #334155 100%);
    --hero-bg: radial-gradient(circle at 10% 50%, #0f172a 0%, #1e293b 100%);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --shadow-slot: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

/* =========================================
   1. HERO SECTION
   ========================================= */
.server-hero {
    position: relative;
    padding: 160px 0 200px;
    background: var(--hero-bg);
    color: white;
    overflow: hidden;
}
.server-hero::before {
    content: ''; position: absolute; inset: 0;
    /* Izgara / Kafes Deseni */
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0, rgba(255,255,255,0.05) 1px, transparent 0, transparent 50%);
    background-size: 20px 20px; opacity: 0.3; z-index: 0;
}

.hero-grid {
    display: grid; grid-template-columns: 1.2fr 0.8fr; 
    align-items: center; gap: 50px; position: relative; z-index: 2;
}

.hero-text { text-align: left; }

.hero-badge {
    background: rgba(234, 179, 8, 0.15); color: #facc15; border: 1px solid rgba(234, 179, 8, 0.3);
    padding: 6px 16px; border-radius: 50px; font-weight: 700; font-size: 0.85rem;
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc { font-size: 1.15rem; color: #94a3b8; max-width: 600px; line-height: 1.6; margin-bottom: 40px; }

/* Features Grid */
.hero-features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 600px; }
.hf-box {
    padding: 15px 20px; border-radius: 4px;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex; align-items: center; gap: 15px; transition: 0.3s;
}
.hf-icon { font-size: 1.5rem; color: #94a3b8; }
.hf-text h5 { font-size: 1rem; font-weight: 700; margin: 0; color: #fff; }
.hf-text span { font-size: 0.8rem; color: #94a3b8; }

.hf-box.glow {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.1) 0%, rgba(234, 179, 8, 0.05) 100%);
    border-color: rgba(234, 179, 8, 0.4);
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.2);
}
.hf-box.glow .hf-icon { color: #facc15; }

.hero-visual { position: relative; text-align: center; }
.hero-img-anim {
    width: 100%; max-width: 500px; 
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
    animation: floatImg 8s ease-in-out infinite;
}
@keyframes floatImg { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }


/* =========================================
   2. PACKAGES SECTION (RACK STACK VIEW)
   ========================================= */
.packages-section { margin-top: -80px; padding-bottom: 100px; position: relative; z-index: 10; }

.cabinet-frame {
    background: #0f172a; padding: 20px; border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3); border: 4px solid #334155;
    max-width: 1000px; margin: 0 auto;
}

.cabinet-slot {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--rack-gradient);
    border-bottom: 2px solid #0f172a;
    padding: 25px 30px;
    color: white; position: relative; transition: 0.3s;
}
.cabinet-slot:first-child { border-radius: 8px 8px 0 0; }
.cabinet-slot:last-child { border-radius: 0 0 8px 8px; border-bottom: none; }
.cabinet-slot:hover { background: #334155; z-index: 2; box-shadow: inset 0 0 20px rgba(0,0,0,0.3); }

/* Left: Unit Size */
.slot-unit { display: flex; align-items: center; gap: 15px; width: 25%; }
.unit-badge {
    background: #0f172a; color: var(--accent); font-family: monospace;
    font-size: 1.2rem; font-weight: 800; padding: 10px 15px; border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.1); box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}
.slot-name h3 { font-size: 1.2rem; margin: 0; font-weight: 700; color: #fff; }
.slot-name span { font-size: 0.8rem; color: #94a3b8; }

/* Middle: Specs */
.slot-specs { display: flex; gap: 30px; width: 45%; justify-content: center; }
.spec-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.spec-item i { font-size: 1.2rem; color: var(--accent); margin-bottom: 5px; opacity: 0.8; }
.spec-item span { font-size: 0.9rem; font-weight: 600; color: #e2e8f0; }
.spec-item small { font-size: 0.75rem; color: #64748b; }

/* Right: Price & Action */
.slot-action { display: flex; align-items: center; gap: 20px; width: 30%; justify-content: flex-end; }
.slot-price { text-align: right; }
.price-val { font-size: 1.5rem; font-weight: 800; color: var(--accent); }
.price-period { font-size: 0.8rem; color: #94a3b8; }

.btn-slot {
    background: transparent; border: 1px solid var(--accent); color: var(--accent);
    padding: 10px 25px; border-radius: 4px; font-weight: 700; text-decoration: none;
    transition: 0.3s;
}
.btn-slot:hover { background: var(--accent); color: #0f172a; box-shadow: 0 0 15px rgba(234, 179, 8, 0.4); }


/* =========================================
   3. INFRASTRUCTURE & CONTENT
   ========================================= */
.infra-section { padding: 80px 0; background: #fff; }
.infra-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 50px; }
.spec-box { background: #f8fafc; padding: 30px; border-radius: 16px; transition: 0.3s; border: 1px solid #e2e8f0; text-align: left; }
.spec-box:hover { background: #fff; border-color: var(--primary); box-shadow: var(--shadow-slot); }
.spec-icon {
    width: 60px; height: 60px; background: white; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: var(--primary); margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); border: 1px solid #e2e8f0;
}
.spec-box h4 { font-size: 1.2rem; margin-bottom: 10px; font-weight: 700; color: var(--text-main); }
.spec-box p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

/* Info Bar */
.info-bar {
    background: #1e293b; padding: 60px 0; color: white; border-top: 4px solid var(--accent);
}
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.info-item h3 { font-size: 2.5rem; font-weight: 800; color: var(--accent); margin-bottom: 10px; }
.info-item p { color: #cbd5e1; font-size: 1.1rem; }

.content-area { padding: 100px 0; background: var(--bg-body); }
.row-item { display: flex; align-items: center; gap: 60px; margin-bottom: 100px; }
.row-item.reverse { flex-direction: row-reverse; }
.row-img img { width: 100%; border-radius: 10px; box-shadow: 0 20px 50px rgba(0,0,0,0.1); border: 1px solid #e2e8f0; }
.row-text h2 { font-size: 2.2rem; color: var(--text-main); margin-bottom: 20px; font-weight: 800; }
.row-text p { color: var(--text-muted); line-height: 1.7; font-size: 1.05rem; }

/* =========================================
   4. FAQ
   ========================================= */
.faq-sec { padding: 80px 0; max-width: 900px; margin: 0 auto; }
.faq-box { margin-bottom: 15px; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; background: #fff; }
.faq-q { padding: 20px; background: #fff; cursor: pointer; font-weight: 600; display: flex; justify-content: space-between; align-items: center; transition: 0.3s; color: var(--text-main); }
.faq-q:hover { background: #f8fafc; }
.faq-a { display: none; padding: 20px; border-top: 1px solid #f1f5f9; background: #fff; color: var(--text-muted); line-height: 1.6; }
.faq-box.active .faq-a { display: block; }
.faq-box.active .faq-q { color: var(--primary); }
.rotate-icon { transition: 0.3s; }
.faq-box.active .rotate-icon { transform: rotate(180deg); }

/* =========================================
   RESPONSIVE (MOBİL DÜZENLEMELER)
   ========================================= */
@media (max-width: 992px) {
    /* 1. Hero Düzenlemeleri */
    .server-hero { 
        padding: 100px 20px; /* Kenar boşluğu ekle */
        text-align: center; 
    }
    .hero-grid { 
        grid-template-columns: 1fr; 
        gap: 30px; 
    }
    .hero-text { text-align: center; }
    .hero-badge { margin: 0 auto 15px; }
    .hero-title { 
        font-size: 2.2rem; /* Font küçüldü */
        line-height: 1.2; 
        margin-bottom: 15px; 
    }
    .hero-desc { font-size: 1rem; margin: 0 auto 30px; }
    .hero-features-grid { margin: 0 auto; gap: 15px; }
    .hf-box { flex-direction: column; text-align: center; padding: 15px; gap: 10px; }
    
    .hero-visual { display: none; } /* Mobilde görseli gizle */

    /* 2. Cabinet / Rack Mobile Fix */
    .cabinet-frame { padding: 10px; border-width: 2px; }
    
    .cabinet-slot {
        flex-direction: column; /* İçeriği alt alta diz */
        text-align: center;
        gap: 20px;
        padding: 30px 15px;
    }
    
    .slot-unit, .slot-specs, .slot-action { 
        width: 100%; 
        justify-content: center; 
        flex-direction: column; 
        gap: 15px; 
    }
    
    /* Özellikleri yan yana dizmeye çalış ama sığmazsa alt alta geçsin */
    .slot-specs {
        flex-direction: row; 
        flex-wrap: wrap; 
        border-top: 1px solid rgba(255,255,255,0.1); 
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 15px 0;
    }
    .spec-item { flex: 1 1 30%; } /* Kutuları yay */

    .slot-action { gap: 15px; }
    .btn-slot { width: 100%; display: block; text-align: center; }

    /* 3. Diğer Alanlar */
    .infra-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
    .info-grid { grid-template-columns: 1fr; gap: 30px; }
    
    .mig-content, .mig-info, .row-item, .row-item.reverse { 
        flex-direction: column; 
        text-align: center; 
        gap: 25px;
    }
}

/* Küçük Telefonlar */
@media (max-width: 600px) { 
    .infra-grid { grid-template-columns: 1fr; } /* Tek sütun */
    .hero-title { font-size: 2rem; }
    .slot-specs { flex-direction: column; gap: 20px; } /* Mobilde özellikleri alt alta diz */
}