body {
    margin: 0;
    padding: 0px;
    font-family: Arial, sans-serif;
    background: #f0eded;


  


  }
  
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 15px 50px;
    color: black;
     /* bütün eni tutsun */
  /* başqa elementlərin üstündə qalsın */
  }
  
  .logo {
    font-size: 20px;
    font-weight: bold;
  }
  
  nav {
    display: flex;
    gap: 30px;
  }
  
  nav a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
  }
  
  nav a:hover {
    color: #ff9800;
  }
  

  
  .card {
    display: flex;
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 20px auto;
  }
  
  .card-img {
    width: 250px;
    height: auto;
    border-radius: 10px;
    margin-right: 20px;
  }
  
  .card-content {
    flex: 1;
  }
  
  .tags {
    margin-bottom: 10px;
  }
  
  .tag {
    display: inline-block;
    background: #f2f3f5;
    color: #333;
    font-size: 13px;
    padding: 5px 10px;
    border-radius: 20px;
    margin-right: 5px;
  }
  
  .card-title {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: bold;
    color: #222;
  }
  
  .card-description {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
  }
  
  .social-icons a {
    display: inline-block;
    margin-right: 8px;
    font-size: 18px;
    text-decoration: none;
  }
  
  .date {
    font-size: 13px;
    color: #888;
    margin-top: 10px;
  }
  .card-footer {
    display: flex;
    justify-content: space-between; /* ikonlar solda, düymə sağda */
    align-items: center;
    margin-top: 10px;
  }
  
  .social-icons a {
    margin-right: 8px;
  }
  
  .read-more {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.3s;
  }
  
  .read-more:hover {
    background-color: #0056b3;
  }


  footer {
    background: #ffffff;
    color: #000000;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
   
    padding: 30px 50px;
    flex-wrap: wrap;
  }
  
  .footer-left h2 {
    margin: 0;
    font-size: 22px;
  }
  
  .footer-left p {
    margin: 6px 0;
    font-size: 14px;
  }
  
  .footer-left .small {
    font-size: 12px;
    color: #bbb;
  }
  
  .footer-right h3 {
    margin-bottom: 8px;
    font-size: 18px;
  }
  
  .footer-right a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .footer-right a:hover {
    color: #ff0000;
  }
  
  .footer-right p {
    margin: 4px 0;
  }
  
  footer {
    padding-left: 100px;
    padding-right: 100px;
  }
  









  /* Mobil üçün default olaraq menu gizlədilir */
nav {
  display: flex;
  gap: 30px;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #000;
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* Responsive hissə */
@media (max-width: 768px) {
  nav {
    display: none;
    position: absolute;
    top: 70px; /* header hündürlüyünə görə */
    right: 0;
    background: #fff;
    flex-direction: column;
    width: 200px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  nav a {
    padding: 10px 0;
    font-size: 16px;
    border-bottom: 1px solid #eee;
  }

  .hamburger {
    display: flex;
  }

  nav.active {
    display: flex;
  }


}


/* Mobil üçün düzəliş */
@media (max-width: 768px) {
  .card {
    flex-direction: column; /* şəkil yuxarı getsin */
    text-align: center;
  }

  .card-img {
    width: 100%;  /* tam genişlik */
    max-height: 250px;
    object-fit: cover;
    margin: 0 auto 15px auto;
  }

  .card-footer {
    flex-direction: column;
    gap: 10px;
  }

  .social-icons {
    margin-bottom: 10px;
  }
}