/**
 * Selçuk Üniversitesi - Modern Premium Web Template
 * Ultra Modern, Elegant & Responsive Design
 * Version 1.0 - ASP.NET Core Adaptation
 */

/* ==================== CSS VARIABLES ==================== */
:root {
  /* Primary Colors */
  --primary: #1c458b;
  --primary-dark: #0d2d5e;
  --primary-light: #2d5599;
  --primary-rgb: 28, 69, 139;
  --primary-50: rgba(28, 69, 139, 0.05);
  --primary-100: rgba(28, 69, 139, 0.1);
  --primary-200: rgba(28, 69, 139, 0.2);

  /* Secondary Colors */
  --secondary: #7acaed;
  --secondary-dark: #5bb8de;
  --secondary-light: #a5ddf5;
  --secondary-rgb: 122, 202, 237;

  /* Accent Colors */
  --accent: #f8b500;
  --accent-light: #ffc933;
  --accent-rgb: 248, 181, 0;
  --accent-yellow: #ffc90d;

  /* Status Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;

  /* Neutral Colors */
  --white: #ffffff;
  --black: #000000;
  --text-dark: #0f172a;
  --text-body: #475569;
  --text-light: #64748b;
  --text-muted: #94a3b8;

  /* Background Colors */
  --bg-light: #f8fafc;
  --bg-gray: #f1f5f9;
  --bg-dark: #0f172a;
  --bg-glass: rgba(255, 255, 255, 0.7);
  --border: #e2e8f0;
  --border-light: rgba(226, 232, 240, 0.5);

  /* Gradients */
  --gradient-primary: linear-gradient(
    135deg,
    #1c458b 0%,
    #0d2d5e 50%,
    #1c458b 100%
  );
  --gradient-secondary: linear-gradient(
    135deg,
    #7acaed 0%,
    #5bb8de 50%,
    #7acaed 100%
  );
  --gradient-hero: linear-gradient(
    135deg,
    rgba(28, 69, 139, 0.4) 0%,
    rgba(45, 85, 145, 0.3) 50%,
    rgba(80, 120, 170, 0.25) 100%
  );

  /* Shadows */
  --shadow-sm: 0 2px 4px -1px rgba(0, 0, 0, 0.06),
    0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Border Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 15px;

  /* Transitions */
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Spacing */
  --section-padding: 100px;
  --container-padding: 24px;

  /* Z-Index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal: 1050;
}

/* ==================== RESET & BASE ==================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

button {
  font-family: "Montserrat", sans-serif;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
}

ul,
ol {
  list-style: none;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container-fluid {
  padding: 0;
  margin: 0;
}

/* ==================== HEADER ==================== */
.header-modern {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999 !important;
  background: transparent;
  backdrop-filter: none;
  transition: all 0.3s ease;
  border-bottom: none;
}

.header-modern.scrolled,
.header-modern.mega-open {
  position: fixed !important;
  background: rgba(10, 25, 60, 0.98) !important;
  backdrop-filter: blur(30px) saturate(200%);
  box-shadow: var(--shadow-xl);
  border-bottom: 1px solid rgba(248, 181, 0, 0.5);
}

/* Ensure body has padding for fixed header */
body {
  padding-top: 0 !important;
}

.header-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 6px 20px; /* Top/Bottom: 6px for 80px total height */
  height: 80px;
  max-height: 80px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  z-index: 10;
  text-decoration: none;
}

.logo-img {
  width: 55px;
  height: 55px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-family: "Montserrat", sans-serif;
}

.logo-subtitle {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 2px;
  margin-top: 1px;
}

/* Header Right */
.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  margin-left: auto;
}

/* Single Row Header Layout */
.header-right-single {
  flex-direction: row;
  align-items: center;
  gap: 0;
}

.header-right-single .header-nav-row {
  gap: 2px;
}

.header-top-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.header-btn-today {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  transition: var(--transition);
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.header-btn-today:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.header-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition);
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
}

.header-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.header-icon-btns {
  display: flex;
  gap: 6px;
  margin-left: 10px;
}

.header-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.header-icon-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px) rotate(5deg);
}

.header-icon-btn.lang {
  font-weight: 700;
  font-size: 13px;
}

/* Navigation */
.header-nav-row {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item {
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 12px;
  color: var(--white);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  height: 36px;
}

.nav-link i {
  font-size: 14px;
  opacity: 0.9;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 3px;
  background: var(--accent-yellow);
  transition: all 0.3s ease;
}

.nav-link:hover::before,
.nav-item.active .nav-link::before {
  transform: translateX(-50%) scaleX(1);
}

.nav-link:hover {
  background: linear-gradient(135deg, #ffc90d 0%, #ffd740 100%);
  color: #0a1628;
  transform: translateY(-2px);
}

.nav-item.active .nav-link {
  background: linear-gradient(135deg, #ffc90d 0%, #ffd740 100%);
  color: #0a1628;
  font-weight: 700;
}

.nav-search {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  transition: var(--transition);
  margin-left: 10px;
  backdrop-filter: blur(10px);
}

.nav-search:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px) scale(1.1);
}

.nav-quick-menu {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  transition: var(--transition);
  margin-left: 10px;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
}

.nav-quick-menu:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 100;
}

.mobile-toggle span {
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 15px;
  transition: var(--transition);
}

/* ==================== HERO SLIDER ==================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-image {
  position: absolute;
  inset: 0;
  padding: 60px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide-image img,
.hero-slide-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 15px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 0 40px 10px rgba(0, 0, 0, 0.15), 0 0 100px 50px rgba(0, 0, 0, 0.2);
  mask-image: radial-gradient(
    ellipse 95% 95% at center,
    black 75%,
    transparent 100%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 95% 95% at center,
    black 75%,
    transparent 100%
  );
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Video için özel optimizasyon */
.hero-slide-image video {
  image-rendering: auto;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(28, 69, 139, 0.5) 0%,
    rgba(45, 85, 145, 0.2) 50%,
    rgba(80, 120, 170, 0.3) 100%
  );
}

.hero-content {
  position: absolute;
  left: 8%;
  bottom: 20%;
  z-index: 10;
  max-width: 500px;
  text-align: left;
}

.hero-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
  text-align: left;
  margin: 0;
}

.hero-title.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-title em {
  font-style: italic;
  color: var(--secondary);
}

/* Hero Navigation */
.hero-nav {
  position: absolute;
  bottom: 8%;
  left: 8%;
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.hero-dot.active {
  background: var(--white);
  transform: scale(1.2);
  border-color: var(--secondary);
}

/* Hero Thumbnails */
.hero-thumbs {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 10;
}

.hero-thumb {
  width: 80px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: var(--transition);
  opacity: 0.6;
}

.hero-thumb:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.hero-thumb.active {
  opacity: 1;
  border-color: var(--white);
  box-shadow: var(--shadow-lg);
}

.hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero Scroll */
.hero-scroll {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  z-index: 10;
  cursor: pointer;
  transition: var(--transition);
}

.hero-scroll:hover {
  transform: translateX(-50%) translateY(-5px);
}

.hero-scroll i {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(10px);
  }
  60% {
    transform: translateY(5px);
  }
}

/* Hero Quick Links */
.hero-quick-links {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(28, 69, 139, 0.95) 50%
  );
  padding: 60px 5% 30px;
  z-index: 10;
}

.hero-quick-links-header {
  margin-bottom: 20px;
}

.hero-quick-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 600;
}

.hero-quick-title i {
  font-size: 20px;
  color: var(--secondary);
}

.hero-quick-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.hero-quick-nav {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.hero-quick-nav:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.hero-quick-wrapper {
  overflow: hidden;
  flex: 1;
}

.hero-quick-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

.hero-quick-item {
  flex: 0 0 calc(100% / 6 - 20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 15px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  text-align: center;
}

.hero-quick-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-quick-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-quick-icon i {
  font-size: 22px;
  color: var(--white);
}

.hero-quick-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

/* Hero Quick Links Responsive */
@media (max-width: 992px) {
  .hero-quick-links {
    padding: 40px 15px 20px;
  }

  .hero-quick-item {
    flex: 0 0 calc(100% / 4 - 15px);
    padding: 15px 10px;
  }
}

@media (max-width: 576px) {
  .hero-quick-links {
    padding: 30px 10px 15px;
  }

  .hero-quick-title {
    display: none; /* Hide title on mobile to save space */
  }

  .hero-quick-item {
    flex: 0 0 calc(100% / 2 - 10px); /* Show 2 items */
    padding: 12px 5px;
  }

  .hero-quick-icon {
    width: 40px;
    height: 40px;
  }

  .hero-quick-icon i {
    font-size: 18px;
  }

  .hero-quick-text {
    font-size: 11px;
  }

  .hero-quick-nav {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
}

/* ==================== SECTIONS ==================== */
.section {
  padding: var(--section-padding) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 20px;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  color: #0d2d5e !important;
  font-size: 2.2rem !important;
  font-weight: 700 !important;
  font-family: "Montserrat", sans-serif !important;
  text-align: left !important;
  margin: 0 0 16px 0 !important;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ==================== NEWS TABS SECTION ==================== */
.news-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.news-section-title-wrapper {
  flex: 1;
}

.news-section-title {
  color: #0d2d5e !important;
  font-size: 2.2rem !important;
  font-weight: 700 !important;
  font-family: "Montserrat", sans-serif !important;
  text-align: left !important;
  margin: 0 0 0 0 !important;
}

.news-section-subtitle {
  font-size: 16px;
  color: var(--text-light);
}

/* News Tab Navigation */
.news-tabs-wrapper {
  margin-bottom: 40px;
  border-bottom: 2px solid var(--border);
}

.news-tabs {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.news-tab-item {
  margin: 0;
}

.news-tab-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-light);
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: -2px;
}

.news-tab-link:hover {
  color: var(--primary);
  background: var(--primary-50);
}

.news-tab-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: transparent;
}

.news-tab-link i {
  font-size: 18px;
}

/* News Tab Content */
.news-tabs-content {
  position: relative;
}

.news-tab-panel {
  display: none;
}

.news-tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

.news-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* Featured Slider */
.news-featured-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-gray);
  min-height: 480px;
}

.news-slider-container {
  position: relative;
  height: 100%;
}

.news-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.news-slide.active {
  opacity: 1;
}

.news-slide-image {
  position: absolute;
  inset: 0;
}

.news-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 30px 30px;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    transparent 100%
  );
  color: var(--white);
}

.news-slide-date {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 30px;
  left: 30px;
  background: var(--primary);
  color: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  min-width: 70px;
}

.news-date-day {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.news-date-month {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.news-slide-category {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.news-slide-title {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--white);
}

.news-slide-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}

.news-slide-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}

.news-slide-link:hover {
  color: var(--white);
  gap: 12px;
}

/* Slider Navigation */
.news-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  color: var(--primary);
  font-size: 16px;
  z-index: 10;
}

.news-slider-nav:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-lg);
}

.news-slider-prev {
  left: 20px;
}

.news-slider-next {
  right: 20px;
}

/* News Grid */
.news-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.news-grid-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.news-grid-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.news-grid-link {
  display: block;
}

.news-grid-image {
  height: 160px;
  overflow: hidden;
  background: var(--bg-gray, #f1f5f9);
  aspect-ratio: 16 / 9; /* Haber Görsel Oranı: 4096x2304 = 16:9 */
}

.news-grid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.news-grid-card:hover .news-grid-image img {
  /* transform: scale(1.1); */
}

.news-grid-content {
  padding: 16px;
}

.news-grid-title {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-grid-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.news-grid-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.news-grid-category {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
}

/* All News Button */
.news-all-link-wrapper {
  text-align: center;
  margin-top: 20px;
}

.news-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.news-all-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* News section header içindeki buton */
.news-section-header .news-all-btn {
  margin-left: auto;
}

/* ==================== ANNOUNCEMENTS SECTION ==================== */
.announcements {
  background: linear-gradient(
    135deg,
    #1c458b 0%,
    #0d2d5e 50%,
    #1c458b 100%
  ) !important;
  position: relative;
}

.announcements.section {
  background: linear-gradient(
    135deg,
    #1c458b 0%,
    #0d2d5e 50%,
    #1c458b 100%
  ) !important;
}

#duyurular {
  background: linear-gradient(
    135deg,
    #1c458b 0%,
    #0d2d5e 50%,
    #1c458b 100%
  ) !important;
}

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

.announcements-title-wrapper {
  flex: 1;
}

.announcements-label {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 8px;
}

.announcements-title {
  font-size: 2.2rem;
  color: var(--white);
  margin: 0;
  line-height: 1.2;
}

.announcements-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.announcements-all-btn:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* Announcements Tabs */
.announcements-tabs-wrapper {
  margin-bottom: 40px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.announcements-tabs {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.announcements-tab-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: #0d2d5e;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: -2px;
}

.announcements-tab-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.announcements-tab-link.active {
  color: var(--white);
  border-bottom-color: var(--white);
}

/* Announcements Slider */
.announcements-slider-wrapper {
  position: relative;
  padding: 0 50px;
}

.announcements-slider-container {
  overflow: hidden;
}

.announcements-slider-track {
  display: flex;
  gap: 25px;
  transition: transform 0.5s ease;
}

.announcement-card {
  flex: 0 0 calc(25% - 20px);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
}

.announcement-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.announcement-link {
  display: block;
  position: relative;
}

.announcement-image,
.announcement-icon {
  height: 180px;
  overflow: hidden;
}

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

.announcement-icon {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.1) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.announcement-icon i {
  font-size: 64px;
  color: rgba(255, 255, 255, 0.9);
}

.announcement-date-overlay {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary);
  color: var(--white);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.announcement-day {
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.announcement-month {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.announcement-content {
  padding: 20px;
}

.announcement-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.announcement-date-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* Announcements Slider Nav */
.announcements-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--primary);
  z-index: 10;
}

.announcements-slider-nav:hover {
  transform: translateY(-50%) scale(1.1);
}

.announcements-slider-prev {
  left: 0;
}

.announcements-slider-next {
  right: 0;
}

/* ==================== STATS SECTION ==================== */
.stats {
  background: var(--bg-light);
}

.stats-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

/* Rector Card */
.rector-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.rector-image {
  height: 280px;
  overflow: hidden;
}

.rector-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.rector-content {
  padding: 30px;
}

.rector-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.rector-name {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.rector-title {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.rector-description {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 20px;
}

.rector-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}

.rector-link:hover {
  gap: 12px;
}

/* Stats Content */
.stats-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.stats-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stats-title {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.stats-subtitle {
  font-size: 16px;
  color: var(--text-light);
}

.stats-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}

.stats-all-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Stats Grid */
.stats-grid-all {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.stat-card-top {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.stat-card-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.stat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: var(--primary-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon i {
  font-size: 24px;
  color: var(--primary);
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  font-family: "Montserrat", sans-serif;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==================== FOOTER ==================== */
.footer-modern {
  background: var(--bg-dark);
  color: var(--white);
}

.footer-main {
  padding: 80px 0 40px;
}

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

.footer-brand {
  padding-right: 40px;
}

.footer-logo-img {
  width: 120px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-title {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: var(--transition);
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-contact i {
  color: var(--secondary);
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* Scroll to Top */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: var(--z-fixed);
  box-shadow: var(--shadow-lg);
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
}

/* ==================== MEGA MENU ==================== */
.mega-menu-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-dropdown);
  pointer-events: none;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(10, 25, 60, 0.98);
  backdrop-filter: blur(30px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  padding: 40px 0;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.mega-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-menu-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

.mega-menu-title {
  font-size: 24px;
  color: var(--white);
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.mega-menu-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.mega-column-title {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

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

.mega-menu-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  transition: var(--transition);
}

.mega-menu-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.mega-menu-links a i {
  font-size: 10px;
  opacity: 0.7;
}

/* ==================== QUICK MENU OVERLAY ==================== */
.quick-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 60, 0.98);
  backdrop-filter: blur(20px);
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.quick-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.quick-menu-container {
  max-width: 1200px;
  width: 100%;
}

.quick-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.quick-menu-header h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  color: var(--white);
}

.quick-menu-header h3 i {
  color: var(--secondary);
}

.quick-menu-close {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.quick-menu-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.quick-menu-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.quick-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  text-align: center;
}

.quick-menu-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.quick-menu-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-menu-icon i {
  font-size: 24px;
  color: var(--secondary);
}

.quick-menu-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
  .stats-grid-all {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mega-menu-columns {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  :root {
    --section-padding: 80px;
  }

  .header-right {
    display: none;
  }

  /* Header inner relative olmalı ki absolute positioning çalışsın */
  .header-inner {
    position: relative !important;
  }

  /* HIZLI MENÜ BUTONU - TABLET VE MOBİLDE HER ZAMAN GÖRÜNÜR - ÇOK GÜÇLÜ KURAL */
  .header-right .nav-quick-menu,
  .header-right-single .nav-quick-menu,
  .header-nav-row .nav-quick-menu,
  .nav-quick-menu,
  button.nav-quick-menu,
  #quickMenuBtn {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    right: 50px !important; /* Mobile toggle'dan önce */
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: auto !important;
    min-width: 100px !important;
    height: 40px !important;
    padding: 8px 12px !important;
    font-size: 9px !important;
    margin-left: 0 !important;
    z-index: 1002 !important;
    gap: 6px !important;
  }

  /* HIZLI MENÜ YAZISI HER ZAMAN GÖRÜNÜR - TABLET - ÇOK GÜÇLÜ KURAL */
  .header-right .nav-quick-menu span,
  .header-right-single .nav-quick-menu span,
  .header-nav-row .nav-quick-menu span,
  .nav-quick-menu span,
  button.nav-quick-menu span,
  #quickMenuBtn span {
    display: inline !important;
    white-space: nowrap !important;
    font-size: 9px !important;
    letter-spacing: 0.3px !important;
    font-weight: 700 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-content {
    left: 5%;
    bottom: 35%;
    max-width: 90%;
  }

  .hero-thumbs {
    display: none;
  }

  .news-content-wrapper {
    grid-template-columns: 1fr;
  }

  .stats-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-grid-all {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-menu-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }

  .hero {
    min-height: 600px;
  }

  .hero-quick-links {
    display: none;
  }

  .news-tabs-wrapper,
  .announcements-tabs-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .news-tab-link span,
  .announcements-tab-link span {
    display: none;
  }

  .news-grid-wrapper {
    grid-template-columns: 1fr;
  }

  .announcement-card {
    flex: 0 0 calc(50% - 15px);
  }

  .stats-grid-all {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    padding-right: 0;
  }

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

  .footer-bottom-inner {
    flex-direction: column;
    gap: 16px;
  }

  .quick-menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .announcement-card {
    flex: 0 0 100%;
  }

  .stat-card-top {
    padding: 20px 15px;
  }

  .quick-menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==================== UTILITIES ==================== */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.d-flex {
  display: flex;
}
.d-none {
  display: none;
}
.d-block {
  display: block;
}

.align-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 8px;
}
.gap-2 {
  gap: 16px;
}
.gap-3 {
  gap: 24px;
}
.gap-4 {
  gap: 32px;
}

.mt-1 {
  margin-top: 8px;
}
.mt-2 {
  margin-top: 16px;
}
.mt-3 {
  margin-top: 24px;
}
.mt-4 {
  margin-top: 32px;
}

.mb-1 {
  margin-bottom: 8px;
}
.mb-2 {
  margin-bottom: 16px;
}
.mb-3 {
  margin-bottom: 24px;
}
.mb-4 {
  margin-bottom: 32px;
}

.p-1 {
  padding: 8px;
}
.p-2 {
  padding: 16px;
}
.p-3 {
  padding: 24px;
}
.p-4 {
  padding: 32px;
}

.rounded {
  border-radius: var(--radius);
}
.rounded-full {
  border-radius: var(--radius-full);
}

.shadow {
  box-shadow: var(--shadow-md);
}
.shadow-lg {
  box-shadow: var(--shadow-lg);
}

.bg-primary {
  background: var(--primary);
}
.bg-white {
  background: var(--white);
}
.bg-light {
  background: var(--bg-light);
}

.text-primary {
  color: var(--primary);
}
.text-white {
  color: var(--white);
}
.text-dark {
  color: var(--text-dark);
}
.text-muted {
  color: var(--text-muted);
}

/* ==================== SLICK SLIDER COMPATIBILITY ==================== */
.slider {
  margin: 0 -10px;
}

.slider .slick-slide {
  padding: 0 10px;
}

/* News Cards (existing structure) */
.boxs.project_widget {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.boxs.project_widget:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.pw_img {
  height: 200px;
  overflow: hidden;
}

.pw_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.boxs.project_widget:hover .pw_img img {
  /* transform: scale(1.1); */
}

.pw_content {
  padding: 20px;
}

.pw_header h6 {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pw_header small {
  font-size: 12px;
  color: var(--text-muted);
}

/* Notice Cards (existing structure) */
.border-warning {
  border-color: var(--accent) !important;
}

.text-primary1 {
  color: var(--primary);
}

.text-primary3 {
  color: var(--primary);
}

/* Activity Cards */
.activity-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Awards Cards */
.award-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.award-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Slick Arrow Customization */
.slick-prev,
.slick-next {
  width: 45px !important;
  height: 45px !important;
  background: var(--white) !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
  z-index: 10 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.slick-prev:before,
.slick-next:before {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-size: 16px !important;
  color: var(--primary) !important;
  opacity: 1 !important;
}

.slick-prev:before {
  content: "\f053" !important;
}

.slick-next:before {
  content: "\f054" !important;
}

.slick-prev:hover,
.slick-next:hover {
  background: var(--primary) !important;
}

.slick-prev:hover:before,
.slick-next:hover:before {
  color: var(--white) !important;
}

.slick-prev {
  left: -15px !important;
}

.slick-next {
  right: -15px !important;
}

/* News section slick arrows */
.news.section .slick-prev,
.news.section .slick-next,
#haberler-basarilar .slick-prev,
#haberler-basarilar .slick-next {
  width: 40px !important;
  height: 40px !important;
  background: rgba(28, 69, 139, 0.9) !important;
  border: 2px solid #fff !important;
}

.news.section .slick-prev:before,
.news.section .slick-next:before,
#haberler-basarilar .slick-prev:before,
#haberler-basarilar .slick-next:before {
  color: #fff !important;
  font-size: 14px !important;
}

.news.section .slick-prev:hover,
.news.section .slick-next:hover,
#haberler-basarilar .slick-prev:hover,
#haberler-basarilar .slick-next:hover {
  background: var(--primary) !important;
}

/* Slick Dots */
.slick-dots li button:before {
  font-size: 12px;
  color: var(--primary);
}

.slick-dots li.slick-active button:before {
  color: var(--primary);
}

/* ==================== CALENDAR STYLES ==================== */
.fc {
  font-family: "Montserrat", sans-serif;
}

.fc .fc-toolbar-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  color: var(--text-dark);
}

.fc .fc-button-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.fc .fc-button-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.fc .fc-button-primary:disabled {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
}

.fc .fc-daygrid-day.fc-day-today {
  background-color: var(--primary-50);
}

.fc-event {
  background-color: var(--primary);
  border-color: var(--primary);
  border-radius: var(--radius-xs);
  padding: 2px 6px;
}

/* ==================== RESPONSIVE ADJUSTMENTS ==================== */
@media (max-width: 992px) {
  .pw_img {
    height: 160px;
  }

  .pw_content {
    padding: 15px;
  }

  .pw_header h6 {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .pw_img {
    height: 140px;
  }

  .pw_content {
    padding: 12px;
  }
}

/* ==================== OVERRIDE OLD STYLES ==================== */
body .container {
  max-width: 1400px;
}

/* Remove old background patterns */
body {
  background-image: none !important;
}

/* Modern section backgrounds */
.section.bg-primary,
.section.bg-dark {
  background-image: none;
}

/* Tab pills modern style */
.nav-pills .nav-link {
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  font-weight: 600;
  color: var(--text-body);
  transition: var(--transition);
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: var(--primary);
  color: var(--white);
}

.nav-pills .nav-link:hover:not(.active) {
  background-color: var(--primary-50);
  color: var(--primary);
}

/* newTabsList specific styling */
.newTabsList.nav-pills .nav-link {
  background: var(--primary);
  color: var(--white);
  margin: 0 5px;
  border-radius: var(--radius-sm);
}

.newTabsList.nav-pills .nav-link.active {
  background: var(--accent);
  color: var(--text-dark);
}

/* ==================== MOBILE MENU OVERLAY ==================== */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh; /* Dynamic viewport height for mobile */
  background: linear-gradient(
    180deg,
    var(--primary-dark) 0%,
    var(--primary) 100%
  );
  z-index: 9999;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 5px 0 30px rgba(0, 0, 0, 0.3);
  display: none; /* Varsayılan olarak gizli */
}

/* Sadece tablet ve mobilde göster - 1400px'e güncellendi */
@media (max-width: 1400px) {
  .mobile-menu-overlay {
    display: block;
  }
}

.mobile-menu-overlay.active {
  left: 0;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-logo img {
  height: 40px;
  width: auto;
}

.mobile-menu-logo span {
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.mobile-menu-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition);
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.mobile-nav-links {
  list-style: none;
  padding: 20px 0;
  margin: 0;
}

.mobile-nav-links li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-links li a {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 15px;
  padding: 16px 24px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
}

.mobile-nav-links li a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding-left: 30px;
}

.mobile-nav-links li a i {
  width: 20px;
  text-align: center;
  font-size: 16px;
  opacity: 0.8;
}

/* Mobile menu açıldığında body scroll'u engelle */
body.mobile-menu-open {
  overflow: hidden;
}

/* Mobile menu arka plan overlay */
.mobile-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* ==================== MOBILE MENU DROPDOWN STYLES ==================== */
/* Mobile Nav Items */
.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffc90d;
}

.mobile-nav-text {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-nav-text i {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

/* Chevron Toggle Icon */
.mobile-submenu-toggle {
  font-size: 14px;
  transition: transform 0.3s ease;
  opacity: 0.7;
}

.mobile-nav-item.expanded > .mobile-nav-link .mobile-submenu-toggle,
.mobile-submenu-item.expanded > .mobile-submenu-link .mobile-submenu-toggle {
  transform: rotate(180deg);
}

/* Mobile Submenu (Level 1) */
.mobile-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-item.expanded > .mobile-submenu {
  max-height: 5000px; /* Increased for very long lists like fakulteler */
}

.mobile-submenu-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-submenu-item:last-child {
  border-bottom: none;
}

.mobile-submenu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 14px 40px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.mobile-submenu-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffc90d;
  padding-left: 45px;
}

.mobile-submenu-text {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-submenu-text i {
  font-size: 12px;
  opacity: 0.6;
}

/* Mobile Sub-Submenu (Level 2) */
.mobile-sub-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-submenu-item.expanded > .mobile-sub-submenu {
  max-height: 10000px; /* Increased for very long lists like 20+ faculties */
  overflow: visible; /* Allow content to flow */
}

.mobile-sub-submenu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.mobile-sub-submenu li:last-child {
  border-bottom: none;
}

.mobile-sub-submenu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px 12px 60px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  transition: all 0.3s ease;
}

.mobile-sub-submenu a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffc90d;
  padding-left: 65px;
}

.mobile-sub-submenu a i {
  font-size: 10px;
  opacity: 0.5;
}

/* Mobile Menu Responsive */
@media (max-width: 768px) {
  .mobile-nav-link {
    padding: 14px 15px;
    font-size: 14px;
  }

  .mobile-submenu-link {
    padding: 12px 15px 12px 35px;
    font-size: 13px;
  }

  .mobile-sub-submenu a {
    padding: 10px 15px 10px 50px;
    font-size: 12px;
  }
}
