


:root {
  --column-width: 280px;
  --gap: 6px;
}

.mg-page-wrap {
  /*background: #202124;*/
  min-height: 100vh;
  padding: 85px 0px 85px 0px;
}

.mg-container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 16px;
}

.font-google { font-family: 'Google Sans', sans-serif; }

/* Header */
.mg-header {
  /*background: rgb(232 236 249 / 95%);*/
  /*backdrop-filter: blur(16px);*/
  /*-webkit-backdrop-filter: blur(16px);*/
  /*border-bottom: 1px solid rgba(255, 255, 255, 0.1);*/
  position: sticky;
  top: 0;
  z-index: 40;
  /*padding: 12px 0;*/
}

.mg-header-inner {
      display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    background: rgb(232 236 249 / 95%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 5px 15px;
    border-radius: 5px;
}

.mg-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mg-brand-icon {
  color: #0e65cc;
  font-size: 24px;
}

.mg-brand h1 {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  margin: 0;
  line-height: 1.2;
}

.mg-brand p {
  color: #000; 
  margin: 0;
  line-height: 1.2;
}

/* Zoom Slider - This fixes visibility */
.mg-zoom-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  max-width: 400px;
  margin-left: auto;
}

.mg-zoom-icon {
  color: #9aa0a6;
  font-size: 14px;
}

.mg-zoom-slider {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  flex: 1;
  height: 20px;
  width: 100%;
      border: none !important;
}

.mg-zoom-slider::-webkit-slider-runnable-track {
  background: rgba(255, 255, 255, 0.15);
  height: 4px;
  border-radius: 2px;
}

.mg-zoom-slider::-moz-range-track {
  background: rgba(255, 255, 255, 0.15);
  height: 4px;
  border-radius: 2px;
}

.mg-zoom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  margin-top: -6px;
  background-color: #8ab4f8;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  transition: all 0.15s ease;
}

.mg-zoom-slider::-moz-range-thumb {
  border: none;
  background-color: #8ab4f8;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  transition: all 0.15s ease;
}

.mg-zoom-slider:active::-webkit-slider-thumb {
  transform: scale(1.2);
  background-color: #aecbfa;
}

.mg-zoom-slider:active::-moz-range-thumb {
  transform: scale(1.2);
  background-color: #aecbfa;
}

 

/* Masonry Gallery */
.masonry-gallery {
  column-gap: var(--gap);
  column-width: var(--column-width);
  padding: var(--gap);
  transition: column-width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      padding-top: 30px;
}

.my-gallery-page .gallery-item {
  break-inside: avoid;
  margin-bottom: var(--gap);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: #2d2e30;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
      aspect-ratio: 1 / 1;
}

.my-gallery-page .gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.my-gallery-page .gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      object-fit: cover;
}

.my-gallery-page .gallery-item:hover img { transform: scale(1.03); }

.my-gallery-page .gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: flex-end;
  padding: 12px;
}

.my-gallery-page .gallery-item:hover.gallery-item-overlay.has-text { opacity: 1; }
.my-gallery-page .gallery-item-overlay span { color: #fff; font-size: 14px; font-weight: 500; }

/* Lightbox */
.lightbox {
  animation: fadeIn 0.2s ease;
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.lightbox.hidden { display: none; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.mg-lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.lightbox-img {
  animation: zoomIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}

@keyframes zoomIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.mg-lightbox-caption {
  color: #fff;
  font-size: 16px;
  text-align: center;
  padding: 0 16px;
  min-height: 28px;
}

/* Lightbox buttons */
.mg-lightbox-btn {
  transition: all 0.15s ease;
  background: rgba(32, 33, 36, 0.95);
  backdrop-filter: blur(16px);
  border: none;
  cursor: pointer;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.mg-lightbox-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.mg-lightbox-btn:active { transform: scale(0.95); }

.mg-close-btn { position: absolute; top: 16px; right: 16px; }
.mg-prev-btn { position: absolute; left: 16px; }
.mg-next-btn { position: absolute; right: 16px; }

.mg-lightbox-btn i { font-size: 20px; }
.mg-prev-btn i,.mg-next-btn i { font-size: 18px; }

.mg-empty-msg {
  color: #fff;
  text-align: center;
  padding: 32px;
}
.my-container {    max-width: 1290px;
    margin: 0 auto;
} 
    
  .mg-zoom-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1;
  max-width: 400px;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 0px 8px 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mg-zoom-icon {
  color: #8ab4f8;
  font-size: 20px;
}

.mg-zoom-slider {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  flex: 1;
  height: 20px;
  width: 100%;
}

/* Track - Webkit */
.mg-zoom-slider::-webkit-slider-runnable-track {
  background: #0779FF;
  height: 6px;
  border-radius: 3px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Track - Firefox */
.mg-zoom-slider::-moz-range-track {
  background: #0779FF;
  height: 6px;
  border-radius: 3px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Thumb - Webkit */
.mg-zoom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  margin-top: -7px;
  background: #FFE51F;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  border: 2px solid #0779FF;
  box-shadow: 0 2px 8px rgba(138, 180, 248, 0.4);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Thumb - Firefox */
.mg-zoom-slider::-moz-range-thumb {
  border: 2px solid #0779FF;
  background: FFE51F;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(138, 180, 248, 0.4);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

/* Hover state */
.mg-zoom-slider:hover::-webkit-slider-thumb {
  transform: scale(1.1);
  box-shadow: 0 3px 12px rgba(138, 180, 248, 0.6);
}

.mg-zoom-slider:hover::-moz-range-thumb {
  transform: scale(1.1);
  box-shadow: 0 3px 12px rgba(138, 180, 248, 0.6);
}

/* Active state */
.mg-zoom-slider:active::-webkit-slider-thumb {
  transform: scale(1.25);
  background: linear-gradient(135deg, #aecbfa 0%, #c6dcfc 100%);
  box-shadow: 0 4px 16px rgba(138, 180, 248, 0.8);
}
 
.mg-zoom-slider:active::-moz-range-thumb {
  transform: scale(1.25);
  background: linear-gradient(135deg, #aecbfa 0%, #c6dcfc 100%);
  box-shadow: 0 4px 16px rgba(138, 180, 248, 0.8);
}

/* Value display */
.mg-zoom-value {
      min-width: 0;
    margin-left: 10px;
    text-align: center;
    color: #0E2A46;
    font-size: 22px;
    font-weight: 600;
    /* background: rgba(138, 180, 248, 0.1); */
    /* padding: 4px 10px; */
    /* border-radius: 12px; */
    /* border: 1px solid rgba(138, 180, 248, 0.2);*/
}  
.custome-title-gallery h2 span {color: #0779FF;}
.custome-title-gallery h2 {font-family: "Epilogue", Sans-serif;
    font-weight: 700;
    color: #0E2A46;
    font-size: 38px;
    text-align: center;
    line-height: 44px;
    margin: 0px 0px 20px 0px;}
.custome-title-gallery p {max-width: 765px;
    width: 100%;
    margin: 0px auto;
    text-align: center;
    font-family: "Sora", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    margin-bottom: 30px;
}  
    

/* Mobile */
@media (max-width: 768px) { 
.mg-page-wrap { 
  padding: 50px 0px 45px 0px;
}
 .mg-header-inner { gap: 12px;    padding: 5px 15px; }
 .mg-zoom-wrap { max-width: 100%; }
 .mg-brand h1 { font-size: 16px; }
 .custome-title-gallery h2 {        font-size: 28px;
        line-height: 30px;}
 .mg-container { padding: 0px 10px;}
 .mg-lightbox-caption {
    font-size: 14px;
    line-height: 22px;
}
}

    
    
    
    
    
    
    