.connect-section{
    position: relative;
    z-index: 10;
}


#main{
	overflow:hidden !important;
}

.homepage-container-wrapper a{
    color: #580c0c;
}
.homepage-container-wrapper ::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}

.homepage-container-wrapper ::-webkit-scrollbar-track {
  background: transparent;
}

.homepage-container-wrapper ::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 1px;
}

.homepage-container-wrapper ::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}



/* Homepage map wrapper - replaces Tailwind relative w-full h-full */
.homepage-map-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 8px;
    overflow: hidden;
}

/* Homepage map inner - replaces Tailwind relative z-10 */
.homepage-map-inner {
  position: relative;
  z-index: 10;
}


/* .homepage-map-image {
  width: 100%;
  max-width: 56rem; 
  height: auto;
  position: relative;
left: -40px;
  top: 2.5rem; 
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .homepage-map-image {
   left: -10px;
  }
} */

.homepage-map-image {
  width: 100%;
  max-width: 56rem; /* max-w-4xl */
  height: auto;
  position: relative;
  left: -120px;
  transform: scale(0.7);
  top: 2.5rem; /* top-10 */
  transition: all 0.3s ease; /* duration-300 */
}

/* Desktop: scale-125 */
@media (min-width: 1024px) {
  .homepage-map-image {
    transform: scale(1.25);
  }
}

/* When sidebar is open - desktop */
@media (min-width: 1024px) {
  .homepage-map-image.sidebar-open {
    left: -14%;
  }
}

/* When sidebar is open - 2xl */
@media (min-width: 1536px) {
  .homepage-map-image.sidebar-open {
    left: -46%;
  }
}


.map-title{
    text-align: center;
    color:#580c0c;
    font-size:1.5rem;
}
.map-intro{
    text-align: center;
}

/* @media (max-width: 500px) {
  .homepage-map-image {
   left: -110px;
   transform: scale(0.7);
  }
} */



/* Desktop: scale-125 */
@media (min-width: 1024px) {
  .homepage-map-image {
    transform: scale(1.25);
  }
}

/* When sidebar is open - desktop */
@media (min-width: 1024px) {
  .homepage-map-image.sidebar-open {
    left: -14%;
  }
}

/* When sidebar is open - 2xl */
@media (min-width: 1536px) {
  .homepage-map-image.sidebar-open {
    left: -46%;
  }
}

/* Homepage background image - replaces Tailwind absolute top-0 left-0 w-full h-full object-cover z-0 */
.homepage-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Desktop sidebar wrapper - replaces Tailwind hidden lg:block */
.desktop-sidebar-wrapper {
  display: none;
}

@media (min-width: 1024px) {
  .desktop-sidebar-wrapper {
    display: block;
  }
}

/* Mobile sidebar wrapper - replaces Tailwind block lg:hidden */
.mobile-sidebar-wrapper {
  display: block;
}

@media (min-width: 1024px) {
  .mobile-sidebar-wrapper {
    display: none;
  }
}

/* Container */
.homepage-container-wrapper {
  font-family: "Montserrat", sans-serif;
  position: relative;
  overflow: hidden;
  padding: 8px;
  border-radius: 16px;
  background: linear-gradient(
    52deg,
    #c49337 0%,
    #fcf7cd 28%,
    #edcd78 50%,
    #a7602b 63%,
    #fdf8d0 82%,
    #bb9138 100%
  );
  font-size: 1rem;
      margin-bottom: 32px;
}

.homepage-container {
  height: 100vh;
  max-height: 900px;
  display: flex;
  align-items: center;
  overflow: auto;
  justify-content: center;
  border-radius: 8px;
}

@media screen and (max-width: 768px) {
  .homepage-container {
    justify-content: start;
    max-height: 95vh;
    overflow-y: hidden;
  }
}

/* Zoomable Image Container */
.zoomable-image-container {
  position: relative;
  /* overflow: hidden; */
  user-select: none;
  touch-action: pan-x pan-y;
}

.zoomable-image-container.cursor-grab {
  cursor: grab;
}

.zoomable-image-container.cursor-grabbing {
  cursor: grabbing;
}

.zoomable-image-container.cursor-default {
  cursor: default;
}

/* Zoomable Image */
.zoomable-image {
  transition: transform 200ms ease-out;
  transform-origin: center center;
  max-width: none;
  height: auto;
}

/* Zoom Overlay */
.zoom-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
}
@media screen and (max-width: 1024px) {
  .zoomable-image-container .zoomable-image,
  .zoomable-image {
    transition: none !important;
  }
}
/* Instructions */
.instructions {
  position: absolute;
  z-index: 10000;
  bottom: 1rem;
  left: 1rem;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
}

.instructions-mobile {
  font-size: 0.75rem;
  margin-top: 0.25rem;
  opacity: 0.8;
}

/* Map Pin */
.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 10;
  transition: z-index 0.2s ease;
}

/* Pin without detail - disable interactions */
.map-pin.pin-no-detail {
  cursor: default;
  pointer-events: none;
}

/* Pin hovered state */
.map-pin.pin-hovered .pin-icon {
  transform: scale(1.5);
}

/* Pin visibility states */
.map-pin.pin-visible:not(.pin-hovered) {
  animation: pinDropIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  opacity: 1;
}

.map-pin.pin-visible-fade:not(.pin-hovered) {
  opacity: 1;
  transition: opacity 0.5s ease;
  animation: none;
}

.map-pin.pin-visible.pin-hovered,
.map-pin.pin-visible-fade.pin-hovered {
  animation: pinBounce 0.6s ease-in-out infinite;
  z-index: 20;
}

.map-pin.pin-hidden {
  opacity: 0;
  transition: opacity 0.1s ease;
  animation: none;
}

/* Pin drop animation - "cắm xuống" effect */
@keyframes pinDropIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -150%) scale(0.3);
  }

  50% {
    opacity: 0.8;
    transform: translate(-50%, -30%) scale(1.1);
  }

  70% {
    transform: translate(-50%, -10%) scale(0.95);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Pin bounce animation - "nảy nảy" effect */
@keyframes pinBounce {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }

  50% {
    transform: translate(-50%, -50%) translateY(-8px);
  }
}

/* Pin Icon */
.pin-icon {
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center bottom;
}

.pin-circle, .pin-circle * {
  /* width: 1.75rem;
  height: 2.5rem; */
  position: relative;
  transform: translateY(-25%);
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1))
    drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05));
  cursor: pointer;
  transition: transform 0.2s ease;
  -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.pin-circle:hover {
  transform: translateY(-25%) scale(1.1);
}

/* Tooltip */
.tooltip {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.5rem;
  /* white-space: nowrap; */
  z-index: 20;
  line-height: 1.2;
}

.tooltip-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.tooltip-region {
  opacity: 0.8;
    width: 250px;
}

.tooltip-arrow {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 0.25rem solid transparent;
  border-right: 0.25rem solid transparent;
  border-top: 0.25rem solid rgba(0, 0, 0, 0.8);
}
.map-pin{
     -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}
/* Pin Active State */
.map-pin.pin-active {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.map-pin.pin-active .pin-icon {
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2))
    drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

/* Sidebar */
.pin-sidebar {
  position: absolute;
  top: 0;
  right: -60%;
  width: 50%;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border-top-left-radius: 16px;
  max-width: 90vw;
  height: 100%;
  background-color: #ffedd2;
  box-shadow: -2px 0 4px rgba(0, 0, 0, 0.15);
  z-index: 10;
  transition: right 0.3s ease-in-out;
  /* overflow-y: auto; */
}

@media screen and (max-width: 1024px) {
  .pin-sidebar {
    width: 100%;
    right: -120%;
  }
}

.pin-sidebar.sidebar-open {
  right: 0;
}

/* Mobile Sidebar */
.mobile-sidebar {
  position: fixed;
  top: 0px;
  left: 0;
  right: 0;
  bottom: 0;
  /* width: 100%; */
  z-index: 100;
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.mobile-sidebar-content {
  position: relative;
  height: 100%;
  background-color: #ffedd2;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.mobile-sidebar.mobile-sidebar-open {
  pointer-events: auto;
  opacity: 1;
}

/* Peek state - hiển thị một phần (khoảng 200px từ bottom) */
.mobile-sidebar.mobile-sidebar-open.mobile-sidebar-peek {
  transform: translateY(calc(100% - 300px));
}

/* Full state - top 12px */
.mobile-sidebar.mobile-sidebar-open.mobile-sidebar-full {
  transform: translateY(0px);
  margin-top: 24px;
  border-radius: 24px;
}

.mobile-sidebar-handle-container {
  cursor: pointer;
  padding: 16px 32px 100px;
  margin-bottom: -60px;
  position: relative;
  z-index: 10;
}

/* Mobile sidebar drag handle indicator */
/* .mobile-sidebar-handle {
  width: 40px;
  height: 4px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 2px;
  margin: auto;
  flex-shrink: 0;
} */

.mobile-sidebar-handle {
  width: 0;
  height: 0;
  background-color: transparent;
  border-radius: 0;
  margin: auto;
  flex-shrink: 0;

  /* Tạo tam giác */
  border-left: 15px solid transparent; 
  border-right: 15px solid transparent;
  border-bottom: 10px solid #580c0c;
}

/* Mobile sidebar toggle button - inside sidebar (hidden) */
.mobile-sidebar-toggle {
  display: none;
}

.sidebar-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #666;
  cursor: pointer;
  padding: 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
  z-index: 1002;
}

.sidebar-close-desktop {
  position: absolute;
  top: 50%;
  left: -28px;
  transform: translateY(-50%);
  padding: 1rem 1rem 1.2rem;
  font-size: 2rem;
  vertical-align: sub;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  background-color: #ffedd2;
  color: #666;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
  z-index: 1002;
}

@media screen and (min-width: 1024px) {
  .sidebar-close {
    display: none;
  }
}

/* Tutorial sidebar handle container animations */
@keyframes tutorialFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tutorialBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.tutorial-sidebar-handle-container {
  position: relative;
  animation:
    tutorialFadeIn 0.5s ease-out,
    tutorialBounce 2s ease-in-out 0.5s infinite;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.tutorial-sidebar-handle-container:hover {
  animation-play-state: paused;
  transform: translateY(-2px) scale(1.02);
}

.tutorial-sidebar-handle-container:active {
  transform: translateY(0) scale(0.98);
}

.tutorial-sidebar-handle {
  background-color: rgba(0, 0, 0, 0.5);
  font-size: 12px;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  margin: 8px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.tutorial-sidebar-handle-container:hover .tutorial-sidebar-handle {
  background-color: rgba(0, 0, 0, 0.7);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 1024px) {
  .sidebar-close {
    top: 0.5rem;
    right: 0.5rem;
  }
}

.sidebar-close:hover {
  background-color: #f89100;
  color: #fff;
}

/* Close button position same on mobile and desktop since toggle is external */

.sidebar-content {
  position: relative;
  /* z-index: 10001; */
  padding: 0 1rem 72px;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

@media screen and (min-width: 1024px) {
  .sidebar-content {
    padding: 3rem 2rem 2rem;
  }
}
.sidebar-rating {
  display: flex;
    align-items: center;
  gap: 4px;
  font-size: 14px;
  margin: 0 0 1rem 0;
}
.sidebar-rating-point {
  color: #ffc107;
  font-size: 24px;
}
.sidebar-rating-totalReview {
  color: #696969;
    font-size: 16px;
}

.sidebar-cta {
  display: flex;
  gap: 24px;
  margin: 0 0 1rem 0;
  font-size: 1rem;
  flex-wrap: wrap;
}

@media screen and (max-width: 1024px) {
  .sidebar-cta {
    gap: 8px;
  }
}

.sidebar-cta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  font-weight: 700;
  border-radius: 4px;
  border: 2px solid transparent;
  background-color: #fff;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.sidebar-cta-item.cta-location {
  color: #fff;
  background: linear-gradient(91.04deg, #d50909 41.98%, #6f0505 83.48%);
  border-color: #c49337;
}

.sidebar-cta-item:hover {
  color: #fff;
  background: linear-gradient(91.04deg, #d50909 41.98%, #6f0505 83.48%);
  border-color: #c49337;
}

.sidebar-title {
  font-weight: 900;
  font-size: 40px;
  line-height: 54px;
  text-transform: uppercase;
  background:
    linear-gradient(0deg, #bd1d14 56.13%, #ff2828 94.17%),
    linear-gradient(
      180deg,
      rgba(255, 57, 50, 0) 44.63%,
      #ff3932 67.01%,
      #7b0702 100%
    );

  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 1rem 0;
}

.sidebar-region {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.sidebar-class {
  margin: 0 0 1.5rem 0;
  color: #580c0c;
}
.sidebar-class-title {
  font-size: 16px;
  list-style: 26px;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.sidebar-class-content ul {
  list-style: disc;
  padding-left: 20px;
}

/* Tab Component */
.tab-container {
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.tab-headers {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid #e5e5e5;
  margin-bottom: 1.5rem;
}

.tab-header {
  padding: 0.75rem 1.5rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 1rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  bottom: -2px;
}

.tab-header:hover {
  color: #d50909;
}

.tab-header.active {
  color: #d50909;
  border-bottom-color: #d50909;
}

.tab-content {
  min-height: 200px;
}

.tab-panel {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tab Overview */
.tab-overview {
  color: #580c0c;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tab-overview-text {
  font-size: 1rem;
  margin: 0;
}

.tab-overview-text-label {
  font-weight: 700;
}

.tab-overview-text-link {
  /* display: flex; */
  /* align-items: center; */
  gap: 10px;
  transition: all 0.3s ease;
}

.tab-overview-text-link:hover {
  text-decoration: underline;
}

.tab-overview-description {
  font-size: 0.95rem;
}

.tab-overview-text-link-more {
  text-decoration: underline;
  margin-top: 12px;
  transition: all 0.3s ease;
  font-weight: 700;
}

/* Tab Images */
.tab-images-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.tab-image-item {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 aspect ratio */
  overflow: hidden;
  border-radius: 8px;
  background-color: #f5f5f5;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.tab-image-item:hover {
  transform: scale(1.02);
}

.tab-image-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tab-image-item:hover img {
  transform: scale(1.05);
}

.tab-video-item {
  margin-bottom: 1rem;
}

.tab-video-thumbnail {
  border-radius: 8px;
  overflow: hidden;
}

.tab-video-thumbnail-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.tab-video-thumbnail-img:hover {
  transform: scale(1.05);
}

/* Tab Videos */
.tab-videos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.tab-video-item {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
  border-radius: 8px;
  background-color: #000;
}

.tab-video-item iframe,
.tab-video-item video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Tab Empty State */
.tab-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: #999;
}

.tab-empty p {
  margin: 0;
  font-size: 1rem;
}

.tab-images {
  max-height: 500px;
  overflow-y: auto;
}

.tab-images-sidebar {
  margin-top: 2rem;
  overflow-x: auto;
  overflow-y: hidden;
}

.tab-images-sidebar::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.tab-images-sidebar::-webkit-scrollbar-thumb {
  background: rgb(213, 9, 9);
  border-radius: 1px;
}

.tab-images-sidebar ::-webkit-scrollbar-thumb:hover {
  background: rgb(213, 9, 9, 0.5);
}

.tab-images-sidebar-grid {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, auto);
  gap: 1rem;
  width: max-content;
}

.tab-image-sidebar-item {
  min-width: 200px;
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 aspect ratio */
  overflow: hidden;
  border-radius: 8px;
  background-color: #f5f5f5;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.tab-image-sidebar-item:hover {
  transform: scale(1.02);
}

.tab-image-sidebar-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tab-image-sidebar-item:hover img {
  transform: scale(1.05);
}

/* Items with rowspan 2 (index 0, 3, 6, 9...) */
.tab-image-sidebar-item-tall {
  grid-row: span 2;
}

.tab-empty-sidebar {
  text-align: center;
  padding: 3rem 1rem;
  color: #999;
}

.tab-empty-sidebar p {
  margin: 0;
  font-size: 1rem;
}

/* Responsive */
@media screen and (max-width: 1024px) {
  .tab-headers {
    gap: 0.25rem;
  }

  .tab-header {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .tab-images-grid {
    grid-template-columns: 1fr;
  }
}

/* Image Modal/Lightbox */
.image-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeIn 0.3s ease;
}

.image-modal-container {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-modal-close {
  position: absolute;
  top: 10%;
  right: 1rem;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 2.5rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: all 0.3s ease;
  line-height: 1;
}

.image-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.image-modal-prev,
.image-modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  color: white;
  width: 3.5rem;
  height: 3.5rem;
  font-size: 2rem;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-content: center;
  z-index: 10001;
  transition: all 0.3s ease;
  line-height: 1;
  user-select: none;
}

.image-modal-prev {
  left: 1rem;
}

.image-modal-next {
  right: 1rem;
}

.image-modal-prev:hover,
.image-modal-next:hover {
  transform: translateY(-50%) scale(1.1);
}

.image-modal-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.image-modal-image {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  animation: zoomIn 0.3s ease;
}

.image-modal-counter {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

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

/* Responsive Image Modal */
@media screen and (max-width: 1024px) {
  .image-modal-overlay {
    padding: 1rem;
  }

  .image-modal-prev,
  .image-modal-next {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 2rem;
  }

  .image-modal-prev {
    left: 0.5rem;
  }

  .image-modal-next {
    right: 0.5rem;
  }

  .image-modal-close {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 2rem;
    top: 0.5rem;
    right: 0.5rem;
  }

  .image-modal-image {
    max-height: 80vh;
  }

  .image-modal-counter {
    bottom: 1rem;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}

@media (min-width: 1024px) {
} 
