* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --turquoise: #1210a5;
  --dark-turquoise: #0891b2;
  --light-turquoise: #1210a5;
  --white: #ffffff;
  --dark: #0f172a;
  --gray: #1e293b;
  --light-gray: #f1f5f9;
  --text-dark: #1e293b;
  --text-gray: #64748b;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: #ffffff;
  overflow-x: hidden;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--turquoise), var(--dark-turquoise));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-logo img {
  width: 450px;
  height: 450px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  animation: pulse 2s infinite;
}

.loading-logo i {
  font-size: 80px;
  color: var(--white);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.loading-text {
  color: var(--white);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
}

.loading-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  margin-bottom: 30px;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.page {
  display: none;
  background: #ffffff;
}

.page.active {
  display: block;
}

/* Top Bar */
.top-bar {
  background: var(--dark);
  color: var(--white);
  padding: 10px 0;
  font-size: 14px;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.contact-info span {
  color: var(--white);
}

.contact-info i {
  color: var(--turquoise);
  margin-right: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: var(--white);
  font-size: 16px;
  transition: color 0.3s;
  text-decoration: none;
}

.social-links a:hover {
  color: var(--turquoise);
}

/* Header */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
 
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
}

.logo-icon img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.logo-text h1 {
  font-size: 24px;
  color: var(--dark);
  margin-bottom: 2px;
}

.logo-text p {
  font-size: 11px;
  color: var(--turquoise);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 5px;
  align-items: center;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  padding: 10px 20px;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
  display: block;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--turquoise);
  color: var(--white);
}

/* Dropdown Styles */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-toggle i {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 10px 0;
  z-index: 1000;
  margin-top: 0;
  opacity: 0;
  pointer-events: none;
}

.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  pointer-events: auto;
  animation: dropdownFadeIn 0.15s ease forwards;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 10px;
  background: transparent;
  z-index: 999;
}

.dropdown-content li {
  list-style: none;
}

.dropdown-content a {
  padding: 12px 20px;
  border-radius: 0;
  display: block;
  color: var(--dark);
  background: transparent;
  transition: all 0.2s ease;
}

.dropdown-content a:hover {
  background: var(--light-gray);
  color: var(--turquoise);
  padding-left: 25px;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--turquoise);
  background: none;
  border: none;
}

/* Hero Section with Video Background */
.hero {
  position: relative;
  height: 800px;
  overflow: hidden;
}

/* Video Container */
.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* Video Overlay - Karanlık efekt için */
.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(18, 16, 165, 0.7) 0%,
    rgba(8, 145, 178, 0.7) 100%
  );
  z-index: 1;
}

/* Video yoksa fallback gradient */
.hero-video-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--turquoise), var(--dark-turquoise));
  z-index: -1;
}

/* Animated floating circles - artık video üzerinde */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><circle cx="100" cy="100" r="80" fill="rgba(255,255,255,0.1)"/><circle cx="900" cy="400" r="100" fill="rgba(255,255,255,0.05)"/></svg>');
  animation: float 20s infinite linear;
  z-index: 1;
  pointer-events: none;
}

@keyframes float {
  0%,
  100% {
    transform: translateX(0) translateY(0);
  }
  50% {
    transform: translateX(20px) translateY(-20px);
  }
}

.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px;
  text-align: center;
  color: var(--white);
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: 64px;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.95;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 40px;

  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary {
  background: var(--white);
  color: var(--turquoise);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: 2px solid var(--white);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--turquoise);
}

/* News Slider on Home */
.home-news-slider {
  background: #f8fafc;
  padding: 80px 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 42px;
  color: var(--dark);
  margin-bottom: 10px;
}

.section-title .underline {
  width: 80px;
  height: 4px;
  background: var(--turquoise);
  margin: 0 auto;
  border-radius: 2px;
}

.slider-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  display: flex;
  gap: 30px;
  padding: 0 10px;
}

.news-slide-card {
  flex: 1;
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  cursor: pointer;
}

.news-slide-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.news-slide-image {
  height: 200px;
  background: linear-gradient(135deg, var(--turquoise), var(--dark-turquoise));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: var(--white);
}

.news-slide-content {
  padding: 25px;
}

.news-type-badge {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.badge-news {
  background: #dbeafe;
  color: #1e40af;
}

.badge-transfer {
  background: #fef3c7;
  color: #92400e;
}

.badge-announcement {
  background: #dcfce7;
  color: #166534;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--turquoise);
  color: var(--white);
  border: none;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s;
}

.slider-btn:hover {
  background: var(--dark-turquoise);
  transform: scale(1.1);
}

/* Latest Match */
.latest-match {
  background: var(--light-gray);
  padding: 80px 20px;
}

.match-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.match-header {
  text-align: center;
  margin-bottom: 40px;
}

.match-date {
  display: inline-block;
  background: var(--turquoise);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 20px;
}

.match-teams {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.team {
  flex: 1;
  text-align: center;
}

.team-logo img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 48px;
}

.team-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
}

.match-score {
  font-size: 72px;
  font-weight: 800;
  color: var(--turquoise);
  text-align: center;
}

.match-status {
  text-align: center;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 2px solid var(--light-gray);
}

.status-badge {
  display: inline-block;
  background: #10b981;
  color: var(--white);
  padding: 10px 30px;
  border-radius: 30px;
  font-weight: 600;
}

/* Sponsors Slider */
.sponsors {
  background: white;
  padding: 80px 40px;
  overflow: hidden;
}

.sponsors-container {
  max-width: 1200px;
  margin: 0 auto;
}

.sponsors-slider {
  display: flex;
  gap: 40px;
  animation: slide 30s linear infinite;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.sponsor-item {
  min-width: 300px;
  height: 150px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.sponsor-item:hover {
  transform: translateY(-5px);
}

.sponsor-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Member Form */
.member-section {
  background: linear-gradient(135deg, var(--turquoise), var(--dark-turquoise));
  padding: 80px 20px;
  color: var(--white);
}

.member-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.member-container h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

.member-container p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 40px;
}

.member-form {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  color: var(--dark);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  font-size: 16px;
  transition: border 0.3s;
  background: white;
  color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--turquoise);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* FORM VALIDATION DÜZELTMESI - KIRMIZI BORDER KALDIR */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
  border-color: var(--light-gray);
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
  border-color: var(--light-gray);
}

.form-group input:focus:invalid,
.form-group select:focus:invalid,
.form-group textarea:focus:invalid {
  border-color: var(--turquoise);
}

/* Common Styles for Pages */
.content-page {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 60vh;
  background: #ffffff;
}

.news-grid,
.squad-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Player Card */
.player-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.player-card:hover {
  transform: translateY(-10px);
}

.player-image-container {
  height: 250px;
  background: linear-gradient(135deg, var(--turquoise), var(--dark-turquoise));
  position: relative;
  overflow: hidden;
}

.player-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-number-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--turquoise);
}

.player-info {
  padding: 25px;
}

.player-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.player-position {
  color: var(--turquoise);
  font-weight: 600;
  margin-bottom: 15px;
}

.player-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 15px;
  border-top: 2px solid var(--light-gray);
}

.stat-item {
  text-align: center;
}

.stat-item-label {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 5px;
}

.stat-item-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--turquoise);
}

/* Gallery */
.gallery-item {
  position: relative;
  height: 280px;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white);
  padding: 30px 20px 20px;
}

/* Gallery Modal */
.modal#galleryModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10001;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal#galleryModal.active {
  display: flex;
}

.gallery-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gallery-modal-content img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  background: #000;
}

#galleryModalCaption {
  padding: 20px;
  background: var(--white);
  color: var(--dark);
  text-align: center;
}

/* Fixtures Table */
.fixtures-table {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-top: 40px;
}

.fixtures-table table {
  width: 100%;
  border-collapse: collapse;
}

.fixtures-table thead {
  background: var(--dark);
  color: var(--white);
}

.fixtures-table th {
  padding: 20px 15px;
  text-align: left;
  font-weight: 600;
}

.fixtures-table td {
  padding: 20px 15px;
  border-bottom: 1px solid var(--light-gray);
  color: var(--text-dark);
}

.fixtures-table tbody tr:hover {
  background: var(--light-gray);
}

/* Admin Panel */
.admin-page {
  padding: 80px 20px;
  max-width: 1600px;
  margin: 0 auto;
  background: #f8fafc;
}

.admin-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.admin-tab-btn {
  padding: 12px 25px;
  background: var(--white);
  border: 2px solid var(--turquoise);
  color: var(--turquoise);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.admin-tab-btn.active {
  background: var(--turquoise);
  color: var(--white);
}

.admin-section {
  display: none;
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.admin-section.active {
  display: block;
}

.admin-section h3 {
  color: var(--text-dark);
}

.admin-form {
  display: grid;
  gap: 20px;
  max-width: 900px;
  margin-bottom: 40px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  overflow-x: auto;
  display: block;
}

.data-table thead,
.data-table tbody,
.data-table tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}

.data-table th,
.data-table td {
  padding: 15px 10px;
  text-align: left;
  border-bottom: 1px solid var(--light-gray);
  color: var(--text-dark);
}

.data-table th {
  background: var(--light-gray);
  font-weight: 600;
}

.btn-delete,
.btn-edit {
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
  margin-right: 5px;
  font-size: 14px;
}

.btn-delete {
  background: #ef4444;
  color: var(--white);
}

.btn-delete:hover {
  background: #dc2626;
}

.btn-edit {
  background: #f59e0b;
  color: var(--white);
}

.btn-edit:hover {
  background: #d97706;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.modal-header h3 {
  color: var(--text-dark);
}

.modal-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--dark);
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 20px 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--turquoise);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  cursor: pointer;
}

.footer-logo-icon img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.footer-logo-text h4 {
  color: var(--white);
}

.footer-description {
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.footer-links a:hover {
  color: var(--turquoise);
  padding-left: 5px;
}

.contact-item {
  display: flex;
  align-items: start;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--turquoise);
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.social-icon {
  width: 45px;
  height: 45px;
  background: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s;
  font-size: 20px;
}

.social-icon:hover {
  background: var(--turquoise);
  transform: translateY(-5px);
}

.footer-bottom {
  background-color: #0f172a;
  border-top: 1px solid var(--gray);
  padding: 30px 0;
  text-align: center;
  color: #64748b;
}

.footer-copyright {
  align-items: center;
}

.footer-copyright a {
  align-items: center;
  text-decoration: none;
  display: inline-flex;
  gap: 5px;
}

.footer-copyright img {
  height: 30px;
  vertical-align: middle;
}

.footer-copyright .furkatech {
  text-decoration: none;
  font-size: 15px;
  color: #fff;
  font-weight: 700;
}

.footer-copyright .tecnology {
  font-size: 15px;
  color: #00fefb;
  font-weight: 700;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--turquoise);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--dark-turquoise);
}

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

.page.active {
  animation: fadeIn 0.5s ease-in-out;
}

/* Hover effects for cards */
.player-card,
.news-slide-card,
.gallery-item {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.player-card:hover,
.news-slide-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Button loading state */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Accessibility improvements */
.nav-links a:focus,
.btn:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 3px solid var(--turquoise);
  outline-offset: 2px;
}

/* Utility classes */
.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.p-20 {
  padding: 20px;
}

.d-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
}

.justify-content-center {
  justify-content: center;
}

.gap-10 {
  gap: 10px;
}

.w-100 {
  width: 100%;
}

/* Success/Error messages */
.success-message {
  background: #dcfce7;
  color: #166534;
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
  border-left: 4px solid #10b981;
}

.error-message {
  background: #fee2e2;
  color: #991b1b;
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
  border-left: 4px solid #ef4444;
}

/* Badge styles */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.badge-success {
  background: #dcfce7;
  color: #166534;
}

.badge-warning {
  background: #fef3c7;
  color: #92400e;
}

.badge-danger {
  background: #fee2e2;
  color: #991b1b;
}

.badge-info {
  background: #dbeafe;
  color: #1e40af;
}

/* RESPONSIVE - MOBİL DÜZENLEMELER */
@media (max-width: 968px) {
  .hero h1 {
    font-size: 48px;
  }

  .slide {
    flex-direction: column;
  }

  .match-teams {
    flex-direction: column;
    gap: 20px;
  }

  .match-score {
    font-size: 48px;
  }

  .news-grid,
  .squad-grid,
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  /* Top Bar - Mobile */
  .top-bar {
    font-size: 12px;
    padding: 8px 0;
  }

  .top-bar .container {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .contact-info {
    font-size: 11px;
    gap: 10px;
    justify-content: center;
  }

  .social-links {
    gap: 12px;
  }

  .social-links a {
    font-size: 14px;
  }

  /* MOBİL NAVBAR */
  .menu-toggle {
    display: block;
    position: relative;
    z-index: 10001;
    width: 45px;
    height: 45px;
    background: var(--turquoise);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(18, 16, 165, 0.3);
  }

  .menu-toggle:hover {
    background: var(--dark-turquoise);
    transform: scale(1.05);
  }

  .menu-toggle i {
    color: white;
    font-size: 22px;
  }

  /* Mobile Navigation */
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 340px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 90px 0 30px;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    align-items: stretch;
    z-index: 10000;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-links.active {
    display: flex;
    transform: translateX(0);
  }

  .nav-links li {
    width: 100%;
    margin: 0;
    border-bottom: 1px solid #f1f5f9;
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links > li > a {
    width: 100%;
    text-align: left;
    background: white;
    color: var(--dark);
    padding: 18px 25px;
    border-radius: 0;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
  }

  .nav-links > li > a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 70%;
    background: var(--turquoise);
    transition: width 0.3s ease;
    border-radius: 0 4px 4px 0;
  }

  .nav-links > li > a:hover::before {
    width: 4px;
  }

  .nav-links > li > a:hover {
    background: #f8fafc;
    color: var(--turquoise);
    padding-left: 30px;
  }

  .nav-links > li > a.active {
    background: linear-gradient(90deg, rgba(18, 16, 165, 0.1), transparent);
    color: var(--turquoise);
    font-weight: 700;
  }

  .nav-links > li > a.active::before {
    width: 4px;
  }

  /* Mobile Dropdown */
  .dropdown {
    position: relative;
  }

  .dropdown-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .dropdown-toggle i {
    transition: transform 0.3s ease;
    font-size: 14px;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    background: #f8fafc;
    display: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    border-left: 3px solid var(--turquoise);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
  }

  .dropdown-content.active {
    display: block;
    max-height: 500px;
    padding: 5px 0;
  }

  .dropdown-content a {
    background: transparent;
    padding: 14px 25px 14px 45px;
    font-size: 14px;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    transition: all 0.3s ease;
  }

  .dropdown-content a:last-child {
    border-bottom: none;
  }

  .dropdown-content a::before {
    content: '→';
    position: absolute;
    left: 25px;
    opacity: 0;
    transition: all 0.3s ease;
  }

  .dropdown-content a:hover {
    background: white;
    color: var(--turquoise);
    padding-left: 50px;
  }

  .dropdown-content a:hover::before {
    opacity: 1;
    left: 30px;
  }

  /* Menu açıkken arka plan overlay */
  .nav-links.active::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
    animation: overlayFadeIn 0.4s ease;
    backdrop-filter: blur(3px);
  }

  @keyframes overlayFadeIn {
    from { 
      opacity: 0;
    }
    to { 
      opacity: 1;
    }
  }

  /* Dropdown açıkken ok animasyonu */
  .dropdown:has(.dropdown-content.active) .dropdown-toggle i {
    transform: rotate(180deg);
  }

  /* Hero - Mobile with Video */
  .hero {
    height: 500px;
  }

  .hero-video {
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-content {
    padding: 80px 20px;
  }

  /* Section Title */
  .section-title h2 {
    font-size: 28px;
  }

  /* News Slider - Mobile */
  .home-news-slider {
    padding: 60px 15px;
  }

  .slide {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0;
  }

  .news-slide-image {
    height: 180px;
    font-size: 50px;
  }

  .news-slide-content {
    padding: 20px;
  }

  .news-slide-content h3 {
    font-size: 16px;
  }

  .news-slide-content p {
    font-size: 13px;
  }

  .slider-controls {
    margin-top: 25px;
  }

  .slider-btn {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  /* Match Container */
  .match-container {
    padding: 30px 20px;
  }

  .match-teams {
    gap: 15px;
  }

  .team-logo img {
    width: 90px;
    height: 90px;
  }

  .team-name {
    font-size: 20px;
  }

  .match-score {
    font-size: 48px;
  }

  /* Sponsors - Mobile */
  .sponsors {
    padding: 50px 15px;
  }

  .sponsors-slider {
    gap: 30px;
    animation: slide 10s linear infinite;
  }

  .sponsor-item {
    min-width: 200px;
    height: 110px;
  }

  .sponsor-item img {
    max-width: 90%;
    max-height: 90%;
  }

  /* Member Section */
  .member-section {
    padding: 60px 15px;
  }

  .member-container h2 {
    font-size: 32px;
  }

  .member-container p {
    font-size: 16px;
  }

  .member-form {
    padding: 30px 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* Content Pages */
  .content-page {
    padding: 60px 15px;
  }

  /* News Grid - Mobile 2 Sütun */
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
  }

  /* Squad Grid - Mobile 2 Sütun */
  .squad-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
  }

  .player-card {
    margin: 0;
  }

  .player-image-container {
    height: 200px;
  }

  .player-number-overlay {
    width: 45px;
    height: 45px;
    font-size: 20px;
    top: 12px;
    right: 12px;
  }

  .player-info {
    padding: 18px;
  }

  .player-name {
    font-size: 17px;
    line-height: 1.3;
  }

  .player-position {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .player-stats {
    padding-top: 12px;
    gap: 8px;
  }

  .stat-item-label {
    font-size: 11px;
  }

  .stat-item-value {
    font-size: 16px;
  }

  /* Gallery Grid - Mobile 2 Sütun */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .gallery-item {
    height: 200px;
  }

  .gallery-caption {
    padding: 20px 12px 12px;
  }

  .gallery-caption strong {
    font-size: 13px;
  }

  .gallery-caption small {
    font-size: 11px;
  }

  /* Gallery Modal - Mobile */
  .gallery-modal-content {
    max-width: 95vw;
    max-height: 95vh;
  }

  .gallery-modal-content img {
    max-height: 60vh;
  }

  #galleryModalCaption {
    padding: 15px;
  }

  #galleryModalCaption strong {
    font-size: 16px;
  }

  /* Fixtures Table */
  .fixtures-table {
    overflow-x: auto;
    margin-top: 30px;
  }

  .fixtures-table th,
  .fixtures-table td {
    padding: 12px 10px;
    font-size: 13px;
  }

  .fixtures-table table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  /* Admin Panel */
  .admin-page {
    padding: 60px 15px;
  }

  .admin-tabs {
    justify-content: center;
    gap: 8px;
  }

  .admin-tab-btn {
    flex: 1;
    min-width: 110px;
    padding: 10px 15px;
    font-size: 12px;
  }

  .admin-tab-btn i {
    display: none;
  }

  .admin-section {
    padding: 25px 15px;
  }

  .data-table {
    font-size: 12px;
  }

  .data-table th,
  .data-table td {
    padding: 10px 8px;
  }

  .btn-delete,
  .btn-edit {
    font-size: 11px;
    padding: 6px 10px;
  }

  /* Modal */
  .modal-content {
    padding: 25px 20px;
    width: 95%;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 14px;
    padding: 10px;
  }

  /* Footer - Mobile */
  footer {
    padding: 40px 15px 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: left;
  }

  .footer-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 20px;
  }

  .footer-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .footer-logo {
    justify-content: flex-start;
    margin-bottom: 12px;
  }

  .footer-logo-icon img {
    width: 60px;
    height: 60px;
  }

  .footer-section h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .footer-description {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .footer-links li {
    margin-bottom: 0;
  }

  .footer-links a {
    font-size: 12px;
    padding: 6px 0;
    gap: 6px;
  }

  .contact-item {
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 12px;
    gap: 10px;
  }

  .contact-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .contact-item strong {
    font-size: 12px;
    margin-bottom: 2px;
  }

  .contact-item span {
    font-size: 11px;
  }

  .footer-social {
    justify-content: flex-start;
    gap: 10px;
    margin-top: 12px;
  }

  .social-icon {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .footer-bottom {
    padding: 18px 0;
  }

  .footer-bottom p {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .footer-copyright img {
    height: 22px;
  }

  .footer-copyright .furkatech,
  .footer-copyright .tecnology {
    font-size: 12px;
  }

  /* CTA Buttons */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 14px 30px;
    font-size: 15px;
  }

  .loading-logo img {
    width: 250px;
    height: 250px;
  }
}

/* 480px - Tek Sütun */
@media (max-width: 480px) {
  .logo-icon img {
    width: 60px;
    height: 60px;
  }

  .logo-text h1 {
    font-size: 18px;
  }

  .logo-text p {
    font-size: 9px;
  }

  .hero {
    height: 450px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 14px;
  }

  .section-title h2 {
    font-size: 24px;
  }

  /* News - Tek Sütun */
  .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Squad - Tek Sütun */
  .squad-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .player-image-container {
    height: 280px;
  }

  .player-number-overlay {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .player-info {
    padding: 20px;
  }

  .player-name {
    font-size: 20px;
  }

  .player-position {
    font-size: 15px;
  }

  /* Gallery - Tek Sütun */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-item {
    height: 250px;
  }

  .loading-logo img {
    width: 200px;
    height: 200px;
  }

  .sponsor-item {
    min-width: 170px;
    height: 100px;
  }

  /* Mobile navbar daha da küçük ekranlar için */
  .nav-links {
    width: 90%;
    max-width: 300px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .menu-toggle i {
    font-size: 20px;
  }
}

/* Print styles */
@media print {
  .top-bar,
  header,
  .menu-toggle,
  .cta-buttons,
  .slider-controls,
  .btn-edit,
  .btn-delete,
  footer {
    display: none;
  }

  .page {
    display: block !important;
  }

  body {
    background: white;
  }
}

/* News Content Formatting - Tablo ve Uzun Metinler İçin */
.news-slide-content p,
.player-card p {
    white-space: pre-wrap; /* Satır atlamalarını koru */
    word-break: break-word; /* Uzun kelimeleri böl */
    line-height: 1.6;
}

/* Haber Detayları için Özel Stil */
.news-detail-content {
    white-space: pre-wrap;
    line-height: 1.8;
    color: var(--text-dark);
}

.news-detail-content table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.news-detail-content table th {
    background: var(--turquoise);
    color: var(--white);
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.news-detail-content table td {
    padding: 12px;
    border-bottom: 1px solid var(--light-gray);
}

.news-detail-content table tr:hover {
    background: var(--light-gray);
}

/* News Grid Card içindeki içerikler için */
.player-card .news-content {
    max-height: 150px;
    overflow: hidden;
    position: relative;
}

.player-card .news-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(transparent, var(--white));
}

/* Haber kartlarında metin düzenleme */
.news-card-text {
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Maksimum 4 satır göster */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: pre-wrap;
    line-height: 1.5;
}