/* =========================================================
   ALT SAYFALAR (style.css'ten sonra yüklenir)
   ========================================================= */
/* Aktif menü çizgisi */
.nav a { position: relative; }
.nav a.active { color: var(--primary); }
.nav a.active::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -6px; height: 2px; background: var(--primary); opacity: .6; }

/* Sayfa başlığı: görsel/video arka plan + 90° gradyan overlay */
.page-hero { padding: 100px 0; color: var(--white); background-size: cover; background-position: center; }
.page-hero .overlay { background-image: linear-gradient(90deg, #121212 30%, #12121238 100%); opacity: .85; }
.page-hero .inner { display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.page-hero h1 { color: var(--white); max-width: 700px; }
.page-hero .shape svg { height: 50px; }
.page-hero .divider { width: 175px; }

/* Hakkımızda satırları */
.about-row-section { padding: 50px 0; }
.about-row { display: flex; gap: 60px; }
.about-row > * { min-width: 0; }
.about-row .photo { flex: 0 0 calc(33.3% - 30px); border-radius: 30px; background-size: cover; background-position: center; min-height: 50px; }
.about-row .text { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 35px 0; }
.about-row h2 { color: var(--text); }
.about-row .divider { width: 300px; }

/* Kumaş / iplik bölümleri */
.cat-section { padding: 100px 0; }
.cat-row { display: flex; gap: 60px; align-items: stretch; }
.cat-row.reverse { flex-direction: row-reverse; }
.cat-photo { flex: 0 0 calc(33.3% - 30px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: 30px; }
.cat-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 30px 0 0 30px; }
.cat-row.reverse .cat-photo img { border-radius: 0 30px 30px 0; }
.cat-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.cat-title { display: flex; align-items: center; gap: 15px; padding: 5px 0; }
.cat-title::before { content: ""; width: 60px; border-top: 1.5px solid var(--secondary); }
.cat-title span { color: #000; font-size: 20px; font-weight: 500; line-height: 1.3em; letter-spacing: 1px; }
.cat-body p { font-size: 15px; }

/* Görsel slider (Elementor image-carousel: 1 görsel, ok + nokta, 5 sn) */
.carousel { position: relative; margin-top: 15px; }
.carousel-viewport { overflow: hidden; border-radius: 0 30px 0 30px; }
.carousel-track { display: flex; transition: transform .5s ease; }
.carousel-track img { flex: 0 0 100%; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--white); font-size: 26px; cursor: pointer; padding: 10px; z-index: 2; text-shadow: 0 0 6px rgba(0,0,0,.4); }
.carousel-btn.prev { left: 5px; }
.carousel-btn.next { right: 5px; }
.carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.carousel-dots button { width: 6px; height: 6px; border-radius: 50%; border: 0; padding: 0; background: #000; opacity: .2; cursor: pointer; }
.carousel-dots button.active { opacity: 1; }

/* İplikler: video arka planlı akordeon bölümü */
.yarn-acc { padding: 50px 0; margin-top: 50px; color: var(--white); }
.yarn-acc .overlay { background: #12121259; }
.yarn-acc .shape svg { height: 50px; }
.yarn-acc .inner { display: flex; flex-direction: column; gap: 60px; padding-top: 50px; }
.yarn-acc .intro-text { color: var(--white); margin-top: 50px; }
.yarn-acc-grid { display: flex; gap: 60px; position: relative; }
.yarn-acc-grid::before { content: ""; position: absolute; inset: 0; background: #000; opacity: .25; border-radius: 30px; }
.yarn-acc-grid > * { flex: 1; min-width: 0; padding: 35px 0; position: relative; }
.yarn-acc .accordion-body p { color: var(--white); }
.yarn-acc .accordion-body ul { list-style: none; margin: 0; padding: 20px; color: var(--white); font-size: 15px; line-height: 1.6em; }

/* Sürdürülebilirlik ızgarası */
.sus-intro { padding: 100px 0 0; }
.sus-intro .inner { display: flex; flex-direction: column; gap: 45px; }
.sus-lead { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.sus-lead .divider { width: 225px; }
.sus-lead .divider span { color: #000; }
.sus-lead h5 { font-size: 18px; font-weight: 500; color: var(--accent); max-width: 1000px; }
.sus-grid { display: flex; flex-direction: column; gap: 30px; padding-bottom: 30px; }
.sus-row { display: flex; gap: 30px; }
.sus-row > * { flex: 1; min-width: 0; }
.sus-row img { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; }
.sus-card { border-radius: 30px 0 30px 0; padding: 30px 30px 60px; background-image: linear-gradient(180deg, #2B4A3F 0%, #487A69 100%); color: var(--white); }
.sus-card h4 { color: var(--white); margin-bottom: 20px; font-size: 25px; text-transform: capitalize; }
.sus-card p { color: var(--white); font-size: 15px; }

/* Blog sayfası ızgarası (3 sütun, kategori etiketi) */
.blog-page { padding: 100px 0; }
.blog-page .blog-grid { flex-wrap: wrap; align-items: flex-start; }
.post-tag { position: absolute; top: 15px; left: 15px; background: var(--dark-green); color: var(--white); padding: 10px 20px; border-radius: 30px; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; line-height: 1; }
.blog-page .post-date { background: var(--dark-green); }
.blog-page .post-date::before { border-color: transparent var(--secondary) var(--secondary) transparent; }
.blog-page .read-more { color: var(--primary); }
.blog-page .read-more:hover { color: var(--secondary); }
.blog-col { flex: 0 0 33.3333%; max-width: 33.3333%; padding: 0 15px; display: flex; flex-direction: column; }

/* İletişim */
.contact-section { padding: 100px 0; }
.contact-section .inner { display: flex; flex-direction: column; gap: 60px; }
.contact-box { display: flex; border-radius: 30px; overflow: hidden; background: url("../img/contact-us/Drapped-Fabrics-6.webp") center/cover; }
.contact-left { flex: 0 0 38%; position: relative; padding: 50px; display: flex; flex-direction: column; justify-content: flex-end; gap: 20px; color: var(--white-68); }
.contact-left::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(180deg, #121212BD 0%, #252525CC 60%); opacity: .9; }
.contact-left > * { position: relative; }
.contact-left h4 { color: var(--white); font-size: 25px; }
.info-box { display: flex; gap: 20px; align-items: flex-start; }
.info-box svg { width: 35px; height: 35px; flex-shrink: 0; fill: none; stroke: var(--light-green); stroke-width: 1.5; }
.info-box strong { display: block; color: var(--white); font-size: 17px; margin-bottom: 5px; }
.info-box span, .info-box a { color: var(--white-68); font-size: 15px; }
.contact-right { flex: 1; padding: 50px; background-image: linear-gradient(120deg, #121212BD 0%, #252525CC 100%); display: flex; flex-direction: column; gap: 20px; color: var(--white-68); }
.contact-right h4 { color: var(--white); font-size: 25px; text-transform: capitalize; }
.contact-form label { display: block; color: var(--white); font-size: 15px; font-weight: 700; margin: 25px 0 8px; }
.contact-form label em { color: #e2401c; font-style: normal; }
.contact-form input, .contact-form textarea { width: 100%; padding: 10px 14px; border: 1px solid rgba(255,255,255,.27); background: transparent; color: var(--white); font-family: var(--font); font-size: 15px; border-radius: 2px; }
.contact-form textarea { background: var(--white); color: var(--black); min-height: 120px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--secondary); }
.contact-form button { margin-top: 20px; background: #000; color: var(--white); border: 0; border-radius: 6px; padding: 10px 15px; font-family: var(--font); font-size: 13px; cursor: pointer; }
.contact-form .form-note { display: none; margin-top: 15px; color: var(--light-green); }
.map-box { border-radius: 30px; overflow: hidden; }
.map-box iframe { display: block; width: 100%; height: 350px; border: 0; }

@media (max-width: 1024px) {
  .about-row, .cat-row, .cat-row.reverse, .sus-row, .yarn-acc-grid, .contact-box { flex-direction: column; }
  .about-row.photo-right { flex-direction: column-reverse; }
  .about-row .photo { min-height: 320px; flex-basis: auto; }
  .cat-photo { flex-basis: auto; }
  .cat-photo img { border-radius: 30px; max-height: 500px; }
  .sus-row.flip { flex-direction: column-reverse; }
  .blog-col { flex-basis: 50%; max-width: 50%; }
  .contact-left { flex-basis: auto; }
}
@media (max-width: 767px) {
  .blog-col { flex-basis: 100%; max-width: 100%; }
  .contact-left, .contact-right { padding: 30px 24px; }
}

/* fadeInRight (Elementor) */
.animated.fadeInRight { animation-name: fadeInRight; }
@keyframes fadeInRight { from { opacity: 0; transform: translate3d(100%,0,0); } to { opacity: 1; transform: none; } }

/* Yorum kartı hover (ElementsKit block-style-two): #3F3F3F katman 0.4s içinde belirir */
.testimonial-card { position: relative; z-index: 1; transition: all .4s ease; display: flex; flex-direction: column; }
.testimonial-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #3F3F3F; opacity: 0; transform-origin: bottom; transition: all .4s ease; z-index: -1; }
.testimonial-card:hover::before { opacity: 1; transform: scaleY(1); }
.testimonial-card p { transition: all .4s ease; flex: 1; }
.testimonial-card .t-head { display: flex; justify-content: space-between; }
.testimonial-card .t-bio { display: flex; flex-direction: column; }

/* Blog kartı hover (ElementsKit): görsel 1.05 büyür ve 0.8 opaklığa iner, başlık yeşile döner */
.post-thumb { overflow: hidden; border-radius: 30px; }
.post-thumb .post-date, .post-thumb .post-tag { z-index: 2; }
.post-thumb { overflow: visible; }
.post-thumb img { transition: transform .4s ease, opacity .4s ease; }
.post-card:hover .post-thumb img { transform: scale(1.05); opacity: .8; }
.post-thumb .img-wrap { display: block; overflow: hidden; border-radius: 30px; }
.post-body h4 a { transition: color .3s, opacity .3s; }
.post-body h4 a:hover { opacity: .8; }

/* Hakkımızda: başlık videosu alt kenarı +100px, büyük ve yavaş giren görseller */
.page-hero-tall { padding-bottom: 200px; }
.about-row .photo { flex: 0 0 45%; min-height: 420px; }
[data-anim].animated.slow { animation-duration: 2.2s; }

/* Kumaş/iplik bölümleri: orijinaldeki gibi ~1280px genişlik (görsel 406px, slider 812px) */
.cat-section .container { max-width: 1310px; }
.cat-photo { flex: 0 0 calc(33.3% - 20px); }

/* Sürdürülebilirlik: orijinal ölçüler (1280px ızgara, ~466px satır, orman bölümü 200px iç boşluk) */
.sus-intro .container { max-width: 1310px; }
.sus-row { min-height: 466px; }
.sus-cta { margin-top: 50px; padding: 200px 0; }
.sus-cta .overlay { opacity: .4; background: #000; }
.sus-second { padding: 50px 0 100px; }

/* Blog sayfası: orijinaldeki gibi ~1280px genişlik */
.blog-page .container { max-width: 1310px; }

/* İletişim: orijinaldeki gibi ~1280px genişlik */
.contact-section .container { max-width: 1310px; }

/* Orijinal ölçüler: blog kenar boşluğu, iletişim kutusu yüksekliği, şerit + footer 1280px */
.blog-page .blog-grid { margin: 0 0 -35px; }
.contact-box { min-height: 912px; }
.contact-strip .container, .site-footer .container { max-width: 1310px; }
.map-box { background: #e5e3df; }

/* Blog sayfası kart hover (ElementsKit post-image-card): görsel 1.05 büyür + 2° döner, kutudan taşar */
.blog-page .post-thumb .img-wrap { overflow: visible; border-radius: 30px; }
.blog-page .post-thumb img { border-radius: 30px; transition: transform .4s ease, opacity .4s ease; }
.blog-page .post-card:hover .post-thumb img { transform: scale(1.05) rotate(2deg); opacity: .8; }

/* Yazı detay sayfası (hello-elementor tema: 1140px içerik) */
.post-page { padding: 40px 0 120px; }
.post-container { max-width: 1170px; margin: 0 auto; padding: 0 15px; }
.post-title { font-size: 45px; color: var(--black); text-transform: none; margin-bottom: 25px; }
.post-page h2 { font-size: 40px; color: var(--black); text-transform: none; margin: 30px 0 20px; }
.post-page h3 { font-size: 22px; color: var(--black); text-transform: none; margin: 25px 0 10px; }
.post-page p { font-size: 15px; line-height: 1.7em; }
.post-page a { color: var(--primary); text-decoration: underline; }
.post-page figure { margin: 20px 0; }
.post-page figure img { width: 100%; border-radius: 30px; }
.post-page .toc { margin: 0 0 20px; padding-left: 40px; font-size: 15px; line-height: 1.7em; }
.post-tags { margin-top: 40px; font-size: 14px; color: var(--text); }

/* ===== Header: orijinal ElementsKit nav menü değerleri (post-209) ===== */
.header-inner { margin: 15px auto; min-height: 0; }
.nav ul { height: 60px; align-items: stretch; }
.nav li { margin: 0 18px; display: flex; }
.nav a { padding: 0; display: flex; align-items: center; color: #000; font-size: 13px; font-weight: 600; letter-spacing: .5px; line-height: 1.3em; text-transform: uppercase; border-bottom: 2px solid #02010100; transition: color .3s, border-color .3s; }
.nav a:hover, .nav a:focus, .nav a.active { color: var(--primary); border-bottom-color: var(--primary); }
.nav a::after, .nav a.active::after { content: none; display: none; }
.logo { margin: 5px 40px; }
.lang { color: #000; font-size: 13px; font-weight: 600; letter-spacing: .5px; }
/* Header ince ayar (orijinalle yan yana ölçüldü) */
.header-inner { min-height: 88px; }
.site-header .logo { margin: 0 52px; }
.site-header .logo img { width: 212px; max-width: none; }
.lang { right: -55px; font-size: 16px; font-weight: 700; letter-spacing: 0; }
.site-header .logo img { width: 232px; }
.site-header .logo { margin: 0 50px; }

/* KVKK sayfası */
.kvkk-page { padding: 100px 0; }
.kvkk-page .divider { margin-bottom: 15px; }
.kvkk-page .kvkk-title { color: var(--text); font-size: 45px; margin: 0 0 25px; }
.kvkk-page h3 { font-size: 20px; margin: 30px 0 10px; }
.kvkk-list { padding-left: 40px; margin: 0 0 1em; font-size: 15px; line-height: 1.7em; }
