/* ========== VARIABLES ========== */
:root {
  --primary: #ff0000; /* Əsas rəng: Qırmızı */
  --secondary: #c70000; /* Tünd qırmızı */
  --accent: #f72585; /* Pink (istəyə görə) */
  --light: #f8f9fa; /* Açıq rəng */
  --dark: #212529; /* Qaranlıq */
  --success: #4cc9f0; /* Açıq mavi */
  --warning: #f8961e; /* Qızıl */
  --danger: #ef233c; /* Qırmızı tonu */
}

/* Ümumi stil və baza */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: var(--light);
  color: #333;
  padding-top: 70px; /* Header üçün boşluq */
}

/* Header və Navbar */
.site-header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  transition: all 0.3s ease;
  padding: 15px 0;
}

.site-header .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo a {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary);
  text-decoration: none;
}

/* Navigation Menyu */
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
}

.main-nav li {
  margin-left: 20px;
}

.main-nav a {
  font-weight: 500;
  color: #333;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: var(--primary);
}

/* Mobil menyu düyməsi */
.mobile-menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

/* Mobil menyu */
.mobile-menu {
  display: none;
  background-color: #fff;
  padding: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 70px;
  right: 15px;
  width: 200px;
  border-radius: 4px;
  z-index: 99;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu li {
  margin-bottom: 10px;
}

.mobile-menu a {
  display: block;
  padding: 8px 12px;
  color: #333;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.mobile-menu a:hover {
  background-color: var(--light);
}

/* Məzmun */
main.container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 15px;
}

/* Reaksiya üçün */
@media (max-width: 768px) {
  /* Navbar gizlənir, mobil düymə görünür */
  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  /* Mobil menyu aktiv olduqda göstər */
  .mobile-menu.active {
    display: block;
  }
}
/* ========== VARIABLES ========== */
:root {
  --primary: #ff0000; /* Qırmızı - Əsas rəng */
  --secondary: #c70000; /* Tünd qırmızı */
  --accent: #f72585; /* Pink (əgər lazım olsa) */
  --light: #f8f9fa;
  --dark: #212529;
  --success: #4cc9f0; /* Açıq mavi */
  --warning: #f8961e; /* Qızıl */
  --danger: #ef233c; /* Qırmızı ton */
}

/* Ümumi stil və baza */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
  padding-top: 70px; /* Fixed header üçün boşluq */
}

/* Link və şəkil */
a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header və Navbar */
.site-header, .navbar {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  transition: all 0.3s ease;
}

/* Navbar üçün */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  background: linear-gradient(to right, white, #e0e0e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.03);
}

.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  color: #fff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 70%;
}

/* Mobil menyu */
.mobile-menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  background-color: #fff;
  padding: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Əsas məzmun */
main.container {
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

/* Xəbər kartları */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.news-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.news-image {
  height: 200px;
  overflow: hidden;
}

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

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-content {
  padding: 15px;
}

.news-content h3 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #2c3e50;
}

.news-content p {
  color: #666;
  margin-bottom: 15px;
  font-size: 14px;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #999;
}

.category-badge {
  display: inline-block;
  background-color: var(--primary);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 10px;
}

/* Əhəmiyyətli xəbərlər */
.featured-news {
  margin: 40px 0;
}

.section-title {
  font-size: 24px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  color: #2c3e50;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.featured-item {
  position: relative;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
}

.featured-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s;
}

.featured-item:hover .featured-image {
  transform: scale(1.05);
}

.featured-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #fff;
}

.featured-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.featured-content p {
  margin-bottom: 15px;
  font-size: 14px;
}

.featured-content .news-meta {
  color: #ddd;
}

/* Tək xəbər səhifəsi */
.single-news {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin: 30px 0;
}

.single-news-header {
  margin-bottom: 20px;
}

.single-news-header h1 {
  font-size: 28px;
  margin: 10px 0;
  color: #2c3e50;
}

.single-news-image {
  margin: 20px 0;
  text-align: center;
}

.single-news-image img {
  max-height: 500px;
  border-radius: 8px;
}

.single-news-content {
  line-height: 1.8;
  font-size: 16px;
}

.single-news-content p {
  margin-bottom: 15px;
}

/* Footer və ümumi stil */
.site-footer, footer {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 40px 0 20px;
  margin-top: 3rem;
  position: relative;
  transition: all 0.3s ease;
}

/* Footer Columns */
.footer-columns, .footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding-bottom: 2rem;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary);
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column i {
  margin-right: 10px;
  color: var(--primary);
}

/* Footer bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
}

/* Sosial linklər */
.social-links a {
  display: inline-block;
  margin-left: 15px;
  color: #fff;
  font-size: 18px;
  transition: all 0.3s;
}

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

/* Axtarış forması */
.search-form {
  display: flex;
  margin-bottom: 30px;
}

.search-form input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px 0 0 4px;
  font-size: 16px;
}

.search-form button {
  padding: 0 20px;
  background-color: var(--primary);
  color: #fff;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

.search-form button:hover {
  background-color: #b30000; /* Tünd qırmızı */
}

/* Xəbər və no nəticələr */
.no-results, .no-news {
  text-align: center;
  padding: 30px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Səhifələmə */
.pagination {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.page-link {
  display: inline-block;
  padding: 8px 15px;
  margin: 0 5px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.3s;
}

.page-link:hover, .page-link.active {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Responsivlik */
@media(max-width: 768px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  body {
    padding-top: 56px;
  }

  .card-img-top {
    height: 160px;
  }

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

  .social-links {
    margin-top: 15px;
  }

  .social-links a {
    margin: 0 10px;
  }
}

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

.card, .navbar {
  animation: fadeIn 0.6s ease forwards;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  border: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(45deg, var(--secondary), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}
/*yukləmə buttonu*/
.download-btn {
    background-color: #ff0000; /* qırmızı rəng */
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.download-btn:hover {
    background-color: #cc0000; /* tünd qırmızı */
}
/*video ucun*/
/* Video üçün əlavə CSS */
.single-news-video {
    margin: 20px 0;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 nisbəti */
    height: 0;
    overflow: hidden;
}

.single-news-video iframe,
.single-news-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.news-image {
    position: relative;
}