/* Additional responsive design styles for Target Demographics Website */

/* Mobile menu styles */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--white);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .card-container {
    flex-direction: column;
  }
  
  .card {
    margin-bottom: 20px;
  }
  
  .footer-container {
    flex-direction: column;
  }
  
  .footer-section {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--target-red);
    box-shadow: var(--shadow);
    padding: 20px 0;
    z-index: 100;
  }
  
  nav ul.show {
    display: flex;
  }
  
  nav ul li {
    margin: 10px 20px;
  }
  
  .header-container {
    position: relative;
  }
  
  .tabs {
    flex-wrap: wrap;
  }
  
  .tab {
    flex: 1 1 auto;
    text-align: center;
    margin-bottom: 5px;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .logo h1 {
    font-size: 1.4rem;
  }
  
  .logo img {
    height: 30px;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  .tab {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
  
  .chart {
    height: 300px;
  }
  
  blockquote {
    padding-left: 15px;
    margin: 15px 0;
  }
  
  table th, table td {
    padding: 8px 10px;
    font-size: 0.9rem;
  }
}

/* Print styles */
@media print {
  header, footer, .hero {
    background-color: white !important;
    color: black !important;
    box-shadow: none !important;
  }
  
  nav, .menu-toggle, .btn {
    display: none !important;
  }
  
  body, .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  h2, h3, h4 {
    color: black !important;
    page-break-after: avoid;
  }
  
  p, li {
    page-break-inside: avoid;
  }
  
  .chart-container {
    page-break-inside: avoid;
    background-color: white !important;
    box-shadow: none !important;
  }
  
  .card {
    page-break-inside: avoid;
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
  
  .card-header {
    background-color: white !important;
    color: black !important;
    border-bottom: 1px solid #ddd !important;
  }
}
