body {
    background-image: url('/images/bodyBg.jpg');
    background-size: cover;              /* Ensures the image covers the entire screen */
    background-repeat: no-repeat;        /* Prevents the image from repeating */
    background-position: center center;  /* Keeps the image centered */
    background-attachment: fixed;        /* Optional: keeps background fixed during scroll */
}


.modal-content {
      border-radius: 1rem;
      overflow: hidden;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
      animation: slideUp 0.4s ease-out;
    }

    .modal-img {
      height: 200px;
      background-image: url('/images/location/homeBg.jpeg'); /* Replace with your image */
      background-size: cover;
      background-position: center;
    }

    @keyframes slideUp {
      from {
        transform: translateY(30px);
        opacity: 0;
      }
      to {
        transform: translateY(0);
        opacity: 1;
      }
    }
@media screen and (max-width:768px) {
    .logo-ESM{
        height:50px;
    }
}
.carousel-image {
    height: 300px;  /* Adjust for larger images */
    object-fit: cover;
    border-radius: 10px;
}

.image-container {
    overflow: hidden;
    border-radius: 10px;
}

.carousel-control-prev, .carousel-control-next {
    filter: invert(100%);  /* Makes arrows visible on any background */
}

.hover-effect {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .carousel-item .col-md-4 {
        flex: 0 0 100%; /* Show one image per slide on small screens */
        max-width: 100%;
    }
}

/* Locations Section */
.locations-container {
    text-align: center;
    padding: 50px;
}

/* Horizontal Scrollable Locations List */
.locations-list {
    display: flex;
    gap: 15px;
    overflow-x: auto; /* Enable horizontal scrolling */
    padding: 10px 20px;
    white-space: nowrap;
    scrollbar-width: thin;
}

/* Individual Location Items */
.location-item {
    position: relative;
    min-width: 250px;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

/* Location Images */
.location-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Location Name Overlay */
.location-info {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    width: 100%;
    text-align: center;
    padding: 10px;
    font-weight: bold;
}

/* Hover Effect */
.location-item:hover {
    transform: scale(1.05);
}


/* --------- Collections Section --------- */
.collections-container {
    text-align: center;
    padding: 40px;
    margin: 0 auto;
    max-width: 1200px;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 200px;
    gap: 15px;
    justify-content: center;
    margin: 0 auto;
    max-width: 1100px;
}

/* Collection Item */
.collection-item {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.collection-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Hover Effect */
.collection-item:hover {
    transform: scale(1.05);
}

/* Dark Gradient Overlay */
.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    display: flex;
    align-items: flex-end;
    padding: 10px;
    color: white;
    font-weight: bold;
    text-align: center;
}

.collection-title {
    width: 100%;
}

/* Hide Extra Items Initially */
.hidden {
    display: none;
}


/* Target unchecked switch */
.red-toggle .form-check-input {
  background-color: red;
  border-color: red;
}

/* Optional: change the switch thumb */
.red-toggle .form-check-input:before {
  background-color: white;
}

/* Keep Bootstrap's default color when checked (optional) */
.red-toggle .form-check-input:checked {
  background-color: #0d6efd; /* Bootstrap's default blue */
  border-color: #0d6efd;
}

.carousel-item img {
  width: 100%;
  height: 400px; /* fixed height for uniform carousel */
  object-fit: cover; /* default on mobile */
}

@media (min-width: 992px) { /* laptops and above */
  .carousel-item img {
    object-fit: contain;
    background-color: #000; /* optional: fill empty space with black */

@media (max-width: 576px) {
  .pagination .page-link {
    padding: 0.4rem 0.65rem;
    font-size: 0.875rem;
  }
}


  }
}

