/* ============================================
   RESPONSIVE STYLES — MOBILE FIRST OVERRIDES
   ============================================ */

/* Tablet: 1024px and below */
@media (max-width: 1024px) {
  :root {
    --section-gap: 80px;
    --container-padding: 24px;
  }

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

  /* Header */
  .main-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

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

  .hero-subtitle {
    margin: 0 auto 2rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-image {
    height: 450px;
  }

  .hero-fc-1 {
    left: 10px;
    bottom: 40px;
  }

  .hero-fc-2 {
    right: 10px;
    top: 40px;
  }

  /* About Snippet */
  .about-snippet-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-snippet-img {
    height: 400px;
  }

  /* Products Grid */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  /* Workshops */
  .workshops-grid {
    grid-template-columns: 1fr;
  }

  .workshop-card-full {
    flex-direction: column;
    align-items: flex-start;
  }

  .wcf-action {
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--stone);
  }

  /* Events */
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item-large {
    grid-column: span 1;
  }

  /* Blog */
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Newsletter */
  .newsletter-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* Social */
  .social-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Values */
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Team */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Impact */
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: span 2;
  }

  /* Page Hero */
  .page-hero-title {
    font-size: 2.5rem;
  }
}

/* Mobile: 768px and below */
@media (max-width: 768px) {
  :root {
    --section-gap: 60px;
    --container-padding: 16px;
  }

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

  .section-subtitle {
    font-size: 1rem;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 3rem;
  }

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

  .hero-image {
    height: 350px;
  }

  .hero-floating-card {
    display: none;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  /* Products */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .products-grid-full {
    grid-template-columns: 1fr;
  }

  .product-card-image {
    height: 220px;
  }

  /* Events */
  .events-grid {
    grid-template-columns: 1fr;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item img {
    height: 180px;
  }

  .gallery-item-large img {
    height: 220px;
  }

  /* Blog */
  .blog-grid {
    grid-template-columns: 1fr;
  }

  /* Social */
  .social-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .social-item img {
    height: 150px;
  }

  /* Newsletter */
  .newsletter-box {
    padding: 2rem;
  }

  .newsletter-input-group {
    flex-direction: column;
  }

  /* Values */
  .values-grid {
    grid-template-columns: 1fr;
  }

  /* Team */
  .team-grid {
    grid-template-columns: 1fr;
  }

  /* Impact */
  .impact-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Contact */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Private Events */
  .private-events-box {
    padding: 2.5rem 1.5rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  /* Page Hero */
  .page-hero {
    min-height: 280px;
  }

  .page-hero-title {
    font-size: 2rem;
  }

  /* Workshop Full Card */
  .workshop-card-full {
    padding: 1.5rem;
  }

  .wcf-date {
    min-width: auto;
    padding: 1rem;
    align-self: flex-start;
  }

  /* Product filters */
  .product-filters {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
  }

  /* Testimonial */
  .testimonial-card {
    padding: 2rem 1rem;
  }

  .testimonial-quote {
    font-size: 1.0625rem;
  }
}

/* Small Mobile: 480px and below */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.875rem;
  }

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

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

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

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

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img,
  .gallery-item-large img {
    height: 250px;
  }

  .about-snippet-img {
    height: 300px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in-up,
  .fade-in-left,
  .fade-in-right {
    opacity: 1;
    transform: none;
  }

  .hero-floating-card {
    animation: none;
  }
}

/* High Contrast */
@media (prefers-contrast: high) {
  :root {
    --text-primary: #000000;
    --text-secondary: #1a1a1a;
    --text-light: #333333;
  }

  .glass-card {
    background: var(--white);
    border: 2px solid var(--text-primary);
  }
}