/* 
  GES Logistics - Homepage Sections
  Reusable section styles for homepage
*/

/* Section Container */
.section {
  padding: var(--space-96) var(--space-24);
}

.section--gray {
  background: var(--color-light-gray);
}

.section--navy {
  background: var(--navy);
  color: white;
}

.section--teal {
  background: linear-gradient(135deg, var(--primary-teal) 0%, #158387 100%);
  color: white;
}

/* Section Header */
.section__header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-64);
}

.section__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary-teal);
  margin-bottom: var(--space-12);
}

.section--navy .section__label,
.section--teal .section__label {
  color: rgba(255, 255, 255, 0.8);
}

.section__headline {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: var(--space-16);
}

.section--navy .section__headline,
.section--teal .section__headline {
  color: white;
}

.section__subheadline {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-gray);
}

.section--navy .section__subheadline,
.section--teal .section__subheadline {
  color: rgba(255, 255, 255, 0.9);
}

/* Section Footer (CTA at bottom) */
.section__footer {
  text-align: center;
  margin-top: var(--space-64);
}

.section__cta {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: var(--primary-teal);
  border: 2px solid var(--primary-teal);
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.section__cta:hover {
  background: var(--primary-teal);
  color: white;
}

.section--navy .section__cta,
.section--teal .section__cta {
  background: white;
  color: var(--navy);
  border-color: white;
}

.section--navy .section__cta:hover,
.section--teal .section__cta:hover {
  background: transparent;
  color: white;
}

/* MegaHub Spotlight Section */
.megahub-spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-64);
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
}

.megahub-spotlight__image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.megahub-spotlight__content {
  padding: var(--space-32);
}

.megahub-spotlight__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cta-orange);
  margin-bottom: var(--space-16);
  padding: var(--space-8) var(--space-16);
  background: rgba(255, 107, 53, 0.1);
  border-radius: 4px;
}

.megahub-spotlight__headline {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: var(--space-16);
}

.megahub-spotlight__description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-gray);
  margin-bottom: var(--space-32);
}

.megahub-spotlight__specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-20);
  margin-bottom: var(--space-32);
}

.megahub-spec {
  display: flex;
  align-items: flex-start;
  gap: var(--space-12);
}

.megahub-spec__icon {
  flex-shrink: 0;
  font-size: 20px;
  color: var(--primary-teal);
  margin-top: 2px;
}

.megahub-spec__content {
  flex-grow: 1;
}

.megahub-spec__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-medium-gray);
  margin-bottom: 2px;
}

.megahub-spec__value {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.megahub-spotlight__actions {
  display: flex;
  gap: var(--space-16);
  flex-wrap: wrap;
}

.megahub-spotlight__button {
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.megahub-spotlight__button--primary {
  background: var(--cta-orange);
  color: white;
}

.megahub-spotlight__button--primary:hover {
  background: #e55a2a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.megahub-spotlight__button--secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.megahub-spotlight__button--secondary:hover {
  background: var(--navy);
  color: white;
}

/* Final CTA Section */
.final-cta {
  text-align: center;
  padding: var(--space-96) var(--space-24);
  background: linear-gradient(135deg, var(--primary-teal) 0%, #158387 100%);
  color: white;
}

.final-cta__headline {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: var(--space-16);
  color: white;
}

.final-cta__subheadline {
  font-size: 20px;
  margin-bottom: var(--space-32);
  color: rgba(255, 255, 255, 0.95);
}

.final-cta__actions {
  display: flex;
  gap: var(--space-16);
  justify-content: center;
  flex-wrap: wrap;
}

.final-cta__button {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.final-cta__button--primary {
  background: white;
  color: var(--primary-teal);
}

.final-cta__button--primary:hover {
  background: var(--cta-orange);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.final-cta__button--secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.final-cta__button--secondary:hover {
  background: white;
  color: var(--primary-teal);
}

/* Tablet (< 1024px) */
@media (max-width: 1023px) {
  .section {
    padding: var(--space-80) var(--space-20);
  }
  
  .section__headline {
    font-size: 36px;
  }
  
  .megahub-spotlight {
    grid-template-columns: 1fr;
    gap: var(--space-48);
  }
  
  .megahub-spotlight__image {
    height: 400px;
  }
  
  .megahub-spotlight__headline {
    font-size: 32px;
  }
  
  .final-cta__headline {
    font-size: 36px;
  }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
  .section {
    padding: var(--space-64) var(--space-16);
  }
  
  .section__header {
    margin-bottom: var(--space-48);
  }
  
  .section__headline {
    font-size: 32px;
  }
  
  .section__subheadline {
    font-size: 16px;
  }
  
  .megahub-spotlight__content {
    padding: 0;
  }
  
  .megahub-spotlight__image {
    height: 300px;
  }
  
  .megahub-spotlight__headline {
    font-size: 28px;
  }
  
  .megahub-spotlight__specs {
    grid-template-columns: 1fr;
    gap: var(--space-16);
  }
  
  .megahub-spotlight__actions {
    flex-direction: column;
  }
  
  .megahub-spotlight__button {
    width: 100%;
    text-align: center;
  }
  
  .final-cta {
    padding: var(--space-64) var(--space-16);
  }
  
  .final-cta__headline {
    font-size: 28px;
  }
  
  .final-cta__subheadline {
    font-size: 18px;
  }
  
  .final-cta__actions {
    flex-direction: column;
  }
  
  .final-cta__button {
    width: 100%;
    text-align: center;
  }
}
