/* Add your styles here */

/* Importing Google Font - Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

body {
  background: url('/images/bg-bihar.jpg') no-repeat center center/cover;
  font-family: 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 2rem;
}

.glass-card {
  width: 300px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  color: black;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.glass-card:hover {
  transform: scale(1.05);
}

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

.card-content {
  padding: 1rem;
}

.card-content h2 {
  margin: 0;
  font-size: 1.5rem;
}

.card-content a {
  margin-top: 1rem;
  display: inline-block;
  color: red;
  text-decoration: underline;
}

/* */
.tour-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.tour-card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.2);
}

/* Custom red border on all sides */
.border-custom {
  border: 3px solid #f8d7da; /* Light red border */
}

/* Optional enhancement */
.card-title {
  color: #b30000;
}

@media (max-width: 768px) {
  .tour-card {
    margin: 15px;
  }
}

/* Navbar Base Styles */

/* NEW Floating Navbar */
.main-navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(15px);
  padding: 12px 0;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.dark-mode .main-navbar {
  background: rgba(20, 20, 20, 0.6);
}

/* Navbar container */
.nav-container {
  width: 92%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.nav-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #d81b60;
  text-decoration: none;
}

/* Links */
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
}

.nav-links li a {
  text-decoration: none;
  font-size: 17px;
  color: #222;
  padding: 8px 12px;
  border-radius: 8px;
  transition: 0.3s ease;
}

.nav-links li a:hover {
  background: #ff4d6d;
  color: white;
  transform: translateY(-2px);
}

.dark-mode .nav-links li a {
  color: #ddd;
}

/* Dark Mode Toggle */
.theme-toggle {
  font-size: 1.4rem;
  cursor: pointer;
  margin-left: 15px;
  transition: 0.3s;
}
.theme-toggle:hover {
  transform: scale(1.1);
}

/* Mobile Menu Button */
.menu-btn {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  user-select: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {

  .nav-links {
    position: absolute;
    top: 65px;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    flex-direction: column;
    width: 220px;
    padding: 20px;
    border-radius: 0 0 0 15px;
    display: none;
    box-shadow: -4px 6px 15px rgba(0,0,0,0.15);
  }

  .nav-links.show {
    display: flex;
  }

  .menu-btn {
    display: block;
  }

  .dark-mode .nav-links {
    background: rgba(30,30,30,0.95);
  }

}


/*BIHAR MEANS HEAVEN SECTION STYLES*/
/* HERO SECTION BACKGROUND */
.hero-container {
    min-height: 80vh;   /* Fix 1 */
    height: auto;       /* Fix 2 */
    background: url('/images/bg-bihar.jpg') center/cover no-repeat; /* Fix 3 (remove fixed) */
    background-attachment: scroll;  /* Fix 4 */
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 120px;
    padding-left: 260px;
    
}


.hero-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

/* MAIN PREMIUM CARD */
.hero-main-card {
    position: relative;
    z-index: 2;
    display: flex;
    width: 90%;
    max-width: 900px;
    border-radius: 25px;
    padding: 35px 40px;

    /* GRADIENT + GLASS */
    background: linear-gradient(135deg, rgba(113, 34, 228, 0.55), rgba(173, 71, 255, 0.4));
    backdrop-filter: blur(12px);

    /* PURPLE GLOW */
    box-shadow: 
       0 0 20px rgba(149, 57, 255, 0.7),
       0 0 40px rgba(119, 44, 232, 0.4);

    align-items: center;
    gap: 35px;

    animation: fadeUp 1.2s ease;
}

/* LEFT IMAGE */
.hero-left {
    flex: 1;
    display: flex;
    justify-content: center;
}

.bihar-map-img {
    width: 250px;
    filter: drop-shadow(0 0 15px rgba(156, 48, 255, 0.7));
    animation: float 4s ease-in-out infinite;
}

/* RIGHT CONTENT */
.hero-right {
    flex: 1;
    color: white;
}

/* ICON */
.hero-icon {
    font-size: 2.2rem;
    margin-bottom: 8px;
    background: rgba(255,255,255,0.15);
    padding: 10px;
    width: fit-content;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

/* TEXT */
.hero-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
}

.hero-desc {
    margin-top: 12px;
    line-height: 1.6;
    opacity: 0.95;
}

/* BUTTON */
.hero-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #ff0084;
    color: #fff !important;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
    box-shadow: 0 5px 20px rgba(255,0,132,0.4);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,0,132,0.6);
}

/* FLOAT ANIMATION */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

/* SMOOTH FADE ANIMATION */
.animate {
    opacity: 0;
    transform: translateY(25px);
    transition: 0.8s ease;
}

.animate.show {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-main-card {
        flex-direction: column;
        text-align: center;
    }
    .bihar-map-img {
        width: 180px;
        margin-bottom: 10px;
    }
}






/* Footer Navbar Styling */
.footer-navbar {
  background: rgba(255, 255, 255, 0.2); /* soft transparent white */
  backdrop-filter: blur(3px); /* glass effect */
  padding: 15px 0;
  margin-top: 3px;
  border-top: 2px light #fff;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.footer-nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 50px;
  margin: 0;
  padding: 0;
}

.footer-nav-links li a {
  color: black;
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
}

.footer-nav-links li a:hover {
  background-color: #ff4d6d;
  color: #fff;
  transform: scale(1.1);
}

/* Responsive for Mobile */
@media (max-width: 600px) {
  .footer-nav-links {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

.bihar-places-title {
  text-align: center;
  font-size: 2rem;
  margin: 20px 0;
  color: #c0392b;
}

.bihar-card-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.bihar-card {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 260px;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
}

.bihar-card:hover {
  transform: scale(1.05);
}

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

.bihar-card h3 {
  margin: 10px;
  font-size: 1.2rem;
  color: #2c3e50;
}

.bihar-card p {
  margin: 0 10px 15px;
  font-size: 0.9rem;
  color: #555;
}

.nitish-kumar-section {
  text-align: center;
  background-color: #f4f4f4;
  padding: 30px 20px;
  margin-top: 40px;
}

.nitish-title {
  font-size: 1.8rem;
  color: #2e4053;
}

.nitish-photo {
  width: 200px;
  border-radius: 12px;
  margin-top: 15px;
}

.nitish-desc {
  font-size: 1rem;
  margin-top: 10px;
  color: #333;
}

/* culture section */
.culture-section {
  background: #fff2e6;
  padding: 60px 20px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.culture-section h2 {
  color: #cc3300;
  font-size: 2.8rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.culture-section p.subtitle {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 50px;
}

.culture-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.culture-card {
  background: #fff;
  border-radius: 20px;
  width: 260px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.culture-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.culture-card img {
  height: 120px;
  width: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

.culture-card p {
  color: #666;
  font-size: 0.95rem;
}



/* footer section */
.site-footer {
  background: #ccffe6;
  color: #0345fc;
  padding: 25px 0;
  text-align: center;
  margin-top: 50px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-social a {
  color: #fc0303;
  margin: 0 10px;
  font-size: 1.4rem;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #42f2f5;
}

.footer-contact p {
  margin: 5px 0;
  font-size: 0.95rem;
}


/* ----------------------------------- */
/*      CM SECTION - PREMIUM UI        */
/* ----------------------------------- */

/* Transparent Background Wrapper */
.cm-card-wrapper {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
    background: transparent;
    backdrop-filter: blur(8px);
}

/* Glassmorphic CM Card (Title + Content Box) */
.cm-glass-card {
    width: 90%;
    max-width: 700px;
    padding: 40px;
    border-radius: 25px;

    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(18px);

    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
    text-align: center;
    transition: 0.35s ease;
}

/* Hover Lift */
.cm-glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
}

/* Title */
.cm-title {
    font-size: 2.7rem;
    font-weight: 900;
    margin-bottom: 30px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.5px;

    text-shadow: 0 0 18px rgba(255,255,255,0.8),
                 0 0 40px rgba(255,255,255,0.35);
}

/* =============================== */
/*      FULL CARD IMAGE SECTION    */
/* =============================== */

.cm-full-img-container {
    position: relative;
    width: 100%;
    max-width: 650px;
    margin: 0 auto 20px auto;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0,0,0,0.35);
}

/* Full Image */
.cm-full-img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    border-radius: 22px;
    transition: transform 0.45s ease;
}

.cm-full-img-container:hover .cm-full-img {
    transform: scale(1.08);
}

/* Button - Hidden by default */
.cm-btn {
    position: absolute;
    bottom: 18px;
    right: 18px;
    padding: 12px 22px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    color: #222;
    cursor: pointer;

    opacity: 0;
    pointer-events: none;
    transition: 0.35s ease;
}

/* Show only on hover */
.cm-full-img-container:hover .cm-btn {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-4px);
}

/* Disable old small image container */
.cm-img-container,
.cm-img {
    display: none !important;
}

/* Description */
.cm-desc {
    margin-top: 10px;
    font-size: 1.25rem;
    line-height: 1.7;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0,0,0,0.6);
}

/* Mobile Responsive */
@media (max-width: 600px) {

    .cm-full-img {
        height: 220px;
    }

    .cm-title {
        font-size: 2rem;
    }

    .cm-glass-card {
        padding: 28px;
    }
}



.blog-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    padding: 30px;
}

.blog-card {
    width: 320px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

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

.blog-card h2 {
    margin: 15px;
    font-size: 1.4rem;
}

.read-btn {
    display: block;
    margin: 10px 15px 15px;
    color: #ff0084;
    font-weight: 600;
}


