/* ═══ WEATHER WIDGET ════════════════════════════════════════ */
#weather-section {
  background: linear-gradient(135deg, #1a1610 0%, #22201a 100%);
  padding: 0;
  border-top: 1px solid rgba(187,168,109,0.12);
  border-bottom: 1px solid rgba(187,168,109,0.12);
}
#weather-widget {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s ease, transform .8s ease;
}
#weather-widget.loaded {
  opacity: 1;
  transform: translateY(0);
}

/* Loading state */
.weather-loading {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; padding: 40px 0;
  color: rgba(187,168,109,0.45);
  font-family: 'Jost', sans-serif;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
}
.weather-pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(187,168,109,0.4);
  animation: wpulse 1.2s ease infinite;
}
@keyframes wpulse {
  0%,100%{transform:scale(1);opacity:.4}
  50%{transform:scale(1.6);opacity:1}
}

/* Main layout */
.w-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0;
  padding: 36px 0;
}
.w-divider {
  width: 1px;
  height: 100px;
  background: linear-gradient(to bottom, transparent, rgba(187,168,109,0.3), transparent);
  margin: 0 48px;
}

/* Left — current weather */
.w-left { display: flex; flex-direction: column; gap: 20px; }
.w-loc {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Jost', sans-serif;
  font-size: 10px; letter-spacing: .22em;
  color: rgba(187,168,109,0.6);
  text-transform: uppercase;
}
.w-loc-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #daba74;
  box-shadow: 0 0 8px rgba(218,186,116,0.6);
  animation: locpulse 2s ease infinite;
}
@keyframes locpulse {
  0%,100%{box-shadow:0 0 4px rgba(218,186,116,.5)}
  50%{box-shadow:0 0 12px rgba(218,186,116,.9)}
}
.w-current { display: flex; align-items: center; gap: 20px; }
.w-icon-wrap { flex-shrink: 0; }

/* SVG icon animations */
.w-icon.big .sun-core { animation: sunpulse 3s ease infinite; transform-origin: center; }
@keyframes sunpulse { 0%,100%{opacity:.9} 50%{opacity:1} }
.w-icon.big .sun-ray { animation: rayglint 3s ease infinite; }
.w-icon.big .sun-ray:nth-child(2){animation-delay:.1s}
.w-icon.big .sun-ray:nth-child(3){animation-delay:.2s}
.w-icon.big .sun-ray:nth-child(4){animation-delay:.3s}
.w-icon.big .sun-ray:nth-child(5){animation-delay:.4s}
.w-icon.big .sun-ray:nth-child(6){animation-delay:.5s}
.w-icon.big .sun-ray:nth-child(7){animation-delay:.6s}
.w-icon.big .sun-ray:nth-child(8){animation-delay:.7s}
@keyframes rayglint { 0%,100%{opacity:.7;stroke-width:2} 50%{opacity:1;stroke-width:3} }
.w-icon.big .cloud { animation: clouddrift 4s ease infinite; }
@keyframes clouddrift { 0%,100%{transform:translateX(0)} 50%{transform:translateX(3px)} }
.w-icon.big .drop { animation: rainfall 1.2s linear infinite; }
@keyframes rainfall { 0%{opacity:0;transform:translateY(-4px)} 40%{opacity:1} 100%{opacity:0;transform:translateY(6px)} }
.w-icon.big .lightning { animation: flash 2.5s ease infinite; }
@keyframes flash { 0%,90%,100%{opacity:1} 95%{opacity:0.2} }

.w-temp-wrap {}
.w-temp {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px; font-weight: 300; line-height: 1;
  color: #faf8f4;
}
.w-deg { font-size: 28px; color: #daba74; vertical-align: super; }
.w-cond {
  font-family: 'Jost', sans-serif;
  font-size: 12px; letter-spacing: .16em;
  color: rgba(187,168,109,0.7);
  text-transform: uppercase;
  margin-top: 4px;
}

/* Meta pills */
.w-meta { display: flex; gap: 10px; flex-wrap: wrap; }
.w-meta-pill {
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(187,168,109,0.08);
  border: .5px solid rgba(187,168,109,0.18);
  padding: 8px 14px;
  min-width: 80px;
}
.w-meta-pill span {
  font-family: 'Jost', sans-serif;
  font-size: 8px; letter-spacing: .16em;
  color: rgba(187,168,109,0.55);
  text-transform: uppercase;
}
.w-meta-pill strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; font-weight: 400;
  color: #faf8f4;
}

/* Forecast — right */
.w-forecast {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.fc-day {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; padding: 20px 16px;
  background: rgba(255,255,255,0.02);
  transition: background .3s;
  cursor: default;
}
.fc-day:hover { background: rgba(187,168,109,0.06); }
.fc-label {
  font-family: 'Jost', sans-serif;
  font-size: 9px; letter-spacing: .2em;
  color: rgba(187,168,109,0.6);
  text-transform: uppercase;
}
.fc-temps { display: flex; gap: 8px; align-items: baseline; }
.fc-hi {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 400; color: #faf8f4;
}
.fc-lo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px; color: rgba(250,248,244,0.35);
}
.fc-cond {
  font-size: 9px; letter-spacing: .12em;
  color: rgba(187,168,109,0.5);
  text-transform: uppercase; text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
  #weather-widget { padding: 0 24px; }
  .w-wrap { grid-template-columns: 1fr; gap: 28px; padding: 32px 0; }
  .w-divider { display: none; }
  .w-temp { font-size: 52px; }
  .w-forecast { grid-template-columns: repeat(3,1fr); }
  .fc-day { padding: 14px 8px; }
}
@media (max-width: 480px) {
  .w-meta { gap: 6px; }
  .w-meta-pill { min-width: 70px; padding: 6px 10px; }
}
