/* ===== CABEÇALHO ===== */
#main-header {
  background: var(--secondary-dark);
  padding: 20px 0;
  border-bottom: 2px solid var(--accent-blue);
  position: relative;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  padding-bottom: 40px;
}

.header-content h1 {
  margin: 0;
  font-size: 3rem;
  font-weight: 700;
}

.header-content h1 i {
  color: var(--highlight-blue);
  margin-right: 10px;
}

.header-datetime {
  position: absolute;
  bottom: 2px;
  right: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: 'Roboto Mono', monospace;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.2);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

/* ===== BOTÕES DE TRADUÇÃO ===== */
.translation-buttons {
  display: flex;
  gap: 5px;
  position: absolute;
  bottom: 2px;
  left: 20px;
  flex-wrap: wrap;
  transform: translateX(100px);
}

.lang-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 2px;
  cursor: pointer;
  transition: all var(--transition-normal);
  width: 28px;
  height: 21px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-btn img {
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.lang-btn:hover {
  border-color: rgba(79, 195, 247, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.lang-btn.active {
  border-color: var(--highlight-blue);
  box-shadow: 0 0 8px rgba(79, 195, 247, 0.5);
  transform: translateY(-1px);
}

/* ===== CARDS ===== */
.profile-card,
.info-card,
.qsl-card,
.note-box,
.shack-card {
  background: var(--accent-blue);
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--shadow-light);
}

.profile-card h2,
.info-card h3,
.qsl-card h3,
.shack-card h3 {
  margin-top: 0;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--highlight-blue);
}

/* ===== INFO CARD ===== */
.info-card ul {
  list-style-position: inside;
  margin-bottom: 15px;
}

.info-card li {
  margin-bottom: 8px;
  padding-left: 5px;
}

/* ===== QSL CARD ===== */
.qsl-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.qsl-text {
  flex: 1;
}

.qsl-images {
  flex: 0 0 auto;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qsl-img {
  max-width: 200px;
  max-height: 150px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
}

.platforms span {
  background: rgba(79, 195, 247, 0.2);
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 0.9rem;
  border: 1px solid var(--border-color);
}

.qsl-address {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 8px;
  margin: 15px 0;
  font-style: italic;
}

/* ===== NOTE BOX ===== */
.note-box {
  border-left: 4px solid #ff9800;
  background: rgba(255, 152, 0, 0.1);
}

/* ===== CALLOUT BOX ===== */
.callout-box {
  background: var(--accent-blue);
  border-radius: var(--border-radius);
  padding: 20px;
  text-align: center;
  font-weight: 500;
  box-shadow: var(--shadow-light);
}

/* ===== MAP CONTAINER ===== */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  background: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== SOLAR DATA CONTAINER ===== */
.solar-data-container {
  background: var(--accent-blue);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--shadow-light);
}

.solar-data-container h3 {
  margin-top: 0;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 10px;
  font-size: 1.3rem;
  color: var(--highlight-blue);
  text-align: center;
}

/* ===== DATA CATEGORY ===== */
.data-category {
  margin-bottom: 25px;
}

.data-category h4 {
  margin-bottom: 15px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
}

/* ===== SOLAR ITEMS ===== */
.solar-item {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all var(--transition-normal);
}

.solar-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.solar-label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 0.85rem;
  opacity: 0.9;
  color: var(--text-muted);
}

.solar-value {
  font-family: "Roboto Mono", monospace;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
}

.solar-update {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: 15px;
  text-align: right;
  color: var(--text-muted);
}

/* ===== RODAPÉ ===== */
footer {
  background: var(--secondary-dark);
  padding: 25px 0;
  margin-top: 40px;
  text-align: center;
  border-top: 2px solid var(--accent-blue);
}

.footer-content a {
  color: var(--highlight-blue);
  text-decoration: none;
}

.footer-content a:hover {
  text-decoration: underline;
}

/* ===== BOTÕES DE LOGBOOK E BEACON ===== */
.info-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.logbook-button,
.beacon-button {
    background: linear-gradient(135deg, rgba(26, 95, 180, 0.9) 0%, rgba(13, 71, 161, 0.9) 100%);
    color: white;
    border: 2px solid rgba(93, 173, 226, 0.6);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    min-width: 140px;
    justify-content: center;
}

.logbook-button::before,
.beacon-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.logbook-button:hover::before,
.beacon-button:hover::before {
    left: 100%;
}

.logbook-button:hover,
.beacon-button:hover {
    background: linear-gradient(135deg, rgba(28, 113, 216, 0.9) 0%, rgba(21, 101, 192, 0.9) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(26, 95, 180, 0.3);
    border-color: rgba(93, 173, 226, 0.8);
}

.logbook-button:active,
.beacon-button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Estilo específico para o botão Beacon */
.beacon-button {
    background: linear-gradient(135deg, rgba(38, 162, 105, 0.9) 0%, rgba(26, 122, 76, 0.9) 100%);
    border: 2px solid rgba(51, 209, 122, 0.6);
}

.beacon-button:hover {
    background: linear-gradient(135deg, rgba(46, 194, 126, 0.9) 0%, rgba(38, 162, 105, 0.9) 100%);
    box-shadow: 0 8px 20px rgba(38, 162, 105, 0.3);
    border-color: rgba(51, 209, 122, 0.8);
}

/* Ícones nos botões */
.logbook-button i,
.beacon-button i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.logbook-button:hover i,
.beacon-button:hover i {
    transform: scale(1.1);
}

/* Responsividade */
@media (max-width: 768px) {
    .info-buttons {
        gap: 12px;
        justify-content: center;
    }
    
    .logbook-button,
    .beacon-button {
        padding: 10px 20px;
        font-size: 0.95rem;
        min-width: 130px;
    }
}

@media (max-width: 480px) {
    .info-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .logbook-button,
    .beacon-button {
        width: 100%;
        justify-content: center;
    }
}
