/* =============================================================
   Neds Digital — Bölüm stilleri
   Orijinal sayfalarda satır içi (inline) yazılmış kuralların
   sürdürülebilir CSS karşılıkları. Markup temiz kalır, görünüm aynı.
   ============================================================= */

/* ---------------------------------------------------------------
   bento-box-section — 4 kartlık mozaik
   --------------------------------------------------------------- */

.bento-header h2 {
    font-family: Inter, sans-serif;
    font-weight: 300;
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.2;
    letter-spacing: -.02em;
    color: #000;
    margin: 0;
    padding: 0;
}

.bento-header p {
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: clamp(16px, 2vw, 18px);
    line-height: clamp(26px, 3vw, 28px);
    color: #000;
    margin: 0;
    padding: 0;
}

.bento-grid > [class^="bento-card"] {
    position: relative;
    background-color: transparent;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Mozaik yerleşimi — orijinaldeki satır içi grid değerleri */
.bento-grid > *:nth-child(1) { grid-column: 1; grid-row: 1 / 3; min-height: 874px; }
.bento-grid > *:nth-child(2) { grid-column: 2; grid-row: 1;     min-height: 336px; }
.bento-grid > *:nth-child(3) { grid-column: 1; grid-row: 3;     min-height: 336px; }
.bento-grid > *:nth-child(4) { grid-column: 2; grid-row: 2 / 4; min-height: 672px; }

.bento-card__body {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
}

.bento-card__body h3 {
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: clamp(20px, 2.5vw, 24px);
    line-height: clamp(28px, 3.5vw, 32px);
    color: #fff;
    margin: 0 0 16px;
    padding: 0;
}

.bento-card__body p {
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: clamp(14px, 1.8vw, 16px);
    line-height: clamp(22px, 2.8vw, 24px);
    color: #fffc;
    margin: 0;
    padding: 0;
}

.bento-card__tag {
    margin-top: 20px;
}

.bento-card__tag span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: #ffffffe6;
}

.bento-card__dot {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: #fff3;
    border-radius: 50%;
    position: relative;
}

.bento-card__dot::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
}

.bento-card__media {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.bento-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* Kaynak tasarımda kart görselinin üstünde karartma katmanı YOKTUR.
   Eklendiğinde marka renkleri soluyor; bu yüzden bilinçli olarak kullanılmıyor. */

@media (max-width: 900px) {
    .bento-grid > *:nth-child(n) {
        grid-column: 1;
        grid-row: auto;
        min-height: 320px;
    }
}

/* ---------------------------------------------------------------
   connected-tools-section — "Görünürlükten Dönüşüme" ve süreç blokları

   Kaynak sayfada bu bölümün tüm stilleri satır içi yazılmıştı; bağlı
   CSS dosyalarında tek bir kuralı yoktu. Değerler birebir buraya taşındı.
   Arka plan rengini kaydırmaya göre değiştiren animasyon JS tarafındadır.
   --------------------------------------------------------------- */

.connected-tools-section {
    background-color: rgb(33, 20, 21);
    padding-top: clamp(80px, 10vw, 120px);
    padding-bottom: clamp(80px, 10vw, 120px);
    position: relative;
    width: 100%;
    transition: background-color .3s;
}

.connected-tools-section > div {
    max-width: 1920px;
    margin: 0 auto;
    padding-left: clamp(20px, 6vw, 75px);
    padding-right: clamp(20px, 6vw, 75px);
}

.connected-tools-section h2 {
    font-family: Inter, sans-serif;
    font-weight: 300;
    font-size: clamp(32px, 4vw, 56px);
    line-height: clamp(42px, 5vw, 66px);
    letter-spacing: -.02em;
    color: #fff;
    margin: 0 0 30px;
    padding: 0;
    text-align: center;
}

.connected-tools-section > div > div > p {
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: clamp(18px, 2.5vw, 24px);
    line-height: clamp(28px, 3.5vw, 34px);
    color: #fffc;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0;
    text-align: center;
}

/* Araç ikonları */
.connected-tools-section .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.connected-tools-section .social-icon img,
.connected-tools-section .social-icon svg {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Üç kartlık şerit */
.connected-tools-section .cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.connected-tools-section .scroll-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.2;
    overflow: hidden;
    border-radius: 8px;
    background: #1a1113;
}

.connected-tools-section .scroll-card > div {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #0006 0%, #0000001a 50%, #0009 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
}

.connected-tools-section .scroll-card h3 {
    color: #fff;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 400;
    margin: 0;
}

.connected-tools-section .scroll-card p {
    color: #fffc;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin: 0 0 8px;
}

/* Süreç kartları */
.connected-tools-section .enterprise-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.connected-tools-section .enterprise-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #fff;
}

.connected-tools-section .enterprise-card h3 { color: #fff; margin: 0; font-weight: 400; }
.connected-tools-section .enterprise-card p  { color: #fffc; margin: 0; }

/* Açılır liste blokları */
.connected-tools-section .techstack-extra { margin-top: 80px; }
.connected-tools-section .techstack-extra-title { color: #fff; font-weight: 400; }
.connected-tools-section .techstack-extra-desc  { color: #fffc; }

.connected-tools-section .techstack-accordion {
    border-bottom: 1px solid #ffffff1f;
    padding: 18px 0;
}

.connected-tools-section .techstack-accordion__summary {
    color: #fff;
    cursor: pointer;
    list-style: none;
}

.connected-tools-section .techstack-accordion__body { color: #fffc; padding-top: 12px; }

/* Video vitrini — "Üretim & Topluluk Yönetimi" */
.video-showcase-wrapper { margin-top: 80px; }

.video-showcase {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 460px;
    display: flex;
    align-items: flex-end;
}

.video-showcase__bg { position: absolute; inset: 0; z-index: 1; }

.video-showcase__bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-showcase__content {
    position: relative;
    z-index: 2;
    padding: 40px;
    max-width: 720px;
}

.video-showcase__content h3 { color: #fff; font-size: clamp(24px, 3vw, 36px); font-weight: 300; margin: 0 0 12px; }
.video-showcase__content p  { color: #fffc; margin: 0; }

.video-control-btn {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 3;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid #ffffff4d;
    background: #00000059;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 900px) {
    .connected-tools-section .cards-grid,
    .connected-tools-section .enterprise-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------------------------------------------------------------
   service-hero — hero içindeki hızlı form
   --------------------------------------------------------------- */

.service-hero__form .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.service-hero__form .field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

@media (max-width: 640px) {
    .service-hero__form .row { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------
   Bölümler arası ortak yardımcılar
   --------------------------------------------------------------- */

.section-lead {
    font-family: Inter, sans-serif;
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.6;
    color: #444;
    max-width: 760px;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
