/* ==========================================================================
   ÇayBel — ana sayfa
   Ölçüler mevcut sitenin ana sayfasından alınmıştır (1440px masaüstü, 375px mobil).
   ========================================================================== */

/* --- Ortak --------------------------------------------------------------- */
.as-bolum {
	position: relative; z-index: 1; background: var(--beyaz);
	padding-left: max(50px, calc((100% - 1200px) / 2));
	padding-right: max(50px, calc((100% - 1200px) / 2));
}

.gorsel-yok { background-color: var(--ikincil); background-image: url(../img/caybel-logo-beyaz.svg) !important; background-size: 30% auto !important; background-repeat: no-repeat !important; background-position: center !important; }

.as-baslik {
	font-family: var(--f-unbounded); font-size: 20px; font-weight: 600;
	letter-spacing: 1px; line-height: 19px; color: var(--ikincil);
}
.as-metin {
	font-family: var(--f-unbounded); font-size: 15px; font-weight: 300;
	letter-spacing: 1px; line-height: 22px; color: var(--ikincil);
}

/* Sağa yaslı "YAZI (ikon)" satırı */
.dugme-satiri { display: flex; justify-content: flex-end; align-items: flex-end; gap: 20px; }
.dugme-satiri__yazi {
	font-family: var(--f-unbounded); font-size: 13px; font-weight: 500;
	letter-spacing: 1px; line-height: 13px; padding: 12px 0;
	transition: color .2s;
}
.dugme-satiri__ikon { display: block; color: var(--turuncu); transition: color .2s, transform .2s; }
.dugme-satiri__ikon svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.dugme-satiri:hover .dugme-satiri__ikon { color: var(--yesil); }
.dugme-satiri--koyu { padding-right: 25px; }
.dugme-satiri--koyu .dugme-satiri__yazi { color: var(--ikincil); }
.dugme-satiri--koyu .dugme-satiri__ikon { width: 45px; height: 45px; }
.dugme-satiri--acik .dugme-satiri__yazi { color: var(--gri-2); }
.dugme-satiri--acik .dugme-satiri__ikon { width: 40px; height: 40px; }
.dugme-satiri__yazi:hover { color: var(--turuncu); }

/* Kolon: üstte başlık + galeri, altta açıklama + buton */
.as-kolon { display: flex; flex-direction: column; justify-content: space-between; gap: 50px; }
.as-kolon__ust { display: flex; flex-direction: column; gap: 50px; }
.as-kolon__alt { display: flex; flex-direction: column; justify-content: flex-end; }

/* Görünürken yukarı kayarak gelme */
[data-anim] { transition: opacity .6s ease, transform .6s ease; }
.js [data-anim]:not(.gorundu) { opacity: 0; transform: translateY(40px); }
@media (prefers-reduced-motion: reduce) { .js [data-anim]:not(.gorundu) { opacity: 1; transform: none; } }

/* --- Galeri -------------------------------------------------------------- */
.galeri { position: relative; }
.galeri__pencere { overflow: hidden; border-radius: 10px; }
.galeri__ray { display: flex; gap: 10px; will-change: transform; }
.galeri__oge { flex: 0 0 calc((100% - (var(--g, 1) - 1) * 10px) / var(--g, 1)); }
.galeri__kart {
	position: relative; display: block; height: 400px; border-radius: 10px; overflow: hidden;
	background: var(--ikincil) center / cover no-repeat;
}
.galeri--450 .galeri__kart { height: 450px; }
.galeri--300 .galeri__kart { height: 300px; }
.galeri__katman {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	padding: 20px; text-align: center;
	font-family: var(--f-unbounded); font-size: 15px; font-weight: 500; letter-spacing: 1px; line-height: 1.4;
	color: var(--acik-gri); background: rgba(26, 26, 24, .48);
	opacity: 0; transition: opacity .3s;
}
.galeri__kart:hover .galeri__katman, .galeri__kart:focus-visible .galeri__katman { opacity: 1; }
.galeri__ok {
	position: absolute; top: 50%; width: 30px; height: 30px; margin-top: -15px; z-index: 2;
	color: var(--gri-2); display: flex; align-items: center; justify-content: center;
}
.galeri__ok svg { width: 19px; height: 30px; fill: currentColor; filter: drop-shadow(0 0 2px rgba(0,0,0,.35)); }
.galeri__ok--geri { left: 10px; }
.galeri__ok--ileri { right: 10px; }
.galeri__ok:hover { color: var(--turuncu); }

/* --- Giriş --------------------------------------------------------------- */
.as-hero {
	position: relative; margin-top: -15px; height: 675px; overflow: hidden;
	background: var(--acik-gri);
	display: flex; flex-direction: column; justify-content: center; align-items: stretch;
	padding: 95px 25px 95px 50px;
}
.as-hero__gorsel {
	position: absolute; inset: -40px 0 0; background: var(--ikincil) center / cover no-repeat;
}
.as-hero::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: #000 url(../img/doku.jpg) center / cover no-repeat; opacity: .4;
}
.as-hero__kutu {
	position: relative; z-index: 2;
	display: flex; flex-direction: column; justify-content: flex-end; gap: 20px;
	padding: 25px; border-radius: 15px; text-align: center;
}
.as-hero__baslik {
	font-family: var(--f-unbounded); font-size: 34px; font-weight: 700;
	letter-spacing: 1px; line-height: 50px; color: var(--acik-gri);
}
.as-hero__metin {
	font-family: var(--f-unbounded); font-size: 14px; font-weight: 300;
	letter-spacing: 1.5px; line-height: 21px; color: #e1e1e1;
}

/* --- Tanıtım cümlesi ----------------------------------------------------- */
.as-tanitim { margin-top: -15px; border-radius: 15px 15px 0 0; padding-top: 100px; padding-bottom: 50px; }
.as-tanitim__metin {
	max-width: 1140px; margin: 0 auto; text-align: center;
	font-family: var(--f-unbounded); font-size: 18px; font-weight: 600;
	letter-spacing: 1px; line-height: 24px; color: var(--ikincil);
}

/* --- Tanıtım kutuları ---------------------------------------------------- */
.as-kutular { display: block; }
.as-kutular > .as-kutu + .as-kutu { margin-top: 10px; }
.as-kutu {
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; gap: 10px; min-height: 250px; padding: 25px;
	border-radius: 10px; background: var(--ikincil) center bottom / cover no-repeat;
}
.as-kutu::before { content: ""; position: absolute; inset: 0; z-index: -1; transition: opacity .3s; }
.as-kutu--1::before { background: #1A1A18; opacity: .7; }
.as-kutu--2::before { background: #2C2C23; opacity: .47; }
.as-kutu:hover::before { opacity: .55; }
.as-kutu--2:hover::before { opacity: .35; }
.as-kutu__yazi { flex: 2 1 0; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding-top: 25px; }
.as-kutu__baslik {
	font-family: var(--f-unbounded); font-size: 20px; font-weight: 600;
	letter-spacing: 1px; line-height: 24px; color: var(--acik-gri);
}
.as-kutu__metin {
	font-family: var(--f-unbounded); font-size: 14px; font-weight: 300;
	letter-spacing: 1.5px; line-height: 18px; color: var(--beyaz);
}
.as-kutu__dugme { flex: 1 1 0; display: flex; flex-direction: column; justify-content: flex-end; }

/* --- Kurumsal özet ------------------------------------------------------- */
.as-kurumsal { padding-top: 100px; border-radius: 0 0 15px 15px; }
.as-kurumsal__kutu {
	display: flex; min-height: 495px; padding: 25px 50px 25px 25px;
	border-radius: 15px; background: var(--acik-gri);
}
.as-kurumsal__logo {
	flex: 0 0 393px; display: flex; align-items: center; justify-content: center;
	padding: 50px; border-radius: 10px; background: var(--beyaz);
}
.as-kurumsal__logo img { width: 293px; }
.as-kurumsal__yazi {
	position: relative; flex: 1 1 auto;
	display: flex; flex-direction: column; justify-content: center; gap: 50px;
	padding: 50px 0 50px 50px;
}
.as-kurumsal__yazi::before {
	content: ""; position: absolute; inset: 0;
	background: url(../img/caybel-logo-siyah.svg) center / 45% auto no-repeat; opacity: .04;
}
.as-kurumsal__yazi p {
	position: relative;
	font-family: var(--f-unbounded); font-size: 15px; font-weight: 400;
	letter-spacing: 1px; line-height: 22px; color: var(--ikincil);
}
.as-kurumsal__devam {
	position: relative; align-self: flex-end;
	font-family: var(--f-unbounded); font-size: 13px; font-weight: 500;
	letter-spacing: 1px; line-height: 13px; color: var(--turuncu);
}
.as-kurumsal__devam:hover { color: var(--yesil); }

/* --- Projeler + İşletmeler ----------------------------------------------- */
.as-ikili {
	display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px;
	padding-top: 100px; padding-bottom: 100px; border-radius: 0 0 15px 15px;
}
.as-ikili > * { min-width: 0; }

/* --- Fotoğraf bandı ------------------------------------------------------ */
.as-bant {
	position: relative; z-index: 0; margin-top: -15px; height: 630px; overflow: hidden;
	background: var(--acik-gri);
	display: flex; align-items: center; justify-content: center;
}
.as-bant__slaytlar { position: absolute; inset: 0; }
.as-bant__slayt {
	position: absolute; inset: 0; background: center / cover no-repeat;
	opacity: 0; transition: opacity .5s ease;
}
.as-bant__slayt.aktif { opacity: 1; animation: kenBurns 5.5s linear both; }
@keyframes kenBurns { from { transform: scale(1); } to { transform: scale(1.3); } }
@media (prefers-reduced-motion: reduce) { .as-bant__slayt.aktif { animation: none; } }
.as-bant::after { content: ""; position: absolute; inset: 0; background: #000; opacity: .2; }
.as-bant__logo { position: relative; z-index: 1; width: 250px; }

/* --- Üretim -------------------------------------------------------------- */
.as-uretim {
	margin-top: -15px; background: var(--acik-gri); border-radius: 15px 15px 0 0;
	padding-top: 100px; padding-bottom: 75px;
}

/* --- Katalog ------------------------------------------------------------- */
.as-katalog { background: var(--acik-gri); border-radius: 15px; padding-bottom: 100px; }
.as-katalog__kutu {
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; flex-direction: column; align-items: center; gap: 20px;
	padding: 50px 20px 20px; border-radius: 15px; text-align: center;
	background: var(--yesil) center / cover no-repeat;
}
.as-katalog__kutu::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #192926; opacity: .92; }
.as-katalog__baslik { font-family: var(--f-unbounded); font-size: 22px; font-weight: 500; line-height: 33px; color: var(--acik-gri); }
.as-katalog__metin { font-family: var(--f-unbounded); font-size: 16px; font-weight: 300; line-height: 24px; color: #ededed; }
.as-katalog__ikon { display: block; width: 40px; height: 35px; margin: 8px 0; color: var(--turuncu); }
.as-katalog__ikon svg { width: 100%; height: 100%; fill: currentColor; }
.as-katalog__serit { align-self: stretch; padding: 10px; border-radius: 53px; background: var(--acik-gri); }
.as-katalog__serit .dugme-satiri { padding-right: 0; }
.as-katalog__serit .dugme-satiri__ikon { width: 40px; height: 40px; }
.as-katalog__serit .dugme-satiri__yazi { padding: 14px 0 13px; }

/* --- Basında ÇayBel ------------------------------------------------------ */
.as-basinda { margin-top: -15px; border-radius: 15px; padding-top: 100px; padding-bottom: 100px; }

/* --- Öne çıkan yazılar --------------------------------------------------- */
.as-yazilar { border-radius: 15px; padding-bottom: 100px; display: block; }
.as-yazilar > .as-baslik { margin-bottom: 50px; }
.as-yazilar__izgara { display: flex; flex-direction: column; gap: 10px; margin-bottom: 50px; }
.as-yazilar__satir { display: grid; gap: 10px; }
.as-yazilar__satir--2 { grid-template-columns: 1fr 1fr; }
.as-yazilar__satir--3 { grid-template-columns: 1fr 1fr 1fr; }
.yazi-karti {
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
	min-height: 250px; padding: 50px 25px 25px; border-radius: 10px;
	background: var(--ikincil) center / cover no-repeat;
}
.yazi-karti::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #1A1A18; opacity: .5; transition: opacity .3s; }
.yazi-karti:hover::before { opacity: .35; }
.yazi-karti__baslik {
	font-family: var(--f-unbounded); font-size: 15px; font-weight: 400;
	letter-spacing: 1.5px; line-height: 20px; color: var(--gri-2);
}
.yazi-karti__baslik a:hover { color: var(--turuncu); }
.yazi-karti .dugme-satiri__yazi { padding: 12px 0; }

/* ==========================================================================
   Tablet ≤1024px
   ========================================================================== */
@media (max-width: 1024px) {
	.as-bolum { padding-left: 25px; padding-right: 25px; }
	.as-kurumsal__logo { flex-basis: 40%; }
	.as-kurumsal__logo img { width: 100%; max-width: 293px; }
}

/* ==========================================================================
   Mobil ≤767px
   ========================================================================== */
@media (max-width: 767px) {
	.as-bolum { padding-left: 10px; padding-right: 10px; }
	.as-baslik { line-height: 14px; }
	.as-metin { font-size: 14px; line-height: 22px; }
	.dugme-satiri--koyu { padding-right: 15px; }
	.dugme-satiri__yazi { padding: 11px 0; }

	.as-hero { height: 568px; padding: 65px 10px; }
	.as-hero__kutu { flex: 1 1 auto; }
	.as-hero__baslik { font-size: 20px; line-height: 30px; }

	.as-tanitim { padding: 75px 35px 50px; }
	.as-tanitim__metin { font-size: 16px; line-height: 22px; }

	.as-kutu { flex-direction: column; min-height: 400px; }
	.as-kutu__yazi { flex: 0 0 auto; justify-content: flex-start; }
	.as-kutu__dugme { flex: 1 1 auto; }

	.as-kurumsal { padding-top: 75px; }
	.as-kurumsal__kutu { flex-direction: column; gap: 50px; padding: 10px 10px 75px; }
	.as-kurumsal__logo { flex-basis: auto; height: 300px; }
	.as-kurumsal__logo img { width: 235px; }
	.as-kurumsal__yazi { padding: 0 15px; }
	.as-kurumsal__yazi p { font-size: 14px; }

	.as-ikili { grid-template-columns: 1fr; row-gap: 75px; padding-top: 75px; padding-bottom: 75px; }
	.as-uretim { padding-top: 75px; padding-bottom: 60px; }
	.as-katalog { padding-bottom: 75px; }
	.as-katalog__baslik { font-size: 18px; line-height: 27px; }
	.as-basinda { padding-top: 75px; padding-bottom: 75px; }
	.as-yazilar { padding-bottom: 75px; }

	.as-bant { height: 487px; }
	.as-bant__logo { width: 200px; }

	.as-yazilar__satir--2, .as-yazilar__satir--3 { grid-template-columns: 1fr; }
	.yazi-karti { min-height: 231px; }
	.yazi-karti__baslik { font-size: 14px; }
}

/* Üretim ve Basında: açıklama ile buton arasında 50px */
.as-uretim .as-kolon__alt, .as-basinda .as-kolon__alt { gap: 50px; }
.as-hero__gorsel.gorsel-yok { background-image: none !important; }
