/* Hero Section with Video Background */

.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');
}

.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;
}

.hero-video .hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.hero-video h1 {
  font-family: 'Playfair Display', serif;
  font-size: 57px;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-video p {
  font-size: 24px;
  margin-bottom: 30px;
}

.btn-primary {
  display: inline-block;
  background-color: #c49b63;
  /* luxury gold */
  color: white;
  padding: 15px 40px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: #a67c3f;
  /* darker gold on hover */
  outline: none;
}

.btn-outline {
  display: inline-block;
  background-color: transparent;
  color: #c49b63;
  /* luxury gold color */
  padding: 15px 40px;
  border: 2px solid #c49b63;
  border-radius: 40px;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background-color: #c49b63;
  color: white;
  outline: none;
}

/* ======================== */
/* 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;
  }

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

  .btn-primary,
  .btn-outline {
    padding: 12px 30px;
    /* Smaller padding for buttons on mobile */
  }
}


/* About Section */
.about {
  position: relative;
  padding-top: 25px;
  height: auto;
}

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

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

/* custom underline */
.about-header h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 50%;
  height: 2px;
  background-color: #a67c3f;

  transform: translateX(-50%);
}

/* About Content */
.about-content {
  display: flex;
  position: relative;
  align-items: center;
  padding: 0;
}

.about-left {
  width: 30%;
  border-left: 2px solid #a67c3f;
  padding-left: 40px;
  font-weight: 600;
}

.about-right {
  width: 70%;
}

.about-left ul {
  list-style: none;
}

.about-left li {
  margin: 50px 0;
}

.about-left a {
  font-size: 20px;
  color: black;
  margin: 20px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.about-left a:hover {
  color: #c49b63;
  font-weight: bold;
}

.about-image {
  position: absolute;
  bottom: 10;
  width: auto;
  transition: all 0.4s ease;
  padding-right: 50px;
}

.about-image img {
  width: 100%;
  /* The image will automatically take up the full width of the container */
  height: auto;
  /* Maintain aspect ratio */
  max-width: 100%;
}

.about-text p {
  margin-bottom: 16px;
  line-height: 1.6;
  font-size: 18px;
  font-style: italic;
}

/* ============================== */
/* Mobile Responsiveness (max-width: 768px) */
/* ============================== */


@media (max-width:1000px) {
  .about {
    height: auto;
  }

  .about-image img {
    position: absolute;
    bottom: 25%;
    width: 70%;
    transition: all 0.4s ease;
  }
}

@media (max-width: 768px) {
  .about-content {
    /* margin-left: 20px; */
    /* margin-top: 50px; */
    flex-direction: column;
    /* Stack the content vertically */
    height: auto;
    /* Adjust height to fit content */
    padding: 0 15px;
    /* Add padding on mobile for spacing */
  }

  .about-left {
    width: 100%;
    padding-left: 0px;
    /* Full width on mobile */
    /* padding-left: 20px; */
    /* Remove left padding */
    margin-bottom: 30px;
    text-align: center;
    /* Add space between left and right sections */
  }

  .about-right {
    width: 100%;
    /* Full width on mobile */
    padding-top: 20px;
    /* Add space above the right section */
  }

  .about-left a {
    font-size: 18px;
    /* Reduce font size for better readability on mobile */
    /* margin: 10px 0; */
    /* Adjust margin for better spacing */
  }

  .about-image img {
    display: none;
  }

  .about-text p {
    font-size: 16px;
    /* Reduce font size for mobile */
    margin-bottom: 12px;
    /* Adjust margin */
  }

  .about-header {
    font-size: 32px;
    /* Reduce the header font size for mobile */
    padding: 30px 10px;
    /* Add padding for better spacing */
  }
}

/* Projects */
.projects {
  position: relative;
  height: auto;
}

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

.projects-content {
  display: flex;
  flex-wrap: wrap;
  padding: 0 30px;
  gap: 30px;
}

.project-item {
  position: relative;
  flex: 1 1 calc(25% - 10px);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 0 15px rgb(196 155 99 / 0.15);
  transition: box-shadow 0.3s ease;
  filter: grayscale(100%);
}

.project-item:hover {
  box-shadow: 0 0 25px rgb(196 155 99 / 0.35);
  filter: grayscale(0%);
  transform: translateY(-5px);
}

.project-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.project-item span {
  position: absolute;
  color: #a67c3f;
  left: 0;
  background-image: url('../images/Background.png');
  font-weight: 600;
  bottom: 0px;
  padding: 15px;
  width: 100%;
}

.project-item:hover img {
  transform: scale(1.05);
}


/* 3 per row on medium screens */
@media (max-width: 1200px) {
  .project-item {
    flex: 1 1 calc(33.333% - 10px);
  }
}

/* Default state (mobile) */
@media (max-width: 800px) {
  .project-item {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 1.2s ease, opacity 1.2s ease;
  }

  .project-item.active {
    filter: grayscale(0%);
    opacity: 1;
  }
}

/* 1 per row on extra small screens */
@media (max-width: 500px) {
  .project-item {
    flex: 1 1 100%;
  }
}


/* Partners */
.partners {
  position: relative;
  height: auto;
}

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

.partners-content {
  display: flex;
  flex-wrap: wrap;
  padding: 0 30px;
  gap: 30px;
  justify-content: center;
}

.partners-item {
  display: flex;
  align-items: center;
  /* vertical center */
  justify-content: center;
  /* horizontal center */

  flex: 0 0 calc(20% - 30px);
  border-radius: 10px;
  height: 150px;
  border: 1px solid #a67c3f;
  padding: 20px;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partners-item img {
  max-height: 60px;
  max-width: 60%;
  width: auto;
  height: auto;

  object-fit: contain;
  display: block;
}


.partners-item:hover {
  box-shadow: 0 0 25px rgb(196 155 99 / 0.35);
  transform: translateY(-5px);
}


/* 3 per row on medium screens */
@media (max-width: 1200px) {
  .partners-item {
    flex: 1 1 calc(33.333% - 10px);
  }
}

/* 2 per row on small screens */
@media (max-width: 800px) {
  .partners-item {
    flex: 1 1 calc(50% - 10px);
  }
}

/* 1 per row on extra small screens */
@media (max-width: 500px) {
  .partners-item {
    flex: 1 1 100%;
  }
}