/* Responsive Styles */

/* Large Screens */
@media (max-width: 1200px) {
  .hero-text h1 {
    font-size: 2.8rem;
  }

  .hero-text .tagline {
    font-size: 2rem;
  }

  .hero-text .subtitle.tangerine {
    font-size: 2.7rem;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .quality-text h2 {
    font-size: 2rem;
  }
}

/* Medium Screens */
@media (max-width: 992px) {
  .hero-content,
  .features-content,
  .quality-content {
    flex-direction: column;
    gap: 40px;
  }

  .hero-image,
  .features-image,
  .quality-image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }

  .hero-text,
  .features-text,
  .quality-text {
    text-align: center;
    width: 100%;
  }

  .quality-text h2::after,
  .section-header h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

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

/* Small Screens */
@media (max-width: 768px) {
  :root {
    --container-padding: 15px;
  }

  .header-container {
    padding: 10px var(--container-padding);
    width: 100%;
  }

  .logo img {
    height: 50px;
  }

  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #fff;
    flex-direction: column;
    justify-content: center;
    padding: 50px 0;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  body.no-scroll {
    overflow: hidden;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text .tagline {
    font-size: 1.8rem;
  }

  .hero-text .subtitle.tangerine {
    font-size: 2.4rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .quality-text h2 {
    font-size: 1.7rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .product-info {
    text-align: center;
  }

  section {
    padding: 60px 0;
  }

  .hero-content,
  .products-grid,
  .features-content,
  .quality-content,
  .footer-container {
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
  }

  /* Fix for horizontal scrolling */
  .products-grid {
    width: 100%;
    box-sizing: border-box;
  }

  .product-card {
    width: 100%;
    box-sizing: border-box;
  }

  /* Additional fixes for Quality section on mobile */
  .quality {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .quality-content {
    width: 100%;
    max-width: 100%;
    padding: 0 var(--container-padding);
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .quality-text h2 {
    font-size: 1.7rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .button-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .btn-shop-now {
    display: inline-block;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-break: break-word;
  }
}

/* Extra Small Screens */
@media (max-width: 576px) {
  :root {
    --container-padding: 15px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text .tagline {
    font-size: 1.6rem;
  }

  .hero-text .subtitle.tangerine {
    font-size: 2.2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .btn-primary,
  .btn-secondary,
  .btn-shop-now {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .quality-text h2 {
    font-size: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-icons {
    justify-content: center;
  }

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

  .product-card {
    max-width: 100%;
  }

  /* Additional fixes for very small screens */
  .hero-content,
  .features-content,
  .quality-content {
    width: 100%;
    box-sizing: border-box;
  }
}

/* Fix for very small screens */
@media (max-width: 360px) {
  :root {
    --container-padding: 10px;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text .tagline {
    font-size: 1.4rem;
  }

  .hero-text .subtitle.tangerine {
    font-size: 2rem;
  }

  .btn-primary,
  .btn-secondary,
  .btn-shop-now {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}
