/* ==========================================================================
   BHARATCHITRAM — Responsive Stylesheet
   Breakpoints: 1200px, 992px, 768px, 576px, 400px
   ========================================================================== */

/* Large Desktops to Laptops (1181px to 1340px) */
@media (max-width: 1340px) and (min-width: 1181px) {
  .nav-menu {
    gap: 12px;
  }
  .nav-link {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    padding: 6px 2px;
  }
  .brand-title {
    font-size: 1.45rem;
  }
  .brand-tagline {
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }
  .header-cta-btn {
    font-size: 0.68rem;
    padding: 7px 12px;
  }
}

/* Large Tablets & Smaller Desktops (< 1180px) */
@media (max-width: 1180px) {
  :root {
    --header-height: 76px;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-nav-drawer {
    display: block;
  }
}

/* Large Tablets & Small Desktops (< 1200px) */
@media (max-width: 1200px) {
  :root {
    --container-max: 980px;
  }

  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.2rem; }
  .hero-title { font-size: 3.5rem; }

  .foundation-programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 35px;
  }
}

/* Tablets (< 992px) */
@media (max-width: 992px) {

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-portrait-frame img {
    height: 400px;
  }

  .about-image-badge {
    bottom: 10px;
    right: 10px;
  }

  .stories-grid,
  .workshops-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .monthly-featured-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px;
  }

  .monthly-issue-cover img {
    height: 360px;
  }

  .foundation-banner-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .stats-grid-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* Mobile Devices (< 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  body {
    font-size: 1rem;
    line-height: 1.7;
  }

  h1 { font-size: 2.3rem; }
  h2 { font-size: 1.9rem; }
  h3 { font-size: 1.5rem; }

  .hero-section {
    min-height: 75vh;
    padding: 60px 0;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section-padding {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .stories-grid,
  .workshops-grid,
  .gallery-grid,
  .monthly-articles-list,
  .about-pillars-grid,
  .foundation-programs-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .article-row-card {
    flex-direction: column;
  }

  .article-row-thumb {
    width: 100%;
    height: 180px;
  }

  .stats-numbers-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stat-number {
    font-size: 2.6rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .header-actions .btn {
    display: none;
  }

  .header-actions .search-toggle-btn {
    display: block;
  }
}

/* Extra Small Phones (< 480px) */
@media (max-width: 480px) {
  .brand-title {
    font-size: 1.4rem;
  }

  .brand-tagline {
    font-size: 0.58rem;
    letter-spacing: 0.16em;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .quote-box {
    padding: 24px;
  }

  .quote-box blockquote {
    font-size: 1.15rem;
  }
}
