/* ================================================================
   HUKUK BÜROSU (OXFORD LEGAL THEME)
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* --- Tokens --- */
.legal-theme {
	--leg-bg: #F9FAFB;             /* Very Light Gray */
	--leg-surface: #FFFFFF;        /* Pure White */
	--leg-dark: #0B132B;           /* Oxford Blue / Deep Navy */
	--leg-primary: #D4AF37;        /* Brass / Classic Gold */
	--leg-primary-hover: #B89742;
	--leg-text: #4B5563;           /* Charcoal Gray */
	--leg-border: #E5E7EB;         /* Soft Border */
	
	--leg-font-body: 'Inter', sans-serif;
	--leg-font-heading: 'Playfair Display', serif;
	
	background-color: var(--leg-bg);
	color: var(--leg-text);
	font-family: var(--leg-font-body);
	font-size: 16px;
	line-height: 1.8;
	overflow-x: hidden;
}

.legal-theme * { box-sizing: border-box; }
.legal-theme img { display: block; max-width: 100%; }

.leg-container {
	margin: 0 auto;
	padding: 0 40px;
	width: min(1200px, 100%);
	position: relative;
	z-index: 5;
}

.center-text { text-align: center; display: flex; flex-direction: column; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: flex-end; }

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
.leg-kicker {
	color: var(--leg-primary);
	display: inline-block;
	font-family: var(--leg-font-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 3px;
	text-transform: uppercase;
	margin-bottom: 20px;
}

.legal-theme h2 {
	color: var(--leg-dark);
	font-family: var(--leg-font-heading);
	font-size: clamp(36px, 4vw, 50px);
	font-weight: 500;
	line-height: 1.2;
	margin: 0 0 25px;
}
.legal-theme h2 em { color: var(--leg-primary); font-style: italic; font-weight: 400; }

.leg-divider {
	width: 60px; height: 2px;
	background: var(--leg-primary);
	margin: 20px auto 40px;
}
.leg-divider.left { margin-left: 0; }

/* ================================================================
   BUTTONS
   ================================================================ */
.leg-btn {
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--leg-font-body); font-size: 13px; font-weight: 500;
	padding: 16px 40px; text-decoration: none; transition: all 0.4s ease;
	text-transform: uppercase; letter-spacing: 2px;
}
.leg-btn--primary {
	background: var(--leg-primary); color: #fff !important;
}
.leg-btn--primary:hover { background: var(--leg-dark); color: var(--leg-primary) !important; }

/* ================================================================
   HEADER
   ================================================================ */
.leg-header { background: var(--leg-surface); border-bottom: 1px solid var(--leg-border); position: relative; z-index: 50; }
.leg-header__inner { display: flex; justify-content: space-between; align-items: center; padding: 20px 40px; }

.leg-logo { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.leg-logo-mark { width: 45px; height: 45px; background: var(--leg-dark); color: var(--leg-primary); display: flex; align-items: center; justify-content: center; font-family: var(--leg-font-heading); font-size: 20px; font-weight: 600; }
.leg-logo-text { display: flex; flex-direction: column; }
.leg-logo-text strong { font-family: var(--leg-font-heading); font-size: 22px; color: var(--leg-dark); font-weight: 600; line-height: 1.1; }
.leg-logo-text span { font-size: 10px; text-transform: uppercase; letter-spacing: 2px; color: var(--leg-text); }

.leg-nav { display: flex; gap: 30px; }
.leg-nav a { color: var(--leg-dark); font-size: 14px; font-weight: 500; text-decoration: none; transition: color 0.3s; }
.leg-nav a:hover { color: var(--leg-primary); }

.leg-header__cta { display: none; } /* Hidden on desktop for clean look, used below */

/* ================================================================
   UNIVERSAL ENVATO SLIDER
   ================================================================ */
.envato-universal-slider {
	position: relative; width: 100%; height: 85vh; min-height: 600px; max-height: 850px; overflow: hidden; background: var(--leg-dark);
	--eus-primary: #a68a64;
	--eus-gold: #a68a64;
}
.eus-wrapper { position: relative; width: 100%; height: 100%; }
.eus-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; visibility: hidden; transition: opacity 1.5s ease, visibility 1.5s ease; display: flex; align-items: center; justify-content: center; }
.eus-slide.active { opacity: 1; visibility: visible; }
.eus-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.eus-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 10s ease; filter: grayscale(30%); }
.eus-slide.active .eus-bg img { transform: scale(1); }
.eus-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(11, 19, 43, 0.62); }

.eus-content { position: relative; z-index: 2; width: 100%; text-align: center; display: flex; align-items: center; justify-content: center; min-height: 100%; }

.eus-hero-copy {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 900px;
	padding: 40px 20px 120px;
}

.eus-slide .eus-kicker,
.eus-slide .eus-kicker-line,
.eus-slide .eus-title,
.eus-slide .eus-desc,
.eus-slide .eus-actions {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.9s ease, transform 0.9s ease;
}

.eus-slide.active .eus-kicker { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }
.eus-slide.active .eus-kicker-line { opacity: 1; transform: translateY(0); transition-delay: 0.45s; }
.eus-slide.active .eus-title { opacity: 1; transform: translateY(0); transition-delay: 0.55s; }
.eus-slide.active .eus-desc { opacity: 1; transform: translateY(0); transition-delay: 0.7s; }
.eus-slide.active .eus-actions { opacity: 1; transform: translateY(0); transition-delay: 0.85s; }

.eus-kicker {
	display: block;
	color: var(--eus-gold);
	font-family: var(--leg-font-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 6px;
	text-transform: uppercase;
	margin: 0;
}

.eus-kicker-line {
	display: block;
	width: 52px;
	height: 1px;
	background: var(--eus-gold);
	margin: 16px auto 28px;
}

.eus-title {
	color: #fff;
	font-family: var(--leg-font-body);
	font-size: clamp(52px, 8vw, 96px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: 6px;
	text-transform: uppercase;
	margin: 0 0 30px;
	max-width: none;
}

.eus-title em {
	color: #fff;
	font-style: normal;
	font-weight: 700;
}

.eus-desc {
	max-width: 640px;
	margin: 0 auto 36px;
}

.eus-desc p {
	color: rgba(255, 255, 255, 0.92);
	font-size: clamp(15px, 2vw, 18px);
	font-weight: 400;
	line-height: 1.7;
	margin: 0 0 6px;
}

.eus-desc p:last-child {
	margin-bottom: 0;
}

.eus-actions {
	display: flex;
	justify-content: center;
	gap: 20px;
}

.eus-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 17px 34px;
	font-family: var(--leg-font-body);
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.35s ease, transform 0.35s ease;
	text-transform: uppercase;
	letter-spacing: 2.5px;
	border-radius: 0;
}

.eus-btn--primary {
	background: var(--eus-gold);
	color: #fff !important;
}

.eus-btn--primary:hover {
	background: #8f7352;
	color: #fff !important;
	transform: translateY(-2px);
}

.eus-btn--primary i {
	font-size: 11px;
	transition: transform 0.35s ease;
}

.eus-btn--primary:hover i {
	transform: translateX(4px);
}
.eus-btn--outline { background: transparent; color: #fff !important; border: 1px solid rgba(255,255,255,0.3); }
.eus-btn--outline:hover { background: #fff; color: var(--leg-dark) !important; border-color: #fff; }

.eus-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 60px; height: 60px; background: transparent; border: 1px solid rgba(255,255,255,0.2); color: #fff; font-size: 18px; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; transition: all 0.4s; }
.eus-arrow:hover { border-color: var(--eus-primary); color: var(--eus-primary); }
.eus-prev { left: 40px; }
.eus-next { right: 40px; }
.eus-pagination { display: none; }

/* ================================================================
   STATS BAR
   ================================================================ */
.leg-stats-bar { background: var(--leg-surface); border-bottom: 1px solid var(--leg-border); }
.leg-stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.leg-stat-item { padding: 40px 20px; text-align: center; border-right: 1px solid var(--leg-border); }
.leg-stat-item:last-child { border-right: none; }
.leg-stat-item strong { display: block; font-family: var(--leg-font-heading); font-size: 35px; color: var(--leg-dark); font-weight: 500; line-height: 1; margin-bottom: 5px; }
.leg-stat-item span { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--leg-primary); font-weight: 600; }

/* ================================================================
   ABOUT US
   ================================================================ */
.leg-about { padding: 120px 0; background: var(--leg-bg); }

.leg-about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.lega-visual { position: relative; padding-bottom: 30px; padding-right: 30px; }
.lega-visual img { width: 100%; aspect-ratio: 4/5; object-fit: cover; position: relative; z-index: 2; }
.lega-border { position: absolute; top: 30px; left: 30px; width: 100%; height: 100%; border: 1px solid var(--leg-primary); z-index: 1; }

.lega-prose { font-size: 16px; margin-bottom: 50px; line-height: 1.8; }

.lega-points { display: flex; flex-direction: column; gap: 30px; }
.legap-item { display: flex; gap: 20px; align-items: flex-start; }
.legap-item i { color: var(--leg-primary); font-size: 24px; margin-top: 5px; }
.legap-item strong { display: block; font-family: var(--leg-font-heading); font-size: 20px; color: var(--leg-dark); font-weight: 500; margin-bottom: 5px; }
.legap-item p { margin: 0; font-size: 14px; }

/* ================================================================
   SERVICES
   ================================================================ */
.leg-services { padding: 120px 0; background: var(--leg-surface); }

.leg-services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

.legs-card { background: var(--leg-bg); border: 1px solid var(--leg-border); padding: 50px 40px; text-align: center; position: relative; transition: all 0.5s ease; display: block; text-decoration: none; color: inherit; }
.legs-card--link { cursor: pointer; }
.legs-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(11,19,43,0.05); }

.leg-services__empty {
	grid-column: 1 / -1;
	text-align: center;
	margin: 0;
	padding: 40px 20px;
	color: var(--leg-text);
}

.legs-card i { font-size: 40px; color: var(--leg-primary); margin-bottom: 25px; transition: transform 0.5s; }
.legs-card:hover i { transform: scale(1.1); }

.legs-card h3 { font-family: var(--leg-font-heading); font-size: 24px; color: var(--leg-dark); font-weight: 500; margin: 0 0 15px; }
.legs-card p { margin: 0; font-size: 14px; }

.legs-line { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 3px; background: var(--leg-primary); transition: width 0.5s ease; }
.legs-card:hover .legs-line { width: 100%; }

/* ================================================================
   WHY US (PRINCIPLES)
   ================================================================ */
.leg-why { padding: 120px 0; background: var(--leg-dark); color: #fff; }

.leg-why .leg-kicker { color: var(--leg-primary); }
.leg-why h2 { color: #fff; }
.leg-head-text { max-width: 500px; font-size: 16px; color: rgba(255,255,255,0.7); }

.leg-why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 60px; }

.legw-card { padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); }
.legw-icon { width: 60px; height: 60px; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--leg-primary); margin-bottom: 25px; }
.legw-card h3 { font-family: var(--leg-font-heading); font-size: 22px; color: #fff; font-weight: 500; margin: 0 0 15px; }
.legw-card p { margin: 0; font-size: 14px; color: rgba(255,255,255,0.6); }

/* ================================================================
   IMPACT SPLIT PANELS
   ================================================================ */
.leg-impact-split {
	width: 100%;
	overflow: hidden;
}

.leg-impact-split__grid {
	display: grid;
	grid-template-columns: 1fr;
}

.leg-impact-panel {
	position: relative;
	min-height: 560px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	transform: translateZ(0);
}

.leg-impact-panel__bg {
	position: absolute;
	inset: -320px 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	will-change: transform;
	transform: translate3d(0, 0, 0) scale(1.08);
	z-index: 0;
}

.leg-impact-panel__overlay {
	position: absolute;
	inset: 0;
	background: rgba(11, 19, 43, 0.72);
	z-index: 1;
}

.leg-impact-panel__inner {
	position: relative;
	z-index: 2;
	max-width: 620px;
	padding: 86px 40px;
	text-align: center;
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.leg-impact-panel__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin-bottom: 28px;
}

.leg-impact-panel__icon i {
	font-size: 28px;
	color: #fff;
	opacity: 0.95;
}

.leg-impact-panel__line {
	display: block;
	width: 36px;
	height: 1px;
	background: rgba(255, 255, 255, 0.55);
}

.leg-impact-panel__amount {
	font-family: var(--leg-font-heading);
	font-size: clamp(42px, 5vw, 58px);
	font-weight: 600;
	line-height: 1;
	margin-bottom: 18px;
	letter-spacing: -0.02em;
}

.leg-impact-panel__title {
	font-family: var(--leg-font-body);
	font-size: clamp(22px, 3vw, 38px);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
	margin: 0 0 24px;
	color: #fff;
}

.leg-impact-panel__desc {
	font-size: 16px;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.82);
	margin: 0 0 32px;
	max-width: 520px;
}

.leg-impact-panel__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 28px;
	background: var(--leg-dark);
	color: #fff !important;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.35s ease, color 0.35s ease;
}

.leg-impact-panel__btn i {
	font-size: 11px;
	transition: transform 0.35s ease;
}

.leg-impact-panel__btn:hover {
	background: var(--leg-primary);
	color: var(--leg-dark) !important;
}

.leg-impact-panel__btn:hover i {
	transform: translateX(4px);
}

/* ================================================================
   REVIEWS
   ================================================================ */
.leg-reviews { padding: 120px 0; background: var(--leg-bg); }

.leg-reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

.legr-card { background: var(--leg-surface); border: 1px solid var(--leg-border); padding: 50px 40px; text-align: center; }
.legr-card i { font-size: 30px; color: var(--leg-primary); margin-bottom: 25px; opacity: 0.5; }
.legr-card p { font-size: 16px; font-style: italic; margin: 0 0 30px; color: var(--leg-dark); }
.legr-author strong { display: block; font-family: var(--leg-font-heading); font-size: 18px; color: var(--leg-dark); font-weight: 600; }
.legr-author span { font-size: 12px; color: var(--leg-primary); text-transform: uppercase; letter-spacing: 1px; }

/* ================================================================
   BLOG / INSIGHTS
   ================================================================ */
.leg-blog { padding: 120px 0; background: var(--leg-surface); border-top: 1px solid var(--leg-border); }

.leg-blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 60px; }

.leg-blog__empty {
	grid-column: 1 / -1;
	text-align: center;
	margin: 0;
	padding: 40px 20px;
	color: var(--leg-text);
}

.legb-card { padding: 40px; border: 1px solid var(--leg-border); transition: all 0.3s ease; }
.legb-card:hover { border-color: var(--leg-primary); }

.legb-tag { display: inline-block; font-size: 10px; text-transform: uppercase; letter-spacing: 2px; color: var(--leg-primary); font-weight: 600; margin-bottom: 15px; }
.legb-card h3 { font-family: var(--leg-font-heading); font-size: 22px; color: var(--leg-dark); font-weight: 500; margin: 0 0 15px; line-height: 1.4; }
.legb-card h3 a { color: inherit; text-decoration: none; transition: color 0.3s; }
.legb-card h3 a:hover { color: var(--leg-primary); }
.legb-card p {
	display: -webkit-box;
	margin: 0 0 25px;
	font-size: 14px;
	line-height: 1.7;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.legb-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--leg-dark); text-decoration: none; transition: color 0.3s; }
.legb-link i { color: var(--leg-primary); transition: transform 0.3s; }
.legb-card:hover .legb-link { color: var(--leg-primary); }
.legb-card:hover .legb-link i { transform: translateX(5px); }

/* ================================================================
   FAQ & INFO
   ================================================================ */
.leg-faq { padding: 120px 0; background: var(--leg-bg); }

.leg-faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.legf-copy p { font-size: 16px; margin-bottom: 40px; }

.legf-accordion { display: flex; flex-direction: column; gap: 15px; }
.legf-card { background: var(--leg-surface); border: 1px solid var(--leg-border); transition: all 0.3s; }
.legf-head { display: flex; justify-content: space-between; align-items: center; padding: 25px; cursor: pointer; list-style: none; font-family: var(--leg-font-heading); font-size: 18px; color: var(--leg-dark); font-weight: 500; }
.legf-head::-webkit-details-marker { display: none; }
.legf-card[open] { border-color: var(--leg-primary); }
.legf-card[open] .legf-head { color: var(--leg-primary); }

.legf-head i { font-size: 14px; color: var(--leg-primary); transition: transform 0.3s; }
.legf-card[open] .legf-head i { transform: rotate(45deg); }

.legf-body { padding: 0 25px 25px; }
.legf-body p { margin: 0; font-size: 15px; }

/* ================================================================
   CONTACT CTA
   ================================================================ */
.leg-contact { padding: 120px 0; background: var(--leg-surface); }

.leg-contact__inner { display: flex; gap: 80px; }

.legc-info { flex: 1; padding-top: 20px; }
.legc-desc { font-size: 16px; margin-bottom: 40px; }

.legc-items { display: flex; flex-direction: column; gap: 30px; }
.legci-row { display: flex; gap: 20px; align-items: flex-start; }
.legci-row i { font-size: 24px; color: var(--leg-primary); margin-top: 5px; }
.legci-row strong { display: block; font-family: var(--leg-font-heading); font-size: 20px; color: var(--leg-dark); font-weight: 500; margin-bottom: 5px; }
.legci-row p { margin: 0; font-size: 15px; }

.legc-map { flex: 1; height: 500px; border: 1px solid var(--leg-border); }
.legc-map iframe { width: 100%; height: 100%; border: none; filter: grayscale(100%) contrast(1.1); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
	.eus-title { font-size: 45px; }
	.leg-header__inner { flex-direction: column; gap: 20px; }
	.leg-nav { flex-wrap: wrap; justify-content: center; }
	
	.leg-stats__grid { grid-template-columns: 1fr; }
	.leg-stat-item { border-right: none; border-bottom: 1px solid var(--leg-border); }
	
	.leg-about__grid, .leg-faq__grid { grid-template-columns: 1fr; gap: 60px; }
	.lega-visual { max-width: 500px; margin: 0 auto; }
	
	.flex-between { flex-direction: column; align-items: flex-start; gap: 20px; }
	
	.leg-services__grid, .leg-reviews__grid, .leg-blog__grid { grid-template-columns: repeat(2, 1fr); }
	.leg-why__grid { grid-template-columns: repeat(2, 1fr); }

	.leg-impact-panel { min-height: 460px; }
	
	.leg-contact__inner { flex-direction: column; }
	.legc-map { height: 400px; }
}

@media (max-width: 768px) {
	.eus-actions { flex-direction: column; }
	.leg-services__grid, .leg-reviews__grid, .leg-blog__grid, .leg-why__grid { grid-template-columns: 1fr; }
	.leg-impact-panel {
		min-height: 430px;
	}
	.leg-impact-panel__bg {
		inset: -220px 0;
	}
	.leg-impact-panel__inner { padding: 70px 24px; }
}

@media (prefers-reduced-motion: reduce) {
	.leg-impact-panel__bg {
		transform: none !important;
	}
}
