/* Font setup */

:root {
  --gallery-img-height-desktop: 300px;
  --gallery-img-height-mobile: 200px;
  --img-border-radius: 10px;
}
html {
  scroll-padding-top: 80px;
}

body {
  font-family: 'Noto Sans Devanagari', sans-serif;
  scroll-behavior: auto; /* smooth scroll नको */
  background-color: #fdfdfd;
  color: #333;
}

/* Navbar */

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar {
  background-color: #5a1e1e; /* गडद मरून */
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  
}
.navbar .nav-link {
  color: #fff !important;
  font-weight: 500;
}
.navbar .nav-link.active {
  color: #ffd700 !important; /* सोनेरी */
}

/***********************/
.navbar > li {
  position: relative;
}

.navbar > li > a {
  display: block;
  padding: 12px 20px;
  color: #fff;
  text-decoration: none;
}

.navbar > li:hover {
  background: #5a1e1e;
}
.navbar-nav > li {
  position: relative;
}

.navbar-nav > li > a {
  display: block;
  padding: 12px 20px;
  color: #fff;
  text-decoration: none;
}
.navbar-nav .submenu {
  display: none;
  position: absolute;
  top: 100%;   /* directly below parent */
  left: 0;
  list-style: none;
  background: #5a1e1e;
  padding: 0;
  margin: 0;
  min-width: 80px;
  z-index: 2000; /* above other content */
}

/* Submenu hidden by default */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  background: #5a1e1e;
  padding: 0;
  margin: 0;
  min-width: 80px;
}

.submenu li a {
  display: block;
  padding: 10px;
  color: #ffd700 !important; /* सोनेरी */
  text-decoration: none;
}

.submenu li a:hover {
  background: #555;
}

/* Show submenu on hover */
.navbar > li:hover .submenu {
  display: block;
  
}
.navbar-nav > li:hover .submenu {
  display: block;
  
}

/***********************/
/* Hero Section */
header.hero {
  background: linear-gradient(120deg, #5a1e1e, #8b2f2f);
  color: #fff;
  /* padding: 6rem 0 4rem; */
  padding-top: 60px; /* Navbar खाली Hero सुरु होईल */
  padding-bottom: 10px;
}
header.hero h1 {
  font-weight: 700;
  font-size: 2.5rem;
}
header.hero p.lead {
  font-size: 1.25rem;
  opacity: 0.9;
}

.hero-container {
  margin-top: 0px;
}
.hero-img {
  max-width: 250px; /* फोटो लहान */
  height: auto;
}
.hero-img1 {
  max-width: 50px; /* फोटो लहान */
  height: auto;
}
/* Section Titles */
section {
  padding-top: 90px; /* adjust based on navbar height */
}

.section-title {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #5a1e1e;
  border-left: 6px solid #8b2f2f;
  padding-left: 10px;
}
.section-sub {
  color: #666;
  margin-bottom: 1.5rem;
}

/* Timeline */
.timeline li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #8b2f2f;
  border-radius: 2px;
}
.timeline li::after {
  content: "";
  position: absolute;
  left: -0.2rem;
  top: 0.4rem;
  width: 12px;
  height: 12px;
  background: #ffd700; /* सोनेरी dot */
  border-radius: 50%;
}
/* Gallery images */
#gallery img {
  width: 100%;
  height: var(--gallery-img-height-desktop);
  object-fit: cover;
  border-radius: var(--img-border-radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.gallery-item {
  display: flex;
  align-items: center;     /* vertical center */
  justify-content: center; /* horizontal center */
  height: 300px;           /* fixed height for gallery cell */
  overflow: hidden;
}

.gallery-item img {
  max-height: 80%;
  max-width: 100%;
  object-fit: contain;     /* keep full image visible */
  border-radius: var(--img-border-radius);
}

navbreadcrumb {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1rem;
}

.breadcrumb-item a {
  color: #5a1e1e; /* गडद मरून */
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #ffd700; /* सोनेरी */
  font-weight: 600;
}
.savistaar
 {
  color: #ffd700; /* सोनेरी */
  font-weight: 600;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  #gallery img {
    height: var(--gallery-img-height-mobile);
  }
}

@media (max-width: 768px) {
  .gallery-item {
    height: 200px;
  }
}

.gallery-caption {
  text-align: center;
  margin-top: 8px;
  font-weight: 500;
  color: var(--color-maroon-dark);
}

/* Slider Section */

/* Slider Section */
#slider .carousel-item {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
  height: 350px;          /* desktop height */
  overflow: hidden;
  text-align: center;
}

@media (max-width: 768px) {
  #slider .carousel-item {
    height: 300px;        /* mobile height */
  }
}

/* Landscape images fill neatly */
.landscape-img {
  width: 100%;
  height: 350px;
  object-fit: contain;       /* fills area, crops slightly */
  border-radius: 12px;
}

/* Portrait images stay intact */
.portrait-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 350px;   /* desktop */
  object-fit: contain;
  display: block;
  margin: auto;
}






/* Arrow buttons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 100% 100%;
  filter: invert(1);
}

.carousel-control-prev,
.carousel-control-next {
  z-index: 5;
}


/* Video wrapper */
.video-wrapper {
  position: relative;
  width: 100%;
  height: 500px;          /* Desktop video height */
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive tweak */
@media (max-width: 768px) {
  .video-wrapper {
    height: 300px;        /* Mobile video height */
  }
}

/* Video */
#video iframe {
  border: 4px solid #5a1e1e;
  border-radius: 8px;
}

/* Contact Form */
#contact input, #contact textarea {
  border-radius: 6px;
  border: 1px solid #ccc;
}
#contact button {
  background-color: #5a1e1e;
  border: none;
}
#contact button:hover {
  background-color: #8b2f2f;
}

/* Footer */
footer {
  background: #111;
  color: #bbb;
  padding: 2rem 0;
}
footer small {
  color: #888;
}
