/* Critical CSS to ensure proper rendering */

/* Force background images to load correctly */
.hero-section {
  background-image: url('images/background_1_1707x876.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
}

.dark-section {
  background-image: url('images/image6_1707x640.png') !important;
  background-size: cover !important;
  background-position: center !important;
}

/* Fix header overlay */
.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;
}

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

/* Fix image gallery positioning */
.image-gallery {
  top: 340px !important;
  display: flex !important;
  gap: 23px !important;
  width: 921px !important;
  position: absolute !important;
}

/* Ensure all images display properly */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Fix button styles */
.header-contact .button-outline {
  background: var(--primary-color) !important;
  color: white !important;
  border-color: var(--primary-color) !important;
}

/* Fix container width */
.container {
  width: 100% !important;
  max-width: 1707px !important;
  margin: 0 auto !important;
}

/* Fix hero section height */
.hero-section {
  height: 700px !important;
}

/* Fix text positioning */
.hero-text {
  top: 140px !important;
}
