body{
    background-color: white !important;
}

#collections_page .heading_1{
    font-family: MontserratM;
    font-size: 35px;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    margin:0 auto;
    color: black;
    padding-top: 80px;
}

.desc{
  padding-top: 30px;
}

.main_cat_logo img{
    display: block;
    text-align: center;
    margin: 0 auto;
    padding: 0 0 100px 0;
}

.main_cat_heading {
    font-family: MontserratR;
    font-size: 45px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
}

p, h2 {
  max-width: 1320px;
  margin: 0 auto;
  font-family: MontserratR;
  font-size: 22px;
  text-align: center;
  color: black;
  padding-bottom: 0.5rem; 
  line-height: 1.7rem;
}

h2{
  width: 60%;
  font-family: MontserratEB;
  padding-bottom: 1.5rem; 
}

.separator {
    width: 150px;
    height: 7px;
    background: #000;
    margin: 0 auto;
    margin-top: 2.5rem;
    margin-bottom: 5rem;
}

.nav-bar {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 5rem;
  color: #5C5C5C;
  font-family: MontserratSB;
  font-size: 21px;
  margin-top: 5rem;
}

.nav-bar a {
  text-decoration: none;
  text-transform: capitalize;
  padding: 10px 18px;   
/* border-radius: 6px;    */
cursor: pointer;
  color: #5C5C5C;
}

.nav-bar a.with-drop-down{
  padding: 6px 18px;
}

.nav-bar a:hover {
    background: #f0f0f0;
  color: #000;
}

.nav-bar a.active {
  background: #e0e0e0; 
  font-weight: 600;
}


.arrow {
  font-size: 1.5em;
  margin-left: 6px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.menu {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
}

.menu > a,
.dropdown > a {
  padding: 14px 20px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.menu > a:hover,
.menu > a.active,
.dropdown > a.active {
    background: #e0e0e0; 
  color: black;
}

/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown.open .arrow {
  transform: rotate(180deg);
}

/* Dropdown content */
.dropdown-content {
  display: none;
  position: absolute;
  top: 60px;
  padding: 0px;
  left: 0;
  background: #fff;
  min-width: 207px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  /* border-radius: 4px; */
  z-index: 1000;
  text-align: left;
}

.dropdown-content {
  display: none;
}
.dropdown.open .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 10px 16px;
        color: #5C5C5C;

  text-decoration: none;
  /* transition: background 0.3s; */
}

.dropdown-content a:hover {
  background: #f4f4f4;
  color: #000;
}

/* Show when open */
.dropdown.open .dropdown-content {
  display: block;
}

/* Submenu active */
.dropdown-content a.sub-active {
    background: #e0e0e0; 
  color: #000;
}

/* Responsive */
@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    align-items: stretch;
  }

  .menu > a,
  .dropdown > a {
    text-align: left;
    padding: 12px 16px;
  }

  .dropdown-content {
    position: relative;
    box-shadow: none;
  }

  .dropdown-content a {
    padding-left: 32px;
  }

  .arrow {
    float: right;
    margin-right: 10px;
  }
}

    .filter-bar {
    display: flex;
    max-width: 85%;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 3rem;
    row-gap: 1rem;
    margin: 0 auto;
    font-size: 21px;
    font-family: MontserratR;
    color: #888888;
    padding-bottom: 30px;
}

    .filter-bar a {
      text-decoration: none;
      color: #444;
    }

    .filter-bar a.active {
      font-weight: 600;
      text-decoration: underline;
    }

    .end_heading{
    font-family: MontserratR;
    font-size: 45px;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 1px;
    margin-top: 4rem;
    }

    .end_content{
        font-family: MontserratR;
    font-size: 30px;
    text-align: center;
    width: 100%;
    margin:0 auto;
    color: black;
    margin-bottom: 3rem;
    }

  /* --- Gallery --- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(490px, 1fr));
  gap: 20px;
  justify-content: center;
  padding: 40px;
  max-width: 1600px;
  margin: auto;
  position: relative;
}

.gallery img {
  width: 490px;
  height: 476px;
  object-fit: cover;
  object-position: top;
  cursor: pointer;
  /* border-radius: 4px; */
  transition: transform 0.3s ease;
}

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

.gallery-item {
  position: relative; /* required for the overlay */
  display: inline-block; /* preserve layout */
  width: 490px; 
  height: 476px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  cursor: pointer;
  transition: transform 0.3s ease;
  display: block;
}

.gallery-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/images/collection/window_france_gradient.png') no-repeat center/100% 100%;
  pointer-events: none; /* ensures clicks go to Lightbox */
  z-index: 2;
}

/* Optional: hover effect on image */
.gallery-item img:hover {
  transform: scale(1.05);
}

/* Caption text on bottom-left corner */
.gallery-item .image-title {
  position: absolute;
  bottom: 12px; /* distance from bottom */
  left: 15px;   /* distance from left */
  color: #BDBDBD;  /* text color, adjust as needed */
  font-size: 18px; /* adjust size */
  font-weight: bold;
  z-index: 3;   /* above gradient */
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7); /* makes text readable */
  text-transform: uppercase;
}

/* --- Overlay (Lightbox) --- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0; /* shorthand for top:0; right:0; bottom:0; left:0 */
  width: 100%;
  height: 100vh;
  background: rgba(255,255,255,0.95);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;     
  height: auto;    
  object-fit: contain;
}

/* ---- Close button ---- */
.lightbox .close {
  position: absolute;
  top: 20px;
  right: 40px;
  cursor: pointer;
  color: black;
  font-family: MontserratR;
  font-size: 28px;
  z-index: 1002;
}

/* ---- Navigation arrows ---- */
.lightbox .nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(-50%);
  padding: 0 40px; /* spacing from edges */
  font-size: 54px;
  cursor: pointer;
  user-select: none;
  z-index: 1002;
}

.note{
  font-size: 17px;
  font-weight: bold;
  max-width: 90%;
  margin: 0 auto;
}

@media only screen and (min-width: 320px) and (max-width: 767px){
    p{
        max-width: 90%;
    }

    .nav-bar {
    flex-direction: column; /* stack links vertically */
    align-items: center;
    gap: 12px;
margin-top: 2rem;
  }
  .nav-bar a {
    display: block;
    width: 100%;
    max-width: 250px;       /* limit width */
    text-align: center;
    font-size: 1rem;
  }

  .separator{
    margin-bottom: 3rem;
  }
      .main_cat_heading {
        font-size: 1.4rem;
      }
      p {
        font-size: 0.9rem;
        max-width: 90%;
      }

    .filter-bar {
        max-width: 95%;
        font-size: 18px;
        margin:0 auto;
        justify-content: baseline;
        gap: 1rem;
    }

      .gallery {
        grid-template-columns: 1fr;
      }
      .gallery img {
        height: auto;
        max-height: 350px;
        max-width: 100%;
      }

      .gallery-item {
        position: relative; /* required for the overlay */
        display: inline-block; /* preserve layout */
        max-height: 350px;
        max-width: 100%;
        overflow: hidden;
      }

      .gallery-item .image-title {
        left: 72px;   /* distance from left */
      }

      .lightbox img {
        max-width: 95vw;
        max-height: 70vh;
      }

      .lightbox .close {
    font-size: 18px;
    padding-left: 0px;
}

.end_heading{
    font-size: 35px;
}

.end_content{
    font-size: 25px;
    max-width: 90%;
}

.main_cat_logo img {
    width: 75%;
}
}


@media only screen and (min-width: 768px) and (max-width: 1023px){

     .separator{
    margin-bottom: 3rem;
  }

    .nav-bar {
    gap: 20px;
  }
  .nav-bar a {
    font-size: 0.95rem;
    padding: 8px 14px;
  }
      .main_cat_heading {
        font-size: 1.6rem;
      }
      p {
        font-size: 0.95rem;
        padding: 0 10px;
      }

      .filter-bar{
        margin: 0 auto;
        gap:1rem;
        max-width: 90%;
      }
      .gallery {
    grid-template-columns: repeat(2, minmax(370px, 1fr));
    max-width: 768px;
}
.gallery img {
        width: 370px;
        margin: 0 auto;
      }

      .gallery-item {
  position: relative; /* required for the overlay */
  display: inline-block; /* preserve layout */
  width: 370px;
  height: auto;
  overflow: hidden;
}

      .lightbox {
        flex-direction: column;
        align-items: center;
      }
      .lightbox img{
        max-width: 100%;
        height: 80vh;
      }
      .lightbox .close {
        align-self: center;
        margin-top: 10px;
      }

      .end_content{
    max-width: 90%;
}
}

@media only screen and (min-width: 1024px) and (max-width: 1365px){

  .menu > a,
.dropdown > a {
  padding: 14px 10px;
}

.nav-bar{
  font-size: 16px;
}

.main_cat_logo img {
    padding: 0 0 82px 0;
}

    .coll_gallery{
        max-width: 90%;
        margin: 0 auto;
        justify-content: center;
    }
    .gallery {
  grid-template-columns: repeat(3, minmax(290px, 1fr));
  gap:0px;
  column-gap: 7px;
  row-gap: 11px;
  justify-content: center;
  padding: 40px;
  max-width: 1024px;
  margin: auto;
  position: relative;
}

.gallery img {
  width: 290px;
  height: 276px;
  object-fit: cover;
  object-position: top;
  cursor: pointer;
  /* border-radius: 4px; */
  transition: transform 0.3s ease;
}

 .gallery-item {
  position: relative; /* required for the overlay */
  display: inline-block; /* preserve layout */
  width: 290px;
  height: 276px;
  overflow: hidden;
}

 .lightbox img{
        width: 70%;
        height: 80vh;
      }

       .nav-bar {
    gap: 10px;
    margin-top:1rem;
    margin-bottom: 2rem;
  }

  p{
    max-width: 90%;
  }

  .separator{
    margin-bottom: 3rem;
  }

  .filter-bar{
        margin: 0 auto;
        column-gap: 3rem;
        row-gap: 1rem;
        max-width: 90%;
      }
}

@media only screen and (min-width: 1366px) and (max-width: 1700px){
    .nav-bar{
        column-gap: 0.4rem;
    }

     .gallery {
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap:0px;
  column-gap: 10px;
  row-gap: 25px;
  justify-content: center;
  padding: 40px;
  max-width: 1366px;
  margin: auto;
  position: relative;
}

.gallery img {
  width: 420px;
  height: 476px;
  object-fit: cover;
  object-position: top;
  cursor: pointer;
  /* border-radius: 4px; */
  transition: transform 0.3s ease;
}

.gallery-item {
  position: relative; /* required for the overlay */
  display: inline-block; /* preserve layout */
  width: 420px; 
  height: 476px;
  overflow: hidden;
}

.lightbox img{
    max-width: 100%;
    height: 80vh;
}
}

