/* Ma Platform — ana stil. Değerler eski Elementor kurulumundan (kit #73) alındı. */

:root {
	--ink: #1c244b;        /* başlıklar */
	--text: #2c2c2c;       /* gövde */
	--muted: #7a7a7a;
	--soft: #f3f5f8;
	--line: #e4e6eb;
	--black: #000;
	--white: #fff;

	--font-head: "Catamaran", system-ui, sans-serif;
	--font-body: "Open Sans", system-ui, sans-serif;

	--container: 1140px;
	--gutter: 20px;
	--section: clamp(64px, 9vw, 120px);
	--radius-hero: clamp(20px, 3vw, 40px);
	--radius-poster: clamp(20px, 2.6vw, 36px);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font: 400 16px/1.6 var(--font-body);
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.05; margin: 0; }
p { margin: 0 0 1em; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--black); color: var(--white); padding: 8px 16px; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { margin-top: var(--section); }
.section--first { margin-top: clamp(32px, 5vw, 64px); }

/* ---------- Butonlar ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 12px 24px;
	background: var(--black); color: var(--white);
	font: 600 16px/1 var(--font-head); text-transform: uppercase; letter-spacing: .02em;
	text-decoration: none; border: 2px solid var(--black);
	transition: background .3s var(--ease), color .3s var(--ease);
}
.btn:hover, .btn:focus-visible { background: var(--white); color: var(--black); }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--small { padding: 9px 16px; font-size: 14px; }
.btn--ghost { background: transparent; color: var(--black); }
.btn--ghost:hover { background: var(--black); color: var(--white); }
.tag { display: inline-block; padding: 6px 12px; font: 600 13px/1 var(--font-head); text-transform: uppercase; letter-spacing: .04em; background: var(--soft); color: var(--ink); }
.tag--muted { color: var(--muted); text-decoration: line-through; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.site-header__logo { flex: none; }
.logo { width: 88px; height: auto; }
.logo--small { width: 80px; }
.logo--large { width: 200px; margin-top: 40px; }
.logo--text { font: 700 24px var(--font-head); text-decoration: none; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav__list a { font: 600 19px/1 var(--font-head); color: var(--black); text-decoration: none; padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease), color .2s; }
.nav__list a:hover { background-size: 100% 2px; }
.nav__list .current-menu-item > a, .nav__list a[aria-current="page"] { color: #324a6d; background-size: 100% 2px; }
.btn--ticket { padding: 11px 22px; font-size: 17px; }

.nav-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; position: relative; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	position: absolute; left: 10px; width: 24px; height: 2px; background: var(--black); transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle__bars { top: 21px; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.site-nav {
		position: fixed; inset: 72px 0 0; z-index: 49;
		flex-direction: column; align-items: flex-start; gap: 32px;
		padding: 32px var(--gutter);
		background: var(--white);
		transform: translateY(-8px); opacity: 0; visibility: hidden;
		transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
	}
	.admin-bar .site-nav { top: 118px; }
	.nav-open .site-nav { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
	.nav__list { flex-direction: column; gap: 20px; }
	.nav__list a { font-size: 36px; }
	.nav-open { overflow: hidden; }
}

/* ---------- Başlıklar ---------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(24px, 4vw, 40px); }
.section-title, .page-title { font-family: var(--font-head); font-weight: 600; line-height: 1.05; font-size: clamp(40px, 6vw, 60px); color: var(--ink); letter-spacing: -.01em; }
.section-title--small { font-size: clamp(28px, 3.4vw, 36px); }
.page-title { margin-bottom: clamp(24px, 4vw, 40px); }
.more-link { display: inline-flex; align-items: center; gap: 12px; font: 500 18px var(--font-body); color: var(--ink); text-decoration: none; }
.more-link svg { width: 22px; height: 22px; transition: transform .3s var(--ease); }
.more-link:hover svg { transform: translateX(4px); }
.month-title { font-size: 24px; color: var(--muted); margin: 40px 0 8px; }
.month-title:first-of-type { margin-top: 0; }

.empty { color: var(--muted); padding: 24px 0; margin: 0; border-top: 1px solid var(--line); }
.empty--large { font-size: 18px; }
.empty a { color: var(--ink); }

.prose { font-size: 16px; line-height: 1.6; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--ink); }
.prose--narrow { max-width: 720px; }

/* ---------- Hero ---------- */
.hero__media { position: relative; display: block; border-radius: var(--radius-hero); overflow: hidden; background: var(--soft); aspect-ratio: 1140 / 594; }
.hero__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hero__media:hover .hero__img { transform: scale(1.02); }
.hero__corner {
	position: absolute; right: 0; bottom: 0;
	display: grid; place-items: center;
	width: clamp(64px, 11.5vw, 132px); height: clamp(44px, 7.2vw, 82px);
	background: var(--white); color: var(--black);
	border-top-left-radius: var(--radius-hero);
}
.hero__corner svg { width: clamp(18px, 2.4vw, 28px); height: auto; transition: transform .35s var(--ease); }
.hero__media--ready { border-radius: 0; background: none; aspect-ratio: auto; }
.hero__media--ready .hero__img { height: auto; }
.hero__media--ready:hover .hero__img { transform: none; }
.hero__media:hover .hero__corner svg { transform: translate(3px, -3px); }
.hero__dates { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 20px 0 0; padding: 0; list-style: none; }
.hero__dates li { display: flex; align-items: center; gap: 16px; font: 600 clamp(18px, 2vw, 24px)/1.2 var(--font-head); color: var(--text); }
.hero__date { padding-right: 16px; border-right: 3px solid var(--text); white-space: nowrap; }
.hero__venue { font-size: .82em; }
.hero__none { margin: 16px 0 0; color: var(--muted); }

/* ---------- Manifesto ---------- */
.manifesto { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.manifesto__text { color: #324a6d; font-size: 16px; line-height: 1.75; }
@media (max-width: 760px) {
	.manifesto { grid-template-columns: 1fr; }
	.logo--large { width: 140px; margin-top: 20px; }
}

/* ---------- Gösterim listesi ---------- */
.shows { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.show {
	display: grid; grid-template-columns: 1.1fr 1.2fr 1.4fr 120px; gap: 8px 24px; align-items: center;
	padding: 18px 0; border-bottom: 1px solid var(--line);
	font: 600 20px/1.3 var(--font-head); color: var(--text);
}
.show a { text-decoration: none; }
.show a:hover { text-decoration: underline; text-underline-offset: 4px; }
.show__play { text-transform: uppercase; letter-spacing: .02em; }
.show__date { font-size: 18px; }
.show__venue { font-size: 18px; }
.show__venue a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.show__note { display: block; font: 400 14px var(--font-body); color: var(--muted); }
.show__action { justify-self: end; }
.shows--past .show { color: var(--muted); font-size: 17px; padding: 12px 0; grid-template-columns: 1.1fr 1.2fr 1.4fr; }
.shows--past .show__date, .shows--past .show__venue { font-size: 16px; }
.shows--past .show__action { display: none; }
@media (max-width: 760px) {
	.show { grid-template-columns: 1fr auto; }
	.show__play { grid-column: 1 / -1; }
	.show__date, .show__venue { grid-column: 1; font-size: 16px; }
	.show__action { grid-column: 2; grid-row: 2 / span 2; }
	.shows--past .show { grid-template-columns: 1fr; }
}

.past summary { display: flex; align-items: center; gap: 12px; cursor: pointer; list-style: none; }
.past summary::-webkit-details-marker { display: none; }
.past summary::after { content: "+"; margin-left: auto; font: 400 32px/1 var(--font-head); color: var(--ink); }
.past[open] summary::after { content: "−"; }
.past__count { font: 600 14px/1 var(--font-head); background: var(--soft); color: var(--ink); padding: 6px 10px; }
.past .shows { margin-top: 24px; }

/* ---------- Oyun kartları ---------- */
.play-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 48px 32px; }
.play-card { display: flex; flex-direction: column; align-items: flex-start; max-width: 340px; }
.play-card__poster { display: block; width: 100%; aspect-ratio: 5 / 7; overflow: hidden; border-radius: var(--radius-poster); background: var(--soft); }
.play-card__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.play-card:hover .play-card__poster img { transform: scale(1.03); }
.play-card__title { margin: 28px 0 16px; font-size: 36px; color: var(--text); }
.play-card__title a { text-decoration: none; }
.play-card__text { font-size: 16px; line-height: 25px; margin-bottom: 20px; }
.play-card__roles { color: var(--muted); font: 600 18px var(--font-head); margin: -8px 0 20px; }

/* ---------- Oyun ve kişi sayfası ---------- */
.play, .person { display: grid; grid-template-columns: 1fr minmax(0, 480px); gap: clamp(32px, 6vw, 80px); align-items: start; }
.person { grid-template-columns: 1fr minmax(0, 540px); }
.play__title { font-size: clamp(48px, 7vw, 80px); color: var(--text); letter-spacing: -.01em; }
.play__meta { margin: 12px 0 28px; color: var(--muted); font-size: 15px; }
.play__text .btn { margin-top: 12px; }
.play__poster img, .person__photo img { width: 100%; }
.play__poster { position: sticky; top: 96px; }
@media (max-width: 900px) {
	.play, .person { grid-template-columns: 1fr; }
	.play__poster, .person__photo { order: -1; position: static; max-width: 480px; }
}

/* ---------- Künye ---------- */
.kunye { margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px 40px; }
.kunye__row { border-top: 1px solid var(--line); padding-top: 12px; }
.kunye dt { font: 600 14px/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.kunye dd { margin: 0; font: 600 20px/1.3 var(--font-head); color: var(--text); }
.kunye a { text-decoration: none; }
.kunye a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Kişi kartları ---------- */
.person-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 1000px) { .person-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .person-grid { grid-template-columns: repeat(2, 1fr); } }
.person-card { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 3px; background: var(--ink); color: var(--white); text-decoration: none; }
.person-card:hover { color: var(--white); }
.person-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.person-card:hover .person-card__img { transform: scale(1.04); }
.person-card__img--empty { display: grid; place-items: center; font: 600 72px var(--font-head); color: rgba(255, 255, 255, .25); }
.person-card__body { position: absolute; inset: auto 0 0; padding: 48px 12px 12px; background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0)); }
.person-card__name { display: block; font: 600 clamp(20px, 2.4vw, 30px)/1.05 var(--font-head); }
.person-card__roles { display: block; margin-top: 6px; font: 600 15px/1.3 var(--font-head); opacity: .9; }
.person-card__roles::before { content: "● "; font-size: 9px; vertical-align: 2px; }

/* ---------- Galeri + lightbox ---------- */
.gallery { columns: 4 240px; column-gap: 8px; }
.gallery__item { display: block; margin-bottom: 8px; break-inside: avoid; cursor: zoom-in; overflow: hidden; background: var(--soft); }
.gallery__item img { width: 100%; transition: transform .8s var(--ease), opacity .3s; }
.gallery__item:hover img { transform: scale(1.03); }

.lightbox { position: fixed; inset: 0; z-index: 100; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 12, 24, .94); color: var(--white); }
.lightbox::backdrop { background: transparent; }
.lightbox__img { position: absolute; inset: 56px 64px; margin: auto; max-width: calc(100% - 128px); max-height: calc(100% - 112px); object-fit: contain; }
.lightbox button { position: absolute; border: 0; background: none; color: var(--white); cursor: pointer; font: 400 40px/1 var(--font-head); width: 56px; height: 56px; }
.lightbox__close { top: 8px; right: 8px; }
.lightbox__prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 4px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; left: 20px; top: 20px; font: 600 14px var(--font-head); opacity: .7; }
@media (max-width: 640px) { .lightbox__img { inset: 56px 8px; max-width: calc(100% - 16px); } .lightbox__prev, .lightbox__next { top: auto; bottom: 8px; transform: none; } }

/* ---------- Basın ---------- */
.press { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.press__item a { display: block; text-decoration: none; }
.press__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 14px; background: var(--soft); }
.press__source { display: block; font: 600 13px/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.press__title { font: 600 21px/1.25 var(--font-head); color: var(--text); }
.press__item a:hover .press__title { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- İletişim ---------- */
.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.contact__info { display: grid; gap: 32px; padding-top: clamp(0px, 8vw, 100px); }
.contact__block h2 { font-size: 24px; color: var(--text); margin-bottom: 8px; }
.contact__block a { font-size: 17px; text-decoration: none; word-break: break-word; }
.contact__block a:hover { text-decoration: underline; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .contact__info { padding-top: 0; } }

.ma-form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ma-form__field { display: grid; gap: 6px; font: 600 15px var(--font-head); color: var(--text); }
.ma-form__field:nth-of-type(3) { grid-column: 1 / -1; }
.ma-form input[type=text], .ma-form input[type=email], .ma-form textarea {
	width: 100%; padding: 10px 2px; border: 0; border-bottom: 1px solid var(--text); border-radius: 0;
	font: 400 16px var(--font-body); color: var(--text); background: transparent;
}
.ma-form input:focus, .ma-form textarea:focus { outline: none; border-bottom: 2px solid var(--ink); }
.ma-form textarea { resize: vertical; min-height: 120px; }
.ma-form .btn { justify-self: start; cursor: pointer; }
.ma-form__hp { position: absolute; left: -9999px; }
.ma-form__notice { grid-column: 1 / -1; margin: 0; padding: 14px 16px; font-weight: 600; }
.ma-form__notice--ok { background: #e8f3ec; color: #1e5b37; }
.ma-form__notice--err { background: #fbeaea; color: #8a1f1f; }
@media (max-width: 560px) { .ma-form { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound .btn { margin-right: 8px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: var(--section); padding: 32px 0 40px; }
.site-footer__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.site-footer__copy { margin: 16px 0 0; font-size: 14px; color: var(--ink); }
.social { display: flex; gap: 16px; margin: 0; padding: 0; list-style: none; }
.social a { display: block; width: 22px; height: 22px; color: var(--ink); transition: opacity .2s; }
.social a:hover { opacity: .6; }
.social svg { width: 100%; height: 100%; }
