/**
 * PrintExpo.ma - Responsive styles
 */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }

  .hero-section {
    height: 500px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }

  .hero-section {
    height: 600px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Mobile styles */
@media (max-width: 767px) {
  .hero-section {
    height: 400px;
  }

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

  .hero-section p {
    font-size: 1rem;
  }

  .tab-button {
    padding: 0.5rem 1rem;
  }

  .audience-tabs .flex {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .audience-tabs .flex::-webkit-scrollbar {
    display: none;
  }

  /* Button consistency across screen sizes */
  .hero-section .flex.flex-wrap.gap-4 a,
  .audience-tabs a.inline-block,
  .py-16.bg-red-600 .flex.flex-wrap.justify-center.gap-4 a {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
  }

  /* Ensure proper spacing on small screens */
  .hero-section .flex.flex-wrap.gap-4 {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
}

/* Medium devices and up */
@media (min-width: 768px) {
  .hero-section .flex.flex-wrap.gap-4 a,
  .audience-tabs a.inline-block,
  .py-16.bg-red-600 .flex.flex-wrap.justify-center.gap-4 a {
    min-width: 200px;
    text-align: center;
  }
}

/* RTL specific responsive adjustments */
html[dir="rtl"] .audience-tabs .flex {
  flex-direction: row-reverse;
}

html[dir="rtl"] .nav-link.active::after {
  right: 0;
  left: auto;
}
