/* Mobile First Responsive Design */

/* Small devices (phones, 480px and down) */
@media (max-width: 480px) {
  .chatbot-window {
    width: 90vw;
    height: 70vh;
    right: 5vw;
    left: 5vw;
  }
  
  .chatbot-container {
    right: 5vw;
    bottom: 10px;
  }

  .hero-section h1 {
    font-size: 1.75rem;
  }
  
  .hero-section p {
    font-size: 0.9rem;
  }
  
  .countdown-item {
    width: 100%;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .sponsor-grid {
    grid-template-columns: 1fr;
  }

  #map {
    height: 300px;
  }
}

/* Medium devices (tablets, 768px and down) */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
  
  .countdown-container {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .countdown-item {
    width: 45%;
    margin-bottom: 0.5rem;
  }
  
  .map-container {
    height: 300px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mobile-menu-hidden {
    display: none;
  }

  .desktop-only {
    display: none;
  }
}

/* Large devices (desktops, 1024px and up) */
@media (min-width: 1024px) {
  .mobile-only {
    display: none;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Landscape mode for mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .chatbot-window {
    height: 80vh;
  }
  
  .hero-section {
    padding: 2rem 1rem;
  }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo-image {
    background-image: url('../img/logo@2x.png');
    background-size: contain;
  }
}

/* Print styles */
@media print {
  .chatbot-container,
  .navigation,
  .footer-social {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}