/* Custom CSS for KKTC Basketball Federation */

:root {
	--primary-color: #cd3432;
	--secondary-color: #e88c8c;
	--accent-color: #ffed22;
	--text-color: #333;
	--light-bg: #f8f9fa;
	--dark-bg: #2c3e50;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: var(--text-color);
	padding-top: 76px; /* Account for fixed header */
}

/* Header Styles */
.navbar {
	background-color: white !important;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand img {
	max-height: 50px;
}

.nav-link {
	font-weight: 500;
	color: var(--text-color) !important;
	transition: color 0.3s ease;
}

.nav-link:hover {
	color: var(--primary-color) !important;
}

.hero-section {
	background: linear-gradient(135deg, #cd3432, rgba(243, 132, 132, 0.6)), url('assets/hero-bg.jpg');
	background-size: cover; background-position: center;
	color: white;
	padding: 80px 0;
	text-align: center;
}


/* Hero Carousel Section */
.hero-carousel {
	position: relative;
	margin-top: 76px; /* Account for fixed navbar */
}

.hero-carousel .carousel {
	height: 60vh;
	min-height: 500px;
}

.hero-carousel .carousel-item {
	height: 60vh;
	min-height: 500px;
	position: relative;
}

.hero-carousel .carousel-item img {
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.carousel-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(rgb(205, 52, 50, 0.6), rgb(248, 103, 101, 0.6));
	z-index: 1;
}

.hero-content-overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	width: 100%;
	color: white;
	text-align: center;
}

.hero-carousel .carousel-indicators {
	bottom: 20px;
	z-index: 3;
}

.hero-carousel .carousel-indicators button {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	margin: 0 5px;
	background-color: rgba(255, 255, 255, 0.5);
	border: 2px solid white;
}

.hero-carousel .carousel-indicators button.active {
	background-color: #007bff;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
	width: 5%;
	z-index: 3;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
	width: 30px;
	height: 30px;
	background-size: 100%;
	filter: drop-shadow(0 0 2px rgba(0,0,0,0.5));
}

.hero-title {
	font-size: 3.5rem;
	font-weight: bold;
	margin-bottom: 1rem;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
	font-size: 1.25rem;
	margin-bottom: 2rem;
	opacity: 0.9;
}

.hero-tags .badge {
	font-size: 0.9rem;
	padding: 0.5rem 1rem;
	margin: 0.25rem;
}

/* Section Titles */
.section-title {
	font-size: 2.5rem;
	font-weight: bold;
	color: var(--primary-color);
	margin-bottom: 2rem;
	text-align: center;
}

/* Featured Section */
.featured-section {
	background: white;
}

.card {
	border: none;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.card-img-top {
	height: 200px;
	object-fit: cover;
}

/* Sponsors Section */
.sponsors-section {
	background: var(--light-bg);
}

.sponsor-card {
	border: 1px solid #e0e0e0;
	transition: transform 0.3s ease;
}

.sponsor-card:hover {
	transform: scale(1.05);
}

.sponsor-logo {
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sponsor-logo img {
	max-height: 60px;
	max-width: 100px;
	object-fit: contain;
}

/* Matches Section */
.matches-section {
	background: white;
}

.list-group-item {
	border: 1px solid #e0e0e0;
	margin-bottom: 0.5rem;
	border-radius: 0.375rem;
	transition: background-color 0.3s ease;
}

.list-group-item:hover {
	background-color: #f8f9fa;
}

/* Standings Section */
.standings-section {
	background: var(--light-bg);
}

.nav-tabs .nav-link {
	color: var(--text-color);
	border: none;
	border-bottom: 3px solid transparent;
	background: none;
	font-weight: 500;
}

.nav-tabs .nav-link.active {
	color: var(--primary-color);
	border-bottom-color: var(--primary-color);
	background: white;
}

.table {
	background: white;
	border-radius: 0.375rem;
	overflow: hidden;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.table th {
	background-color: var(--primary-color);
	color: white;
	border: none;
	font-weight: 600;
}

/* News Section */
.news-section {
	background: white;
}

.btn-outline-primary {
	border-color: var(--primary-color);
	color: var(--primary-color);
}

.btn-outline-primary:hover {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}

/* Footer */
.footer {
	background: var(--dark-bg) !important;
}

.footer h5 {
	color: var(--accent-color);
	margin-bottom: 1rem;
}

.footer a {
	transition: color 0.3s ease;
}

.footer a:hover {
	color: var(--accent-color) !important;
}

/* Carousel Customization */
.carousel-control-prev,
.carousel-control-next {
	width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
	background-color: var(--primary-color);
	border-radius: 50%;
	padding: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
	.champions-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.club-logo {
		width: 60px;
		height: 60px;
	}

	.presidents-hero-title {
		font-size: 2.5rem;
	}

	.president-photo {
		height: 250px;
	}

	.president-info {
		padding: 1.5rem;
	}

	.hero-title {
		font-size: 2.5rem;
	}

	.hero-subtitle {
		font-size: 1.1rem;
	}

	.section-title {
		font-size: 2rem;
	}

	.navbar-nav {
		text-align: center;
	}

	.hero-carousel .carousel {
		height: 50vh;
		min-height: 400px;
	}

	.hero-carousel .carousel-item {
		height: 50vh;
		min-height: 400px;
	}

	.hero-title {
		font-size: 2rem;
	}

	.hero-subtitle {
		font-size: 1rem;
	}
}

/* Badge Colors */
.badge.bg-warning {
	background-color: #ffc107 !important;
}

.badge.bg-info {
	background-color: #17a2b8 !important;
}

.badge.bg-success {
	background-color: #28a745 !important;
}

.badge.bg-danger {
	background-color: #dc3545 !important;
}

/* Animation Classes */
.fade-in {
	animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Loading States */
.loading {
	opacity: 0.6;
	pointer-events: none;
}

/* Scroll Behavior */
html {
	scroll-behavior: smooth;
}


.search-section {
	background: #f8f9fa;
	padding: 40px 0;
	border-bottom: 1px solid #dee2e6;
}
.search-box {
	max-width: 600px;
	margin: 0 auto;
}
.search-input {
	border-radius: 25px;
	padding: 15px 50px 15px 20px;
	border: 2px solid #e9ecef;
	font-size: 1.1rem;
}
.search-input:focus {
	border-color: #f39c12;
	box-shadow: 0 0 0 0.2rem rgba(243, 156, 18, 0.25);
}
.search-btn {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	background: #f39c12;
	border: none;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	color: white;
}


.board-member-card {
	transition: all 0.3s ease;
	border-radius: 10px;
}

.board-member-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
}

.president-achievements ul li {
	color: #6c757d;
	font-size: 0.9rem;
}

.president-card {
	background: white;
	border-radius: 15px;
	box-shadow: 0 8px 25px rgba(0,0,0,0.1);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	margin-bottom: 2rem;
}

.president-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.president-photo {
	width: 100%;
	height: 300px;
	object-fit: cover;
	object-position: center top;
}

.president-info {
	padding: 2rem;
}

.president-name {
	font-size: 1.5rem;
	font-weight: bold;
	color: var(--primary-color);
	margin-bottom: 0.5rem;
}

.president-period {
	font-size: 1.1rem;
	color: var(--accent-color);
	font-weight: 600;
	margin-bottom: 1rem;
}

.president-description {
	color: #666;
	line-height: 1.6;
}

.timeline-indicator {
	position: relative;
	padding-left: 2rem;
}

.timeline-indicator::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 12px;
	height: 12px;
	background: var(--accent-color);
	border-radius: 50%;
	box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.2);
}

.page-hero {
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	color: white;
	padding: 4rem 0;
	margin-top: 76px;
}

.presidents-hero-title {
	font-size: 3rem;
	font-weight: bold;
	margin-bottom: 1rem;
}

.presidents-hero-subtitle {
	font-size: 1.2rem;
	opacity: 0.9;
}



.badge {
	font-size: 0.75rem;
	padding: 0.5rem 0.75rem;
}

.social-links a:hover {
	color: var(--bs-primary) !important;
	transition: color 0.3s ease;
}

.committee-section {
	margin-bottom: 50px;
	background: white;
	border-radius: 15px;
	box-shadow: 0 8px 25px rgba(0,0,0,0.1);
	overflow: hidden;
	transition: transform 0.3s ease;
}
.committee-section:hover {
	transform: translateY(-5px);
}
.committee-header {
	padding: 30px;
	background: linear-gradient(135deg, #2c3e50, #34495e);
	color: white;
	text-align: center;
}
.committee-header h3 {
	margin: 0;
	font-size: 1.8rem;
	font-weight: bold;
}
.committee-header .committee-icon {
	font-size: 2.5rem;
	margin-bottom: 15px;
	opacity: 0.9;
}
.committee-body {
	padding: 40px;
}
.member-card {
	background: #f8f9fa;
	border-radius: 10px;
	padding: 25px;
	margin-bottom: 20px;
	border-left: 4px solid #f39c12;
	transition: all 0.3s ease;
	text-align: center;
}
.member-card:hover {
	background: #e9ecef;
	transform: translateX(5px);
}
.member-card.president {
	background: linear-gradient(135deg, #3498db, #2980b9);
	color: white;
	border-left: 4px solid #f39c12;
}
.member-card.director {
	background: linear-gradient(135deg, #e74c3c, #c0392b);
	color: white;
	border-left: 4px solid #f39c12;
}
.member-name {
	font-size: 1.3rem;
	font-weight: bold;
	margin-bottom: 8px;
}
.member-position {
	font-size: 1rem;
	opacity: 0.8;
	margin-bottom: 0;
}
.committee-merkez { --committee-color: #3498db; }
.committee-disiplin { --committee-color: #e74c3c; }
.committee-ceza { --committee-color: #9b59b6; }
.committee-denetleme { --committee-color: #27ae60; }
.committee-egitim { --committee-color: #f39c12; }
.committee-ligler { --committee-color: #34495e; }

.committee-merkez .committee-header { background: linear-gradient(135deg, #3498db, #2980b9); }
.committee-disiplin .committee-header { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.committee-ceza .committee-header { background: linear-gradient(135deg, #9b59b6, #8e44ad); }
.committee-denetleme .committee-header { background: linear-gradient(135deg, #27ae60, #229954); }
.committee-egitim .committee-header { background: linear-gradient(135deg, #f39c12, #e67e22); }
.committee-ligler .committee-header { background: linear-gradient(135deg, #34495e, #2c3e50); }

.stats-overview {
	background: linear-gradient(135deg, #2c3e50, #34495e);
	color: white;
	padding: 50px 0;
	margin: 50px 0;
	border-radius: 15px;
}

.committee-stat-item {
	text-align: center;
	padding: 20px;
}
.committee-stat-number {
	font-size: 2.5rem;
	font-weight: bold;
	color: #f39c12;
	display: block;
}
.committee-stat-label {
	font-size: 1rem;
	margin-top: 10px;
}

.contact-card {
	background: white;
	border-radius: 15px;
	padding: 40px;
	box-shadow: 0 8px 25px rgba(0,0,0,0.1);
	margin-bottom: 30px;
	transition: transform 0.3s ease;
}
.contact-card:hover {
	transform: translateY(-5px);
}
.contact-icon {
	width: 80px;
	height: 80px;
	background: linear-gradient(135deg, #f39c12, #e67e22);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	color: white;
	margin: 0 auto 20px;
}
.contact-form {
	background: linear-gradient(135deg, #2c3e50, #34495e);
	color: white;
	border-radius: 15px;
	padding: 40px;
	box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.contact-form-control {
	border-radius: 10px;
	padding: 15px;
	border: none;
	margin-bottom: 20px;
}
.contact-form-control:focus {
	box-shadow: 0 0 0 0.2rem rgba(243, 156, 18, 0.25);
	border-color: #f39c12;
}
.contact-btn-custom {
	background: linear-gradient(135deg, #f39c12, #e67e22);
	border: none;
	border-radius: 10px;
	padding: 15px 30px;
	font-weight: bold;
	transition: all 0.3s ease;
}
.contact-btn-custom:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
}
.contact-map-container {
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 8px 25px rgba(0,0,0,0.1);
	height: 400px;
}
.contact-map-container iframe {
	width: 100%;
	height: 100%;
	border: none;
}
.office-hours {
	background: linear-gradient(135deg, #3498db, #2980b9);
	color: white;
	border-radius: 15px;
	padding: 30px;
	margin-bottom: 30px;
}
.contact-social-links {
	text-align: center;
	margin: 40px 0;
}
.contact-social-icon {
	width: 50px;
	height: 50px;
	background: #f39c12;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: white;
	text-decoration: none;
	margin: 0 10px;
	transition: all 0.3s ease;
}
.contact-social-icon:hover {
	transform: translateY(-3px);
	color: white;
	box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
}
.category-section {
	margin-bottom: 50px;
}
.category-header {
	background: linear-gradient(135deg, #2c3e50, #34495e);
	color: white;
	padding: 20px;
	border-radius: 10px 10px 0 0;
	margin-bottom: 0;
}
.category-title {
	margin: 0;
	font-size: 1.5rem;
	font-weight: bold;
}
.category-icon {
	font-size: 1.8rem;
	margin-right: 15px;
}
.documents-container {
	border: 1px solid #dee2e6;
	border-top: none;
	border-radius: 0 0 10px 10px;
	background: white;
}
.document-item {
	padding: 20px;
	border-bottom: 1px solid #f1f3f4;
	transition: all 0.3s ease;
}
.document-item:last-child {
	border-bottom: none;
}
.document-item:hover {
	background: #f8f9fa;
	transform: translateX(5px);
}
.document-title {
	font-size: 1.2rem;
	font-weight: bold;
	color: #2c3e50;
	margin-bottom: 8px;
}
.document-description {
	color: #6c757d;
	margin-bottom: 12px;
	line-height: 1.5;
}
.document-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}
.document-info {
	display: flex;
	align-items: center;
	gap: 15px;
	font-size: 0.9rem;
	color: #6c757d;
}
.document-badge {
	background: #e9ecef;
	color: #495057;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 0.8rem;
	font-weight: 500;
}
.document-badge.pdf {
	background: #dc3545;
	color: white;
}
.document-badge.docx {
	background: #0d6efd;
	color: white;
}
.download-btn {
	background: #f39c12;
	color: white;
	border: none;
	padding: 8px 16px;
	border-radius: 5px;
	text-decoration: none;
	font-size: 0.9rem;
	transition: all 0.3s ease;
}
.download-btn:hover {
	background: #e67e22;
	color: white;
	transform: translateY(-2px);
	text-decoration: none;
}
.filter-section {
	background: white;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	margin-bottom: 30px;
}
.filter-btn {
	background: #e9ecef;
	border: 1px solid #dee2e6;
	color: #495057;
	padding: 8px 16px;
	border-radius: 20px;
	margin: 5px;
	transition: all 0.3s ease;
	cursor: pointer;
}
.filter-btn.active {
	background: #f39c12;
	color: white;
	border-color: #f39c12;
}
.no-results {
	text-align: center;
	padding: 40px;
	color: #6c757d;
}
.last-updated {
	background: #e8f5e8;
	color: #155724;
	padding: 15px;
	border-radius: 5px;
	margin-bottom: 30px;
	border-left: 4px solid #28a745;
}

.champions-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.champion-card {
	transition: all 0.3s ease;
	border-radius: 10px;
	overflow: hidden;
}

.champion-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
}

.club-logo {
	max-width: 60%;
	object-fit: cover;
	border-radius: 10px;
	border: 3px solid #f8f9fa;
}

.club-name {
	font-size: 1.2rem;
	font-weight: bold;
	margin-bottom: 1rem;
}

.champion-details p {
	font-size: 0.9rem;
	color: #6c757d;
}

.champion-item.hidden {
	display: none;
}

.champion-item.visible {
	display: block;
}
.champion-item{
	padding-top: 3rem;
}