/* ==========================================
   GENEL BİLEŞENLER
   ========================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-red { color: var(--sarbot-red); }

/* ==========================================
   BUTONLAR
   ========================================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--sarbot-red);
    color: #fff;
    border: 2px solid var(--sarbot-red);
    box-shadow: 0 4px 15px rgba(230, 25, 43, 0.3);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--sarbot-red);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--text-light);
    color: var(--text-light);
}

/* ==========================================
   HERO BÖLÜMÜ
   ========================================== */
.hero {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-panel) 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.badge {
    display: inline-block;
    background: rgba(230, 25, 43, 0.1);
    color: var(--sarbot-red);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid rgba(230, 25, 43, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-light);
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-desc {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

/* ==========================================
   BÖLÜM BAŞLIKLARI
   ========================================== */
.services-section {
    padding: 80px 0;
}

.section-label {
    color: var(--sarbot-red);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-light);
    margin: 10px 0 20px;
}

.section-desc {
    max-width: 700px;
    margin: 0 auto 50px;
}

/* ==========================================
   HİZMET KARTLARI (GRID SİSTEMİ)
   ========================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Yan yana 4 kolon */
    gap: 25px;
}

.service-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(230, 25, 43, 0.5); /* Üzerine gelince kırmızı glow */
}

.card-icon {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.service-card:hover .card-icon {
    color: var(--sarbot-red); /* Hover olunca ikon kırmızı olur */
}

.card-title {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.card-text {
    font-size: 0.95rem;
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--sarbot-red);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

/* ==========================================
   MOBİL UYUMLULUK (RESPONSIVE)
   ========================================== */
@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); } /* Tablette 2 kolon */
    .hero-title { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; } /* Mobilde 1 kolon alt alta */
    .hero-actions { flex-direction: column; }
    .hero { text-align: center; }
    .hero-desc { margin-left: auto; margin-right: auto; }
}
/* ==========================================
   SÜREÇ (PROCESS) BÖLÜMÜ
   ========================================== */
.process-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    background: var(--bg-panel);
    padding: 30px 20px;
    border-radius: 8px;
    border-top: 3px solid var(--border-color);
    transition: border-color 0.3s ease;
    text-align: center;
}

.process-step:hover {
    border-top-color: var(--sarbot-red);
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05); /* Şeffaf dev rakam */
    line-height: 1;
    margin-bottom: 10px;
    font-family: var(--font-logo);
}

.step-title {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.step-text {
    font-size: 0.9rem;
    color: var(--text-main);
}

/* ==========================================
   FOOTER (ALT BİLGİ)
   ========================================== */
.site-footer {
    background: #030303;
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    max-height: 40px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.footer-text {
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-title {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-main);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--sarbot-red);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.contact-info i {
    color: var(--sarbot-red);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #6b6e75;
}

/* ==========================================
   MOBİL UYUMLULUK (SÜREÇ & FOOTER)
   ========================================== */
@media (max-width: 992px) {
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .process-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-text { margin: 0 auto 20px; }
    .contact-info li { justify-content: center; }
}
/* ==========================================
   İLETİŞİM SAYFASI - ARKA PLAN KAYAN YAZI (BG TICKER)
   ========================================== */

/* Sayfanın form içeriklerinin okunabilir kalması için body'ye koyu fon verelim */
body.contact-page {
    background-color: var(--bg-body); /* layout.css'teki koyu gri/siyah değişken */
    overflow-x: hidden; /* Yan kaydırma çubuğunu engelle */
}

/* Ticker Ana Taşıyıcısı (Fixed, en arkada) */
.bg-ticker {
    position: fixed;
    top: 0;
    height: 100vh; /* Ekran yüksekliği kadar */
    width: auto; /* Genişliği dikey yazıya göre ayarla */
    z-index: -1; /* !!! ÖNEMLİ: Ekranın en arkasında kalmasını sağlar !!! */
    overflow: hidden; /* Dışarı taşan metni gizle */
    pointer-events: none; /* Mouse ile tıklanamasın, formları engellemesin */
    display: flex;
    align-items: center;
}

/* Sol ve Sağ Konumlandırma */
.bg-ticker-left {
    left: 40px; /* Ekranın solundan boşluk */
}

.bg-ticker-right {
    right: 40px; /* Ekranın sağından boşluk */
}

/* Animasyonu İçeren Div (Burada dikey yazı ve akış ayarlanır) */
.ticker-content {
    writing-mode: vertical-rl; /* !!! ÖNEMLİ: Yazıyı dikey hale getirir !!! */
    text-orientation: mixed;
    white-space: nowrap; /* Satır atlamayı engelle */
    color: rgba(255, 215, 0, 0.04); /* !!! KRİTİK: Sarı (Gold), Çok İnce (Low Opacity) !!! */
    /* Kullanıcının formları okuyabilmesi için opaklık %4 gibi çok düşük olmalı */
    
    font-size: 8rem; /* Yazı boyutu (Devasa ama şeffaf) */
    font-weight: 100; /* !!! İNCE (Thin) !!! */
    text-transform: uppercase; /* Hepsi büyük harf */
    letter-spacing: 15px; /* Harfler arası boşluk (Estetik için) */
    
    /* Animasyon Ayarı: 40 saniyede bir döngü, lineer (sabit hız), sonsuz */
    animation: tickerFlowUp 40s linear infinite;
}

/* Ekstra Estetik: Harf kalınlığını daha da inceltmek için */
.ticker-content {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================
   SONSUZ AKIŞ ANİMASYONU (TICKER FLOW)
   ------------------------------------------
   HTML'de metni 2 kez tekrarladık.
   Burada metni tam yarısına kadar (-50%) yukarı kaydırıp
   başa sarsak bile kullanıcı fark etmez, sonsuz akış oluşur.
   ========================================== */
@keyframes tickerFlowUp {
    0% {
        transform: translateY(0%);
    }
    100% {
        transform: translateY(-50%); /* Metnin yarısı kadar yukarı kaydır */
    }
}

/* ==========================================
   RESPONSIVE (MOBİL UYUMLULUK)
   ========================================== */
@media (max-width: 768px) {
    /* Mobilde yazıyı küçültelim ve kenara daha çok yaklaştıralım */
    .ticker-content {
        font-size: 4rem;
        letter-spacing: 8px;
    }
    .bg-ticker-left {
        left: 10px;
    }
    .bg-ticker-right {
        right: 10px;
    }
}

/* --- İnsan Kaynakları Zıplama Animasyonu --- */
.bounce-card {
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-20px);}
    60% {transform: translateY(-10px);}
}
/* --- ZIPLAYARAK BİRLEŞEN HARF (SCATTER) ANİMASYONU --- */
.tagline {
    display: flex; 
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    white-space: nowrap;
}

.fly-in-letter {
    display: inline-block;
    opacity: 0;
    animation: magnetLetter 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes magnetLetter {
    0% {
        opacity: 0;
        transform: translate(var(--start-x), var(--start-y)) rotate(var(--start-rot)) scale(2);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0) rotate(0) scale(1);
    }
}

/* --- YENİ HİZMET SLIDER'I --- */
.top-slider-section { padding: 160px 0 40px; background: var(--bg-dark); }
.service-slider-container {
    width: 100%; max-width: 1100px; margin: 0 auto; position: relative;
    background: var(--bg-panel); border: 1px solid var(--border-color);
    border-radius: 20px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.service-slides { display: flex; width: 100%; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.service-slide { min-width: 100%; display: flex; align-items: center; padding: 40px; gap: 40px; box-sizing: border-box; }
.slide-img-col { flex: 1; height: 350px; }
.slide-img-col img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
.slide-text-col { flex: 1; text-align: left; }
.slide-text-col .badge { margin-bottom: 15px; display: inline-block; }
.slide-text-col h2 { font-size: 2.2rem; color: #fff; margin-bottom: 20px; line-height: 1.2; }
.slide-text-col p { color: var(--text-main); font-size: 1.1rem; line-height: 1.6; }
.slider-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; }
.dot { width: 12px; height: 12px; background: rgba(255,255,255,0.3); border-radius: 50%; cursor: pointer; transition: 0.3s; }
.dot.active { background: var(--sarbot-red); transform: scale(1.2); }

/* STATİK KAHRAMAN YAZISI */
.hero-static-text { text-align: center; max-width: 800px; margin: 40px auto 80px; padding: 0 20px; }
.hero-title { font-size: 3.5rem; margin-top: 15px; line-height: 1.2; color: #fff; }
.hero-desc { color: var(--text-main); font-size: 1.1rem; margin: 20px 0 30px; }

@media (max-width: 992px) {
    .service-slide { flex-direction: column; padding: 30px 20px 60px; gap: 20px; text-align: center; }
    .slide-text-col { text-align: center; }
    .slide-img-col { height: 250px; width: 100%; }
    .hero-title { font-size: 2.5rem; }
    .top-slider-section { padding-top: 120px; }
}