/* Location Page Styles - Unified with State Page Styles */

/* =================================
   TYPOGRAPHY SYSTEM (SCOPED)
   ================================= */
.location-content {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.location-content h1, .location-content .h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #2c3e50;
  text-transform: uppercase;
}

.location-content h2, .location-content .h2 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.875rem;
  text-transform: uppercase;

}

.location-content h3, .location-content .h3 {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: #2c3e50;
  text-transform: uppercase;
}

.location-content h4, .location-content .h4 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.625rem;
  color: #2c3e50;
  text-transform: uppercase;
}

.location-content h5, .location-content .h5 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  color: #2c3e50;
  text-transform: uppercase;
}

.location-content h6, .location-content .h6 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  color: #2c3e50;
  text-transform: uppercase;
}

.location-content p, .location-content .text-body {
  font-size: .90rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #333;
}

.location-content .lead {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: #555;
}

.location-content small, .location-content .small {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #666;
}

.location-content .text-xs {
  font-size: 0.75rem;
  line-height: 1.4;
  color: #666;
}

.location-content .btn {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.location-content .btn-sm {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
}

.location-content .btn-lg {
  font-size: 1.125rem;
  font-weight: 600;
  padding: .5rem 1rem;
}

.location-content .card-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.location-content .card-text {
  font-size: .9rem;
  line-height: 1.5;
  color: #555;
}

.location-content .badge {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
}

/* =================================
   BRAND COLORS & ELEMENTS
   ================================= */
.text-warmzone {
  color: #ed7600 !important;
}

.bg-warmzone-orange {
  background-color: #ed7600 !important;
}

.border-warmzone {
  border-color: #ed7600 !important;
}

.bg-warmzone {
  background-color: white;
}

/* =================================
   LAYOUT SECTIONS
   ================================= */
.hero-section,
.hero-state {
  background: linear-gradient(135deg, #000000 0%, #000000 100%) center/cover;
  min-height: 400px;
}

.map-container {
  height: 500px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  min-height: 600px;
}

.usa-image {
  max-width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
}

/* =================================
   BUTTONS
   ================================= */
.btn-warmzone {
  background: #ed7600;
  border: 2px solid #ed7600;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(237, 118, 0, 0.2);
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
}

.btn-warmzone:hover,
.btn-warmzone:focus {
  background: #d26900;
  border-color: #d26900;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(237, 118, 0, 0.4);
  text-decoration: none;
  outline: none;
}

.btn-warmzone:active {
  background: #d26900;
  border-color: #d26900;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(237, 118, 0, 0.3);
  text-decoration: none;
  outline: none;
}

.btn-outline-warmzone {
  border: 2px solid #ed7600;
  color: #ed7600;
  background: transparent;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
}

.btn-outline-warmzone:hover,
.btn-outline-warmzone:focus {
  background: #ed7600;
  border-color: #ed7600;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(237, 118, 0, 0.3);
  text-decoration: none;
  outline: none;
}

.btn-outline-warmzone:active {
  background: #d26900;
  border-color: #d26900;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(237, 118, 0, 0.25);
  text-decoration: none;
  outline: none;
}

.btn-outline-light {
  border: 2px solid #ed7600;
  color: #ed7600;
  background: transparent;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  background: #ed7600;
  border-color: #ed7600;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(237, 118, 0, 0.3);
  text-decoration: none;
  outline: none;
}

.btn-outline-light:active {
  background: #d26900;
  border-color: #d26900;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(237, 118, 0, 0.25);
  text-decoration: none;
  outline: none;
}

.btn-light {
  background: #f8f9fa;
  border: 2px solid #f8f9fa;
  color: #ed7600;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-light:hover,
.btn-light:focus {
  background: #e9ecef;
  border-color: #ed7600;
  color: #d26900;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(237, 118, 0, 0.2);
  text-decoration: none;
  outline: none;
}

.btn-light:active {
  background: #dee2e6;
  border-color: #d26900;
  color: #d26900;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(237, 118, 0, 0.15);
  text-decoration: none;
  outline: none;
}

.btn-link {
  color: #2c3e50;
  text-decoration: none;
  border: none;
  padding: 0;
  text-align: left;
  width: 100%;
  white-space: normal;
  word-wrap: break-word;
  hyphens: auto;
}

.btn-link:hover,
.btn-link:focus {
  color: #ed7600;
  text-decoration: none;
  outline: none;
}

.btn-link.collapsed {
  color: #495057;
}

/* =================================
   CARDS
   ================================= */
.city-card,
.state-card {
  transition: all 0.3s ease;
  cursor: pointer;
}

.city-card:hover,
.state-card:hover {
  border-color: #ed7600;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(237, 118, 0, 0.15);
}

.city-card.active,
.state-card.active {
  background-color: #ed7600;
  color: white;
  border-color: #ed7600;
}

.city-card.active .card-text,
.city-card.active .text-muted,
.state-card.active .card-text,
.state-card.active .text-muted {
  color: rgba(255, 255, 255, 0.8);
  background-color: #ed7600;
}

.state-card.active .card-title {
  color: white;
}

.feature-card {
  border-left: 4px solid #ed7600;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-card {
  background-color: #f8f9fa;
  border-left: 4px solid #ed7600;
}

.testimonial-card .card-body {
  background-color: transparent;
}

.testimonial-card footer {
  background-color: transparent;
}

.stats-card {
  background-color: #ed7600;
  color: white;
  min-height: 100px;
  border: none;
  border-radius: 8px;
}

.stats-card .card-body {
  background-color: #ed7600 !important;
  color: white !important;
  padding: 0.75rem;
  border-radius: 5px;
}

.stats-bg {
  background-color: #ed7600;
}

.card-header.bg-light {
  background-color: #eeeeee !important;
  border-bottom: 2px solid #ed7600;
  transition: background-color 0.3s ease;
}

.card-header.bg-light:hover {
  background-color: #e9ecef !important;
}

.card-header.bg-light[aria-expanded="true"] {
  background-color: #ed7600 !important;
}

.card-header.bg-light[aria-expanded="true"] h4,
.card-header.bg-light[aria-expanded="true"] .text-warmzone {
  color: white !important;
  background-color: #ed7600;
}

.card-header.bg-light[aria-expanded="true"] .badge-warmzone {
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
}

.card-header.bg-light[aria-expanded="true"] .collapse-icon {
  color: white !important;
}

.card-header button,
.card-header .btn,
.accordion .card-header button,
.accordion .card-header .btn {
  background-color: transparent !important;
  border: none !important;
  color: inherit !important;
}

.card-header button:hover,
.card-header .btn:hover,
.card-header button:focus,
.card-header .btn:focus,
.accordion .card-header button:hover,
.accordion .card-header .btn:hover,
.accordion .card-header button:focus,
.accordion .card-header .btn:focus {
  background-color: transparent !important;
  box-shadow: none !important;
  color: #ed7600 !important;
}

.card-header button:active,
.card-header .btn:active,
.accordion .card-header button:active,
.accordion .card-header .btn:active {
  background-color: transparent !important;
  color: #ed7600 !important;
}

.list-unstyled {
  font-size: .9rem;
}

/* =================================
   BADGES & LABELS
   ================================= */
.project-badge,
.badge-warmzone {
  background: #ed7600;
  color: white;
  border-radius: 0.25rem;
}

.city-card.active .project-badge {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

/* =================================
   FAQ & ACCORDION
   ================================= */
.accordion .card-header {
  border-bottom: 2px solid #ed7600;
  background-color: #f8f9fa;
  padding: 0;
}

.accordion .card-header h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  color: #ed7600;
}

.accordion .card-header button {
  padding: 1rem;
  display: block;
  width: 100%;
  text-align: left;
  white-space: normal;
  word-wrap: break-word;
  hyphens: auto;
  line-height: 1.4;
}

.accordion .card-body {
  padding: 1.5rem;
  line-height: 1.6;
}

/* =================================
   HEADINGS & TEXT
   ================================= */
.section-heading,
.section-heading-simple,
h2.section-heading,
h3.section-heading {
  color: #2c3e50;
  letter-spacing: 1px;
}

#totalStates,
#totalCities,
#totalProjects,
#totalCustomers {
  line-height: 1.2;
  margin-bottom: 0.25rem;
  background-color: #ed7600;
}

/* =================================
   RESPONSIVE DESIGN
   ================================= */
@media (min-width: 1200px) {
  .map-container {
    height: 600px;
  }
}

@media (min-width: 1400px) {
  .map-container {
    height: 800px;
  }
}

@media (max-width: 768px) {
  .location-content h1, .location-content .h1 { font-size: 2rem; }
  .location-content h2, .location-content .h2 { font-size: 1.75rem; }
  .location-content h3, .location-content .h3 { font-size: 1.375rem; }
  .location-content h4, .location-content .h4 { font-size: 1.125rem; }
  .location-content h5, .location-content .h5 { font-size: 1rem; }
  .location-content h6, .location-content .h6 { font-size: 0.875rem; }
  .location-content .btn-lg { font-size: 1rem; padding: 0.875rem 1rem; }

  .hero-state {
    min-height: 300px;
  }

  .map-container {
    height: 350px;
  }

  .accordion .card-header h3 {
    margin: 0;
    line-height: 1.3;
  }

  .accordion .card-header button {
    padding: 0.75rem;
    line-height: 1.3;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .accordion .card-body {
    padding: 1rem;
    line-height: 1.5;
  }

  .stats-card,
  .stats-card.climate-zone {
    min-height: 100px;
  }

  .usa-image {
    max-height: 100px;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .location-content h1, .location-content .h1 { font-size: 1.75rem; }
  .location-content h2, .location-content .h2 { font-size: 1.5rem; }
  .location-content h3, .location-content .h3 { font-size: 1.25rem; }
  .location-content h4, .location-content .h4 { font-size: 1.125rem; }
  .location-content h5, .location-content .h5 { font-size: 1rem; }
  .location-content h6, .location-content .h6 { font-size: 0.875rem; }

  .accordion .card-header h3 {
    line-height: 1.2;
  }

  .accordion .card-header button {
    padding: 0.5rem;
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .accordion .card-body {
    padding: 0.75rem;
    line-height: 1.4;
  }

  .stats-card,
  .stats-card.climate-zone {
    min-height: 90px;
  }
}
