/* ===== RESPONSIVIDADE GERAL ===== */
@media (max-width: 1200px) {
  .content-wrapper {
    padding: 15px;
  }
}

@media (max-width: 992px) {
  .profile-section {
    gap: 20px;
  }
  
  .profile-image {
    flex: 0 0 40%;
  }
}

/* ===== TABLET (768px) ===== */
@media (max-width: 768px) {
  .profile-section {
    flex-direction: column;
  }
  
  .profile-image {
    flex: 1;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .data-row {
    flex-direction: column;
  }
  
  .map-container {
    height: 300px;
  }
  
  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding-bottom: 60px;
  }
  
  .header-datetime {
    position: static;
    margin-top: 10px;
    width: 100%;
    text-align: center;
  }
  
  .translation-buttons {
    position: static;
    margin-top: 10px;
    justify-content: center;
    width: 100%;
    transform: none;
  }
  
  .header-content h1 {
    font-size: 2rem;
  }
  
  .tabs-header {
    flex-direction: column;
  }
  
  .tab-btn {
    width: 100%;
    margin-right: 0;
    border-radius: 6px;
    margin-bottom: 5px;
  }
  
  .modal-content {
    width: 95%;
    margin: 5% auto;
  }
  
  .modal-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .zoom-controls {
    justify-content: center;
  }
  
  .action-controls {
    justify-content: center;
  }
  
  .qsl-content {
    flex-direction: column;
    align-items: center;
  }
  
  .qsl-images {
    flex-direction: row;
    justify-content: center;
    width: 100%;
  }
  
  .qsl-img {
    max-width: 150px;
  }
  
  .software-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  
  .tab-content-wrapper {
    min-height: 400px;
  }
  
  .info-buttons {
    justify-content: center;
  }
  
  /* Ajustes específicos para o acordeão no mobile */
  .solar-data-container {
    padding: 15px;
  }
  
  .accordion-header {
    padding: 10px 12px;
  }
  
  .accordion-header h4 {
    font-size: 0.95rem;
  }
  
  .accordion-content {
    padding: 0 12px;
  }
  
  .accordion-item.active .accordion-content {
    padding: 12px !important;
  }
  
  .solar-item {
    min-height: 70px;
    padding: 10px;
  }
  
  .solar-label {
    font-size: 0.8rem;
  }
  
  .solar-value {
    font-size: 1rem;
  }
  
  .solar-update {
    font-size: 0.8rem;
  }
  
  /* Shack buttons */
  .shack-buttons-container {
    flex-direction: row;
    justify-content: center;
  }
  
  .shack-btn {
    flex: 1;
    min-width: 120px;
    justify-content: center;
  }
  
  .shack-image-large {
    max-height: 250px;
  }
}

/* ===== MOBILE PEQUENO (480px) ===== */
@media (max-width: 480px) {
  .content-wrapper {
    padding: 10px;
  }
  
  .profile-card,
  .info-card,
  .qsl-card,
  .note-box,
  .shack-card {
    padding: 15px;
  }
  
  .solar-data-container {
    padding: 12px;
  }
  
  .header-content h1 {
    font-size: 1.7rem;
  }
  
  .nav-button {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  
  .lang-btn {
    width: 24px;
    height: 18px;
  }
  
  .tab-btn {
    padding: 10px 15px;
    font-size: 0.8rem;
  }
  
  .tab-content-wrapper {
    min-height: 350px;
  }
  
  .software-grid {
    grid-template-columns: 1fr;
  }
  
  .antenna-image-large {
    max-height: 200px;
  }
  
  .museum-message {
    padding: 20px;
  }
  
  .museum-icon {
    font-size: 2rem;
  }
  
  .info-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .logbook-button,
  .beacon-button {
    width: 100%;
    justify-content: center;
  }
  
  /* Ajustes específicos para o acordeão em telas muito pequenas */
  .accordion-header {
    padding: 8px 10px;
  }
  
  .accordion-header h4 {
    font-size: 0.9rem;
  }
  
  .accordion-content {
    padding: 0 10px;
  }
  
  .accordion-item.active .accordion-content {
    padding: 10px !important;
  }
  
  .data-row {
    gap: 5px;
  }
  
  .solar-item {
    min-height: 65px;
    padding: 8px;
  }
  
  .solar-label {
    font-size: 0.75rem;
  }
  
  .solar-value {
    font-size: 0.9rem;
  }
  
  .shack-btn {
    padding: 8px 10px;
    font-size: 0.8rem;
  }
  
  .shack-image-large {
    max-height: 200px;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .nav-button,
  .translation-buttons,
  .callout-box,
  .map-container,
  .modal-controls,
  .zoom-controls,
  .action-controls {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .profile-card,
  .info-card,
  .qsl-card,
  .note-box,
  .shack-card,
  .solar-data-container {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
    background: white !important;
    color: black !important;
  }
  
  .qsl-img {
    filter: grayscale(100%);
  }
}
