/* ============================================================
   Base
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #000;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  background-color: #0d2f38;
  color: #fff;
  padding: 20px 0;
  position: relative;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo a { display: block; line-height: 0; }

.logo-svg {
  height: 40px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
  padding: 5px 10px;
}

.main-nav a:hover,
.main-nav a.active { color: #ccc; }

/* Shop Online CTA — pulse tracing around the border */
@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes border-trace {
  to { --border-angle: 360deg; }
}

.main-nav .shop-link {
  position: relative;
  border: 2px solid rgba(228, 148, 52, 0.5);
  padding: 8px 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #fff;
  background:
    linear-gradient(#e49434, #e49434) padding-box,
    conic-gradient(from var(--border-angle), rgba(228,148,52,0.5) 55%, #ff6b35 72%, #fff 85%, #ff6b35 92%, rgba(228,148,52,0.5) 100%) border-box;
  box-shadow: 0 0 12px rgba(228, 148, 52, 0.5), 0 0 24px rgba(228, 148, 52, 0.2);
  animation: border-trace 3s linear infinite;
  transition: border-color 0.3s, color 0.3s, background 0.3s, box-shadow 0.3s;
}

.main-nav .shop-link:hover {
  background:
    linear-gradient(#cf7e20, #cf7e20) padding-box,
    linear-gradient(#cf7e20, #cf7e20) border-box;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 16px rgba(228, 148, 52, 0.7), 0 0 32px rgba(228, 148, 52, 0.3);
  animation: none;
}

/* ============================================================
   Hero banner
   ============================================================ */
.shop-banner {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  position: relative;
}

.shop-banner img {
  width: 100%;
  height: auto;
  display: block;
  background-color: #2c2c2c;
}

.home-banner img { min-height: 400px; object-fit: cover; }

/* ============================================================
   Main content
   ============================================================ */
.main-content {
  min-height: calc(100vh - 200px);
  padding: 40px 0;
}

.webcam-page .main-content { padding-top: 0; }

.page-header { margin-bottom: 40px; }

.page-header h1 {
  font-size: 42px;
  color: #000;
  border-bottom: 2px solid #000;
  padding-bottom: 15px;
  font-weight: 600;
  margin-top: 1em;
}

.lead {
  font-size: 22px;
  color: #000;
  margin-bottom: 30px;
  font-weight: 500;
}

.content-section { margin-bottom: 60px; }

.content-section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #000;
  font-weight: 600;
}

/* ============================================================
   Webcam maintenance panel
   ============================================================ */
.webcam-panel {
  margin: 40px 0;
  background: #f9f9f9;
  border: 1px solid #ddd;
}

.webcam-panel-inner {
  padding: 80px 40px;
  text-align: center;
}

.webcam-icon { font-size: 64px; margin-bottom: 20px; }

.webcam-panel h2 {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 15px 0;
}

.webcam-panel p {
  font-size: 16px;
  color: #666;
  margin: 0 0 10px 0;
}

.webcam-panel p:last-child { margin-bottom: 0; }

/* ============================================================
   Current weather
   ============================================================ */
.weather-current {
  padding: 40px;
  margin: 40px 0;
  background: #f9f9f9;
}

.weather-current h2 {
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: 600;
  text-align: center;
}

.weather-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  text-align: center;
}

.weather-card {
  padding: 20px;
  background: #fff;
  border: 1px solid #ddd;
}

.weather-emoji { font-size: 48px; margin-bottom: 10px; line-height: 1; }

.weather-value-lg {
  font-size: 32px;
  font-weight: 600;
  margin: 0;
}

.weather-label-sm {
  font-size: 14px;
  color: #666;
  margin: 5px 0 0 0;
}

.weather-label {
  font-size: 14px;
  color: #666;
  margin: 0 0 10px 0;
  font-weight: 600;
}

.weather-value {
  font-size: 28px;
  font-weight: 600;
  margin: 0;
}

/* ============================================================
   5-day forecast
   ============================================================ */
.weather-forecast {
  padding: 40px;
  margin: 40px 0;
}

.weather-forecast h2 {
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: 600;
  text-align: center;
}

.forecast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.forecast-card {
  text-align: center;
  padding: 20px;
  background: #f9f9f9;
  border: 1px solid #ddd;
}

.forecast-day {
  font-weight: 600;
  margin: 0 0 15px 0;
  font-size: 18px;
}

.forecast-emoji {
  font-size: 48px;
  margin: 15px 0;
  line-height: 1;
}

.forecast-desc {
  font-size: 14px;
  color: #666;
  margin: 10px 0;
}

.forecast-temp { margin: 5px 0; }

.forecast-rain {
  margin: 5px 0;
  color: #0066cc;
}

.weather-error {
  padding: 30px;
  margin: 40px 0;
  background: #f9f9f9;
  border: 1px solid #ddd;
  text-align: center;
  color: #666;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background-color: #000;
  color: #fff;
  padding: 40px 0 20px;
  margin-top: 60px;
  border-top: 1px solid #000;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h3 {
  margin-bottom: 15px;
  color: #fff;
  font-weight: 600;
}

.footer-section p,
.footer-section a {
  color: #ccc;
  font-weight: 300;
}

.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 10px; }

.footer-section a {
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover { color: #fff; }

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  color: #999;
  font-weight: 300;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
  .page-header h1 { font-size: 32px; }

  .logo-svg { height: 32px; }

  .main-nav .shop-link {
    padding: 6px 14px;
    font-size: 14px;
  }

  .webcam-panel-inner { padding: 50px 20px; }
  .webcam-panel h2 { font-size: 22px; }

  .weather-current,
  .weather-forecast { padding: 20px; }
}
