/*
Theme Name: Shahidullah Weather Theme
Theme URI: https://example.com/
Author: Shahidullah
Description: লাইটওয়েট, SEO বান্ধব, স্মার্ট হোমপেজ সহ আবহাওয়ার জন্য থিম
Version: 1.0
License: GPLv2 or later
Text Domain: shahidullah-weather-theme
*/

/* === Base Styles === */
body {
  font-family: Arial, sans-serif;
  background: #f4f7f9;
  color: #333;
  margin: 0;
  padding: 0;
}
a {
  color: #005580;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

/* === Header === */
header.site-header {
  background: #003344;
  color: #ffffff;
  padding: 20px 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #004455;
}
.site-logo {
  text-align: center;
  flex: 1 1 100%;
  padding-top: 0;
  background: transparent;
}
.site-logo img {
  max-height: 80px;
  width: auto;
  display: block;
  margin: 0 auto 10px;
}
.site-title {
  margin: 10px auto;
  font-size: 28px;
  text-align: center;
  flex: 1 1 100%;
}
.site-title-link {
  color: #ffcc00;
  font-weight: bold;
  font-size: 32px;
}
.site-title-link:hover {
  color: #ccffff;
}

/* === Navigation === */
nav.site-nav {
  background: #006680;
  text-align: center;
  padding: 10px;
}
nav.site-nav a {
  color: #ffffff;
  margin: 0 10px;
  font-weight: bold;
}
nav.site-nav a:hover {
  text-decoration: underline;
}

/* === Prayer Time Bar === */
.prayer-time-bar {
  background-color: #004466 !important;
  color: #ffffff !important;
  padding: 8px 12px;
  text-align: center;
  font-size: 14px;
  white-space: nowrap;
  overflow-x: auto;
  margin-bottom: 0 !important;
  border-bottom: none !important;
}

/* === Live Clock === */
.live-clock-container {
  text-align: center;
  margin: 10px 0 15px;
}
.live-clock {
  display: inline-block;
  padding: 6px 12px;
  background-color: #006680 !important;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: bold;
  font-family: monospace;
  border-radius: 6px;
  min-width: 120px;
}

/* === Header Ad Container === */
.header-ad-container {
  margin: 10px auto 0;
  max-width: 728px;
  width: 100%;
  text-align: center;
}
#header-ad {
  background: #f1f1f1;
  padding: 10px;
  border: 1px solid #ccc;
  min-height: 90px;
}

/* === Weather Sections === */
.weather-section {
  background: #ffffff;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
  border-radius: 6px;
}
.weather-section h2.section-title {
  margin-top: 0;
  font-size: 20px;
  margin-bottom: 15px;
}
.weather-section p.notice-message {
  font-size: 15px;
  color: #555;
}

/* Specific for Winter Sections */
.winter-box {
  border: 1px solid #0099cc;
  background-color: #e6f7ff;
}
.upazila-box {
  border: 1px solid #00aaff;
  background-color: #f0faff;
}

/* === Blog Posts === */
.blog-posts article {
  background: #ffffff;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
  border-radius: 6px;
}
.blog-posts article h3 {
  margin-top: 0;
  font-size: 18px;
}
.blog-posts article p {
  font-size: 14px;
  line-height: 1.5;
}
.blog-posts .read-more {
  font-weight: bold;
  color: #005580;
}
.blog-posts .read-more:hover {
  text-decoration: underline;
}

/* === Pagination === */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 30px 0;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  padding: 8px 14px;
  color: #004466;
  background: #e0f0ff;
  border-radius: 5px;
  font-weight: bold;
  border: 1px solid #0077aa;
}
.pagination a:hover {
  background: #0077aa;
  color: #ffffff;
}
.pagination .current {
  background: #004466;
  color: #ffffff;
}

/* === Footer === */
footer.site-footer {
  background-color: #003344 !important;
  color: #ffffff !important;
  padding: 40px 20px;
  text-align: center;
}
.footer-widgets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 20px;
}
.footer-column {
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
}
.footer-column h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #ffcc00;
}
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-column ul li {
  margin-bottom: 8px;
}
.footer-column ul li a {
  color: #ffcc00;
  font-weight: bold;
  text-decoration: none;
}
.footer-column ul li a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Footer Bottom */
.footer-bottom {
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 10px;
  border-top: 1px solid #555;
  color: #cccccc;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.footer-bottom a {
  color: #ffff00;
  background-color: #cc0000;
  padding: 6px 12px;
  border-radius: 5px;
  font-weight: bold;
  margin: 4px;
  display: inline-block;
  text-decoration: none;
}
.footer-bottom a:hover {
  background-color: #ffcc00;
  color: #000000;
  text-decoration: underline;
}
.footer-social {
  margin-top: 10px;
}
.footer-social a {
  color: #ffcc00;
  font-weight: bold;
  margin: 0 10px;
  text-decoration: none;
}
.footer-social a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* === Responsive === */
@media (max-width: 768px) {
  header.site-header {
    flex-direction: column;
    align-items: center;
  }
  .footer-widgets {
    flex-direction: column;
    gap: 20px;
  }
  .footer-column {
    max-width: 100%;
  }
  .footer-bottom {
    padding: 20px 10px;
  }
  .prayer-time-bar {
    white-space: normal !important;
    overflow-x: visible !important;
    text-align: center !important;
  }
}

/* Extra tweaks */
.site-title a {
  color: #ff9900 !important;
}
.site-title a:hover {
  color: #ccffff !important;
}
