/* ==========================================================================
   Eğitim Adası – Hello Elementor Child
   Renkler ve yazı tipleri Elementor > Site Ayarları'ndan yönetilir; buradaki
   değişkenler yalnızca tema tarafındaki parçalar (menü, form, yüzen butonlar) içindir.
   ========================================================================== */
:root {
	--ea-plum: var(--e-global-color-eaplum, #663165);
	--ea-plum-dark: var(--e-global-color-eaplumdk, #3d1c3c);
	--ea-orange: var(--e-global-color-eaorange, #ed7d17);
	--ea-green: var(--e-global-color-eagreen, #89c118);
	--ea-cream: var(--e-global-color-eacream, #fff8f1);
	--ea-anthracite: var(--e-global-color-eaanthr, #302d30);
	--ea-muted: var(--e-global-color-eamuted, #66606a);
	--ea-radius: 16px;
	--ea-header-h: 96px;
}

body {
	background-color: var(--ea-cream);
	color: var(--ea-anthracite);
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* --- Elementor küçük düzeltmeler --------------------------------------- */
.elementor-widget-text-editor p:last-child,
.elementor-widget-text-editor p:only-child { margin-bottom: 0; }
.elementor-widget-text-editor p { margin-top: 0; }
.elementor-widget-text-editor a { color: var(--ea-plum); font-weight: 500; }
.elementor-widget-text-editor a:hover { color: var(--ea-orange); }
.elementor-widget-heading .elementor-heading-title a { color: inherit; }
a.e-con, a.e-con:hover, .ea-card-link { color: inherit; text-decoration: none; }
.ea-lift { transition: transform .3s ease, box-shadow .3s ease; }
.ea-lift:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(41, 36, 42, .12); }
.ea-invert img, img.ea-invert { filter: brightness(0) invert(1); }
.ea-divider-round .elementor-divider-separator { border-radius: 999px; }
.elementor-widget-icon-list .elementor-icon-list-text { transition: color .2s; }

/* İkon listesi sütunları (Gelişmiş > CSS Sınıfları: ea-lc-2, ea-lc-t-2, ea-lc-m-1 ...) */
.ea-lc-2 .elementor-icon-list-items, .ea-lc-3 .elementor-icon-list-items, .ea-lc-4 .elementor-icon-list-items {
	display: grid; column-gap: 16px; row-gap: var(--e-icon-list-gap, 12px);
}
.ea-lc-2 .elementor-icon-list-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ea-lc-3 .elementor-icon-list-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ea-lc-4 .elementor-icon-list-items { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ea-lc-2 .elementor-icon-list-item, .ea-lc-3 .elementor-icon-list-item, .ea-lc-4 .elementor-icon-list-item { margin: 0 !important; padding: 0 !important; }
.ea-lc-2 .elementor-icon-list-item::after, .ea-lc-3 .elementor-icon-list-item::after, .ea-lc-4 .elementor-icon-list-item::after { display: none !important; }
@media (max-width: 1024px) {
	.ea-lc-t-1 .elementor-icon-list-items { grid-template-columns: 1fr; }
	.ea-lc-t-2 .elementor-icon-list-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
	.ea-lc-t-3 .elementor-icon-list-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 16px; }
}
@media (max-width: 767px) {
	.ea-lc-m-1 .elementor-icon-list-items { grid-template-columns: 1fr !important; }
	.ea-lc-m-2 .elementor-icon-list-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Breadcrumb */
.ea-breadcrumb a { color: var(--ea-plum); font-weight: 500; text-decoration: none; }
.ea-breadcrumb a:hover { color: var(--ea-orange); }
.ea-breadcrumb .ea-bc-sep { margin: 0 4px; opacity: .7; }
.ea-breadcrumb .ea-bc-current { color: var(--ea-anthracite); font-weight: 500; }

/* Akordeon (Merak Ettikleriniz) */
.ea-accordion .elementor-accordion-item {
	background: #fff;
	border: 1px solid #f3f4f6 !important;
	border-radius: var(--ea-radius);
	overflow: hidden;
	margin-bottom: 16px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}
.ea-accordion .elementor-accordion-item .elementor-tab-content { border-top: 0 !important; }
.ea-accordion .elementor-tab-title { display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: center; gap: 16px; }
.ea-accordion .elementor-tab-title:hover { background: #f9fafb; }

/* Galeri & carousel: eşit yükseklik */
.ea-carousel .swiper-slide-image { width: 100%; height: 260px; object-fit: cover; }
.ea-carousel .swiper-slide { overflow: hidden; border-radius: 12px; }
@media (max-width: 767px) { .ea-carousel .swiper-slide-image { height: 230px; } }
.ea-gallery .gallery-item img { width: 100%; height: 256px; object-fit: cover; border-radius: 16px; transition: transform .5s; }
.ea-gallery .gallery-item .gallery-icon { overflow: hidden; border-radius: 16px; }
.ea-gallery .gallery-item:hover img { transform: scale(1.05); }

/* --- Ana sayfa hero slider ---------------------------------------------- */
body:not(.elementor-editor-active) .ea-hero-slider:not(.ea-ready) .ea-slide:not(:first-child),
body:not(.elementor-editor-active) .ea-hero-slider.ea-ready .ea-slide:not(.is-active) { display: none !important; }
.ea-hero-slider .ea-slide.is-active { animation: eaFade .6s ease both; }
@keyframes eaFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.ea-slider-nav { position: absolute; left: 0; right: 0; bottom: 20px; display: flex; justify-content: center; align-items: center; gap: 12px; z-index: 5; }
.ea-slider-nav button { all: unset; cursor: pointer; }
.ea-slider-nav .ea-arrow { width: 36px; height: 36px; border-radius: 999px; background: #fff; color: var(--ea-anthracite); box-shadow: 0 4px 6px rgba(0,0,0,.1); display: flex; align-items: center; justify-content: center; }
.ea-slider-nav .ea-arrow:hover { color: var(--ea-plum); }
.ea-slider-nav .ea-dots { display: flex; gap: 8px; align-items: center; }
.ea-slider-nav .ea-dot { height: 8px; width: 6px; border-radius: 999px; background: #d1d5db; transition: all .3s; }
.ea-slider-nav .ea-dot.is-active { width: 24px; background: var(--ea-orange); }
@media (max-width: 1024px) { .ea-slider-nav { display: none; } }

/* --- Üst alan (header) -------------------------------------------------- */
.ea-site-header { position: sticky; top: 0; z-index: 999; background: #fff; transition: box-shadow .3s; }
.admin-bar .ea-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ea-site-header { top: 0; } }
.ea-site-header.is-scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, .06); }
.ea-header-fallback { max-width: 1280px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ea-header-logo img { height: 64px; width: auto; display: block; }
.ea-header-cta { background: var(--ea-orange); color: #fff !important; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 14px; text-decoration: none; }

/* Menü */
.ea-nav { display: flex; align-items: center; font-family: "Inter", sans-serif; }
.ea-nav__toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ea-anthracite); cursor: pointer; border-radius: 12px; }
.ea-nav__toggle:hover, .ea-nav__toggle:focus { background: var(--ea-cream); color: var(--ea-plum); }
.ea-nav__close { display: none; }
.ea-nav__panel { display: flex; align-items: center; gap: 8px; }
.ea-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 24px; }
.ea-menu li { position: relative; list-style: none; }
.ea-menu a { display: flex; align-items: center; justify-content: space-between; gap: 6px; color: var(--ea-anthracite); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.ea-menu a:hover, .ea-menu .current-menu-item > a, .ea-menu > .current-menu-ancestor > a, .ea-menu > .current_page_item > a { color: var(--ea-orange); }
.ea-menu .menu-item-has-children > a::after {
	content: ""; width: 14px; height: 14px; flex: none; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ea-menu .sub-menu { list-style: none; margin: 0; padding: 8px; }
.ea-nav__wa { display: inline-flex; color: var(--ea-green); padding: 6px; margin-left: -12px; }
.ea-nav__wa svg { width: 20px; height: 20px; }
.ea-nav__mobile-cta { display: none; }

@media (min-width: 1025px) {
	.ea-menu .sub-menu {
		position: absolute; top: calc(100% + 16px); left: -8px; min-width: 256px; background: #fff;
		border: 1px solid #f3f4f6; border-radius: 16px; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1);
		opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s; z-index: 60;
	}
	.ea-menu .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
	.ea-menu .sub-menu .sub-menu { top: -8px; left: calc(100% + 12px); }
	.ea-menu .sub-menu .sub-menu::before { top: 0; bottom: 0; left: -14px; width: 14px; height: auto; right: auto; }
	.ea-menu li:hover > .sub-menu, .ea-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.ea-menu .sub-menu a { padding: 12px 16px; border-radius: 12px; }
	.ea-menu .sub-menu a:hover { background: var(--ea-cream); }
	.ea-menu .sub-menu .menu-item-has-children > a::after { transform: rotate(-90deg); }
	.ea-sub-toggle { display: none; }
}

@media (max-width: 1024px) {
	.ea-nav__toggle { display: inline-flex; }
	.ea-nav.is-open .ea-nav__open { display: none; }
	.ea-nav.is-open .ea-nav__close { display: inline; }
	.ea-nav__panel {
		position: fixed; left: 0; right: 0; top: var(--ea-header-h); bottom: 0; z-index: 998;
		background: #fff; display: block; padding: 16px 24px 120px; overflow-y: auto;
		border-top: 1px solid #f3f4f6; transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
	}
	.ea-nav.is-open .ea-nav__panel { transform: none; visibility: visible; }
	.ea-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.ea-menu > li { border-bottom: 1px solid #f3f4f6; }
	.ea-menu a { padding: 14px 4px; font-size: 16px; }
	.ea-menu .menu-item-has-children > a::after { display: none; }
	.ea-menu .sub-menu { display: none; padding: 0 0 8px 12px; }
	.ea-menu .sub-menu a { padding: 10px 4px; font-size: 15px; }
	.ea-menu li.is-open > .sub-menu { display: block; }
	.ea-sub-toggle { position: absolute; right: 0; top: 6px; width: 40px; height: 40px; border: 0; background: var(--ea-cream); border-radius: 12px; color: var(--ea-plum); display: flex; align-items: center; justify-content: center; cursor: pointer; }
	.ea-sub-toggle svg { width: 18px; height: 18px; transition: transform .2s; }
	.ea-menu li.is-open > .ea-sub-toggle svg { transform: rotate(180deg); }
	.ea-menu .sub-menu .ea-sub-toggle { top: 2px; width: 34px; height: 34px; }
	.ea-nav__wa { display: none; }
	.ea-nav__mobile-cta { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 24px; background: var(--ea-orange); color: #fff; padding: 14px 20px; border-radius: 999px; font-weight: 600; text-decoration: none; }
	.ea-nav__mobile-cta svg { width: 18px; height: 18px; }
	body.ea-menu-open { overflow: hidden; }
}

/* --- Formlar ----------------------------------------------------------- */
.ea-form { display: flex; flex-direction: column; gap: 16px; }
.ea-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 639px) { .ea-form__grid { grid-template-columns: 1fr; } }
.ea-form__field { display: block; }
.ea-form__field > span { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--ea-plum); }
.ea-form input, .ea-form select, .ea-form textarea, .ea-newsletter input {
	width: 100%; border: 1px solid rgba(102, 49, 101, .1); background: #fff; border-radius: 16px;
	padding: 12px 16px; font-size: 14px; font-family: inherit; color: var(--ea-anthracite); outline: none; transition: border-color .2s;
}
.ea-form textarea { resize: none; }
.ea-form input:focus, .ea-form select:focus, .ea-form textarea:focus { border-color: var(--ea-orange); }
.ea-form__submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; align-self: flex-start;
	background: var(--ea-orange); color: #fff; border: 0; border-radius: 999px; padding: 12px 24px;
	font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s; font-family: inherit;
}
.ea-form__submit:hover { background: #ea580c; color: #fff; }
@media (max-width: 639px) { .ea-form__submit { align-self: stretch; } }
.ea-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ea-form__notice { padding: 14px 18px; border-radius: 16px; font-size: 14px; font-weight: 500; }
.ea-form__notice--ok { background: #eef6e1; color: #3f6212; }
.ea-form__notice--err { background: #fdecea; color: #9b1c1c; }
.ea-newsletter__row { display: flex; }
.ea-newsletter input { border-radius: 8px 0 0 8px; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #fff; padding: 8px 16px; }
.ea-newsletter input::placeholder { color: rgba(255, 248, 241, .6); }
.ea-newsletter input:focus { border-color: var(--ea-orange); }
.ea-newsletter button { background: var(--ea-orange); color: #fff; border: 0; border-radius: 0 8px 8px 0; padding: 8px 16px; cursor: pointer; display: flex; align-items: center; }
.ea-newsletter button:hover { background: #ea580c; }
.ea-newsletter .ea-form__notice { margin-bottom: 10px; }

/* --- Yüzen butonlar ---------------------------------------------------- */
.ea-float { position: fixed; right: 24px; bottom: 24px; z-index: 990; display: flex; flex-direction: column; gap: 12px; }
.ea-float__btn { display: flex; align-items: center; justify-content: flex-end; gap: 12px; text-decoration: none; }
.ea-float__label { background: #fff; color: var(--ea-plum); padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: 0 10px 15px rgba(0, 0, 0, .1); opacity: 0; transform: translateX(12px); transition: all .3s; pointer-events: none; }
.ea-float__label--green { color: var(--ea-green); }
.ea-float__btn:hover .ea-float__label { opacity: 1; transform: none; }
.ea-float__icon { width: 56px; height: 56px; border-radius: 999px; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 15px rgba(0, 0, 0, .15); transition: transform .2s; overflow: hidden; }
.ea-float__btn:hover .ea-float__icon { transform: translateY(-2px); }
.ea-float__icon--phone { background: var(--ea-plum); color: #fff; }
.ea-float__icon--wa { background: #fff; }
.ea-float__icon--wa img { width: 100%; height: 100%; object-fit: cover; }
.ea-mobilebar { display: none; }
@media (max-width: 767px) {
	.ea-float { display: none; }
	.ea-mobilebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 990; display: grid; grid-template-columns: repeat(3, 1fr); height: 64px; background: #fff; border-top: 1px solid #f3f4f6; box-shadow: 0 -4px 20px rgba(0, 0, 0, .05); padding-bottom: env(safe-area-inset-bottom); }
	.ea-mobilebar__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-decoration: none; font-size: 10px; font-weight: 500; }
	.ea-mobilebar__item svg { width: 22px; height: 22px; }
	.ea-mobilebar__item img { width: 22px; height: 22px; border-radius: 999px; }
	.ea-mobilebar__item--plum { color: var(--ea-plum); }
	.ea-mobilebar__item--green { color: var(--ea-green); }
	.ea-mobilebar__item--orange { color: var(--ea-orange); }
	body.ea-has-floating { padding-bottom: 64px; }
}

/* Footer yedeği */
.ea-footer-fallback { background: var(--ea-plum-dark); color: rgba(255, 248, 241, .8); text-align: center; padding: 32px 24px; font-size: 13px; }
.ea-site-footer .elementor-widget-icon-list a:hover .elementor-icon-list-text { color: var(--ea-orange); }

/* İçeriği kadar genişleyen kutular (rozetler, görsel üstü etiketler) */
.e-con.ea-fit { --width: fit-content !important; width: fit-content !important; max-width: 100%; }
/* Yatay (satır) kutulardaki alt kutular: içerik genişliğinde, gerekirse daralır */
.e-con.ea-row-item { --width: auto !important; width: auto !important; flex: 0 1 auto; min-width: 0; }

/* Elementor global buton stilinin tema butonlarına bulaşmasını engelle */
.ea-nav .ea-nav__toggle, .ea-nav .ea-sub-toggle, .ea-slider-nav button {
	border: 0 !important; box-shadow: none !important; font: inherit; text-transform: none; letter-spacing: normal;
}
.ea-nav .ea-nav__toggle { background: transparent !important; color: var(--ea-anthracite) !important; padding: 8px !important; border-radius: 12px !important; }
.ea-nav .ea-nav__toggle:hover, .ea-nav .ea-nav__toggle:focus { background: var(--ea-cream) !important; color: var(--ea-plum) !important; }
.ea-nav .ea-sub-toggle { background: var(--ea-cream) !important; color: var(--ea-plum) !important; padding: 0 !important; border-radius: 12px !important; }
.ea-slider-nav .ea-arrow { background: #fff !important; color: var(--ea-anthracite) !important; padding: 0 !important; border-radius: 999px !important; box-shadow: 0 4px 6px rgba(0,0,0,.1) !important; }
.ea-slider-nav .ea-arrow:hover { color: var(--ea-plum) !important; }
.ea-slider-nav .ea-dot { background: #d1d5db !important; padding: 0 !important; border-radius: 999px !important; min-height: 0; }
.ea-slider-nav .ea-dot.is-active { background: var(--ea-orange) !important; }
.ea-form .ea-form__submit { background: var(--ea-orange) !important; color: #fff !important; border-radius: 999px !important; padding: 12px 24px !important; }
.ea-form .ea-form__submit:hover { background: #ea580c !important; }
.ea-newsletter button { background: var(--ea-orange) !important; color: #fff !important; border-radius: 0 8px 8px 0 !important; padding: 8px 16px !important; }

/* Elementor editöründe slaytlar alt alta, kesik çizgiyle ayrılmış görünür */
.elementor-editor-active .ea-hero-slider .ea-slide { outline: 2px dashed rgba(237, 125, 23, .45); outline-offset: 6px; margin-bottom: 32px; }
