/* ==========================================================================
   DRAVENTA — Constux şablonu ekleri (index2.html düzeni)
   Şablonun kendi CSS'i: theme/ozel/constux/assets/css (birebir). Bu dosya SADECE şablonda
   karşılığı olmayan parçalar + CMS verisinin şablona oturması için. Sınıf öneki: dv-
   ========================================================================== */

/* ---------- İkonlar: şablonun SVG <img> ikonları yerine FA6 light (panelden "fa-…" ile yönetilir) ----------
   Ölçü/renk şablonun ilgili "img" kurallarıyla aynı (beyaz ikonlar filter:invert ile, sayaç ikonları ana renk). */
.dv-ico{display:inline-block;line-height:1;font-size:45px;color:#fff;transition:all .5s ease-in-out}
.counter-item .icon .dv-ico{font-size:48px;color:var(--theme-color)}
.about-item .icon .dv-ico{font-size:40px}
.feature-icon .dv-ico,.process-item .icon .dv-ico{font-size:45px}
.service-icon .dv-ico,.pricing-icon .dv-ico{font-size:50px}
.choose-item-icon .dv-ico{font-size:38px}
.service-item:hover .service-icon .dv-ico{transform:rotateY(-360deg)}

/* Şablonun form odak gölgeleri sabit turuncu (rgba 246,88,1) → panel ana rengine bağlanır */
.form-group .form-control:focus,.form-group .form-select:focus,.form-check .form-check-input:focus,.nice-select:focus{
  box-shadow:0 0 0 .25rem rgba(var(--genelrgb),.25)}

/* Koyu zeminli bantlarda ana renkli vurgu (span) okunmuyor → ana rengin açık tonu */
.hero-single .hero-content .hero-title span,
.sa-bg .site-title span,.ts-bg .site-title span,.video-area .site-title span,.portfolio-area .site-title span,
.cta-content h1 span{color:color-mix(in srgb,var(--genel) 45%,#fff)}

/* Form teşekkür uyarısı (SweetAlert2) butonu panel ana rengi */
.swal2-styled.swal2-confirm{background-color:var(--genel) !important}
.swal2-styled.swal2-confirm:focus{box-shadow:0 0 0 3px rgba(var(--genelrgb),.4) !important}

/* Mobil üst bar: e-posta + telefon yan yana (şablonda 390px'te telefon alt satıra düşüyordu) */
@media all and (max-width: 575px){
  .header-top-list ul{flex-wrap:nowrap;justify-content:space-between}
  .header-top-left,.header-top-left .header-top-list{width:100%;margin-right:0}
  .header-top-list ul li{margin-right:0;min-width:0}
  .header-top-list .list-item{gap:6px}
  .header-top-list .list-item .icon{width:30px;height:30px;line-height:26px;flex:none}
  .header-top-list .list-item .icon img{width:17px}
  .header-top-list .list-item .content{min-width:0}
  .header-top-list .list-item .content h6{font-size:12px;margin-bottom:0}
  .header-top-list .list-item .content a{font-size:12.5px;white-space:nowrap}
}

/* ---------- Dil seçici: bayraklı açılır liste (şablonun dropdown'u) + mobil menüde bayrak satırı ---------- */
.dv-dil{display:flex;align-items:center;gap:8px}
.dv-dil img{width:20px;height:14px;object-fit:cover;border-radius:3px}
.dv-mob-lang{display:none}
@media all and (max-width: 991px){
  .dv-mob-lang{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:20px;color:var(--theme-color)}
  .dv-mob-lang img{width:28px;height:19px;object-fit:cover;border-radius:4px;box-shadow:0 0 0 1px rgba(0,0,0,.08)}
}

/* ---------- Görsel oranları (CMS görselleri şablonun yer tutucu ölçülerine) ---------- */
.about-img .img-1{aspect-ratio:600/900;object-fit:cover}
.about-img .img-2{aspect-ratio:600/800;object-fit:cover}
.choose-img .img-1{aspect-ratio:600/700;object-fit:cover}
.choose-img .img-2{aspect-ratio:1/1;object-fit:cover}
.gallery-img img{aspect-ratio:550/600;object-fit:cover}
.portfolio-img img{width:100%;aspect-ratio:500/600;object-fit:cover}
.team-img img{width:100%;aspect-ratio:600/650;object-fit:cover}
.blog-item-img img{width:100%;aspect-ratio:600/400;object-fit:cover}
.service-img img{width:100%;aspect-ratio:600/400;object-fit:cover}
.skill-img img{aspect-ratio:500/600;object-fit:cover}
.testimonial-author-img img{aspect-ratio:1/1;object-fit:cover}
.partner-wrapper img{width:auto !important;max-width:100%;max-height:70px;margin:0 auto}
.navbar-brand img,.offcanvas-brand img{height:auto}
.hero-single{background-size:cover;background-position:center}

/* Mobil hero: uzun Türkçe kelimeler ("dönüştürüyoruz") 50px'te taşıyordu */
@media all and (max-width: 575px){
  .hero-single .hero-content .hero-title{font-size:38px}
  .hero-single .hero-content .hero-sub-title{letter-spacing:2px;max-width:100%}
}

/* Footer listeleri: uzun hizmet adı alt satıra geçince ikon boşluğuyla hizalı kalsın */
.footer-list li a{display:inline-flex;align-items:baseline}

/* Hakkımızda "+yıl" kutusu: uzun Türkçe etiket iki satıra insin */
.about-experience p{line-height:1.3}

/* ---------- Bakım paketleri ---------- */
.pricing-amount strong{white-space:nowrap;font-size:40px}
.pricing-amount-type{display:block}
.dv-pk-tabs{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin:-10px 0 45px}
.dv-pk-tab{border:2px solid var(--theme-color);background:transparent;color:var(--color-dark);font-family:var(--heading-font);
  font-weight:600;padding:9px 26px;border-radius:50px;transition:var(--transition2)}
.dv-pk-tab:hover,.dv-pk-tab.active{background:var(--theme-color);color:#fff}
.dv-pk-pane{display:none}
.dv-pk-pane.active{display:block;animation:dvFade .45s ease}
@keyframes dvFade{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}

/* Paketler alt sayfası */
.dv-pk-alt{padding:0 0 80px;margin-top:-40px}
.dv-pk-aciklama{max-width:820px;margin:0 auto 26px;text-align:center;font-size:17px;line-height:1.7}
.dv-pk-diger{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px}
.dv-pk-diger span{font-weight:600;color:var(--color-dark)}
.dv-pk-diger a{display:inline-flex;align-items:center;gap:8px;padding:9px 22px;border-radius:50px;
  border:2px solid var(--theme-color);color:var(--theme-color);font-weight:600}
.dv-pk-diger a:hover{background:var(--theme-color);color:#fff}
.dv-pk-diger a i{font-size:12px}

/* ---------- Makine teklif formu (teklifiste.php) — şablonun contact-form'u + ekler ---------- */
.dv-hp{position:absolute !important;left:-9999px;width:1px;height:1px;overflow:hidden}
.dv-teklif .dv-tf-bolum{font-size:18px;font-weight:700;color:var(--color-dark);margin:6px 0 16px;padding-bottom:10px;border-bottom:1px dashed rgba(0,0,0,.12)}
.dv-teklif .dv-tf-bolum:not(:first-of-type){margin-top:10px}
.dv-teklif .form-group{margin-bottom:20px}
.dv-teklif .nice-select{background:#fff;border:1px solid var(--border-info-color, #e5e5e5);color:var(--body-text-color)}
.dv-teklif .nice-select .list{max-height:260px;overflow-y:auto}
.dv-teklif .form-check-label{font-size:15px;line-height:1.5}
.dv-tf-yan{position:sticky;top:110px;display:flex;flex-direction:column;gap:20px}
.dv-tf-yan .contact-img img{aspect-ratio:4/3;object-fit:cover}
.dv-tf-adim{background:var(--theme-color-light);border-radius:30px;padding:26px 28px}
.dv-tf-adim h4{font-size:20px;font-weight:700;margin-bottom:14px;color:var(--color-dark)}
.dv-teklif .contact-form-header h2 span{color:var(--theme-color)}
.dv-tf-adim ol{list-style:none !important;counter-reset:dvtf;padding:0 !important;margin:0 0 14px}
.dv-tf-adim ol li{list-style:none !important}
.dv-tf-adim ol li{counter-increment:dvtf;position:relative;padding-left:44px;margin-bottom:14px;line-height:1.55}
.dv-tf-adim ol li::before{content:counter(dvtf);position:absolute;left:0;top:0;width:30px;height:30px;border-radius:50%;
  background:var(--theme-color);color:#fff;font-weight:700;font-size:14px;display:flex;align-items:center;justify-content:center}
.dv-tf-not{margin:0;font-weight:600;color:var(--theme-color2);line-height:1.5}
.dv-tf-not i{color:var(--theme-color);margin-right:4px}
.dv-tf-tel{display:flex;align-items:center;gap:16px;background:var(--theme-color2);color:#fff;border-radius:30px;padding:18px 24px;font-size:20px;font-weight:700}
.dv-tf-tel:hover{color:#fff;background:var(--theme-color)}
.dv-tf-tel .icon{width:50px;height:50px;border-radius:50%;background:rgba(255,255,255,.15);display:flex;align-items:center;justify-content:center;font-size:22px;flex:none}
.dv-tf-tel small{display:block;font-size:13px;font-weight:500;opacity:.85}
@media all and (max-width: 991px){ .dv-tf-yan{position:static} }
@media all and (max-width: 575px){ .dv-teklif .contact-form{padding:22px 16px;border-radius:24px} }

/* ---------- Ana sayfa hızlı teklif bandı (blok_iletisimformu — şablonun quote-area'sı) ---------- */
.quote-form .form-group{margin-bottom:20px}
.quote-form .nice-select{width:100%}
.quote-form .nice-select .list{max-height:240px;overflow-y:auto;width:100%}
.dv-qf-kvkk{margin:0 0 18px}
.dv-qf-kvkk .form-check-label{font-size:14px;line-height:1.5}
@media all and (max-width: 991px){ .quote-wrap{padding:60px 0} }
@media all and (max-width: 575px){ .quote-content{padding:24px 18px} }
/* ---------- Alt sayfalar: CMS içerik HTML'i (sınıfsız panel içeriği) ---------- */
.site-breadcrumb ~ * h2:not([class]){font-size:1.6rem;margin:0 0 14px}
.site-breadcrumb ~ * h3:not([class]){font-size:1.3rem;margin:0 0 12px}
.site-breadcrumb ~ * p:not([class]) + p:not([class]){margin-top:14px}
.site-breadcrumb ~ * ul:not([class]) li,.site-breadcrumb ~ * ol:not([class]) li{list-style:inherit}
.site-breadcrumb ~ * ul:not([class]){list-style:disc;padding-left:22px;margin:0 0 16px}
.site-breadcrumb ~ * ol:not([class]){list-style:decimal;padding-left:22px;margin:0 0 16px}

/* CMS sabit WhatsApp + AI sohbet ikonları sağ altta — şablonun "yukarı çık" butonu sola */
#scroll-top{right:auto !important;left:30px}
@media all and (max-width: 767px){ #scroll-top{left:16px} }

/* ---------- Türkçe büyük harf: şablonun text-transform:capitalize kuralları Chrome'da dil duyarlı değil ----------
   ('iyi' → 'Iyi', 'için' → 'Için'). Türkçe sayfada kapatılır; metin panelde yazıldığı gibi görünür.
   Liste şablon CSS'inden otomatik çıkarıldı. */
html[lang="tr"] .blog-title,
html[lang="tr"] .counter-item .title,
html[lang="tr"] .cta-content h1,
html[lang="tr"] .hero-single .hero-content .hero-title,
html[lang="tr"] .navbar .nav-item .dropdown-menu .dropdown-item,
html[lang="tr"] .navbar .nav-item .nav-link,
html[lang="tr"] .pricing-header h5,
html[lang="tr"] .search-popup .form-control,
html[lang="tr"] .site-breadcrumb .breadcrumb-menu li,
html[lang="tr"] .site-breadcrumb .breadcrumb-title,
html[lang="tr"] .site-title,
html[lang="tr"] .skill-progress .progress-item h5,
html[lang="tr"] .site-title-tagline,
html[lang="tr"] .theme-btn,
html[lang="tr"] .theme-btn2{text-transform:none}

/* Mobil yatay kayma: wow/animate.css kayan girişleri (fadeInLeft/Right) animasyon sırasında sayfayı genişletir. */
html,body{max-width:100%;overflow-x:hidden}
@supports (overflow:clip){ html,body{overflow-x:clip} }
