/* =========================================
   FASON SIVAMA SAYFASI ÖZEL TASARIMI
   (KUSURSUZ HİZALAMA - JİLET GİBİ VERSİYON)
========================================= */

/* BÜTÜN KUTULARI AYNI GENİŞLİĞE VE HİZAYA KİLİTLİYORUZ (İŞTE O KIRMIZI ÇİZGİN) */
.fs-intro-container,
.fs-sektorler-container,
.fs-malzemeler-container,
.fs-kapasite-container {
    width: 100% !important;
    max-width: 1200px !important; /* Ekranı boydan boya kaplamasını yasaklar, derli toplu durur */
    margin: 0 auto !important; /* Ekranın tam merkezine oturtur */
}

/* --- 1. HERO (KAPAK) ALANI --- */
.fs-hero {
    position: relative;
    height: 250px;
    margin-top: 80px; 
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.fs-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.9) 0%, rgba(153, 27, 27, 0.8) 100%);
    z-index: 1;
}

.fs-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeUp 0.8s ease forwards;
}

.fs-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.fs-hero-content h1 span { color: #ef4444; }
.fs-hero-content p { font-size: 1.2rem; color: rgba(255, 255, 255, 0.85); line-height: 1.6; }

/* --- 2. GİRİŞ ALANI --- */
.fs-intro {
    background-color: var(--zemin-beyaz);
    padding: 80px 5%;
}

.fs-intro-container {
    display: flex;
    gap: 60px;
    align-items: center;
}

.fs-intro-sol { flex: 1.2; }
.fs-intro-sol h2 { font-size: 2.2rem; font-weight: 800; color: var(--yazi-koyu); margin-bottom: 15px; }
.ayrac-cizgi { width: 60px; height: 4px; background: var(--vurgu-gradient); border-radius: 2px; margin-bottom: 25px; }
.fs-intro-sol p { font-size: 1.05rem; color: var(--yazi-acik); line-height: 1.7; }
.fs-intro-sag { flex: 1; display: flex; flex-direction: column; gap: 25px; background: var(--zemin-gri); padding: 40px; border-radius: 20px; }
.fs-ozellik { display: flex; align-items: flex-start; gap: 15px; }
.fs-ozellik i { font-size: 1.5rem; color: var(--vurgu-duz); margin-top: 3px; }
.fs-ozellik strong { display: block; font-size: 1.1rem; color: var(--yazi-koyu); margin-bottom: 5px; }
.fs-ozellik span { font-size: 0.95rem; color: var(--yazi-acik); line-height: 1.5; }

/* --- 3. SEKTÖRLER (GRID) ALANI --- */
.fs-sektorler-bg {
    background-color: var(--zemin-gri);
    padding: 100px 5%;
    border-top: 1px solid rgba(0,0,0,0.03);
}

.fs-sektorler-baslik { text-align: center; margin-bottom: 60px; }
.fs-sektorler-baslik h2 { font-size: 2.4rem; font-weight: 800; color: var(--yazi-koyu); margin-bottom: 15px; }
.fs-sektorler-baslik p { font-size: 1.1rem; color: var(--yazi-acik); max-width: 700px; margin: 0 auto; }

/* HİZAYI BOZAN "PADDING: 30PX" BELASINI BURADA SIFIRLADIK! */
.fs-sektor-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 40px !important; 
    padding: 0 !important; /* Kartları içeri göçmekten kurtarır */
    margin: 0 !important;
}

.fs-sektor-karti {
    position: relative;
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    border: 1px solid transparent;
    overflow: hidden; 
    z-index: 1;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.sektor-bg-img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0; z-index: -2;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: scale(1.1); 
}

.fs-sektor-karti::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95), rgba(220, 38, 38, 0.8));
    opacity: 0; z-index: -1; transition: opacity 0.4s ease;
}

.fs-sektor-karti:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(220, 38, 38, 0.2); border-color: transparent; }
.fs-sektor-karti:hover .sektor-bg-img { opacity: 1; transform: scale(1); }
.fs-sektor-karti:hover::before { opacity: 1; }

.sektor-icerik { position: relative; z-index: 2; }
.fs-sektor-karti:hover h3, .fs-sektor-karti:hover p { color: #ffffff; }

.sektor-ikon {
    width: 60px; height: 60px; background: var(--vurgu-hafif); color: var(--vurgu-duz); border-radius: 12px;
    display: flex; justify-content: center; align-items: center; font-size: 1.6rem; margin-bottom: 25px; transition: all 0.4s ease;
}

.fs-sektor-karti:hover .sektor-ikon { background: rgba(255, 255, 255, 0.2); color: #ffffff; transform: rotateY(360deg); }
.fs-sektor-karti h3 { font-size: 1.3rem; font-weight: 700; color: var(--yazi-koyu); margin-bottom: 15px; transition: color 0.4s ease; }
.fs-sektor-karti p { font-size: 0.95rem; color: var(--yazi-acik); line-height: 1.6; transition: color 0.4s ease; }

/* --- 4. İŞLENEN MALZEMELER ALANI --- */
.fs-malzemeler { background-color: var(--zemin-beyaz); padding: 100px 5%; }
.fs-malzemeler-baslik { text-align: center; margin-bottom: 60px; }
.fs-malzemeler-baslik h2 { font-size: 2.4rem; font-weight: 800; color: var(--yazi-koyu); margin-bottom: 15px; }
.fs-malzemeler-baslik p { font-size: 1.1rem; color: var(--yazi-acik); max-width: 700px; margin: 0 auto; }
.fs-malzeme-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.malzeme-karti { background: var(--zemin-gri); padding: 40px 30px; border-radius: 16px; text-align: center; transition: var(--gecis); border: 1px solid rgba(0,0,0,0.03); }
.malzeme-karti:hover { background: #fff; transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.06); border-color: rgba(220, 38, 38, 0.1); }
.malzeme-ikon { width: 70px; height: 70px; margin: 0 auto 20px; background: #fff; color: var(--yazi-koyu); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.8rem; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: var(--gecis); }
.malzeme-karti:hover .malzeme-ikon { background: var(--vurgu-gradient); color: #fff; }
.malzeme-karti h4 { font-size: 1.25rem; font-weight: 700; color: var(--yazi-koyu); margin-bottom: 15px; }
.malzeme-karti p { font-size: 0.95rem; color: var(--yazi-acik); line-height: 1.6; }

/* --- 5. TEKNİK KAPASİTE ALANI --- */
.fs-kapasite-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.fs-kapasite { background-color: #0f172a; padding: 100px 5%; color: #fff; }
.fs-kapasite-sol { flex: 1.2; }
.fs-kapasite-sol h2 { font-size: 2.4rem; font-weight: 800; margin-bottom: 20px; color: #fff; }
.fs-kapasite-sol p { font-size: 1.1rem; color: #94a3b8; line-height: 1.7; margin-bottom: 40px; }
.kapasite-liste { display: flex; flex-direction: column; gap: 20px; }
.kapasite-liste li { display: flex; align-items: center; gap: 15px; background: rgba(255, 255, 255, 0.05); padding: 15px 25px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.05); transition: var(--gecis); }
.kapasite-liste li:hover { background: rgba(255, 255, 255, 0.1); transform: translateX(10px); border-color: rgba(220, 38, 38, 0.3); }
.kapasite-liste li i { color: #ef4444; font-size: 1.2rem; }
.kapasite-liste li div { font-size: 1.05rem; color: #e2e8f0; }
.kapasite-liste li strong { color: #fff; margin-right: 5px; }
.fs-kapasite-sag { flex: 1; }
.kapasite-gorsel-alani { position: relative; border-radius: 20px; overflow: hidden; }
.kapasite-gorsel-alani img { width: 100%; height: auto; border-radius: 20px; display: block; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.kapasite-rozeti { position: absolute; bottom: -20px; left: -20px; width: 140px; height: 140px; background: var(--vurgu-gradient); border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; border: 8px solid #0f172a; box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4); }
.rozet-rakam { font-size: 1.8rem; font-weight: 800; line-height: 1; }
.rozet-yazi { font-size: 0.9rem; font-weight: 600; text-align: center; text-transform: uppercase; margin-top: 5px; }

/* --- MOBİL UYUM --- */
@media (max-width: 1024px) {
    .fs-intro-container { flex-direction: column; }
    .fs-sektor-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .fs-malzeme-grid { grid-template-columns: repeat(2, 1fr); }
    .fs-kapasite-container { flex-direction: column; }
    .kapasite-rozeti { bottom: 20px; left: 20px; border-color: #fff; }
}

@media (max-width: 768px) {
    .fs-hero h1 { font-size: 2.2rem; }
    .fs-sektor-grid { grid-template-columns: 1fr !important; }
    .fs-malzeme-grid { grid-template-columns: 1fr; }
    .fs-kapasite-sol h2 { font-size: 2rem; }
    .kapasite-liste li { flex-direction: column; align-items: flex-start; gap: 10px; }
}