/* ==========================================================================
   HANYANG ENTERPRISE Official Website - Responsive Styles
   ========================================================================== */

/* Large Screen Adjustments (xl - 1200px and below) */
@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-title {
    font-size: 3.5rem;
  }

  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
  }
}

/* Medium Screen Adjustments (md/lg - 992px and below) */
@media (max-width: 992px) {
  .header {
    height: 75px;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    flex-direction: column;
    padding: 30px 20px;
    gap: 20px;
    box-shadow: var(--shadow-lg);
    clip-path: circle(0% at 100% 0);
    transition: clip-path 0.4s ease-in-out;
  }

  .nav-menu.active {
    clip-path: circle(150% at 100% 0);
  }

  .nav-link {
    color: #FFFFFF !important;
    font-size: 1.1rem;
  }

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

  .about-img-frame img {
    height: 380px;
  }

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

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

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

  .history-timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 50px !important;
    padding-right: 0 !important;
    text-align: left !important;
    margin-left: 0 !important;
  }

  .timeline-dot {
    left: 11px !important;
    right: auto !important;
  }
}

/* Small Screen Adjustments (sm - 768px and below) */
@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

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

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

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

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
  }

  .page-banner {
    padding: 130px 0 60px 0;
  }

  .page-banner-title {
    font-size: 2.2rem;
  }

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

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

  .contact-info-card, .contact-form {
    padding: 30px 20px;
  }

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

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

/* Extra Small (480px and below) */
@media (max-width: 480px) {
  .container {
    padding: 0 1.2rem;
  }

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

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

  .about-badge {
    padding: 16px 20px;
  }

  .about-badge-year {
    font-size: 1.5rem;
  }
}
