/* Lexend-nav */
@font-face {
  font-family: "Heading";
  src: url("./assets/fonts/reailge.otf");
  font-weight: 2rem;
}

@font-face {
  font-family: "Work-sans";
  src: url("./assets/fonts/WorkSans-Medium.ttf");
  font-weight: bold;
}

/* Navbar header  */
/* Transparent Navbar */
.navbar {
  padding: 0.5rem 1rem;
  background: transparent !important;
  /* fully transparent */
  box-shadow: none !important;
  /* no shadow */
  position: absolute;
  /* over carousel */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.dropdown-list {
  font-size: small;
  text-transform: uppercase;
}

/* Nav Links (white for visibility on dark bg images) */
.navbar .navbar-nav .nav-link {
  padding: 15px;
  color: #fff !important;
  font-family: "Work-sans";
  font-weight: 500;
  font-size: small;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s ease-in-out;
}

.navbar .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  height: 2px;
  width: 0;
  background-color: #fff;
  transition: width 0.3s;
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
  width: 100%;
}

/* Toggler (Hamburger icon) */
.navbar-toggler-icon,
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  background-color: #fff !important;
  /* white toggler */
}

/* Dropdown styles */
.navbar .dropdown-menu {
  background-color: rgba(0, 0, 0, 0.8);
  /* semi-dark transparent dropdown */
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.dropdown .dropdown-menu a {
  padding: 10px 20px;
  color: #fff;
  transition: background 0.3s;
}

.dropdown .dropdown-menu a:hover,
.dropdown .dropdown-menu a.active {
  background-color: #fbffff;
  color: #000;
}

/* Mobile Navbar */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(0, 0, 0, 0.9);
    padding: 1rem;
  }

  .navbar-nav {
    margin-top: 1rem;
  }

  .navbar .nav-link {
    padding-left: 0;
    padding-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar .dropdown-menu {
    margin-left: 1rem;
    box-shadow: none;
  }
}

.navbar-toggler {
  border: 2px solid rgba(141, 11, 65, 0.4);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  position: relative;
  background: radial-gradient(circle at center, #fffdf8 30%, #e6e2da 100%);
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.6),
    0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease-in-out;
  overflow: hidden;
}

.navbar-toggler:hover {
  box-shadow: 0 0 14px rgba(141, 11, 65, 0.5);
  transform: scale(1.05);
}

.navbar-toggler-icon {
  position: relative;
  display: block;
  width: 26px;
  height: 3px;
  margin: 0 auto;
  background: linear-gradient(90deg, #8d0b41, #c8a35f);
  border-radius: 3px;
  transition: all 0.4s ease-in-out;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 26px;
  height: 3px;
  background: linear-gradient(90deg, #8d0b41, #c8a35f);
  border-radius: 3px;
  transition: all 0.4s ease-in-out;
}

.navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler-icon::after {
  top: 8px;
}

/* Arch Glow Effect (for hover and open states) */
.navbar-toggler::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 18px;
  border-top: 2px solid rgba(200, 163, 95, 0.6);
  border-radius: 50% 50% 0 0;
  transition: opacity 0.4s ease-in-out, transform 0.6s ease-in-out;
  opacity: 0;
}

/* Glow appears on hover */
.navbar-toggler:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1.1);
}

/* Animated expanding glow when opened */
.navbar-toggler[aria-expanded="true"]::after {
  opacity: 1;
  transform: translateX(-50%) scale(1.4);
  animation: archPulse 1.2s ease-in-out infinite alternate;
}

/* Keyframes for subtle golden breathing animation */
@keyframes archPulse {
  0% {
    border-top-color: rgba(200, 163, 95, 0.3);
    box-shadow: 0 0 8px rgba(200, 163, 95, 0.4);
  }

  100% {
    border-top-color: rgba(200, 163, 95, 0.8);
    box-shadow: 0 0 16px rgba(200, 163, 95, 0.8);
  }
}

/* Active (open) state: turns into an elegant cross */
.navbar-toggler[aria-expanded="true"] {
  background: radial-gradient(circle at center, #fff5e4 30%, #e6dac2 100%);
  border-color: #c8a35f;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: rotate(45deg);
  top: 0;
  background: linear-gradient(90deg, #8d0b41, #c8a35f);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: rotate(-45deg);
  top: 0;
  background: linear-gradient(90deg, #8d0b41, #c8a35f);
}
/* navbar header end  */

/* Hero section  */
/* Fullscreen Hero */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center; /* vertically center */
  justify-content: center; /* horizontally center */
}

/* Background Video */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
  filter: brightness(0.8) contrast(1.1);
  transition: opacity 1s ease-in-out;
}

/* Overlay */
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.6)
  );
  z-index: 1;
}

/* Centered Content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1rem;
}

/* Heading Style */
.hero-title {
  font-family: "Heading"; /* your premium font */
  color: #fff;
  text-transform: capitalize;
  letter-spacing: 0.15em;
  font-weight: 500;
  text-shadow: 0 6px 25px rgba(0, 0, 0, 0.6);
  animation: fadeInUp 1.6s ease-out forwards;
  opacity: 0;
}

/* Responsive Font Sizes */
@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }
}
@media (min-width: 577px) and (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
}
@media (min-width: 993px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

/* Fade-up Animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HEro section End  */

/* Our Project Lagacy  */
.legacy-cards {
  background-color: #84241f;
}

.legacy-card {
  display: flex;
  color: #f5f5dc;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  position: relative;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  min-height: 400px;
  width: auto;
}
.legacy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(141, 11, 65, 0.25);
}

/* Image section */
.image-side {
  flex: 1 1 50%;
  position: relative;
  overflow: hidden;
}
.legacy-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.legacy-card:hover .legacy-img {
  transform: scale(1.05);
}

/* Curved divider */
.curve-divider {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}
.curve-divider.reverse {
  left: 0;
  right: auto;
}

/* Text section */
.text-side {
  flex: 1 1 50%;
  position: relative;
  z-index: 3;
  background-color: #f5f5dc;
}
.text-side .content {
  color: #111;
}
.title {
  font-size: 1.8rem;
  font-family: "Heading";
  color: #8d0b41;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.desc {
  font-family: "Marcellus";
  color: #333;
  line-height: 1.6;
  font-size: 0.95rem;
}
.content {
  background-color: #f5f5dc;
}

/* Responsive */
@media (max-width: 767.98px) {
  .legacy-card {
    flex-direction: column;
  }
  .curve-divider {
    display: none;
  }
  .title {
    font-size: 1.4rem;
  }
}

/* Our Project End  */
