/* ==========================================================================
   ESKİŞEHİR KENT KONSEYİ - MEVCUT TEMA ÖZEL CSS STİLLERİ (custom.css)
   ========================================================================== */

/* Custom height and animated gradient background overrides using raw CSS */
@keyframes kenBurns {
	0% { transform: scale(1); }
	50% { transform: scale(1.08); }
	100% { transform: scale(1); }
}

.custom-hero-banner {
	height: 660px !important;
	min-height: 600px !important;
	background-color: #061530 !important;
}

@media (max-width: 991px) {
	.custom-hero-banner {
		height: auto !important;
		min-height: 520px !important;
	}
}

/* Slide background container with Ken Burns effect */
.slide-bg-animated {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover !important;
	background-position: center center !important;
	z-index: 1;
	animation: kenBurns 20s ease-in-out infinite;
}

.slide-overlay-premium {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, rgba(6, 21, 48, 0.9) 0%, rgba(6, 21, 48, 0.6) 50%, rgba(6, 21, 48, 0.3) 100%);
	z-index: 2;
}

@media (max-width: 991px) {
	.slide-overlay-premium {
		background: linear-gradient(180deg, rgba(6, 21, 48, 0.95) 0%, rgba(6, 21, 48, 0.8) 70%, rgba(6, 21, 48, 0.4) 100%) !important;
	}
}

/* Hide the WebGL canvas */
.hero-effect-container {
	display: none !important;
}

/* Navigation Menu Capsule Glassmorphism & Shadow Styling */
.header-nav {
	background: rgba(255, 255, 255, 0.95) !important;
	backdrop-filter: blur(16px) !important;
	-webkit-backdrop-filter: blur(16px) !important;
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
	border-radius: 9999px !important;
}

/* High contrast header links for both desktop & subpages */
.header-nav .navbar-nav > li > a,
.header-nav .navbar-nav > li > a span,
.header-nav a:not(.active) {
	color: #1e293b !important;
	transition: all 0.3s ease-in-out !important;
	font-weight: 600 !important;
}

.header-nav .navbar-nav > li > a:hover,
.header-nav .navbar-nav > li > a:hover span {
	color: #184ea0 !important;
}

.header-nav .navbar-nav > li > a.active,
.header-nav .navbar-nav > li > a.active span {
	background-color: #184ea0 !important;
	color: #ffffff !important;
	border-radius: 9999px !important;
}

@media (min-width: 992px) {
	.navbar-nav > li > a {
		color: #1e293b !important;
		transition: all 0.3s ease-in-out !important;
		font-size: 15px !important;
		font-weight: 600 !important;
	}
	.navbar-nav > li > a:hover {
		color: #184ea0 !important;
		background: rgba(24, 78, 160, 0.08) !important;
	}
	.navbar-nav > li > a.active {
		background-color: #184ea0 !important;
		color: #ffffff !important;
	}
}

/* Section Title & Subtitle Styling */
.section-tag {
	display: inline-block !important;
	font-size: 0.85rem !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.06em !important;
	color: #184ea0 !important;
	background: rgba(24, 78, 160, 0.08) !important;
	padding: 6px 16px !important;
	border-radius: 9999px !important;
	margin-bottom: 12px !important;
}

.section-title {
	font-size: 2.25rem !important;
	font-weight: 800 !important;
	color: #061530 !important;
	line-height: 1.25 !important;
	letter-spacing: -0.02em !important;
}

/* Glass Card & Component Styling */
.glass-card {
	background: #ffffff !important;
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
	border-radius: 1.5rem !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.glass-card:hover {
	box-shadow: 0 20px 40px rgba(24, 78, 160, 0.12) !important;
	transform: translateY(-4px) !important;
}

/* Custom News Card Style */
.custom-news-card {
	position: relative !important;
	overflow: hidden !important;
	border-radius: 1.5rem !important;
	height: 420px !important;
	background-size: cover !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
	transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.custom-news-card::after {
	content: '' !important;
	position: absolute !important;
	inset: 0 !important;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 35%, rgba(6, 18, 38, 0.92) 100%) !important;
	transition: all 0.4s ease !important;
	z-index: 1 !important;
	pointer-events: none !important;
}

.custom-news-card:hover {
	transform: translateY(-6px) !important;
	box-shadow: 0 16px 35px rgba(6, 21, 48, 0.22) !important;
}

.custom-news-card:hover::after {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 35%, rgba(6, 18, 38, 0.96) 100%) !important;
}

.custom-news-card-content {
	position: relative !important;
	z-index: 2 !important;
	padding: 1.25rem !important;
	height: 100% !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: space-between !important;
	box-sizing: border-box !important;
}

.custom-news-badge {
	align-self: flex-start !important;
	background: #184ea0 !important;
	color: #ffffff !important;
	font-size: 0.7rem !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.05em !important;
	padding: 5px 12px !important;
	border-radius: 9999px !important;
	box-shadow: 0 4px 10px rgba(24, 78, 160, 0.3) !important;
}

.custom-news-title {
	color: #ffffff !important;
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
	margin-bottom: 0.5rem !important;
	transition: color 0.3s ease !important;
}

.custom-news-title a {
	color: #ffffff !important;
	text-decoration: none !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 3 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7) !important;
}

.custom-news-title a:hover {
	color: #60a5fa !important;
}

.custom-news-date {
	color: rgba(255, 255, 255, 0.75) !important;
	font-size: 0.8rem !important;
	font-weight: 500 !important;
	display: flex !important;
	align-items: center !important;
	gap: 6px !important;
}

/* Submenu Dropdown Card */
.navbar-nav .sub-menu {
	border-radius: 1rem !important;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
	padding: 10px 0 !important;
	background: #ffffff !important;
}

.navbar-nav .sub-menu li a {
	color: #333333 !important;
}

.navbar-nav .sub-menu li a:hover {
	color: #184ea0 !important;
	background: rgba(24, 78, 160, 0.06) !important;
}

/* Centered Navigation Controls at the bottom of Slider */
.custom-hero-banner-controls {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 30;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 24px;
}

/* Premium Slide Content Typography & Buttons Custom Style */
.custom-hero-banner h1 {
	font-size: 2.75rem !important;
	font-weight: 800 !important;
	letter-spacing: -0.02em !important;
	text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
	line-height: 1.25 !important;
	margin-bottom: 20px !important;
}

.custom-hero-banner p {
	font-size: 1.05rem !important;
	line-height: 1.75 !important;
	color: rgba(255, 255, 255, 0.85) !important;
	margin-bottom: 28px !important;
}

@media (max-width: 767px) {
	.custom-hero-banner h1 {
		font-size: 1.85rem !important;
	}
	.custom-hero-banner p {
		font-size: 0.95rem !important;
		line-height: 1.6 !important;
	}
}

/* Premium Glow Gradient Button Style */
.custom-slider-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #184ea0 0%, #103b75 100%) !important;
	color: #ffffff !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.08em !important;
	padding: 13px 32px !important;
	border-radius: 9999px !important;
	border: 1px solid rgba(255, 255, 255, 0.15) !important;
	box-shadow: 0 8px 24px rgba(24, 78, 160, 0.35) !important;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
	cursor: pointer;
}

.custom-slider-btn:hover {
	background: linear-gradient(135deg, #1d5cb8 0%, #154c94 100%) !important;
	box-shadow: 0 12px 30px rgba(24, 78, 160, 0.55) !important;
	transform: translateY(-2px) scale(1.03) !important;
	color: #ffffff !important;
}

/* Custom Dark Footer Styling */
.custom-site-footer {
	background-color: #061530 !important;
	color: rgba(255, 255, 255, 0.7) !important;
	padding-top: 60px;
	padding-bottom: 40px;
}

.custom-site-footer h3 {
	color: #ffffff !important;
	border-bottom: 2px solid rgba(255, 255, 255, 0.15) !important;
	font-weight: 700 !important;
}

.custom-site-footer a {
	color: rgba(255, 255, 255, 0.75) !important;
	transition: all 0.3s ease-in-out !important;
}

.custom-site-footer a:hover {
	color: #00bde0 !important;
	padding-left: 6px;
}

.footer-middle {
	border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
	background: transparent !important;
	padding: 40px 0 !important;
}

.footer-middle h2, .footer-middle p {
	color: #ffffff !important;
}

.footer-bottom {
	background: rgba(0, 0, 0, 0.2) !important;
	border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
	padding: 20px 0 !important;
}

.footer-bottom p, .footer-bottom a {
	color: rgba(255, 255, 255, 0.6) !important;
}

.footer-bottom a:hover {
	color: #00bde0 !important;
}

/* Footer CSS Flexbox Grid */
.custom-footer-row {
	display: flex !important;
	flex-wrap: wrap !important;
	margin-right: -15px !important;
	margin-left: -15px !important;
}

.custom-footer-col {
	flex: 0 0 33.3333% !important;
	max-width: 33.3333% !important;
	padding-right: 15px !important;
	padding-left: 15px !important;
	margin-bottom: 30px !important;
}

@media (max-width: 991px) {
	.custom-footer-col {
		flex: 0 0 50% !important;
		max-width: 50% !important;
	}
}

@media (max-width: 767px) {
	.custom-footer-col {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		text-align: center !important;
	}
	.custom-footer-col h3 {
		border-bottom: none !important;
	}
}

/* Custom News Grid */
.custom-news-row {
	display: flex !important;
	flex-wrap: wrap !important;
	margin-right: -15px !important;
	margin-left: -15px !important;
}

.custom-news-col {
	flex: 0 0 33.3333% !important;
	max-width: 33.3333% !important;
	padding-right: 15px !important;
	padding-left: 15px !important;
	margin-bottom: 30px !important;
}

@media (max-width: 991px) {
	.custom-news-col {
		flex: 0 0 50% !important;
		max-width: 50% !important;
	}
}

@media (max-width: 767px) {
	.custom-news-col {
		flex: 0 0 100% !important;
		max-width: 100% !important;
	}
}

/* Custom 4-Column Balanced Grid for Former Presidents */
.custom-presidents-row {
	display: flex !important;
	flex-wrap: wrap !important;
	margin-right: -15px !important;
	margin-left: -15px !important;
	justify-content: center !important;
}

.custom-presidents-col {
	flex: 0 0 25% !important;
	max-width: 25% !important;
	padding-right: 15px !important;
	padding-left: 15px !important;
	margin-bottom: 30px !important;
}

@media (max-width: 1199px) {
	.custom-presidents-col {
		flex: 0 0 50% !important;
		max-width: 50% !important;
	}
}

@media (max-width: 575px) {
	.custom-presidents-col {
		flex: 0 0 100% !important;
		max-width: 100% !important;
	}
}

/* Custom Facebook Button Header Style */
.custom-fb-btn {
	background-color: #1877f2 !important;
	width: 38px !important;
	height: 38px !important;
	border-radius: 50% !important;
	box-shadow: 0 4px 12px rgba(24, 119, 242, 0.25) !important;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
	z-index: 10;
}

.custom-fb-btn:hover {
	transform: translateY(-2px) scale(1.05) !important;
	box-shadow: 0 6px 16px rgba(24, 119, 242, 0.45) !important;
	background-color: #1565c0 !important;
}

/* Custom X (Twitter) Button Header Style */
.custom-x-btn {
	background-color: #000000 !important;
	width: 38px !important;
	height: 38px !important;
	border-radius: 50% !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
	z-index: 10;
}

.custom-x-btn:hover {
	transform: translateY(-2px) scale(1.05) !important;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45) !important;
	background-color: #222222 !important;
}

/* Custom Stagger Title Animation */
.custom-headline-anim span[style*="--char-index"] {
	display: inline-block !important;
	opacity: 0;
}

@keyframes flickerReveal {
	0% {
		opacity: 0;
		filter: blur(8px);
		transform: scale(0.8) translateY(10px);
	}
	15% {
		opacity: 0.4;
		filter: blur(4px);
	}
	30% {
		opacity: 0.1;
	}
	45% {
		opacity: 0.8;
		filter: blur(2px);
	}
	60% {
		opacity: 0.35;
	}
	75% {
		opacity: 0.95;
		filter: blur(0px);
		transform: scale(1.05) translateY(-2px);
	}
	90% {
		opacity: 0.7;
	}
	100% {
		opacity: 1;
		filter: blur(0px);
		transform: scale(1) translateY(0);
	}
}

.custom-headline-anim.active span[style*="--char-index"] {
	animation: flickerReveal 0.8s ease-out forwards !important;
	animation-delay: calc(var(--char-index) * 70ms) !important;
	color: #0b2545 !important;
	opacity: 1 !important;
}

/* ==========================================================================
   FLAWLESS MOBILE NAVIGATION DRAWER OVERRIDES
   ========================================================================== */
@media (max-width: 991px) {
	.header-nav {
		position: fixed !important;
		top: 0 !important;
		left: -320px !important;
		width: 290px !important;
		height: 100vh !important;
		background: #ffffff !important;
		border-radius: 0 !important;
		box-shadow: 4px 0 25px rgba(0, 0, 0, 0.25) !important;
		transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
		z-index: 999999 !important;
		padding: 20px !important;
		display: flex !important;
		flex-direction: column !important;
		overflow-y: auto !important;
	}
	.header-nav.show {
		left: 0 !important;
	}
	.header-nav .navbar-nav > li {
		border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
		margin-bottom: 4px !important;
		padding-bottom: 4px !important;
	}
	.header-nav .navbar-nav > li > a {
		padding: 10px 14px !important;
		font-size: 16px !important;
		font-weight: 700 !important;
		color: #061530 !important;
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		border-radius: 12px !important;
	}
	.header-nav .sub-menu {
		display: none;
		position: relative !important;
		top: 0 !important;
		left: 0 !important;
		width: 100% !important;
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
		box-shadow: none !important;
		border: none !important;
		padding: 6px 0 6px 12px !important;
		background: rgba(24, 78, 160, 0.04) !important;
		border-radius: 12px !important;
		margin-top: 6px !important;
	}
	.header-nav li.open > .sub-menu {
		display: block !important;
	}
	.header-nav .sub-menu li a {
		padding: 8px 12px !important;
		font-size: 14px !important;
		color: #475569 !important;
		font-weight: 600 !important;
		border-radius: 8px !important;
	}
	.header-nav .sub-menu li a:hover {
		color: #184ea0 !important;
		background: rgba(24, 78, 160, 0.08) !important;
	}
}

/* ==========================================================================
   MOBILE LAYOUT NO-SHIFT & TOP ALIGNMENT FIXES
   ========================================================================== */
html, body {
	max-width: 100% !important;
	overflow-x: hidden !important;
}

#smooth-wrapper, #smooth-content, .page-wraper {
	max-width: 100% !important;
	overflow-x: hidden !important;
}

@media (max-width: 991px) {
	.site-header {
		margin-top: 0 !important;
		padding-top: 4px !important;
	}
	.custom-hero-banner {
		height: auto !important;
		min-height: auto !important;
		padding-top: 85px !important;
		padding-bottom: 25px !important;
	}
	.custom-hero-banner .row {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
	.custom-hero-banner .lg\:w-7\/12 {
		padding-top: 0 !important;
	}
	.custom-hero-banner .my-auto {
		padding-top: 0 !important;
		padding-bottom: 10px !important;
	}
	.custom-hero-banner h1 {
		font-size: 1.45rem !important;
		margin-bottom: 10px !important;
		line-height: 1.3 !important;
	}
	.custom-hero-banner p {
		font-size: 0.88rem !important;
		margin-bottom: 14px !important;
		display: -webkit-box !important;
		-webkit-line-clamp: 2 !important;
		-webkit-box-orient: vertical !important;
		overflow: hidden !important;
	}
	.custom-hero-banner .lg\:w-5\/12 {
		padding-top: 8px !important;
		padding-bottom: 8px !important;
	}
	.custom-hero-banner .lg\:w-5\/12 > div {
		height: 200px !important;
		max-width: 100% !important;
	}
}



