/*
 * Day Side-by-Side — Interactive Tool Styles
 * swap.phoenixareahome.com/tools/day
 * Accent: amber (#b45309)
 */

/* === Hero === */

.day-hero {
  background: #fff;
  padding: 3.5rem 1.5rem 2.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.day-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}

.day-hero-tag {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #b45309;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.day-hero-inner h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
  margin: 0 0 1rem;
}

.day-hero-inner .lead {
  font-size: 1.1875rem;
  color: #334155;
  line-height: 1.6;
  max-width: 640px;
  margin: 0;
}

/* === Selectors === */

.day-selectors {
  background: #fffbeb;
  border-bottom: 1px solid #fde68a;
  padding: 1.25rem 1.5rem;
}

.day-selectors-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.day-selector-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.day-selector-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: #92400e;
  min-width: 5.5rem;
}

.day-selector-btns {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.day-city-btn,
.day-season-btn {
  padding: 0.5rem 1rem;
  border: 2px solid #fde68a;
  border-radius: 6px;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  color: #92400e;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  min-height: 44px;
  font-family: inherit;
}

.day-city-btn:hover,
.day-season-btn:hover {
  border-color: #b45309;
  background: #fef3c7;
}

.day-city-btn.active,
.day-season-btn.active {
  background: #b45309;
  color: #fff;
  border-color: #b45309;
}

.day-city-btn:focus-visible,
.day-season-btn:focus-visible {
  outline: 3px solid #b45309;
  outline-offset: 2px;
}

/* === Column Labels === */

.day-timeline-section {
  padding: 2rem 1.5rem 3rem;
  background: #f8fafc;
}

.day-timeline-inner {
  max-width: 900px;
  margin: 0 auto;
}

.day-timeline-labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.day-col-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #475569;
  padding-left: 0.75rem;
}

.day-col-label--phx {
  color: #b45309;
}

/* === Weather Row === */

.day-weather-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.day-weather-col {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.25rem;
}

.day-weather-col--phx {
  background: #fffbeb;
  border-color: #fde68a;
}

.day-weather-city {
  font-size: 1.125rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.day-weather-detail {
  font-size: 1rem;
  color: #334155;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.day-weather-sun {
  font-size: 0.875rem;
  color: #475569;
}

/* === Block Row === */

.day-block-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.day-block {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1rem;
  border-left: 4px solid #e2e8f0;
}

.day-block--phx {
  border-left-color: #b45309;
}

/* Category colors */

.day-cat-morning {
  border-left-color: #0ea5e9;
}

.day-cat-morning.day-block--phx {
  border-left-color: #b45309;
}

.day-cat-outdoor {
  border-left-color: #22c55e;
}

.day-cat-outdoor.day-block--phx {
  border-left-color: #b45309;
}

.day-cat-work {
  border-left-color: #6366f1;
}

.day-cat-work.day-block--phx {
  border-left-color: #b45309;
}

.day-cat-evening {
  border-left-color: #8b5cf6;
}

.day-cat-evening.day-block--phx {
  border-left-color: #b45309;
}

.day-block-time {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #475569;
  margin-bottom: 0.25rem;
}

.day-block-activity {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.day-block-detail {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.5;
}

/* === Insight === */

.day-insight-section {
  padding: 0 1.5rem 2.5rem;
  background: #f8fafc;
}

.day-insight-inner {
  max-width: 860px;
  margin: 0 auto;
}

.day-insight {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 1.5rem;
}

.day-insight-title {
  font-size: 1rem;
  font-weight: 700;
  color: #b45309;
  margin: 0 0 0.5rem;
}

.day-insight-text {
  font-size: 1rem;
  color: #334155;
  line-height: 1.6;
  margin: 0;
}

/* === CTA === */

.day-cta-section {
  background: #fff;
  border-top: 1px solid #e2e8f0;
  padding: 3rem 1.5rem;
}

.day-cta-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.day-cta-inner h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.75rem;
}

.day-cta-inner p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

/* === Responsive === */

@media (max-width: 767px) {
  .day-hero-inner h1 {
    font-size: 1.875rem;
  }

  .day-weather-row,
  .day-block-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .day-timeline-labels {
    grid-template-columns: 1fr;
  }

  .day-col-label--phx {
    display: none;
  }

  .day-weather-col--phx .day-weather-city::before {
    content: 'vs ';
    color: #b45309;
  }

  .day-block--phx .day-block-time::after {
    content: ' · Phoenix';
    color: #b45309;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 600;
  }

  .day-selectors {
    padding: 1rem;
  }

  .day-timeline-section {
    padding: 1.5rem 1rem 2rem;
  }

  .day-hero {
    padding: 2.5rem 1rem 2rem;
  }

  .day-insight-section {
    padding: 0 1rem 2rem;
  }
}

@media (max-width: 480px) {
  .day-city-btn,
  .day-season-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
  }

  .day-selector-label {
    min-width: auto;
    width: 100%;
  }
}
