/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Georgia", "Times New Roman", serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Header Styles */
.header {
  background: #fff;
  border-bottom: 2px solid #000;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 11px;
  color: #666;
  border-bottom: 1px solid #ddd;
}

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo h1 {
  font-size: 28px;
  font-weight: bold;
  color: #000;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.logo p {
  font-size: 9px;
  color: #666;
  letter-spacing: 2px;
  font-family: "Arial", sans-serif;
}

/* Navigation Styles */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  text-decoration: none;
  color: #000;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.3s ease;
  font-family: "Arial", sans-serif;
}

.nav-link:hover {
  color: #666;
}

/* Dropdown Styles */
.dropdown {
  position: relative;
}

.dropdown-btn {
  background: none;
  border: none;
  color: #000;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
  font-family: "Arial", sans-serif;
}

.dropdown-btn:hover {
  color: #666;
}

.dropdown-arrow {
  font-size: 9px;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-content {
  position: absolute;
  top: 120%;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: calc(max-content + 20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content a {
  display: block;
  padding: 10px 14px;
  color: #333;
  text-decoration: none;
  font-size: 12px;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.3s ease;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background-color: #f8f8f8;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-menu-btn span {
  width: 22px;
  height: 2px;
  background: #000;
  margin: 2px 0;
  transition: 0.3s;
}

.nav-mobile {
  display: none;
  padding: 12px 0;
  border-top: 1px solid #ddd;
}

.nav-mobile .nav-link {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-dropdown-btn {
  background: none;
  border: none;
  color: #000;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 10px 0;
  width: 100%;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-dropdown-content {
  display: none;
  padding-left: 14px;
}

.mobile-dropdown-content a {
  display: block;
  padding: 6px 0;
  color: #666;
  text-decoration: none;
  font-size: 12px;
}

/* Hero Slider */
.hero-slider {
  margin: 20px 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 50% 1fr;
  gap: 20px;
  align-items: start;
}

.slider-container {
  display: grid;
  position: relative;
  height: 400px;
  border: 1px solid #ddd;
  overflow: hidden;
  background: #f8f9fa;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: inherit;
  background-size: cover;
  background-position: center;
  filter: blur(20px);
  opacity: 0.3;
  z-index: -1;
}

/* Blur background effect for better image fitting */
.slide::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  filter: blur(20px);
  opacity: 0.3;
  z-index: -1;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  color: #fff;
  z-index: 2;
}

.slide-category {
  background: #fff;
  color: #000;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: "Arial", sans-serif;
  display: inline-block;
  border-radius: 2px;
}

.slide-content h2 a {
  text-decoration: none;
  font-size: 22px;
  font-weight: bold;
  margin: 12px 0 8px 0;
  line-height: 1.3;
  color: rgb(176, 168, 168);
  text-shadow: #000 1px 1px 2px;
}

.slide-content p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 6px;
  line-height: 1.4;
}

.slide-date {
  font-size: 11px;
  opacity: 0.8;
  font-family: "Arial", sans-serif;
}

/* .slider-indicators {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.indicator.active {
  background: #fff;
} */
.slider-indicators {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 10; /* Göstəricilərin üstündə başqa elementin olmaması üçün */
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5); /* Yarımşəffaf ağ */
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, opacity 0.3s ease; /* Hamar keçid */
  opacity: 0.7; /* Normal vəziyyətdə bir az şəffaflıq */
}

.indicator.active {
  background: #fff; /* Tam ağ */
  opacity: 1; /* Aktiv vəziyyətdə tam görünürlük */
}

.indicator:hover {
  opacity: 0.9; /* Hover zamanı bir az daha görünür */
}

/* Hero Sidebar */
.hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 400px;
  overflow: hidden;
}

.hero-news-item {
  display: flex;
  gap: 6px;
  padding: 10px;
  border: 1px solid #e9ecef;
  background: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
}

.hero-news-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-news-item img {
  width: 100px;
  height: 70px;
  object-fit: cover;
  flex-shrink: 0;
}

.hero-news-content h4 {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 4px;
}

.hero-news-content h4 a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.hero-news-content h4 a:hover {
  color: #000;
}

.hero-news-meta {
  font-size: 10px;
  color: #999;
}

/* News Section */
.news-main {
  margin: 24px 0;
}

.news-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}

.section-divider {
  border-top: 2px solid #000;
  padding-top: 24px;
  margin-bottom: 24px;
  text-align: center;
}

.section-divider h2 {
  font-size: 20px;
  font-weight: bold;
  color: #000;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.news-item {
  border: 1px solid #ddd;
  transition: box-shadow 0.3s ease;
  cursor: pointer;
}

.news-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.news-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  height: calc(100% - 160px);
}

.news-category {
  font-size: 10px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
  font-family: "Arial", sans-serif;
}

.news-item h3 a {
  font-size: 16px;
  font-weight: bold;
  margin: 8px 0 12px 0;
  line-height: 1.4;
  color: #000;
  transition: color 0.3s ease;
  flex: 1;
  text-decoration: none;
}

.news-item:hover h3 a {
  color: #666;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  margin-top: auto;
}

.news-date {
  font-size: 10px;
  color: #999;
  font-family: "Arial", sans-serif;
}

.news-arrow {
  color: #ccc;
  font-size: 14px;
  transition: color 0.3s ease;
}

.news-item:hover .news-arrow {
  color: #000;
}

/* Sidebar Styles */
.news-sidebar {
  position: sticky;
  top: 24px;
}

.sidebar-section {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  margin-bottom: 24px;
}

.sidebar-title {
  font-size: 16px;
  font-weight: bold;
  color: #000;
  padding: 16px 20px;
  margin: 0;
  border-bottom: 1px solid #e9ecef;
  background: #fff;
}

/* Breaking News */
.breaking-news {
  background: #000 !important;
  color: #fff;
}

.breaking-news .sidebar-title {
  background: #000;
  color: #fff;
  border-bottom-color: #333;
}

.breaking-item {
  padding: 12px 20px;
  border-bottom: 1px solid #333;
}

.breaking-item:last-child {
  border-bottom: none;
}

.breaking-time {
  font-size: 11px;
  color: #ccc;
  font-family: "Arial", sans-serif;
  display: block;
  margin-bottom: 4px;
}

.breaking-item h4 {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
}

.breaking-item h4 a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breaking-item h4 a:hover {
  color: #ccc;
}

/* Popular Posts */
.popular-posts {
  padding: 20px;
}

.popular-post {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e9ecef;
}

.popular-post:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.popular-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #000;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  border-radius: 50%;
  flex-shrink: 0;
  font-family: "Arial", sans-serif;
}

.popular-content h4 {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 4px;
}

.popular-content h4 a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.popular-content h4 a:hover {
  color: #000;
}

.popular-views {
  font-size: 11px;
  color: #999;
  font-family: "Arial", sans-serif;
}

/* Market Data */
.market-data {
  background: #fff !important;
  border: 2px solid #000;
}

.market-data .sidebar-title {
  background: #000;
  color: #fff;
}

.market-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid #e9ecef;
  font-size: 13px;
}

.market-item:last-child {
  border-bottom: none;
}

.market-name {
  font-weight: 500;
  color: #333;
}

.market-value {
  font-weight: bold;
  font-family: "Arial", sans-serif;
}

.market-value.up {
  color: #28a745;
}

.market-value.down {
  color: #dc3545;
}

/* Newsletter */
.newsletter {
  background: #000 !important;
  color: #fff;
}

.newsletter .sidebar-title {
  background: #000;
  color: #fff;
  border-bottom-color: #333;
}

.newsletter p {
  padding: 0 20px 16px 20px;
  margin: 0;
  font-size: 13px;
  color: #ccc;
}

.newsletter-form {
  padding: 0 20px 20px 20px;
}

.newsletter-form input {
  width: 100%;
  padding: 10px;
  border: 1px solid #333;
  background: #fff;
  font-size: 13px;
  margin-bottom: 10px;
  border-radius: 4px;
}

.newsletter-form button {
  width: 100%;
  padding: 10px;
  background: #fff;
  color: #000;
  border: none;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.newsletter-form button:hover {
  background: #f0f0f0;
}

.load-more-container {
  text-align: center;
}

.load-more-btn {
  background: #000;
  color: #fff;
  border: none;
  padding: 10px 24px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: "Arial", sans-serif;
}

.load-more-btn:hover {
  background: #333;
}

/* Footer */
.footer {
  background: #000;
  color: #fff;
  margin-top: 48px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding: 32px 0;
}

.footer-main h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 12px;
}

.footer-main p {
  color: #ccc;
  margin-bottom: 12px;
  line-height: 1.6;
  font-size: 13px;
}

.copyright {
  font-size: 11px;
  color: #999 !important;
}

.footer-section h4 {
  font-weight: bold;
  margin-bottom: 12px;
  font-family: "Arial", sans-serif;
  font-size: 14px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 6px;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding: 16px 0;
  text-align: center;
  color: #999;
  font-size: 11px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    margin: 0 auto;
    gap: 16px;
  }

  .slider-container {
    height: 350px;
    margin: 0 auto;
    width: 60%;
  }

  .news-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .news-sidebar {
    position: static;
  }

  .hero-sidebar {
    /* display: none; */
  }

  .container {
    padding: 0 20px;
  }

  .nav-desktop {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-mobile.active {
    display: block;
  }

  .logo h1 {
    font-size: 24px;
  }

  .slide-content {
    padding: 16px;
  }

  .slide-content h2 {
    font-size: 18px;
  }

  .slide-content p {
    font-size: 13px;
  }

  .news-grid {
    /* grid-template-columns: 1fr; */
    gap: 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 600px) {
  .slider-container {
    height: 300px;
  }
}
@media (max-width: 550px) {
  .container {
    padding: 0 12px;
  }

  .slider-container {
    height: 250px;
  }

  .container {
    padding: 0 16px;
  }

  .slide-content h2 {
    font-size: 16px;
  }

  .slide-content p {
    font-size: 12px;
  }

  .news-item img {
    height: 140px;
  }
  .hero-sidebar {
    /* display: none; */
  }
}
.load-more-btn {
  display: block;
  margin: 30px auto;
  padding: 10px 20px;
  font-size: 16px;
  border: 1px solid #333;
  background-color: #3b1f1f;
  cursor: pointer;
  transition: background-color 0.3s;
}
.load-more-btn:hover {
  background-color: #411f1f83;
}
.news-grid {
  gap: 16;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
}
@media (max-width: 465px) {
  .news-grid {
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  .news-category {
    display: none;
  }
  .news-author {
    display: none;
  }
}

@media (max-width: 450px) {
  .slider-container {
    height: 200px;
  }
  .slide-content h2 {
    font-size: 8px;
  }

  .slide-content p {
    font-size: 5px;
  }
  .slide-content span {
    font-size: 5px;
  }
  .news-grid {
    grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
    gap: 7px;
  }
  .news-meta {
    padding-top: 2px;
  }
  .news-content {
    padding: 5px;
  }
}
#site-logo {
  height: 60px;
  width: 250px;
  object-fit: cover;
}
/* max 768px */
@media (max-width: 768px) {
  #site-logo {
    height: 55px;
    width: 220px;
  }
}

/* max 600px */
@media (max-width: 600px) {
  #site-logo {
    height: 50px;
    width: 200px;
  }
}

/* max 550px */
@media (max-width: 550px) {
  #site-logo {
    height: 45px;
    width: 180px;
  }
}

/* max 465px */
@media (max-width: 465px) {
  #site-logo {
    height: 40px;
    width: 160px;
  }
}

/* max 450px */
@media (max-width: 450px) {
  #site-logo {
    height: 35px;
    width: 140px;
  }
}
