/* ==========================================
   Kimberly Solutions - Page Specific Layouts
   ========================================== */

/* HOMEPAGE HERO SECTION */
.hero-section {
  position: relative;
  background: var(--gradient-dark-hero), url('../images/hero-solar.png') center/cover no-repeat;
  color: var(--color-text-light);
  padding: 6.5rem 0 7.5rem 0;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to top, var(--color-bg-light), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.1rem;
  background: rgba(242, 101, 34, 0.18);
  border: 1px solid rgba(242, 101, 34, 0.4);
  border-radius: var(--radius-full);
  color: var(--color-primary-gold);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-title {
  color: var(--color-bg-white);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

.hero-title span {
  background: var(--gradient-solar);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  color: #CBD5E1;
  font-size: 1.2rem;
  margin-bottom: 2.25rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-card-preview {
  background: rgba(14, 46, 78, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
}

.hero-card-header {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-bg-white);
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.75rem;
}

.hero-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #E2E8F0;
  font-size: 1rem;
  font-weight: 500;
}

.hero-feature-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--gradient-solar);
  color: var(--color-bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* INNER PAGE HERO HEADER */
.page-banner {
  background: var(--gradient-corporate);
  color: var(--color-text-light);
  padding: 4.5rem 0;
  position: relative;
  text-align: center;
}

.page-banner h1 {
  color: var(--color-bg-white);
  margin-bottom: 0.75rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #94A3B8;
}

.breadcrumb a {
  color: var(--color-primary-gold);
}

/* ABOUT PAGE - DIRECTOR SPOTLIGHT */
.director-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.bg-card-dark {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.director-img-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.director-img-wrapper img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.director-title {
  color: var(--color-primary-orange);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.quote-block {
  border-left: 4px solid var(--color-primary-orange);
  padding-left: 1.25rem;
  font-style: italic;
  color: var(--color-primary-gold);
  margin-bottom: 2rem;
}

/* SOLUTIONS PAGE TABS & DETAIL CARDS */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.solution-detail-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.solution-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-orange);
}

.solution-img-box {
  height: 220px;
  overflow: hidden;
}

.solution-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-content {
  padding: 2rem;
}

.spec-list {
  list-style: none;
  margin: 1.25rem 0 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--color-navy-dark);
  font-weight: 500;
}

.spec-icon {
  color: var(--color-primary-orange);
  font-weight: bold;
}

/* CONTACT PAGE & SOLAR CALCULATOR */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
}

.calculator-card {
  background: var(--color-navy-dark);
  color: var(--color-text-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.calculator-card h3 {
  color: var(--color-bg-white);
  border-bottom: 2px solid var(--color-primary-orange);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

.calc-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  color: white;
}

.calc-checkbox {
  accent-color: var(--color-primary-orange);
  width: 18px;
  height: 18px;
}

.calc-result-box {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1.5rem;
  border: 1px solid rgba(242, 101, 34, 0.3);
  text-align: center;
}

.calc-results-row {
  display: flex;
  justify-content: space-around;
  margin-top: 0.75rem;
  font-weight: 700;
  color: var(--color-bg-white);
  font-size: 0.95rem;
}

.calc-kwh {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary-gold);
}

/* MODAL OVERLAY STYLES */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 24, 43, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.open {
  display: flex;
}

.modal-content-box {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  position: relative;
}

.modal-close-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(10, 37, 64, 0.8);
  color: white;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  z-index: 10;
}

.modal-img-container {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.modal-img-fit {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body-padding {
  padding: 2rem;
}

/* SECTION UTILITY OVERRIDES */
.section-stats-bar {
  padding: 3rem 0;
  background: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
}

.btn-hero-outline {
  border-color: #CBD5E1;
  color: var(--color-bg-white);
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 992px) {
  .hero-grid,
  .director-card,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}
