/* Home Page Specific Styles */

/* Hero Section */
.hero {
  position: relative;
  color: var(--color-surface);
  padding: var(--space-24) 0;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(41, 50, 65, 0.75), rgba(42, 157, 143, 0.6));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-content h1 {
  font-size: var(--font-size-4xl);
  color: var(--color-surface);
  margin-bottom: var(--space-6);
  line-height: 1.2;
}

.hero-text {
  font-size: var(--font-size-lg);
  color: #e2e8f0;
  margin-bottom: var(--space-8);
  line-height: 1.8;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Section with Background Colors */
.bg-surface {
  background-color: var(--color-surface);
}

.bg-light {
  background-color: var(--color-background);
}

.bg-primary-light {
  background-color: rgba(61, 90, 128, 0.08);
}

/* Section Padding Helper */
.section-padding {
  padding: var(--space-12) 0;
}

/* Lead Text */
.lead {
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  line-height: 1.8;
  max-width: 800px;
}

/* Grid Utilities */
.grid-cols-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

.items-center {
  align-items: center;
}

/* Card Component */
.card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

.shadow-md {
  box-shadow: var(--shadow-md);
}

.p-0 {
  padding: 0;
}

.p-6 {
  padding: var(--space-6);
}

.overflow-hidden {
  overflow: hidden;
}

.radius-lg {
  border-radius: var(--radius-lg);
}

/* Service Highlight */
.service-highlight {
  background: linear-gradient(135deg, #3d5a80, #2a9d8f);
  color: var(--color-surface);
  border-radius: var(--radius-lg);
  text-align: center;
}

.service-highlight h4 {
  color: var(--color-surface);
  margin-bottom: var(--space-4);
}

.service-highlight p {
  color: #e2e8f0;
  margin-bottom: 0;
}

/* Fade In Animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  padding: var(--space-12) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-section h2 {
  color: var(--color-surface);
  margin-bottom: var(--space-4);
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mt-4 {
  margin-top: var(--space-4);
}

.mb-4 {
  margin-bottom: var(--space-4);
}

/* Image Styling */
.fade-in-up img {
  border-radius: var(--radius-lg);
  display: block;
  width: 100%;
  height: auto;
}

/* Reverse Order on Mobile */
.reverse-mobile {
  flex-direction: column-reverse;
}

/* Typography Enhancements for Home */
h3 {
  margin-bottom: var(--space-4);
  color: var(--color-primary-dark);
}

/* Button Utilities */
.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-lg);
}

/* Responsive Design */
@media (min-width: 768px) {
  .grid-cols-2 {
    grid-template-columns: 1fr 1fr;
  }

  .reverse-mobile {
    flex-direction: row;
  }

  .hero {
    min-height: 700px;
    padding: var(--space-24) 0;
  }

  .hero-content h1 {
    font-size: var(--font-size-4xl);
  }

  .hero-actions {
    flex-wrap: nowrap;
    gap: var(--space-6);
  }

  .lead {
    font-size: var(--font-size-lg);
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: 500px;
    padding: var(--space-12) 0;
  }

  .hero-content h1 {
    font-size: var(--font-size-3xl);
  }

  .hero-text,
  .lead {
    font-size: var(--font-size-base);
    line-height: 1.7;
  }

  .section-padding {
    padding: var(--space-8) 0;
  }

  .hero-actions {
    flex-direction: column;
    gap: var(--space-3);
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}
