/*
Theme Name: Ceyhun Hukuk
Theme URI: https://ceyhunemrebabacan.av.tr/
Author: OpenAI
Description: `cey2` tasariminin WordPress'e uyarlanmis, dinamik hukuk ofisi temasi.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: ceyhun-hukuk
*/

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Inter", system-ui, sans-serif;
}

a {
	text-decoration: none;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.site-orb {
	position: fixed;
	z-index: -1;
	border-radius: 9999px;
	filter: blur(48px);
	opacity: 0.35;
	pointer-events: none;
	animation: floatOrb 18s ease-in-out infinite;
}

.site-orb-one {
	top: 8rem;
	right: -3rem;
	height: 18rem;
	width: 18rem;
	background: radial-gradient(circle, rgba(215, 189, 134, 0.85) 0%, rgba(215, 189, 134, 0.08) 62%, rgba(215, 189, 134, 0) 100%);
}

.site-orb-two {
	left: -5rem;
	bottom: 5rem;
	height: 22rem;
	width: 22rem;
	background: radial-gradient(circle, rgba(142, 49, 71, 0.7) 0%, rgba(142, 49, 71, 0.1) 55%, rgba(142, 49, 71, 0) 100%);
	animation-duration: 23s;
}

.glass-card,
.showcase-panel,
.service-card,
.article-card,
.cta-banner {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.72));
	backdrop-filter: blur(22px);
	border-radius: 1.75rem;
	box-shadow: 0 12px 50px rgba(2, 6, 23, 0.35);
}

.showcase-panel {
	height: fit-content;
	align-self: start;
}

.hero-highlight {
	color: #f7deb0;
	background: linear-gradient(90deg, #f8e8c2 0%, #d7bd86 45%, #b68f46 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	text-shadow: 0 0 24px rgba(215, 189, 134, 0.18);
}

.hero-primary-button {
	color: #111827;
	background: linear-gradient(135deg, #f8e8c2 0%, #d7bd86 55%, #b68f46 100%);
	box-shadow: 0 16px 42px rgba(182, 143, 70, 0.28);
	transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.hero-primary-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 22px 48px rgba(182, 143, 70, 0.36);
	filter: brightness(1.04);
}

.hero-primary-button:focus-visible,
.header-cta-button:focus-visible {
	outline: 2px solid #f8e8c2;
	outline-offset: 3px;
}

.header-cta-button {
	color: #ffffff;
	border: 1px solid rgba(248, 232, 194, 0.42);
	background:
		radial-gradient(circle at top left, rgba(248, 232, 194, 0.2), transparent 45%),
		linear-gradient(135deg, rgba(182, 143, 70, 0.92), rgba(142, 49, 71, 0.88));
	box-shadow: 0 10px 30px rgba(142, 49, 71, 0.26);
	transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.header-cta-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 38px rgba(142, 49, 71, 0.34);
	filter: brightness(1.05);
}

.showcase-media-grid {
	display: grid;
	gap: 1rem;
}

.showcase-media-main,
.showcase-media-small {
	overflow: hidden;
	border-radius: 1.5rem;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.04);
}

.showcase-media-side {
	display: grid;
	gap: 1rem;
}

.showcase-image-main,
.showcase-image-small {
	display: block;
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.showcase-image-main {
	max-height: 22rem;
}

.showcase-image-small {
	max-height: 10.5rem;
}

.service-card {
	padding: 1.75rem;
	transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-card:hover,
.article-card:hover {
	transform: translateY(-4px);
	border-color: rgba(215, 189, 134, 0.35);
	box-shadow: 0 18px 60px rgba(2, 6, 23, 0.4);
}

.service-card-glow {
	position: absolute;
	inset: auto -20% -30% auto;
	height: 10rem;
	width: 10rem;
	border-radius: 9999px;
	background: radial-gradient(circle, rgba(182, 143, 70, 0.28) 0%, rgba(182, 143, 70, 0) 70%);
}

.article-card {
	padding: 1.75rem;
}

.article-card-top {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	justify-content: space-between;
}

.article-chip,
.article-chip-muted {
	display: inline-flex;
	align-items: center;
	border-radius: 9999px;
	padding: 0.45rem 0.9rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.article-chip {
	border: 1px solid rgba(215, 189, 134, 0.25);
	background: rgba(182, 143, 70, 0.12);
	color: #f5e7c3;
}

.article-chip-muted {
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.05);
	color: #cbd5e1;
}

.cta-banner {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	padding: 2rem;
	background:
		radial-gradient(circle at top left, rgba(215, 189, 134, 0.18), transparent 35%),
		radial-gradient(circle at bottom right, rgba(142, 49, 71, 0.2), transparent 40%),
		linear-gradient(135deg, rgba(17, 24, 39, 0.94), rgba(30, 41, 59, 0.86));
}

.appointment-label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(215, 189, 134, 0.84);
}

.appointment-input {
	width: 100%;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.05);
	padding: 0.95rem 1rem;
	color: #f8fafc;
	outline: none;
	transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.appointment-input:focus {
	border-color: rgba(215, 189, 134, 0.45);
	box-shadow: 0 0 0 4px rgba(182, 143, 70, 0.12);
	background: rgba(255, 255, 255, 0.07);
}

.appointment-textarea {
	min-height: 8rem;
	resize: vertical;
}

.appointment-type-grid {
	display: grid;
	gap: 0.9rem;
}

.appointment-type-card {
	display: flex;
	gap: 0.9rem;
	align-items: flex-start;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 1.25rem;
	background: rgba(255, 255, 255, 0.04);
	padding: 1rem;
	cursor: pointer;
	transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.appointment-type-card:hover {
	transform: translateY(-2px);
	border-color: rgba(215, 189, 134, 0.32);
	background: rgba(255, 255, 255, 0.06);
}

.appointment-type-card input[type="radio"] {
	margin-top: 0.22rem;
	accent-color: #d7bd86;
}

.appointment-type-copy {
	display: block;
	flex: 1;
}

.appointment-type-head {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
	justify-content: space-between;
}

.appointment-type-title {
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
}

.appointment-type-badge {
	display: inline-flex;
	align-items: center;
	border-radius: 9999px;
	padding: 0.25rem 0.7rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #f5e7c3;
	border: 1px solid rgba(215, 189, 134, 0.24);
	background: rgba(182, 143, 70, 0.12);
}

.appointment-type-note {
	display: block;
	margin-top: 0.55rem;
	font-size: 0.9rem;
	line-height: 1.7;
	color: #cbd5e1;
}

.appointment-consent {
	display: flex;
	gap: 0.85rem;
	align-items: flex-start;
	font-size: 0.92rem;
	line-height: 1.7;
	color: #cbd5e1;
}

.appointment-consent input[type="checkbox"] {
	margin-top: 0.25rem;
	accent-color: #d7bd86;
}

.appointment-consent a {
	color: #f5e7c3;
	text-decoration: underline;
	text-underline-offset: 0.2rem;
}

.appointment-notice {
	border-radius: 1rem;
	padding: 0.95rem 1rem;
	font-size: 0.95rem;
	line-height: 1.7;
}

.appointment-notice-success {
	border: 1px solid rgba(74, 222, 128, 0.3);
	background: rgba(34, 197, 94, 0.12);
	color: #dcfce7;
}

.appointment-notice-error {
	border: 1px solid rgba(248, 113, 113, 0.32);
	background: rgba(239, 68, 68, 0.12);
	color: #fee2e2;
}

.menu-link,
.mobile-link {
	position: relative;
	color: #e2e8f0;
	transition: color 180ms ease;
}

.menu-link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -0.4rem;
	height: 2px;
	width: 100%;
	transform: scaleX(0);
	transform-origin: center;
	background: linear-gradient(90deg, #d7bd86, #b68f46);
	transition: transform 180ms ease;
}

.menu-link:hover,
.mobile-link:hover {
	color: #f8e8c2;
}

.menu-link:hover::after,
.menu-link-active::after {
	transform: scaleX(1);
}

.menu-link-active,
.mobile-link-active {
	color: #f8e8c2;
}

.mobile-link {
	font-family: "Cormorant Garamond", serif;
	font-size: 2.25rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	padding: 0.5rem 1rem;
	display: inline-block;
	transition: transform 300ms ease, color 300ms ease;
}

.mobile-link:hover {
	transform: scale(1.05);
}

.prose-lite h2,
.prose-lite h3,
.prose-lite h4 {
	font-family: "Cormorant Garamond", serif;
	color: #ffffff;
	line-height: 1.15;
	margin-top: 2rem;
	margin-bottom: 0.9rem;
}

.prose-lite h2 {
	font-size: clamp(2rem, 2.8vw, 2.7rem);
}

.prose-lite h3 {
	font-size: clamp(1.45rem, 2.2vw, 1.9rem);
}

.prose-lite p,
.prose-lite li,
.prose-lite blockquote {
	color: #d7dee8;
	font-size: 1rem;
	line-height: 2;
}

.prose-lite p + p {
	margin-top: 1rem;
}

.prose-lite ul,
.prose-lite ol {
	margin-top: 1rem;
	padding-left: 1.25rem;
}

.prose-lite li + li {
	margin-top: 0.55rem;
}

.prose-lite a {
	color: #f5e7c3;
	text-decoration: underline;
	text-decoration-color: rgba(245, 231, 195, 0.35);
	text-underline-offset: 0.25rem;
}

.prose-lite strong {
	color: #ffffff;
}

.prose-lite blockquote {
	margin: 1.5rem 0;
	border-left: 3px solid rgba(215, 189, 134, 0.45);
	padding-left: 1rem;
	font-style: italic;
}

.prose-lite code {
	border-radius: 0.5rem;
	background: rgba(15, 23, 42, 0.8);
	padding: 0.18rem 0.4rem;
	font-size: 0.9em;
}

.prose-lite pre {
	overflow-x: auto;
	border-radius: 1rem;
	background: rgba(2, 6, 23, 0.85);
	padding: 1rem;
}

.prose-lite img {
	border-radius: 1.5rem;
	margin: 1.5rem 0;
	max-width: 100%;
	height: auto;
}

.prose-lite table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 1rem;
}

.prose-lite th,
.prose-lite td {
	border: 1px solid rgba(255, 255, 255, 0.12);
	padding: 0.8rem;
	text-align: left;
}

.search-highlight {
	border-radius: 0.4rem;
	background: rgba(215, 189, 134, 0.28);
	padding: 0.05rem 0.2rem;
	color: #fff2ce;
}

[data-mobile-panel] {
	animation: slideDown 200ms ease;
}

@keyframes floatOrb {
	0%,
	100% {
		transform: translate3d(0, 0, 0) scale(1);
	}
	50% {
		transform: translate3d(0, -18px, 0) scale(1.06);
	}
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (min-width: 768px) {
	.cta-banner {
		align-items: end;
		justify-content: space-between;
		flex-direction: row;
		padding: 2.5rem;
	}

	.showcase-media-grid {
		grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
		align-items: stretch;
	}
}

@media (max-width: 767px) {
	.site-orb-one,
	.site-orb-two {
		height: 12rem;
		width: 12rem;
		filter: blur(36px);
	}

	.article-card-top {
		align-items: flex-start;
	}
}
