/* 
    BİRLİK MAKİNA — COMPACT HERO & WHITE TEXT [V6.0]
    Shortened Hero (75vh), Centered Layout, Pure White Text
*/

/* --- SECTION GENERAL --- */
.section-padding { padding: 80px 0; }
.bg-neutral-50 { background-color: var(--neutral-50); }

/* --- BÖLÜM 1: HERO (COMPACT) --- */
.hero {
    position: relative;
    width: 100%;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-900);
    overflow: hidden;
    padding: 180px 0 80px;
    text-align: center;
}

.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}
.hero-slide.active { opacity: 0.75; } 
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(11, 30, 53, 0.55) 0%, rgba(11, 30, 53, 0.4) 100%);
    z-index: 2;
}
.hero-pattern {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(232, 88, 15, 0.1) 1px, transparent 1px);
    background-size: 30px 30px; z-index: 3;
}

.hero-content--centered {
    position: relative; z-index: 10;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.badge-dot {
    width: 8px; height: 8px;
    background: var(--accent-500);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-500);
}

.hero-title { 
    font-size: clamp(2.5rem, 6vw, 4.2rem); 
    font-weight: 950; /* Ekstra kalın */
    line-height: 1.1; 
    color: #ffffff !important; 
    text-transform: uppercase; 
    margin-bottom: 1.5rem; 
    text-shadow: 0 4px 20px rgba(0,0,0,0.8); /* Güçlü okunurluk */
}

.hero-subtitle { 
    font-size: 1.25rem; 
    color: var(--white); 
    max-width: 800px; 
    margin: 0 auto 2.5rem; 
    line-height: 1.6; 
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    font-weight: 500;
}

.hero-subtitle { 
    font-size: 1.2rem; 
    color: var(--white); /* White protocol */
    max-width: 750px; 
    margin: 0 auto 2.5rem; 
    line-height: 1.6; 
}

.hero-actions { 
    display: flex; 
    justify-content: center; 
    flex-wrap: wrap; 
    gap: 20px; 
}

/* --- BÖLÜM 2: LOGO TICKER --- */
.logo-ticker { background: var(--neutral-50); padding: 50px 0; border-y: 1px solid var(--neutral-200); overflow: hidden; }
.ticker-title { text-align: center; font-size: 0.75rem; font-weight: 700; color: var(--neutral-400); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 30px; }
.ticker-wrapper { display: flex; overflow: hidden; }
.ticker-content { display: flex; gap: 80px; animation: ticker 40s linear infinite; white-space: nowrap; align-items: center; }
.ticker-content:hover { animation-play-state: paused; }
.ticker-item { height: 50px; display: flex; align-items: center; filter: none; opacity: 1; transition: var(--transition-normal); }
.ticker-item img { height: 100%; width: auto; max-width: 180px; object-fit: contain; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- BÖLÜM 3: HAKKIMIZDA ÖZET --- */
.about-preview .container { display: grid; grid-template-columns: 0.5fr 0.5fr; gap: 60px; align-items: stretch; }
.about-visual { position: relative; display: flex; align-items: center; }
.about-img-wrapper { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2xl); border: 1px solid var(--neutral-200); aspect-ratio: 4/5; width: 100%; }
.about-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); filter: brightness(0.95); }
.about-img:hover { transform: scale(1.03); filter: brightness(1); }


.floating-stat {
    position: absolute; bottom: -30px; right: -30px;
    background: var(--primary-900); color: var(--white);
    padding: 25px 35px; border-radius: var(--radius-md);
    box-shadow: var(--shadow-2xl); border-left: 5px solid var(--accent-500);
    z-index: 10;
}
.stat-number { font-size: 2.8rem; font-weight: 800; line-height: 1; color: var(--white); letter-spacing: -1.5px; display: inline-block; }
.stat-suffix { font-size: 1.8rem; color: var(--accent-500); font-weight: 700; margin-left: 2px; vertical-align: baseline; }
.stat-label { 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    color: var(--steel-200); /* Daha parlak beyaz/çelik */
    opacity: 0.8;
    margin-top: 8px; 
    display: block; 
    font-weight: 700; 
}
.stat-value-row { display: flex; align-items: baseline; justify-content: center; }

.floating-badge {
    position: absolute; top: -20px; left: -20px;
    background: rgba(255, 255, 255, 0.95); padding: 12px 20px; border-radius: 50px;
    box-shadow: var(--shadow-lg); font-weight: 700; font-size: 0.9rem; color: var(--primary-900);
    display: flex; align-items: center; gap: 10px; z-index: 10;
    backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.7);
}

.about-text .section-label { color: var(--accent-500); font-weight: 800; font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 15px; display: block; }
.about-text .section-title { font-size: clamp(2.2rem, 3.5vw, 3rem); font-weight: 800; color: var(--primary-900); line-height: 1.2; margin-bottom: 25px; }
.about-text .section-body { 
    color: #0B1E35 !important; /* Gri yerine tam koyu lacivert */
    font-size: 1.15rem; 
    line-height: 1.8; 
    margin-bottom: 25px; 
    font-weight: 600; /* Daha net */
}
.section-padding:not(.bg-neutral-50) .section-body { color: inherit; } /* Fix global override breaking white backgrounds */

.feature-list { list-style: none; padding: 0; margin: 40px 0; display: flex; flex-direction: column; gap: 24px; }
.feature-item { display: flex; gap: 20px; align-items: flex-start; }
.feature-icon { width: 36px; height: 36px; background: rgba(232, 88, 15, 0.1); color: var(--accent-500); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 4px; box-shadow: 0 4px 10px rgba(232, 88, 15, 0.15); }
.feature-icon svg { width: 18px !important; height: 18px !important; }
.feature-item div strong { display: block; font-size: 1.25rem; color: var(--primary-900); margin-bottom: 6px; font-weight: 700; }
.feature-item div p { 
    margin: 0; 
    color: var(--neutral-800); /* Net siyah/gri tonu */
    font-size: 1.05rem; 
    line-height: 1.6; 
    font-weight: 500;
}


/* --- BÖLÜM 4: HİZMETLER GRID --- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }

/* ==========================================================
   PREMIUM LÜX KART - "GRADIENT BORDER SWEEP" TEKNİĞİ
   Yaklaşım: .service-card-wrapper dış kaplama olarak degrade arka
   planı tutar. İçteki .service-card beyaz kart içeriğidir.
   Hover'da dış kaplama renklenip sweep animasyonu başlar.
   ========================================================== */

.service-card-wrapper {
    border-radius: var(--radius-md);
    padding: 1.5px; /* Bu 'padding' görsel sınır kalınlığı */
    background: var(--neutral-100); /* Varsayılan: gri ince sınır */
    transition: background 0.5s ease, box-shadow 0.5s ease;
}
.service-card-wrapper:hover {
    background: linear-gradient(135deg, #E8580F 0%, #f7b16c 40%, #E8580F 70%, #b84008 100%);
    background-size: 300% 300%;
    animation: luxBorderSweep 3s ease infinite;
    box-shadow: 0 20px 50px rgba(232, 88, 15, 0.18), 0 4px 15px rgba(232, 88, 15, 0.1);
}
@keyframes luxBorderSweep {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.service-card {
    background: var(--white); padding: 42px 35px; border-radius: calc(var(--radius-md) - 1px);
    display: flex; flex-direction: column; align-items: flex-start; text-align: left;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%; box-sizing: border-box;
}
.service-card-wrapper:hover .service-card { transform: translateY(-4px); }

.service-card-icon { width: 48px; height: 48px; color: var(--accent-500); margin-bottom: 20px; transition: transform 0.3s ease; }
.service-card-wrapper:hover .service-card-icon { transform: scale(1.08) rotate(-5deg); }
.service-card h3 { font-size: 1.35rem; color: var(--primary-900); margin-bottom: 12px; font-weight: 700; letter-spacing: -0.3px; }
.service-card p { 
    color: #0B1E35; /* Gri ton silindi */
    font-size: 1rem; 
    line-height: 1.7; 
    font-weight: 600; 
    margin-bottom: 25px; 
    margin-top: 0; 
}
.service-card-link { color: var(--accent-500); font-weight: 600; text-decoration: none; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 6px; margin-top: auto; transition: gap 0.3s ease; }
.service-card-link svg { width: 18px; height: 18px; }
.service-card-wrapper:hover .service-card-link { gap: 10px; }

/* --- BÖLÜM 5: SAYAÇLAR (ULTRA PREMIUM) --- */
.stats-section {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #0b1e35 0%, #0f2a4a 40%, #0b1e35 80%, #122234 100%);
    padding: 60px 0; /* 90px'den 60px'e düşürüldü */
}
/* Mültiple dönen degrade çemberler (atmosfer efekti) */
.stats-section::before {
    content: ''; position: absolute; top: -60px; left: -60px;
    width: 300px; height: 300px; border-radius: 50%;
    background: radial-gradient(circle, rgba(232,88,15,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.stats-section::after {
    content: ''; position: absolute; bottom: -80px; right: -80px;
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(232,88,15,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    position: relative; z-index: 1;
}
.stat-box {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    backdrop-filter: blur(12px);
    padding: 30px 20px; /* 50px 30px'den düşürüldü */
    text-align: center;
    position: relative; overflow: hidden;
    transition: all 0.4s ease;
}
.stat-box::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 60%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-500), transparent);
    opacity: 0.7;
}
.stat-box:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(232,88,15,0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 30px rgba(232,88,15,0.08);
}
.stat-icon {
    width: 32px; height: 32px; margin: 0 auto 12px; /* 48px'den 32px'e düşürüldü */
    color: var(--accent-500); opacity: 0.85;
}

/* --- BÖLÜM 6: PROJELER (GRAND SHOWCASE) --- */
.portfolio-grand {
    background: var(--neutral-50);
    padding: 100px 0;
}
.section-subtitle {
    font-size: 1.15rem;
    color: #0B1E35; /* Tam kontrast */
    margin-top: 10px;
    margin-bottom: 50px;
    font-weight: 600;
}
.portfolio-showcase {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 5%;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}
.portfolio-showcase::-webkit-scrollbar { display: none; } /* Chrome/Safari */

.portfolio-item-grand {
    flex: 0 0 calc(33.333% - 20px); /* 3'lü minimal grid */
    min-width: 340px;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16/11; /* Biraz daha dikey ve kompakt */
    scroll-snap-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    background: var(--primary-900);
}
.portfolio-item-grand img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.portfolio-item-grand:hover img {
    transform: scale(1.08);
}

.portfolio-info-grand {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 25px;
    border-radius: var(--radius-sm);
    transform: translateY(5px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.portfolio-item-grand:hover .portfolio-info-grand {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(232, 88, 15, 0.3);
}

.p-tag {
    font-size: 0.7rem;
    color: var(--accent-500);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}
.portfolio-info-grand h3 {
    font-size: 1.25rem; /* 1.5'den düşürüldü */
    color: var(--white);
    font-weight: 700;
    margin-bottom: 6px;
}
.portfolio-info-grand p {
    font-size: 0.85rem; /* 0.95'den düşürüldü */
    color: rgba(255,255,255,0.6);
    line-height: 1.4;
    margin-bottom: 15px;
}
.p-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}
.p-link:hover { gap: 12px; color: var(--accent-500); }
.p-link svg { width: 18px; height: 18px; transition: transform 0.3s ease; }
.p-link:hover svg { transform: translateX(3px); }

/* Mobil Ayarlar */
@media (max-width: 768px) {
    .portfolio-item-grand { flex: 0 0 85%; min-width: 300px; }
    .portfolio-info-grand { padding: 20px; bottom: 15px; left: 15px; right: 15px; }
    .portfolio-info-grand h3 { font-size: 1.2rem; }
}



/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .about-preview .container { grid-template-columns: 1fr; gap: 40px; }
    .services-grid, .projects-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .services-grid, .projects-grid, .stats-grid { grid-template-columns: 1fr; }
}
