[x-cloak] {
  display: none !important;
}

.btn-pink {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--color-theme);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(255, 105, 180, 0.2);
}

.btn-pink:hover {
  background-color: var(--color-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 105, 180, 0.3);
}

:root {
  --page-width: 1000px;
  --color-theme: #ff69b4;
  --color-light: #ffe4e1;
  --color-dark: #c71585;
}

body {
  font-size: 16px;
  background-color: var(--bs-gray-200);
  line-height: 1.6;
  color: #333;
  padding-top: 50px;
}

header {
  padding: 24px 0;
  background-color: white;
  box-shadow: 0 4px 15px rgba(255, 105, 180, 0.12);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

header:hover {
  box-shadow: 0 6px 20px rgba(255, 105, 180, 0.15);
}

header .page-width {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.header-logo:hover {
  transform: translateY(-3px);
}

.logo-image {
  /* width: 40px; */
  height: 40px;
  object-fit: contain;
  margin-right: 10px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.header-logo h4 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-theme);
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(255, 105, 180, 0.2);
}

.header--nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--color-theme);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 105, 180, 0.2);
}

.contact-btn:hover {
  background-color: var(--color-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 105, 180, 0.3);
  color: white;
}

#language-selector {
  background-color: white;
  border: 2px solid var(--color-theme);
  border-radius: 25px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-dark);
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ff69b4' viewBox='0 0 16 16'%3E%3Cpath d='M8 11l-5-5 1.41-1.41L8 8.17l3.59-3.58L13 6l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  box-shadow: 0 2px 6px rgba(255, 105, 180, 0.1);
}

#language-selector:hover {
  background-color: var(--color-theme);
  color: white;
  box-shadow: 0 4px 12px rgba(255, 105, 180, 0.4);
  transform: translateY(-2px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 11l-5-5 1.41-1.41L8 8.17l3.59-3.58L13 6l-5 5z'/%3E%3C/svg%3E");
}

#language-selector:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.2);
}

section {
  padding: 32px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(255, 105, 180, 0.08);
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

section:hover {
  box-shadow: 0 6px 20px rgba(255, 105, 180, 0.12);
}

section h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--color-theme);
}

section h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-theme);
  margin-top: 30px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-light);
  position: relative;
}

section h4::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 2px;
  background-color: var(--color-theme);
}

a {
  color: #2b2b2b;
  text-decoration: none;
}

.required::after {
  content: " *";
  color: red;
}

.page-width {
  max-width: var(--page-width);
  margin: 0px auto;
  padding: 0 20px;
}

.header--nav {
  display: flex;
  gap: 16px;
}

.city-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  padding: 20px;
  background-color: var(--color-light);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(255, 105, 180, 0.08);
}

.city-list .city {
  padding: 10px 20px;
  border: 2px solid var(--color-light);
  border-radius: 25px;
  background-color: white;
  color: var(--color-dark);
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.95rem;
}

.city-list .city:hover {
  border-color: var(--color-theme);
  color: var(--color-theme);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 105, 180, 0.2);
}

.city-list .city.active {
  border-color: var(--color-theme);
  background-color: var(--color-theme);
  color: white;
  box-shadow: 0 4px 12px rgba(255, 105, 180, 0.3);
  transform: translateY(-2px);
}

.station-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.station {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(255, 105, 180, 0.08);
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--color-dark);
}

.station:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 105, 180, 0.15);
}

.station .station-name {
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  margin: 0;
  padding-top: 4px;
  border-top: 2px solid var(--color-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  height: 2.8rem;
  white-space: pre-line;
}

.station img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.station:hover img {
  transform: scale(1.03);
}

.station-detail {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  padding: 24px;
  background-color: var(--color-light);
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(255, 105, 180, 0.1);
  transition: all 0.3s ease;
}

.station-detail:hover {
  box-shadow: 0 6px 16px rgba(255, 105, 180, 0.15);
  transform: translateY(-2px);
}

.station-detail img {
  max-width: 30%;
  object-fit: cover;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.station-detail img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.station-detail > div {
  flex: 1;
  line-height: 1.6;
  color: var(--color-dark);
  background-color: transparent;
  white-space: pre-line;
}

.station-detail > div p {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 105, 180, 0.1);
}

.station-detail > div p:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.photo:has(img:not([src])) {
  display: none;
}

.photo {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  background-color: #fff;
  /* aspect-ratio: 3/2; */
}

.photo:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 105, 180, 0.2);
  z-index: 10;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.photo:hover img {
  transform: scale(1.1);
}

.photo {
  cursor: pointer;
}

.photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 10px;
}

.photo:hover .photo-overlay {
  opacity: 1;
}

.photo-zoom-icon {
  font-size: 2rem;
  color: white;
  font-weight: bold;
  background: rgba(255, 105, 180, 0.8);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image Viewer Modal */
.image-viewer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: pointer;
}

.image-viewer-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  cursor: default;
}

.image-viewer-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.image-viewer-close {
  position: absolute;
  top: -40px;
  right: -40px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.image-viewer-close:hover {
  background: white;
  transform: scale(1.1);
}

.photo::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 105, 180, 0.2) 0%,
    rgba(255, 105, 180, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 10px;
}

.photo:hover::after {
  opacity: 1;
}

footer {
  background-color: var(--bs-gray-200);

  border-top: 3px solid var(--color-theme);
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
  max-width: 960px;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-info {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-theme);
  width: 100%;
}

.footer-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-theme);
  margin-bottom: 15px;
}

.footer-address {
  font-size: 1rem;
  color: var(--color-dark);
  margin: 0;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 5px 10px;
  border-radius: 4px;
}

.footer-link:hover {
  color: var(--color-theme);
  background-color: rgba(255, 105, 180, 0.1);
}

.footer-bottom {
  width: 100%;
}

.copyright {
  font-size: 0.9rem;
  color: var(--color-dark);
  margin: 0;
}

.copyright span {
  color: var(--color-theme);
  font-weight: 600;
}

/* Responsive Footer Links */
@media screen and (max-width: 768px) {
  .footer-links {
    gap: 10px;
  }

  .footer-link {
    font-size: 13px;
    padding: 0px 8px;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-theme);
  color: white;
  border: none;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 105, 180, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
}

.back-to-top:hover {
  background-color: var(--color-dark);
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(255, 105, 180, 0.4);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Pagination Styles */
.pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  margin-bottom: 20px;
  padding: 15px 20px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.pagination-info {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.modern-pagination {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: white;
  color: #666;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.page-btn:hover {
  border-color: var(--color-theme);
  color: var(--color-theme);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 105, 180, 0.2);
}

.page-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.page-number.active {
  background-color: var(--color-theme);
  color: white;
  box-shadow: 0 4px 10px rgba(255, 105, 180, 0.3);
}

.page-arrow {
  display: inline-block;
  line-height: 1;
}

/* Responsive Pagination */
@media screen and (max-width: 768px) {
  .pagination-container {
    flex-direction: column;
    gap: 15px;
    padding: 12px 15px;
    text-align: center;
  }

  .pagination-info {
    font-size: 13px;
  }

  .modern-pagination {
    gap: 8px;
  }

  .page-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .page-number {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }

  :root {
    --page-width: 95%;
  }

  body {
    font-size: 15px;
  }

  header {
    padding: 16px 0;
    margin-bottom: 20px;
  }

  .header-logo::before {
    font-size: 1.5rem;
  }

  .header-logo h4 {
    font-size: 1.3rem;
  }

  .contact-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 20px;
  }

  #language-selector {
    display: none;
  }

  .header--nav {
    gap: 8px;
  }

  .page-width {
    padding: 0 15px;
  }

  section {
    padding: 20px;
  }

  .back-to-top {
    bottom: 80px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  section h4 {
    font-size: 1.1rem;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .city-list {
    gap: 8px;
    padding: 12px;
    margin-bottom: 20px;
  }

  .city-list .city {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  .station-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 15px;
  }

  .station {
    padding: 12px;
    gap: 8px;
  }

  .station .station-name {
    font-size: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    height: 2.6rem;
  }

  .station img {
    height: 170px;
  }

  .station-detail {
    flex-direction: column;
    gap: 20px;
    padding: 15px;
  }

  .station-detail img {
    max-width: 100%;
    margin-bottom: 15px;
  }

  .station-detail > div {
    line-height: 1.5;
  }

  .photo-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 15px;
  }

  .photo {
    border-radius: 8px;
    aspect-ratio: 3/2;
    width: 100%;
    height: 200px;
  }

  .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .photo-overlay {
    border-radius: 8px;
  }
  
  .photo-zoom-icon {
    font-size: 1.5rem;
    width: 30px;
    height: 30px;
  }
  
  .image-viewer-content {
    max-width: 95%;
  }
  
  .image-viewer-close {
    top: -35px;
    right: -35px;
    width: 25px;
    height: 25px;
    font-size: 1.2rem;
  }

  .pagination {
    gap: 6px;
    margin-top: 30px;
  }

  .pagination a,
  .pagination span {
    padding: 6px 12px;
    font-size: 0.8rem;
    min-width: 35px;
  }

  footer {
    /* padding: 30px 0; */
    margin-top: 40px;
    position: static;
    bottom: auto;
    left: auto;
    right: auto;
    z-index: auto;
  }

  .footer-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .footer-address {
    font-size: 0.9rem;
  }

  .footer-info {
    margin-bottom: 20px;
    padding-bottom: 15px;
  }

  .copyright {
    font-size: 0.8rem;
  }
}
