/* ==========================================================================
   Atka Asansör - Ön Yüz Stilleri
   Ana Renk: #122650  |  Font: Open Sans
   ========================================================================== */

.atka-sayfa,
.atka-wrap,
.atka-wrap * {
	box-sizing: border-box;
}

/* Renk/yazı tipi/boyut değerleri CSS değişkeni olarak tanımlanır.
   Elementor'dan (Özel CSS veya HTML widget) bu değişkenler override edilerek
   renk, yazı tipi ve yazı büyüklükleri kolayca değiştirilebilir. */
.atka-sayfa,
.atka-wrap {
	--atka-ana-renk: #122650;
	--atka-vurgu-renk: #c98c3a;
	--atka-font: 'Open Sans', sans-serif;
	--atka-baslik-boyut: 28px;
	--atka-urun-baslik-boyut: 32px;
	--atka-kart-baslik-boyut: 18px;
	--atka-metin-boyut: 14px;
	--atka-kart-gorsel-oran: 4 / 5;
}

.atka-wrap {
	font-family: var( --atka-font, 'Open Sans', sans-serif );
	color: #2b2f36;
	max-width: 1280px;
	margin: 0 auto;
	padding: 40px 20px;
}

.atka-section-title {
	font-family: var( --atka-font, 'Open Sans', sans-serif );
	color: var( --atka-ana-renk, #122650 );
	font-size: var( --atka-baslik-boyut, 28px );
	font-weight: 700;
	margin: 0 0 28px;
	position: relative;
	padding-bottom: 14px;
}
.atka-section-title:after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 60px;
	height: 3px;
	background: var( --atka-vurgu-renk, #c98c3a );
}

/* ---------------- Ürün Izgara (Grid) ---------------- */

.atka-urun-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 26px;
}

@media (max-width: 1100px) {
	.atka-urun-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 780px) {
	.atka-urun-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 480px) {
	.atka-urun-grid { grid-template-columns: 1fr; }
}

.atka-urun-karti {
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 2px 18px rgba(18, 38, 80, 0.09);
	transition: transform .25s ease, box-shadow .25s ease;
	display: flex;
	flex-direction: column;
}
.atka-urun-karti:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 28px rgba(18, 38, 80, 0.16);
}

.atka-urun-karti-gorsel {
	position: relative;
	display: block;
	aspect-ratio: var( --atka-kart-gorsel-oran, 4 / 5 );
	overflow: hidden;
	background: #eef1f5;
}
/* aspect-ratio desteklenmeyen eski tarayıcılar için fallback (4/5 oran). */
@supports not (aspect-ratio: 1 / 1) {
	.atka-urun-karti-gorsel { height: 0; padding-bottom: 125%; }
}
/* Görsel sabit boyutlu kutuya doldurulur; tema/Elementor'un img kurallarından
   etkilenmemesi için boyutlar !important ile korunur → tüm kartlarda aynı boyut. */
.atka-urun-karti-gorsel img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover;
	display: block;
	transition: transform .4s ease;
}
.atka-urun-karti:hover .atka-urun-karti-gorsel img {
	transform: scale(1.06);
}

.atka-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
	background: var( --atka-ana-renk, #122650 );
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	padding: 5px 10px;
	border-radius: 6px;
}

.atka-urun-karti-icerik {
	padding: 18px 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.atka-konsept {
	color: var( --atka-vurgu-renk, #c98c3a );
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
}

.atka-urun-karti-icerik h3 {
	margin: 0;
	font-size: var( --atka-kart-baslik-boyut, 18px );
	line-height: 1.3;
}
.atka-urun-karti-icerik h3 a {
	color: var( --atka-ana-renk, #122650 );
	text-decoration: none;
}
.atka-urun-karti-icerik h3 a:hover { text-decoration: underline; }

.atka-urun-karti-icerik p {
	margin: 0;
	font-size: var( --atka-metin-boyut, 14px );
	color: #5a6472;
	line-height: 1.55;
	flex: 1;
}

.atka-urun-karti-aksiyon {
	display: flex;
	gap: 8px;
	margin-top: 10px;
	flex-wrap: wrap;
}

.atka-btn-detay,
.atka-btn-teklif {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var( --atka-font, 'Open Sans', sans-serif );
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	border-radius: 8px;
	padding: 10px 16px;
	transition: opacity .2s ease, transform .15s ease;
	cursor: pointer;
	border: none;
	line-height: 1.2;
	/* Buton metni (örn. "Teklif Al") asla alt satıra bölünmez. */
	white-space: nowrap;
}
.atka-btn-detay {
	background: #eef1f6;
	color: var( --atka-ana-renk, #122650 );
	flex: 1;
}
.atka-btn-teklif {
	background: #25D366;
	color: #fff;
	flex: 1;
}
.atka-btn-detay:hover,
.atka-btn-teklif:hover {
	opacity: .88;
	transform: translateY(-1px);
	color: inherit;
}
.atka-btn-buyuk {
	padding: 14px 26px;
	font-size: 16px;
	flex: none;
	width: auto;
	max-width: 100%;
}

/* ---------------- Ürün Detay Sayfası ---------------- */

.atka-breadcrumb {
	font-size: 13px;
	color: #8992a1;
	margin-bottom: 22px;
}
.atka-breadcrumb a {
	color: var( --atka-ana-renk, #122650 );
	text-decoration: none;
}
.atka-breadcrumb span { margin: 0 4px; }

.atka-urun-detay-grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 46px;
	align-items: start;
}

@media (max-width: 900px) {
	.atka-urun-detay-grid { grid-template-columns: 1fr; gap: 26px; }
}

.atka-galeri-ana {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	background: #eef1f5;
	box-shadow: 0 4px 24px rgba(18,38,80,.12);
	aspect-ratio: var( --atka-kart-gorsel-oran, 4 / 5 );
	cursor: zoom-in;
}
@supports not (aspect-ratio: 1 / 1) {
	.atka-galeri-ana { height: 0; padding-bottom: 125%; }
}
.atka-galeri-ana img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: contain;
	display: block;
	/* Görsel değişimindeki yumuşak geçiş. */
	transition: opacity .25s ease;
}
.atka-galeri-ana img.geciliyor { opacity: .35; }

/* Ana görselin üzerindeki büyütme ikonu. */
.atka-galeri-buyut-ikon {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 2;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(18, 38, 80, .72);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

/* Ana görsel üzerine gelince beliren önceki/sonraki okları.
   Tema buton stillerini ezemesin diye görsel özellikler !important ile korunur. */
.atka-galeri-ok {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 42px !important;
	height: 42px !important;
	border-radius: 50% !important;
	border: none !important;
	background: rgba(255, 255, 255, .92) !important;
	color: #11244a !important;
	font-size: 16px !important;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgba(18, 38, 80, .28);
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s ease, visibility .2s ease, background .2s ease;
}
.atka-galeri-ana:hover .atka-galeri-ok,
.atka-galeri-ana:focus-within .atka-galeri-ok {
	opacity: 1;
	visibility: visible;
}
/* Dokunmatik ekranlarda hover olmadığı için oklar hep görünür. */
@media (hover: none) {
	.atka-galeri-ok { opacity: 1; visibility: visible; }
}
.atka-galeri-ok:hover { background: #fff !important; }
.atka-galeri-prev { left: 10px; }
.atka-galeri-next { right: 10px; }

.atka-galeri-thumbs {
	display: flex;
	gap: 10px;
	margin-top: 12px;
}
.atka-thumb {
	border: 2px solid #11244a !important;
	border-radius: 10px;
	overflow: hidden;
	padding: 0 !important;
	background: #eef1f5 !important;
	cursor: pointer;
	width: 84px;
	height: 84px;
	flex-shrink: 0;
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
/* Tema/Elementor'un !important img kurallarına karşı korumalı boyutlandırma. */
.atka-thumb img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover !important;
	display: block;
}
.atka-thumb:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(18, 38, 80, .18);
}
.atka-thumb.active {
	border-color: #11244a !important;
	box-shadow: 0 0 0 3px rgba(17, 36, 74, .28);
}

.atka-urun-kod {
	display: inline-block;
	color: var( --atka-vurgu-renk, #c98c3a );
	font-weight: 700;
	letter-spacing: .06em;
	font-size: 13px;
	text-transform: uppercase;
	margin-bottom: 6px;
}

.atka-urun-baslik {
	font-family: var( --atka-font, 'Open Sans', sans-serif );
	color: var( --atka-ana-renk, #122650 );
	font-size: var( --atka-urun-baslik-boyut, 32px );
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 14px;
}

.atka-urun-etiketler {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 18px;
}
.atka-etiket {
	background: #eef1f6;
	color: #444d5a;
	font-size: 13px;
	padding: 6px 12px;
	border-radius: 20px;
}
.atka-etiket-vurgu {
	background: var( --atka-ana-renk, #122650 );
	color: #fff;
	font-weight: 700;
}

.atka-urun-aciklama {
	font-size: 15.5px;
	line-height: 1.75;
	color: #3c4553;
	margin-bottom: 22px;
}

.atka-teklif-al-wrap { margin: 22px 0; }
.atka-teklif-al-alt { margin-top: 34px; }

.atka-spec-blok {
	margin-top: 30px;
	padding-top: 22px;
	border-top: 1px solid #e7eaf0;
}
.atka-spec-blok h2 {
	font-size: 18px;
	color: var( --atka-ana-renk, #122650 );
	margin: 0 0 12px;
}
.atka-spec-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14.5px;
}
.atka-spec-table tr { border-bottom: 1px solid #eef1f5; }
.atka-spec-table tr:last-child { border-bottom: none; }
.atka-spec-table th,
.atka-spec-table td {
	text-align: left;
	padding: 10px 6px;
	vertical-align: top;
}
.atka-spec-table th {
	width: 42%;
	color: #6b7383;
	font-weight: 600;
}
.atka-spec-table td {
	color: #2b2f36;
	font-weight: 600;
}

/* ---------------- Diğer Ürünlerimiz (kaydırmalı) ---------------- */

.atka-diger-urunler {
	max-width: 1280px;
	margin: 60px auto 0;
	padding: 40px 20px 10px;
	border-top: 1px solid #e7eaf0;
}

.atka-slider-wrap {
	position: relative;
}

.atka-slider {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-bottom: 14px;
	-webkit-overflow-scrolling: touch;
	/* Kaydırma çubuğu gizlenir (kaydırma işlevi korunur). */
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.atka-slider::-webkit-scrollbar { display: none; }

.atka-slider-item {
	flex: 0 0 260px;
	scroll-snap-align: start;
}
.atka-slider-item .atka-urun-karti { height: 100%; }

.atka-slider-ok {
	position: absolute;
	top: 40%;
	transform: translateY(-50%);
	background: #fff !important;
	border: none !important;
	width: 40px !important;
	height: 40px !important;
	border-radius: 50% !important;
	box-shadow: 0 4px 16px rgba(18,38,80,.18);
	color: #11244a !important;
	font-size: 15px !important;
	cursor: pointer;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
}
.atka-slider-prev { left: -6px; }
.atka-slider-next { right: -6px; }
@media (max-width: 600px) {
	.atka-slider-ok { display: none; }
}

/* ---------------- Hakkımızda kısa kod ---------------- */
.atka-hakkimizda p {
	font-size: 15.5px;
	line-height: 1.8;
	color: #3c4553;
}

/* ---------------- Genel ---------------- */
.atka-main { width: 100%; }

/* ---------------- Lightbox (görsel büyütme) ---------------- */

/* Lightbox açıkken sayfa kaydırmasını kilitle. */
html.atka-lightbox-kilitli { overflow: hidden; }

.atka-lightbox {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999999;
	background: rgba(10, 16, 28, .94);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s ease, visibility .25s ease;
}
.atka-lightbox.acik {
	opacity: 1;
	visibility: visible;
}

.atka-lb-sahne {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 80px;
}
.atka-lb-sahne img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .45);
	opacity: 0;
	transform: scale(.97);
	transition: opacity .25s ease, transform .25s ease;
	user-select: none;
}
.atka-lb-sahne img.yuklendi {
	opacity: 1;
	transform: scale(1);
}

.atka-lb-kapat {
	position: absolute;
	top: 14px;
	right: 18px;
	z-index: 3;
	background: rgba(255, 255, 255, .92) !important;
	border: none !important;
	color: #11244a !important;
	font-size: 26px !important;
	line-height: 1;
	width: 44px !important;
	height: 44px !important;
	border-radius: 50% !important;
	cursor: pointer;
	transition: background .2s ease;
}
.atka-lb-kapat:hover { background: #fff !important; }

.atka-lb-ok {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	background: rgba(255, 255, 255, .92) !important;
	border: none !important;
	color: #11244a !important;
	width: 46px !important;
	height: 46px !important;
	border-radius: 50% !important;
	font-size: 17px !important;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .2s ease;
}
.atka-lb-ok:hover { background: #fff !important; }
.atka-lb-prev { left: 16px; }
.atka-lb-next { right: 16px; }

.atka-lb-sayac {
	position: absolute;
	bottom: 18px;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255, 255, 255, .85);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .08em;
	background: rgba(255, 255, 255, .1);
	padding: 5px 14px;
	border-radius: 20px;
}

@media (max-width: 700px) {
	.atka-lb-sahne { padding: 54px 10px; }
	.atka-lb-ok { width: 38px; height: 38px; font-size: 14px; }
	.atka-lb-prev { left: 6px; }
	.atka-lb-next { right: 6px; }
}
