/**
 * Index sayfa özel stilleri – Yılmaz Pen
 * Kurumsal koyu gri/beyaz tema, farklı layout
 */

/* --- Hero strip (slider altı) --- */
.site-main > .index-hero-strip {
    margin-top: -72px;
    position: relative;
    z-index: 5;
}
.index-hero-strip {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 36px 0 40px;
    box-shadow: 0 8px 28px rgba(30, 41, 59, 0.2);
}
.index-hero-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.index-hero-tagline {
    flex: 1 1 320px;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    line-height: 1.6;
}
.index-hero-tagline strong { color: #fff; }
.index-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.index-hero-btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 4px;
    transition: all 0.25s ease;
}
.index-hero-btn-primary {
    background: #fff;
    color: #1e293b !important;
    border: 2px solid #fff;
}
.index-hero-btn-primary:hover {
    background: transparent;
    color: #fff !important;
}
.index-hero-btn-outline {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.6);
}
.index-hero-btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}
@media (max-width: 767px) {
    .index-hero-inner { flex-direction: column; text-align: center; }
    .index-hero-btns { justify-content: center; }
}

/* --- İstatistik şeridi --- */
.index-stats-bar {
    background: #fff;
    padding: 48px 0 44px;
    border-bottom: 1px solid #e2e8f0;
}
.index-stats-bar .container { max-width: 1140px; margin: 0 auto; padding: 0 15px; }
.index-stats-row { display: flex; flex-wrap: wrap; margin: 0 -15px; justify-content: center; align-items: stretch; }
.index-stats-bar .stat-col {
    flex: 1 1 0;
    min-width: 160px;
    max-width: 260px;
    padding: 0 20px;
    text-align: center;
    position: relative;
}
.index-stats-bar .stat-col:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: #e2e8f0;
}
.index-stats-bar .stat-num {
    font-family: Poppins, Arial, sans-serif;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.1;
    color: #1e293b;
    margin-bottom: 4px;
}
.index-stats-bar .stat-label {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
@media (max-width: 991px) {
    .index-stats-bar .stat-col::after { display: none; }
    .index-stats-bar .stat-col { max-width: none; margin-bottom: 20px; }
    .index-stats-bar .stat-num { font-size: 32px; }
}

/* --- Neden Yılmaz Pen? --- */
.index-why-section {
    padding: 72px 0 64px;
    background: #f8fafc;
}
.index-why-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 40px;
}
.index-why-row { margin: 0 -15px; }
.index-why-card {
    background: #fff;
    padding: 32px 24px 28px;
    height: 100%;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.3s, border-color 0.3s;
}
.index-why-card:hover {
    box-shadow: 0 12px 32px rgba(30, 41, 59, 0.08);
    border-color: #1a202c;
}
.index-why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: #1e293b;
    color: #fff;
    font-size: 24px;
    border-radius: 6px;
    margin-bottom: 18px;
}
.index-why-card h4 {
    font-size: 17px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
}
.index-why-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #64748b;
}

/* --- Hakkımızda --- */
.index-about-section {
    padding: 90px 0 88px !important;
    background: #fff !important;
}
.index-about-text .section-title .title-header h5 { color: #1a202c !important; letter-spacing: 1px; }
.index-about-text .section-title .title-header h2.title { color: #1e293b !important; }
.index-about-text .section-title .title-header::after { background-color: #1a202c !important; }
.index-about-text p { color: #64748b; }
.index-about-img-wrap {
    padding-left: 30px;
    max-width: 540px;
    margin-left: auto;
}
@media (max-width: 991px) {
    .index-about-img-wrap { padding-left: 0; margin: 0 auto 24px; max-width: none; }
}

/* --- Nasıl Çalışıyoruz? --- */
.index-process-section {
    padding: 64px 0 72px;
    background: linear-gradient(180deg, #1e293b 0%, #334155 100%);
}
.index-process-title {
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}
.index-process-subtitle {
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}
.index-process-row {
    margin: 0 -12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}
.index-process-col {
    position: relative;
}
.index-process-col::after {
    display: none !important;
    content: none !important;
}
.index-process-step {
    text-align: center;
    padding: 24px 16px;
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    background: transparent;
}
.index-process-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.05);
}
.index-process-step.is-expanded {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.08);
}
.index-process-step.animate-in {
    opacity: 1;
    transform: translateY(0);
}
.index-process-step.animate-in:hover,
.index-process-step.animate-in.is-expanded {
    transform: translateY(-4px);
}
.index-process-num {
    display: inline-block;
    width: 44px;
    height: 44px;
    line-height: 44px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 16px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.index-process-step:hover .index-process-num,
.index-process-step.is-expanded .index-process-num {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}
.index-process-step h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}
.index-process-brief {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}
.index-process-detail {
    display: none;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
}
.index-process-step.is-expanded .index-process-detail {
    display: block;
}
.index-process-detail p {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
}
.index-process-toggle {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    cursor: pointer;
}
.index-process-step:focus {
    outline: 2px solid rgba(255,255,255,0.6);
    outline-offset: 4px;
}
/* Scroll-in animation initial state */
.index-process-section .index-process-col .index-process-step {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.4s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.index-process-section.in-view .index-process-col .index-process-step {
    opacity: 1;
    transform: translateY(0);
}
.index-process-section.in-view .index-process-col:nth-child(1) .index-process-step { transition-delay: 0.1s; }
.index-process-section.in-view .index-process-col:nth-child(2) .index-process-step { transition-delay: 0.2s; }
.index-process-section.in-view .index-process-col:nth-child(3) .index-process-step { transition-delay: 0.3s; }
.index-process-section.in-view .index-process-col:nth-child(4) .index-process-step { transition-delay: 0.4s; }
.index-process-section.in-view .index-process-col .index-process-step:hover,
.index-process-section.in-view .index-process-col .index-process-step.is-expanded {
    transform: translateY(-4px);
}

/* --- Hizmetler giriş + grid --- */
.index-services-intro {
    max-width: 680px;
    margin: 0 auto 36px;
    text-align: center;
    color: #64748b;
    font-size: 15px;
    line-height: 1.65;
}
.index-services-intro strong { color: #1e293b; }

.index-portfolio-section {
    padding: 80px 0 88px !important;
    background: #f8fafc !important;
}
.index-portfolio-section .section-title .title-header h5 { color: #1a202c !important; }
.index-portfolio-section .section-title .title-header h2.title { color: #1e293b !important; }
.index-portfolio-section .section-title .title-header::after { background-color: #1a202c !important; }
.index-portfolio-section .ttm-portfolio-box-view-overlay,
.index-portfolio-section .featured-imagebox-portfolio .ttm-box-view-overlay {
    background-color: rgba(30, 41, 59, 0.88) !important;
}
.index-portfolio-section .featured-content-portfolio h2.featured-title a:hover { color: #fff !important; }


/* --- Öne Çıkan Projeler --- */
.index-portfolio-teaser {
    padding: 72px 0 68px;
    background: #fff;
}
.index-teaser-title {
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
}
.index-teaser-desc {
    text-align: center;
    color: #64748b;
    font-size: 15px;
    margin-bottom: 36px;
}
.index-teaser-row { margin: 0 -10px; }
.index-teaser-card {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 20px;
}
.index-teaser-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.index-teaser-card:hover img { transform: scale(1.05); }
.index-teaser-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 16px;
    background: linear-gradient(0deg, rgba(30, 41, 59, 0.9), transparent);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

/* --- CTA şeridi --- */
.index-cta-bar {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 36px 0;
    margin: 0;
    text-align: center;
}
.index-cta-bar .index-cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
}
.index-cta-bar .index-cta-text {
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    margin: 0;
}
.index-cta-bar .index-cta-text span { color: rgba(255,255,255,0.85); font-weight: 500; font-size: 14px; }
.index-cta-bar .index-cta-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #fff;
    color: #1e293b !important;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none !important;
    border-radius: 4px;
    transition: background 0.25s, color 0.25s;
    border: 2px solid #fff;
}
.index-cta-bar .index-cta-btn:hover {
    background: transparent;
    color: #fff !important;
}
@media (max-width: 767px) {
    .index-cta-bar .index-cta-inner { flex-direction: column; }
    .index-cta-bar .index-cta-text { font-size: 15px; }
}

/* --- İşbirliklerimiz --- */
.index-clients-section .client-section {
    background: #f9fafb !important;
}
.index-clients-section .section-title .title { color: #1e293b !important; }

/* --- Slider caption okunabilirlik iyileştirmeleri --- */
/* Küçük metinler (18px, 22px) - hafif shadow */
#rev_slider_4_1 #slide-3-layer-1,
#rev_slider_4_1 #slide-3-layer-4,
#rev_slider_4_1 #slide-3-layer-6,
#rev_slider_4_1 #slide-3-layer-7,
#rev_slider_4_1 #slide-4-layer-11 {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75), 0 0 4px rgba(0, 0, 0, 0.85), 0 1px 2px rgba(0, 0, 0, 0.9) !important;
    color: #ffffff !important;
}
/* Büyük başlıklar (73px, 75px) - güçlü shadow */
#rev_slider_4_1 #slide-3-layer-2,
#rev_slider_4_1 #slide-3-layer-3,
#rev_slider_4_1 #slide-4-layer-2,
#rev_slider_4_1 #slide-4-layer-3 {
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.85), 0 0 8px rgba(0, 0, 0, 0.95), 0 2px 4px rgba(0, 0, 0, 1) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}
/* Strong etiketleri - en güçlü shadow */
#rev_slider_4_1 .tp-caption strong {
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 0, 0, 1), 0 2px 5px rgba(0, 0, 0, 1) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}
/* Butonlar */
#rev_slider_4_1 .tp-caption.skin-flat-button {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}
