/* GLOBAL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

/* NAV */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}
.nav a {
  margin-left: 24px;
  text-decoration: none;
  color: #e5e5e5;
  font-size: 14px;
  letter-spacing: 1px;
}

.logo {
  font-weight: 500;
  letter-spacing: 2px;
}

/*attempting background*/
/* SERVICES BACKGROUND WRAPPER */
.services-bg {
  position: relative;
  background-image: url("../assets/Dune\ background2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  
}

/* Optional dark overlay for readability */
.services-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 0;
}


/* Keep content above overlay */
.services-bg > * {
  position: relative;
  z-index: 1;
}


/* INTRO SECTION */
.services-intro {
  min-height: 60vh;
  padding: 0 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* center horizontally */
  text-align: center;  /* center the text */
}

.services-intro h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;   /* normal weight, not bold */
  margin-bottom: 24px;
  color: #e5e5e5;
}

.services-intro p {
  font-size: 1.2rem;
  max-width: 700px;
  line-height: 1.6;
  opacity: 0.9;
  font-weight: 400;   /* normal weight */
  color: #e5e5e5;
}

/* RECTANGLES SECTION */
.services-rectangles {
  display: flex;
  flex-direction: column;
}

/* SERVICE CARD */
.service-card {
  position: relative;
  width: 100%;
  height: 47vh;
  overflow: hidden;
  margin-bottom: 0px;
  border: none;
  box-shadow: none;
}

/* CARD IMAGES */
.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.65s ease;
  z-index: 1;
  
}


.service-card .hover-img {
  opacity: 0;
}

.service-card:hover .hover-img {
  opacity: 1;
}

/* TEXT OVERLAY */
.service-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding-left: 8vw;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;  /* changed from 600 to 400 to make normal weight */
  color: #ffffff;
  z-index: 2;
  transition: opacity 0.4s ease;
}

.service-card:hover .service-text {
  opacity: 0;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 500;
  letter-spacing: 2px;
  color: #fff; /* make text white */
}

.logo img.logo-icon {
  height: 40px; /* adjust to taste */
  width: auto;
  margin-right: 10px; /* space between icon and text */
}

.logo {
  font-weight: 500;
  letter-spacing: 2px;
}

.logo img {
  height: 63px; /* adjust to taste */
  width: auto;
  display: block;
}

/* FOOTER */
.footer {
  background: #144961;
  padding: 40px;
}

.footer-content {
  max-width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* left | center | right */
  align-items: center;
  gap: 20px;
  color: #fff;
}

.footer-socials a {
  margin-right: 12px;
  color: #ccc;
}

.footer-meta {
  display: flex;
  flex-direction: column; /* 👈 stacks vertically */
  text-align: right;
  gap: 6px; /* space between location & copyright */
}

.footer-location {
  font-size: 15px;
  opacity: 0.9;
}

.footer-copy {
  font-size: 12px;
  opacity: 0.9;
}

/* BLUR REVEAL */
.blur-reveal {
  opacity: 0;
  filter: blur(20px);
  transform: translateY(20px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease,
    filter 0.8s ease;
}

.blur-reveal.in-view {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

.service-text.blur-reveal {
  /* scroll-in */
  transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
}

.service-card:hover .service-text {
  /* hover out */
  opacity: 0;
  transition: opacity 0.15s ease;
}

