/*
 * New Way DMA - 2026-11 güncellemesi ek stilleri
 * style.css'e dokunmadan header.php'den yüklenir. Renkler ve font mevcut temayla aynı (#A30000, #1A1A1A, Inter).
 */

.nw-bt { border-top: 1px solid #EAEAEA; }
.nw-lead { color: #555555; font-size: 17px; max-width: 640px; }

/* ---------- Üst alan + showreel ---------- */
.nw-hero { position: relative; padding: 72px 0 88px; }
.nw-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.nw-hero-text { position: relative; z-index: 2; }
.nw-hero-title { font-size: 50px; font-weight: 800; line-height: 1.15; letter-spacing: -1px; margin-bottom: 22px; color: #1A1A1A; }
.nw-hero-title span { color: #A30000; }
.nw-hero-sub { font-size: 18px; color: #555555; max-width: 520px; margin-bottom: 32px; }
.nw-hero-overlay { display: none; }

.nw-phone-wrap { display: flex; justify-content: center; }
.nw-phone { position: relative; width: 290px; aspect-ratio: 9 / 19.5; background: #111111; border-radius: 44px; padding: 12px; box-shadow: 0 30px 60px rgba(0,0,0,.22), inset 0 0 0 2px #333333; }
.nw-phone::before { content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; background: #111111; border-radius: 12px; z-index: 3; }
.nw-screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #000000; }
.nw-screen video { width: 100%; height: 100%; object-fit: cover; display: block; }
.nw-sound { position: absolute; right: 14px; bottom: 16px; z-index: 4; display: flex; align-items: center; gap: 6px; background: rgba(0,0,0,.6); color: #FFFFFF; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 7px 12px; font: 600 12px 'Inter', sans-serif; cursor: pointer; }

/* ---------- Hizmet kartları ---------- */
.nw-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; }
.nw-card { background: #FFFFFF; border: 1px solid #EAEAEA; border-radius: 6px; padding: 30px 24px; text-decoration: none; color: #1A1A1A; display: flex; flex-direction: column; transition: all .3s ease; }
.nw-card:hover { border-color: #A30000; box-shadow: 0 10px 30px rgba(0,0,0,.05); transform: translateY(-4px); }
.nw-card-icon { font-size: 32px; color: #A30000; margin-bottom: 18px; }
.nw-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.nw-card p { font-size: 14px; color: #666666; line-height: 1.6; }
.nw-more { margin-top: auto; padding-top: 14px; font-size: 13px; font-weight: 600; color: #A30000; }

/* ---------- Nasıl çalışıyoruz ---------- */
.nw-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.nw-step { border-top: 3px solid #A30000; padding-top: 22px; }
.nw-step-n { font-size: 13px; font-weight: 800; color: #A30000; letter-spacing: 2px; }
.nw-step h3 { font-size: 21px; font-weight: 800; margin: 6px 0 8px; }
.nw-step p { color: #555555; font-size: 15px; }
.nw-note { margin-top: 40px; padding: 22px 26px; background: #FFFFFF; border: 1px solid #EAEAEA; border-left: 4px solid #A30000; border-radius: 4px; font-weight: 600; font-size: 16px; }

/* ---------- Vizyon ---------- */
.nw-vision { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.nw-vision-big { font-size: 22px; font-weight: 600; color: #A30000; line-height: 1.5; margin-bottom: 14px; }

/* ---------- Logo bandı: logo sayısından bağımsız sonsuz akış ---------- */
.carousel-track { width: max-content; animation: nwScrollLogos 30s linear infinite; }
@keyframes nwScrollLogos { to { transform: translateX(-50%); } }

/* ---------- Sayfa sonu çağrısı ---------- */
.nw-cta { background: #1A1A1A; color: #FFFFFF; padding: 80px 0; text-align: center; }
.nw-cta h2 { font-size: 34px; font-weight: 800; letter-spacing: -.5px; margin-bottom: 24px; }

/* ---------- Neler Yapıyoruz ---------- */
.nw-svc-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.nw-svc-nav a { font-size: 13px; font-weight: 600; text-decoration: none; color: #1A1A1A; border: 1px solid #DADADA; border-radius: 999px; padding: 7px 14px; background: #FFFFFF; transition: all .2s; }
.nw-svc-nav a:hover { border-color: #A30000; color: #A30000; }
.nw-svc-section { padding: 0 0 96px; }
.nw-svc { display: grid; grid-template-columns: 72px 1fr 1fr; gap: 32px; padding: 56px 0; border-top: 1px solid #EAEAEA; scroll-margin-top: 100px; }
.nw-svc-num { font-size: 44px; font-weight: 800; color: #A30000; line-height: 1; }
.nw-svc h2 { font-size: 26px; font-weight: 800; letter-spacing: -.3px; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.nw-svc h2 i { color: #A30000; font-size: 24px; }
.nw-svc p { color: #444444; font-size: 16px; }
.nw-svc ul { list-style: none; display: grid; gap: 10px; }
.nw-svc li { position: relative; padding-left: 22px; font-size: 15px; color: #333333; }
.nw-svc li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; background: #A30000; border-radius: 2px; }
.nw-holistic { background: #F8F9FA; border: 1px solid #EAEAEA; border-radius: 6px; padding: 44px; margin-top: 24px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.nw-holistic h2 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.nw-holistic p { color: #444444; }

/* ---------- Hakkımızda ---------- */
.nw-about-intro { font-size: 24px; font-weight: 600; line-height: 1.5; max-width: 860px; }
.nw-about-intro span { color: #A30000; }
.nw-two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.nw-two h2 { font-size: 24px; font-weight: 800; margin-bottom: 14px; }
.nw-two p { color: #444444; font-size: 16px; }
.nw-principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.nw-pr { background: #FFFFFF; border: 1px solid #EAEAEA; border-radius: 6px; padding: 28px 24px; }
.nw-pr h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.nw-pr h3::before { content: ""; display: block; width: 28px; height: 3px; background: #A30000; margin-bottom: 16px; }
.nw-pr p { font-size: 14px; color: #555555; }

/* ---------- Referanslar ---------- */
.nw-refs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.nw-ref { background: #FFFFFF; border: 1px solid #EAEAEA; border-radius: 6px; padding: 22px 20px; transition: all .25s ease; }
.nw-ref:hover { border-color: #A30000; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.05); }
.nw-ref-logo { height: 40px; margin-bottom: 14px; display: flex; align-items: center; }
.nw-ref-logo img { max-height: 40px; max-width: 140px; width: auto; filter: grayscale(100%); opacity: .75; transition: all .3s; }
.nw-ref:hover .nw-ref-logo img { filter: none; opacity: 1; }
.nw-ref h3 { font-size: 17px; font-weight: 800; line-height: 1.3; letter-spacing: -.2px; color: #1A1A1A; }
.nw-ref p { font-size: 13px; color: #777777; margin-top: 6px; line-height: 1.45; }
.nw-refs-raw { margin-top: 40px; }

/* ---------- Tablet ---------- */
@media (max-width: 992px) {
    .nw-cards { grid-template-columns: repeat(2, 1fr); }
    .nw-principles { grid-template-columns: repeat(2, 1fr); }
    .nw-refs { grid-template-columns: repeat(3, 1fr); }
    .nw-hero-title { font-size: 42px; }
}

/* ---------- Mobil: video tam ekran arka plan, yazı koyu katmanın üstünde ---------- */
@media (max-width: 760px) {
    .nw-hero { padding: 0; min-height: calc(100svh - 70px); display: flex; align-items: flex-end; color: #FFFFFF; }
    .nw-hero .container { width: 100%; padding-top: 120px; padding-bottom: 56px; }
    .nw-hero-grid { display: block; }
    .nw-phone-wrap { position: absolute; inset: 0; z-index: 0; }
    .nw-phone { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; padding: 0; box-shadow: none; background: #000000; }
    .nw-phone::before { display: none; }
    .nw-screen { border-radius: 0; }
    .nw-hero-overlay { display: block; pointer-events: none; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.35) 40%, rgba(0,0,0,.82) 100%); }
    .nw-hero .hero-tag { color: #FF8A8A; }
    .nw-hero-title { font-size: 34px; color: #FFFFFF; }
    .nw-hero-title span { color: #FFFFFF; text-decoration: underline; text-decoration-color: #A30000; text-decoration-thickness: 4px; text-underline-offset: 6px; }
    .nw-hero-sub { color: rgba(255,255,255,.88); font-size: 16px; }
    .nw-sound { top: 16px; bottom: auto; right: 16px; }

    .section-padding { padding: 64px 0; }
    .section-title { font-size: 28px; }
    .nw-cards { grid-template-columns: 1fr; }
    .nw-steps { grid-template-columns: 1fr; }
    .nw-vision, .nw-two { grid-template-columns: 1fr; gap: 28px; }
    .nw-svc { grid-template-columns: 1fr; gap: 14px; padding: 44px 0; }
    .nw-svc-num { font-size: 32px; }
    .nw-holistic { grid-template-columns: 1fr; padding: 28px; }
    .nw-principles { grid-template-columns: 1fr; }
    .nw-refs { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .nw-ref { padding: 16px 14px; }
    .nw-ref h3 { font-size: 15px; }
    .nw-about-intro { font-size: 20px; }
    .nw-cta h2 { font-size: 26px; }
}

/* ---------- Mobil üst alan: logo ve menü düğmesi tek satırda ---------- */
@media (max-width: 992px) {
    .header-container { flex-direction: row; gap: 0; }
    .logo-area img { height: 38px; }
}

/* ---------- Showreel: ekran videonun kendi oranında (9:16), video kırpılmaz ---------- */
.nw-phone { aspect-ratio: auto; }
.nw-phone::before { top: 18px; width: 64px; height: 16px; }
.nw-screen { height: auto; aspect-ratio: 9 / 16; }
.nw-screen video { object-fit: contain; }
@media (max-width: 760px) {
    .nw-phone { height: 100%; }
    .nw-screen { height: 100%; aspect-ratio: auto; }
}
