/* ========================================
   LAYOUT STYLES
   ======================================== */

/* ========================================
   MAIN CONTAINER
   ======================================== */

.weather-dashboard {
  display: grid;
  grid-template-columns: 100px 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-auto-rows: minmax(120px, auto);
  gap: 10px;
  padding: 10px;
  max-width: 100%;
  box-sizing: border-box;
  align-items: stretch;
  justify-items: stretch;
  grid-auto-flow: row dense;
}

/* ========================================
   HEADER ROW
   ======================================== */

.header-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 0;
  margin-bottom: 10px;
  background-color: #a12d29;
  border: 20px solid #ffbc00;
  border-radius: 30px;
  padding: 20px;
  box-sizing: border-box;
}

/* ========================================
   CLOCK AND DATE HEADER
   ======================================== */

.clock-date-header {
  background-color: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  text-align: center;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.clock-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.clock-section h1 {
  font-size: 3em;
  font-weight: bold;
  color: #FFFFFF;
  margin: 0;
  font-family: 'Courier New', monospace;
}

.clock-section #timezone-indicator {
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFFFF;
  margin-left: 10px;
  font-family: 'Courier New', monospace;
  opacity: 1;
}

.date-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.date-section h3 {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFFFFF;
  margin: 0;
}

.header-separator {
  width: 2px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.3);
  margin: 0 20px;
}

/* ========================================
   LOCATION HEADER
   ======================================== */

.location-header {
  background-color: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  text-align: center;
  box-sizing: border-box;
}

.location-header h5 {
  font-size: 2.8em;
  font-weight: bold;
  color: #FFFFFF;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* ========================================
   SECTION LABELS
   ======================================== */

.section-label {
  grid-column: 1;
  grid-row: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../images/air.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 30px;
  padding: 20px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.section-label.sea {
  background-image: url('../images/sea.jpg');
}

.section-label h5 {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFFFFF;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* ========================================
   WARNINGS SECTION
   ======================================== */

.warnings-section {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
}

/* ========================================
   EMERGENCY SECTION
   ======================================== */

.emergency-section {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ========================================
   DISCLAIMER SECTION
   ======================================== */

.disclaimer-section {
  grid-column: 1 / -1;
  background-color: #a12d29;
  border: 20px solid #ffbc00;
  border-radius: 30px;
  padding: 20px;
  text-align: center;
}

.disclaimer-section h1 {
  font-size: 2em;
  color: #FFFFFF;
  margin: 0;
}

/* ========================================
   ADVERTS SECTION
   ======================================== */

.adverts-section {
  grid-column: 1 / -1;
  background-color: #000000;
  border-radius: 30px;
  padding: 0;
  overflow: hidden;
}

/* ========================================
   QR CODE SECTION
   ======================================== */

.qr-section {
  grid-column: 1 / -1;
  background-color: #004d97;
  border-radius: 30px;
  padding: 20px;
  text-align: center;
  color: #FFFFFF;
} 