/**
 * Common Styles for Weather Theme
 * Version: 1.0.17
 * Updated: 2025-05-28
 */

/* Reset and Base Styles */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #1a202c;
  background-image: url('/wp-content/themes/weather/assets/images/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #edf2f7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Main content area */
#page {
  flex: 1 0 auto;
}

/* Header */
.site-header {
  background-color: #2d3748;
  padding: 1rem;
  text-align: center;
}

.site-title {
  margin: 0;
  font-size: 1.5rem;
  color: #ffffff;
}

/* Footer */
.site-footer {
  background: linear-gradient(90deg, rgba(45, 55, 72, 0.2) 0%, rgba(74, 85, 104, 0.2) 100%) !important;
  padding: 1rem;
  text-align: center;
  color: #ffffff; /* Changed to pure white for better contrast */
  width: 100%;
  flex-shrink: 0;
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.site-footer .site-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-footer .site-info p {
  margin: 0.2rem 0;
  font-size: 0.775rem;
}

.site-footer .back-to-top {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #3b82f6;
  color: #ffffff;
  text-decoration: none;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  transition: background-color 0.3s ease;
}

.site-footer .back-to-top:hover {
  background-color: #60a5fa;
}

.nws-alerts-container {
    display: none;
}

/* Current Conditions Title */
.elementor-heading-title {
  font-size: 1.5rem !important; /* Increased font size for "Current Conditions" */
  color: #ffffff !important;
  margin-bottom: 0.5rem !important;
}
