/* INDEX STYLES STARTS */
.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
}

.custom-navbar {
  background-color: #e401be;
  transition: top 0.3s ease-in-out;
}

/* Make navbar links white */
.navbar .nav-link {
  color: white !important;
}

/* Change hover effect (optional, lighter white/gray) */
.navbar .nav-link:hover {
  color: #f8f9fa !important;
}

/* Dropdown menu background stays white, but text is black */
.navbar .dropdown-menu {
  background-color: white;
}

.navbar .dropdown-item {
  color: rgb(0, 0, 0) !important;
}

.navbar .dropdown-item:hover {
  background-color: #f8f9fa; /* light gray hover */
  color: rgb(0, 0, 0) !important;
}

/* Default navbar links (white) */
.navbar .nav-link {
  color: white !important;
  position: relative;
}

/* Active link underline */
.navbar .nav-link.active {
  text-decoration: underline;
  text-underline-offset: 6px; /* pushes underline down a bit */
  text-decoration-thickness: 2px; /* makes underline thicker */
}

/* Optional: hover effect also shows underline */
.navbar .nav-link:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.hero {
  position: relative;
  height: 100vh;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 10px;
  z-index: 1;
}

.footer {
  background: #001f3f;
  color: #fff;
  padding: 2rem 0;
}

.social-icons a {
  color: #fff;
  font-size: 1.5rem;
  margin: 0 0.5rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-img {
  height: 90vh;
  object-fit: cover;
}

.custom-caption {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  background: linear-gradient(
    to top left,
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.3)
  );
  color: white;
  padding: 2rem;
  border-radius: 10px;
  max-width: 600px;
  z-index: 10;
  width: 90%;
}

.custom-caption h1,
.custom-caption p {
  margin-bottom: 1rem;
}

.upcoming-event {
  text-align: center;
  padding: 50px 20px;
  background-color: #f8f9fa;
}

.upcoming-event h2 {
  font-size: 2rem;
  color: #6b1b9a;
  margin-bottom: 20px;
}

.event-card {
  display: inline-block;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 400px;
  transition: transform 0.3s;
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.event-details {
  padding: 20px;
}

.event-details h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 10px;
}

.read-more {
  background-color: #6b1b9a;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.read-more:hover {
  background-color: #501275;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 10;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.modal-content {
  background: #fff;
  margin: auto;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  position: relative;
  text-align: center;
}

.modal-content img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #555;
}

.close:hover {
  color: red;
}

.countdown h3 {
  margin-top: 15px;
  color: #6b1b9a;
}

#countdown {
  font-size: 1.4rem;
  color: #ff4d4d;
  margin-top: 10px;
  font-weight: bold;
}

/* Divider line between h1 and p */
.caption-divider {
  border: none;
  border-top: 2px solid #ffffff;
  width: 100%;
  max-width: 300px;
  margin: 1rem 0;
}

/* Small screen adjustments */
@media (max-width: 768px) {
  .custom-caption {
    left: 5%;
    right: 5%;
    padding: 1.5rem;
    max-width: 100%;
    transform: translateY(-40%);
  }

  .custom-caption h1 {
    font-size: 1.75rem;
  }

  .custom-caption p {
    font-size: 1rem;
  }

  .caption-divider {
    max-width: 200px;
  }
}

.custom-hover-btn {
  transition: background-color 0.3s ease, color 0.3s ease;
}

.custom-hover-btn:hover {
  background-color: #006fb9; /* Bootstrap warning color */
  color: #000; /* Optional: text turns black on hover */
}

/* .image-hover {
  overflow: hidden;
}

.image-hover img {
  transition: transform 0.4s ease;
}

.image-hover:hover img {
  transform: scale(1.05);
} */

.img-fluid {
  transition: transform 0.4s ease;
}

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

/* INDEX STYLES END */

/* PROPERTIES STYLES STARTS */
.property-card img {
  height: 200px;
  object-fit: cover;
}
/* Modal styles */
.modal-img {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content-img {
  margin: auto;
  display: block;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  border-radius: 10px;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

.caption {
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  font-size: 18px;
}
.fullscreen-modal {
  display: none;
  position: fixed;
  z-index: 1050;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
}

.fullscreen-modal img {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
}

.close-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.footer {
  background: #001f3f;
  color: #fff;
  padding: 2rem 0;
}
.social-icons a {
  color: #fff;
  margin: 0 0.5rem;
  font-size: 1.5rem;
}
.social-icons a:hover {
  color: #ffd700;
}

/* Remove hover zoom from logo only */
.no-zoom {
  transition: none !important;
  transform: none !important;
}

.no-zoom:hover {
  transform: none !important;
}

/* PROPERTIES STYLES ENDS */

/* From Uiverse.io by Gaurang7717 */
.Btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition-duration: 0.3s;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.199);
  background-color: #00d757;
}

.sign {
  width: 100%;
  transition-duration: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sign svg {
  width: 25px;
}

.sign svg path {
  fill: white;
}
.text {
  position: absolute;
  right: 0%;
  width: 0%;
  opacity: 0;
  color: white;
  font-size: 1.2em;
  font-weight: 600;
  transition-duration: 0.3s;
}

.Btn:hover {
  width: 150px;
  border-radius: 40px;
  transition-duration: 0.3s;
}

.Btn:hover .sign {
  width: 30%;
  transition-duration: 0.3s;
  padding-left: 10px;
}

.Btn:hover .text {
  opacity: 1;
  width: 70%;
  transition-duration: 0.3s;
  padding-right: 10px;
}
.Btn:active {
  transform: translate(2px, 2px);
}
