/* Media Queries & Responsive Breakpoints */
@import url('variables.css');

/* Large Desktop (> 1200px) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

/* Medium Desktop & Laptops (1024px - 1199px) */
@media (max-width: 1199px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  
  .footer-contact-column {
    grid-column: span 3;
    margin-top: 1rem;
  }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .nav-menu {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .top-bar-info span:last-child {
    display: none;
  }
}

/* Mobile Devices (< 768px) */
@media (max-width: 767px) {
  .section-padding {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: 1.85rem;
  }
  
  .top-bar {
    display: none; /* Hide top notification bar on narrow mobile to save header space */
  }

  .navbar {
    height: 80px;
  }

  .logo-link img {
    height: 52px;
    max-width: 220px;
  }


  .hero-section {
    min-height: auto;
    padding: 3rem 0;
  }

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

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

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

  .btn {
    width: 100%;
  }

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

  .catalog-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-categories {
    overflow-x: auto;
    padding-bottom: 0.5rem;
    white-space: nowrap;
    justify-content: flex-start;
  }

  .search-box {
    width: 100%;
  }

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

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

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

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

  .footer-brand img {
    height: 36px;
  }

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

  .floating-ctas {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
  }

  .contact-info-card, .contact-form-card {
    padding: 1.75rem;
  }

  .map-container {
    height: 300px;
  }

  /* Timeline & About Us Responsive adjustments */
  .timeline-wrapper::before {
    left: 20px;
    transform: none;
  }

  .timeline-item, .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding-left: 50px;
    justify-content: flex-start;
    padding-bottom: 2.5rem;
  }

  .timeline-dot, .timeline-item:nth-child(even) .timeline-dot {
    left: 10px;
    right: auto;
  }

  .timeline-card {
    width: 100%;
    padding: 1.5rem;
  }

  .about-hero-banner {
    min-height: 360px;
  }

  .about-hero-content {
    padding: 3rem 0;
  }

  .cta-banner {
    padding: 2.5rem 1.5rem;
  }

  .cta-banner h2 {
    font-size: 1.75rem;
  }
}

/* Small Smartphone Breakpoint */
@media (max-width: 480px) {
  .navbar {
    height: 72px;
  }

  .logo-link img {
    height: 46px;
    max-width: 175px;
  }
}


