/* ==========================================================================
   eShetkari.com - Responsive CSS
   Mobile-First Breakpoint Adjustments & Touch Friendly UI
   ========================================================================== */

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  z-index: 1050;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
}

.mobile-bottom-nav .nav-item {
  flex: 1;
  text-align: center;
}

.mobile-bottom-nav .nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 4px 6px;
  color: #64748b;
  font-size: 0.725rem;
  font-weight: 600;
}

.mobile-bottom-nav .nav-link i {
  font-size: 1.25rem;
  margin-bottom: 3px;
}

.mobile-bottom-nav .nav-link.active,
.mobile-bottom-nav .nav-link:hover {
  color: #0B7A3D;
}

/* Floating Action Buttons */
.back-to-top-btn {
  position: fixed;
  bottom: 75px;
  right: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-orange);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  background: var(--primary-green);
  color: #fff;
  transform: translateY(-4px);
}

/* Breakpoint 991px (Tablets & Mobile) */
@media (max-width: 991.98px) {
  .top-date-badge, .top-weather-badge {
    font-size: 0.75rem;
  }

  .site-logo-img {
    max-height: 54px;
  }

  .slider-container {
    height: 380px;
  }

  .slide-title {
    font-size: 1.4rem;
  }

  .slide-overlay {
    padding: 20px;
  }

  .mobile-bottom-nav {
    display: flex;
  }

  body {
    padding-bottom: 60px; /* Space for bottom nav */
  }

  .navbar-agri .navbar-collapse {
    background: var(--dark-green);
    padding: 15px;
    border-radius: 0 0 12px 12px;
  }

  .agri-card-img-wrapper {
    height: 180px;
  }
}

/* Breakpoint 575px (Mobile Portrait) */
@media (max-width: 575.98px) {
  .top-bar {
    display: none;
  }

  .slider-container {
    height: 320px;
    border-radius: 12px;
  }

  .slide-title {
    font-size: 1.2rem;
  }

  .slide-overlay {
    padding: 16px;
  }

  .hero-side-card {
    height: 180px;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .newsletter-banner {
    padding: 24px 18px;
  }

  .article-reading-tools {
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* Master Blog Mobile Priority Responsive Rules */
@media (max-width: 991.98px) {
  .es-social-share-desktop {
    display: none !important;
  }
  .es-social-share-inline {
    display: flex !important;
  }
  .es-article-title {
    font-size: 1.75rem;
    line-height: 1.3;
  }
  .es-article-intro {
    font-size: 1.05rem;
  }
  .es-prev-next-nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .es-article-title {
    font-size: 1.45rem;
  }
  .es-article-meta {
    gap: 8px 14px;
    font-size: 0.8rem;
    padding: 10px 14px;
  }
  .es-social-btn {
    width: 44px;
    height: 44px;
  }
  .es-card-title {
    font-size: 0.975rem;
  }
  .es-comments-section {
    padding: 18px 14px;
  }
}

