/* Header and Hero Section Fixes */

/* Remove body padding to allow header to overlay hero section */
body {
  padding-top: 0 !important;
}

/* Reduce hero section height */
.hero-section {
  height: 700px !important; /* Further reduced height to bring gallery closer to bottom */
}

/* Adjust hero text position and layout */
.hero-text {
  top: 140px !important; /* Increase spacing from header */
}

.hero-content-wrapper {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 40px !important;
  align-items: flex-start !important;
  max-width: 918px !important;
}

/* Adjust image gallery position and layout */
.image-gallery {
  top: 340px !important; /* Adjust position to maintain proper spacing */
  display: flex !important;
  gap: 23px !important;
  width: 921px !important;
  position: absolute !important;
}

/* Make header overlay the hero section */
.site-header {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  background-color: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Header Button Styles */
.header-contact .button-outline {
  background: var(--primary-color) !important;
  color: white !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.header-contact .button-outline:hover {
  background: rgba(25, 25, 25, 0.9) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Additional responsive fixes */
@media (max-width: 1200px) {
  .hero-content {
    width: 90% !important;
    margin: 0 auto !important;
  }
  
  .hero-text {
    width: 90% !important;
  }
  
  .image-gallery {
    width: 90% !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
}

@media (max-width: 992px) {
  .hero-content-wrapper {
    flex-direction: column !important;
    gap: 20px !important;
  }
  
  .hero-content-wrapper > div {
    width: 100% !important;
  }
  
  .image-gallery {
    top: 350px !important;
  }
}
