/* ============================= */
/* HERO SECTION */
/* ============================= */

.hero-video {
  position: relative;
  /* height: 100vh; */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-image: url('../images/Background.png');
}


/* Background wrapper */
.hero-bg-screen {
    position: absolute;
    inset: 0;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100vh;
  /* min-height: 100%; */
  min-width: 100%;
  transform: translate(-50%, -50%) scale(1);
  object-fit: cover;
  overflow: hidden;
  z-index: 0;
  height: 100dvh;
}

.hero-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.services{
    padding-top: 25px;
}


/* Background image */
/* .hero-bg-screen img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
} */

/* Dark overlay */
/* .hero-bg-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.4);
} */

/* Hero content container */
.hero-content {
    position: relative;
    /* left: 10%;
    bottom: 10%; */
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

/* Year title */
.hero-video h1 {
    font-family: 'Playfair Display', serif;
    font-size: 57px;
    margin: 0;
}

/* Subtitle */
.hero-content p {
  font-size: 24px;
  margin-bottom: 30px;
  /* background-image: url('images/Background.png'); */
  padding: 10px;
  border-radius: 20px;
}


















.construction {
    /* background-image: url('images/House.png'); */
    background-size: cover;
    position: relative;
}


/* Background wrapper */
.hero-bg-screen {
    position: absolute;
    inset: 0;
}

/* Background image */
.hero-bg-screen img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    /* lowest layer */
}

/* Dark overlay */
.hero-bg-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    /* lowest layer */
    background: rgba(0, 0, 0, 0.4);
}

.construction-content {
    position: relative;
    z-index: 3;
    display: flex;
    padding-top: 150px;
    gap: 50px;
}

.left-content {
    flex: 1;
}

.right-content {
    flex: 1.3;
    align-content: center;
}

.left-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    color: #a67c3f;
}

.left-content h3 {
    /* font-family: 'Playfair Display', serif; */
    font-size: 24px;
    color: white;
    margin: 10px 0;
}

.left-content hr {
    /* font-family: 'Playfair Display', serif; */
    width: 75%;
}

.left-content ul {
    margin-bottom: 50px;
    margin-left: 50px;
}

.left-content li {
    color: white;
    font-size: 20px;
}

.left-content li::marker {
    color: #a67c3f;
    font-size: 1.1em;
}

.right-content img {
    width: 100%;
    height: 95%;
}

.description {
    position: relative;
    z-index: 3;
    color: white;
    line-height: 1.6;
    font-size: 18px;
}

.btn {
    background: linear-gradient(135deg, #a67c3f, #c49b63);
    font-size: 18px;
    padding: 10px 50px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    color: black;
}

.btn:hover {
    box-shadow: 0 10px 25px rgba(196, 155, 99, 0.5);
}


/* Services */
.services {
    position: relative;
    height: auto;
}

.services-header {
    text-align: center;
    padding: 40px 10px;
}

.services-header h2 {
    position: relative;
    display: inline-block;
    font-size: 32px;
    letter-spacing: 2px;
    font-family: 'Playfair Display', serif;
    padding-bottom: 15px;
}

/* custom underline */
.services-header h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;

    width: 50%;
    /* 50% underline */
    height: 2px;
    background-color: #a67c3f;

    transform: translateX(-50%);
}



.services-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 50px;
}

.services-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 100px;
    margin-right: 50px;
}


.services-left {
    flex: 0 0 40%;
    padding: 50px;
}

.services-right {
    position: relative;
    flex: 0 0 60%;
    /* padding-left: 50px; */
}

.image-hover img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.4s ease-in-out;
}

/* Stack second image */
.img-hover {
    position: absolute;
    top: 0;
    /* left: 50px; */
    /* match padding-left */
    /* width: calc(100% - 50px); */
    opacity: 0;
}

/* Hover effect */
.image-hover:hover .img-hover {
    opacity: 1;
}


.services-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    padding-bottom: 20px;
    color: #a67c3f;
}

.services-item p {

}

.services-item:nth-child(2) {
    flex-direction: row-reverse;
}




  /* 2 per row on small screens */
  @media (max-width: 800px) {
    .services-item {
      flex-direction: column-reverse;
      margin-right: 0px;
      margin-bottom: 100px;
    }

    .services-item:nth-child(2){
        flex-direction:column-reverse;
    }

    .services-content{
        margin-bottom: 0px;
    }
    
    .services-left{
        padding: 0;
    }

    .image-hover img {
        margin: 0 0 30px 0 ;
}
  }

/* ======================== */
/* MOBILE RESPONSIVE STYLES */
/* ======================== */
@media (max-width: 768px) {

  /* Adjust Hero Section for Mobile */
  .hero-video {
    height: 100dvh;
    /* better than 100vh on iOS */
    /* Reduce height to fit better on smaller screens */
  }

  .hero-bg-video {
    height: 100%;
    /* Make sure video fills the mobile screen height */
    width: 100%;
    /* Make the video fill the entire width */
    object-position: center;
    /* Ensure video is centered */
  }

  .hero-video .hero-content {
    padding: 20px;
    /* Add padding to avoid content being too close to edges */
    max-width: 100%;
    /* Allow the content to fill up the width */
  }

  .hero-video h1 {
    font-size: 32px;
    /* Reduce font size on mobile */
    margin-bottom: 15px;
  }

    .services-header h2 {
    font-size: 26px;
    /* Reduce font size on mobile */
    margin-bottom: 15px;
  }

  .services-item h3{
    font-size: 22px;
  }

  .hero-video p {
    font-size: 18px;
    /* Reduce paragraph size on mobile */
    margin-bottom: 20px;
  }
}