/**
 * PALMERA ANIMAL HEALTH - RESPONSIVE STYLESHEET
 * Tested & Optimized for: 320px, 375px, 390px, 430px, 768px, 1024px, 1440px
 */

/* ==========================================================================
   DESKTOP & LARGE DISPLAYS (1025px and up)
   ========================================================================== */
@media (min-width: 1025px) {
  .mobile-nav-toggle {
    display: none !important;
  }
}

/* ==========================================================================
   TABLET & LAPTOP (Below 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .header-nav-list {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
  }

  .hero-section {
    min-height: auto;
    padding-top: calc(var(--header-height) + 2.5rem);
    padding-bottom: 4rem;
  }

  .hero-product-stage {
    height: 380px;
    margin-top: 2.5rem;
  }

  .hero-featured-pack {
    max-height: 340px;
  }

  .hero-glow-ring {
    width: 260px;
    height: 260px;
  }

  .partnership-banner {
    padding: 3rem 2rem;
  }
}

/* ==========================================================================
   MEDIUM MOBILE & TABLETS (Below 768px)
   ========================================================================== */
@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .site-header {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: var(--shadow-sm);
  }

  .site-header .header-logo img {
    height: 40px;
  }

  .site-header .mobile-nav-toggle {
    color: var(--color-navy) !important;
  }

  .hero-section {
    padding-top: calc(var(--header-height) + 1.5rem);
    padding-bottom: 3.5rem;
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-product-stage {
    height: 320px;
  }

  .hero-featured-pack {
    max-height: 280px;
  }

  .hero-floating-card {
    display: none; /* Avoid visual clutter on mobile */
  }

  .trust-bar-section {
    padding: 1.5rem 0;
  }

  .trust-item {
    padding: 0.75rem 0;
  }

  .section-padding {
    padding: 3.8rem 0;
  }

  .product-detail-stage {
    min-height: 320px;
    padding: 1.5rem;
  }

  .product-detail-stage img {
    max-height: 260px;
  }

  .finder-container {
    padding: 1.8rem 1.2rem;
  }

  .partnership-banner {
    padding: 2.5rem 1.4rem;
    text-align: center;
  }

  .partnership-logos-card {
    margin-top: 2rem;
  }
}

/* ==========================================================================
   SMALL MOBILE SCREENS (320px - 430px)
   ========================================================================== */
@media (max-width: 430px) {
  h1 { font-size: 1.95rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.25rem; }

  .btn-palmera-primary,
  .btn-palmera-secondary {
    width: 100%;
    padding: 0.75rem 1.2rem;
    font-size: 0.9rem;
  }

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

  .product-card-visual {
    height: 230px;
    padding: 1.2rem;
  }

  .product-card-img {
    max-height: 180px;
  }

  .footer-bottom {
    margin-top: 2.5rem;
  }
}

/* ==========================================================================
   OFFCANVAS NAVIGATION STYLING
   ========================================================================== */
.offcanvas-palmera {
  background-color: var(--color-white);
  width: 300px;
}

.offcanvas-palmera .offcanvas-header {
  border-bottom: 1px solid var(--color-border);
  padding: 1.2rem 1.5rem;
}

.offcanvas-palmera .offcanvas-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.offcanvas-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.offcanvas-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--color-navy);
  font-size: 1.05rem;
  transition: all var(--transition-fast);
}

.offcanvas-nav-link:hover,
.offcanvas-nav-link.active {
  background-color: var(--color-ice);
  color: var(--color-primary);
}
