/* Responsive Styles */

/* Small Screens (Mobile) */
@media (max-width: 639px) {
  .section-title {
    font-size: 1.875rem;
  }
  
  .slide-title {
    font-size: 2rem;
  }
  
  .slide-description {
    font-size: 1rem;
  }
  
  .carousel-prev,
  .carousel-next {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.25rem;
  }
  
  .testimonial-text {
    font-size: 1rem;
  }
  
  .cta-content h2 {
    font-size: 1.875rem;
  }
  
  .cta-content p {
    font-size: 1rem;
  }
  
  .footer-grid {
    gap: 2rem;
  }
}

/* Medium Screens (Tablet) */
@media (min-width: 640px) and (max-width: 1023px) {
  .slide-title {
    font-size: 2.5rem;
  }
  
  .service-card {
    max-width: 20rem;
    margin: 0 auto;
  }
  
  .sustainability-image,
  .about-image {
    max-width: 32rem;
    margin: 0 auto;
  }
  
  .footer-grid {
    row-gap: 2.5rem;
  }
}

/* Large Screens (Desktop) */
@media (min-width: 1024px) {
  .slide-title {
    font-size: 3.5rem;
  }
  
  .slide-description {
    font-size: 1.25rem;
    max-width: 42rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .section-subtitle {
    font-size: 1.25rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
  }
  
  .about-grid,
  .sustainability-grid {
    gap: 4rem;
  }
  
  .about-content p,
  .sustainability-content p {
    font-size: 1.125rem;
  }
  
  .cta-content h2 {
    font-size: 2.5rem;
  }
  
  .cta-content p {
    font-size: 1.25rem;
  }
}

/* Mobile Navigation Adjustments */
@media (max-width: 1023px) {
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  body.menu-open {
    overflow: hidden;
  }
}

/* Hero Carousel Responsive */
@media (max-width: 639px) {
  .hero-carousel {
    height: 70vh;
  }
  
  .slide-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .slide-buttons .btn {
    width: 100%;
  }
}

/* Services Grid Responsive */
@media (max-width: 639px) {
  .services-grid {
    gap: 1.5rem;
  }
}

/* Terminals Map Responsive */
@media (max-width: 767px) {
  .map-container {
    height: 300px;
  }
  .terminal-card{
    display: block !important;
  }
  .terminal-image{
    width: 100% !important;
  }
  .terminal-content{
    width: 100% !important;
    margin-bottom: 40px;
  }
  
  .location-marker .marker-dot {
    width: 0.75rem;
    height: 0.75rem;
  }
  
  .location-info {
    width: 10rem;
  }
  
  .location-info h4 {
    font-size: 0.875rem;
  }
  
  .location-info p {
    font-size: 0.75rem;
  }
}

/* Footer Responsive */
@media (max-width: 639px) {
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    width: 100%;
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
  }
  
  .btn-subscribe {
    width: 100%;
    border-radius: var(--border-radius);
  }
  
  .footer-legal {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}