:root {
  --ink: #121212;
  --muted: #5a5a5a;
  --paper: #ffffff;
  --soft: #f5f5f5;
  --gold: #f4c542;
  --red: #f04f45;
  --red-deep: #ec4161;
  --blue: #1c6dd0;
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-wrapper {
  width: 100%;
  position: relative;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 92px;
  padding: 0 7vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.76);
  color: #fff;
  transition: background 0.2s ease, height 0.2s ease;
}

.navbar.is-scrolled {
  height: 76px;
  background: #000;
}

.brand img {
  width: 96px;
  height: 76px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-menu a,
.logout-form button {
  color: #fff;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.logout-form button:hover,
.nav-menu a:focus-visible,
.logout-form button:focus-visible {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.logout-form {
  margin: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  isolation: isolate;
  background: #111;
  color: #fff;
  padding: 130px 7vw 80px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.16)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.06);
}

.destination-hero::before {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.14)),
    var(--hero-image);
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 10px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1,
.subhero h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.96;
  margin: 0 0 16px;
  font-weight: 800;
}

.hero p,
.subhero p {
  font-size: clamp(1.05rem, 2.2vw, 1.7rem);
  max-width: 780px;
}

.hero-line {
  margin: 0 0 26px;
}

.hero-line span {
  color: var(--gold);
  font-weight: 800;
}

.scroll-cue {
  position: absolute;
  bottom: 42px;
  left: 50%;
  width: 46px;
  height: 78px;
  border: 4px solid #fff;
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-cue::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
  animation: cue 1.5s infinite;
}

@keyframes cue {
  from {
    opacity: 1;
    top: 16px;
  }
  to {
    opacity: 0;
    top: 52px;
  }
}

.search-box {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 330px) auto;
  width: min(100%, 460px);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  overflow: visible;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.search-box input {
  min-width: 0;
  height: 58px;
  border: 0;
  padding: 0 18px;
  border-radius: var(--radius) 0 0 var(--radius);
  background: transparent;
  outline: none;
}

.search-box button {
  border: 0;
  background: #000;
  color: #fff;
  padding: 0 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.search-box:hover,
.search-box:focus-within {
  transform: translateY(-2px);
  border-color: rgba(244, 197, 66, 0.7);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16), 0 0 0 3px rgba(244, 197, 66, 0.1);
}

.search-box:hover button,
.search-box:focus-within button {
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.18);
}

.search-box button:hover,
.search-box button:focus-visible {
  background: var(--gold);
  color: #000;
}

.search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 5;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: none;
}

.search-results.is-open {
  display: block;
}

.search-results a {
  display: block;
  padding: 11px 12px;
  border-radius: 6px;
}

.search-results a:hover,
.search-results a:focus-visible {
  background: var(--soft);
}

.section {
  padding: 86px 7vw;
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.narrow {
  max-width: 880px;
  text-align: center;
}

.section h2,
.subhero h1 {
  font-family: "Montserrat", sans-serif;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 18px;
}

.section p {
  color: var(--muted);
  line-height: 1.75;
}

.intro-band {
  background: #fff;
}

.service-band,
.about-band {
  background: var(--soft);
}

.feature-grid,
.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card,
.system-note,
.form-panel,
.content-panel,
.destination-aside,
.currency-tool {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.feature-card {
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-card h3,
.destination-card h3,
.content-panel h3 {
  margin: 0 0 10px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.section-heading p {
  max-width: 460px;
}

.destination-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.destination-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.destination-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #ddd;
}

.destination-card div {
  padding: 22px;
}

.destination-card p {
  margin: 0 0 8px;
  color: var(--blue);
  font-weight: 700;
}

.destination-card span {
  color: var(--muted);
  line-height: 1.6;
}

.actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

.button,
.ghost-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0 26px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  border: 2px solid transparent;
  cursor: pointer;
}

.button.primary {
  background: #000;
  color: #fff;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--gold);
  color: #000;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 34px;
  align-items: start;
}

.system-note,
.form-panel {
  padding: 30px;
}

.status-message,
.alert {
  padding: 14px 16px;
  border-radius: var(--radius);
  font-weight: 700;
}

.status-message {
  background: #e8f8ed;
  color: #166534;
}

.alert.error {
  background: #fff1f0;
  color: #9f1239;
  margin-bottom: 16px;
}

.form-panel,
.auth-form form,
.feedback-tab form {
  display: grid;
  gap: 16px;
}

label span {
  display: block;
  font-weight: 700;
  margin-bottom: 7px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  padding: 12px 14px;
  background: #fff;
}

textarea {
  resize: vertical;
}

.feedback-tab {
  position: fixed;
  right: 0;
  top: 42%;
  z-index: 12;
}

.feedback-tab details {
  width: min(92vw, 380px);
}

.feedback-tab summary {
  list-style: none;
  cursor: pointer;
  background: var(--blue);
  color: #fff;
  writing-mode: vertical-rl;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0;
  width: 54px;
  min-height: 154px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 0;
  border-radius: 10px 0 0 10px;
  float: right;
  box-shadow: 0 16px 34px rgba(28, 109, 208, 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.feedback-tab summary:hover,
.feedback-tab summary:focus-visible {
  background: #155bb0;
  box-shadow: 0 22px 46px rgba(28, 109, 208, 0.34);
  transform: translateX(-4px);
}

.feedback-tab details[open] summary {
  writing-mode: initial;
  float: none;
  border-radius: 6px 6px 0 0;
  width: auto;
  min-height: 44px;
  padding: 0 16px;
}

.feedback-tab form {
  clear: both;
  background: #fff;
  padding: 18px;
  box-shadow: var(--shadow);
}

.site-footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 16px 7vw;
  font-size: 0.92rem;
}

.subhero {
  min-height: 440px;
  background: linear-gradient(90deg, #111, #353535);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 140px 7vw 70px;
}

.subhero > div {
  max-width: 900px;
}

.library-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.destination-hero .hero-content {
  max-width: 850px;
}

.hero-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-meta span,
.hero-meta a {
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 10px 16px;
}

.hero-meta a:hover {
  background: var(--gold);
  color: #000;
}

.content-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
}

.destination-aside {
  position: sticky;
  top: 104px;
  padding: 24px;
}

.destination-aside .search-box {
  grid-template-columns: 1fr;
  box-shadow: none;
  border: 1px solid #ddd;
}

.destination-aside .search-box button {
  border-radius: 0 0 var(--radius) var(--radius);
  height: 46px;
}

.destination-aside .search-box input {
  border-radius: var(--radius) var(--radius) 0 0;
}

.content-stack {
  display: grid;
  gap: 22px;
}

.content-panel {
  padding: 28px;
}

.content-panel article + article {
  border-top: 1px solid #ececec;
  margin-top: 18px;
  padding-top: 18px;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.gallery-strip img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
}

.auth-shell {
  min-height: 100vh;
  padding: 140px 7vw 80px;
  display: grid;
  place-items: center;
  background: #f6f5f7;
}

.auth-card {
  width: min(100%, 980px);
  min-height: 560px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
}

.auth-panel {
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
}

.auth-panel h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
}

.ghost-button {
  border-color: #fff;
  color: #fff;
  margin-top: 12px;
}

.ghost-button:hover,
.ghost-button:focus-visible {
  background: #fff;
  color: #000;
}

.auth-form {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-form h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.2rem;
  margin: 0 0 6px;
}

.currency-subhero {
  background: linear-gradient(90deg, #222, #505562);
}

.currency-tool {
  width: min(100%, 640px);
  margin: 0 auto;
  background: #222;
  color: #fff;
  overflow: hidden;
}

.currency-header {
  background: #2d2d37;
  padding: 22px 28px 18px;
  text-align: center;
}

.currency-header p {
  color: #cfcfcf;
}

.currency-row {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 16px;
  padding: 22px;
}

.currency-row input,
.currency-row select {
  border-color: #fff;
  color: #fff;
  background: transparent;
}

.currency-results {
  display: grid;
  gap: 12px;
  padding: 0 22px 22px;
}

.currency-result {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: center;
  background: #2d2d37;
  border-radius: 6px;
  padding: 16px;
}

.currency-result strong {
  font-size: 1.4rem;
}

.currency-source {
  margin: 0;
  padding: 0 22px 22px;
  color: #cfcfcf;
}

/* Restored Travl visual energy: same theme, richer motion and page-specific polish. */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #000;
  border-radius: 999px;
}

.navbar {
  background: rgba(0, 0, 0, 0.82);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.page-destination .navbar {
  background: rgba(0, 0, 0, 0.84);
  border-bottom: 1px solid rgba(244, 197, 66, 0.38);
}

.page-destination main {
  background:
    linear-gradient(180deg, rgba(248, 246, 243, 0.95) 0%, rgba(240, 237, 233, 0.6) 50%, rgba(255, 255, 255, 1) 100%);
  min-height: 100vh;
}

.page-currency .navbar {
  background: rgba(24, 27, 37, 0.9);
}

.page-auth .navbar {
  background: rgba(28, 10, 17, 0.88);
}

.page-admin .navbar {
  background: rgba(6, 18, 31, 0.9);
}

.brand img {
  transition: transform 0.75s ease, filter 0.25s ease;
  transform-style: preserve-3d;
}

.brand:hover img,
.brand:focus-visible img {
  transform: rotateY(360deg) scale(1.05);
}

.nav-menu a,
.logout-form button {
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.nav-menu a:hover,
.logout-form button:hover {
  transform: translateY(-2px);
}

.hero {
  overflow: hidden;
  box-shadow: inset 0 -130px 90px rgba(0, 0, 0, 0.16);
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: contentRise 0.85s ease both;
}

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

.search-box,
.button,
.ghost-button,
.feature-card,
.destination-card,
.content-panel,
.system-note,
.form-panel {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.search-box:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16), 0 0 0 3px rgba(244, 197, 66, 0.1);
}

.search-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16), 0 0 0 3px rgba(244, 197, 66, 0.1);
}

.button:hover,
.ghost-button:hover,
.button:focus-visible,
.ghost-button:focus-visible {
  transform: translateY(-2px) scale(1.03);
}

.button:active,
.ghost-button:active {
  transform: scale(0.95);
}

.intro-band {
  background:
    linear-gradient(180deg, #fff 0%, #fff 72%, #f5f5f5 72%),
    #fff;
}

.intro-band .narrow {
  position: relative;
  background: #fff;
  padding: 50px;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.11);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-radius 0.35s ease;
}

.intro-band .narrow::before,
.intro-band .narrow::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 3px;
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  transition: width 0.35s ease, background 0.35s ease;
}

.intro-band .narrow::before {
  top: 24px;
}

.intro-band .narrow::after {
  bottom: 24px;
  background: var(--gold);
}

.intro-band .narrow:hover {
  transform: translateY(-6px);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(46, 93, 121, 0.18), 0 14px 30px rgba(113, 67, 151, 0.14);
}

.intro-band .narrow:hover::before,
.intro-band .narrow:hover::after {
  width: 112px;
}

.service-band {
  background:
    linear-gradient(180deg, rgba(245, 245, 245, 0.92), rgba(255, 255, 255, 0.96)),
    url("/css%20and%20js/home%20css/bg1.jpg") center/cover;
}

.feature-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  width: 54px;
  height: 54px;
  display: block;
  border-radius: 50%;
  margin-bottom: 18px;
  background: radial-gradient(circle at 32% 30%, #fff 0 18%, var(--gold) 19% 42%, #111 43% 100%);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto -30px -44px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(244, 197, 66, 0.16);
  transition: transform 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-9px);
}

.feature-card:hover::after {
  transform: scale(1.3);
}

.destination-card {
  transform-origin: center bottom;
}

.destination-card:hover {
  transform: translateY(-10px) scale(1.015);
}

.destination-card img {
  transition: transform 0.4s ease;
}

.destination-card:hover img {
  transform: scale(1.08);
}

.about-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  z-index: 1;
}

.about-band::before {
  content: "";
  position: absolute;
  inset: -8%;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.28)),
    url("/css%20and%20js/home%20css/pic.jpg") center/cover no-repeat;
  z-index: -1;
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.06);
}

.about-band:hover::before {
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.08);
}

.about-band p {
  color: #f5f5f5;
}

.about-copy,
.about-band .system-note {
  background: rgba(255, 255, 255, 0.94);
  color: #111;
  padding: 34px;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.about-copy p,
.about-band .system-note p {
  color: #333;
}

.destination-hero {
  background-position: center;
}

.content-panel:hover,
.destination-aside:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.map-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid #dedede;
  margin: 16px 0 18px;
  background: #e9e9e9;
}

.map-frame iframe {
  width: 1px;
  min-width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.page-currency main {
  min-height: calc(100vh - 52px);
  background:
    linear-gradient(135deg, rgba(34, 34, 34, 0.88), rgba(80, 85, 98, 0.9)),
    url("/css%20and%20js/home%20css/bg1.jpg") center/cover;
}

.currency-subhero {
  min-height: 40vh;
  padding-bottom: 120px;
  background: transparent;
}

.page-currency .section {
  padding-top: 0;
  margin-top: -190px;
}

.currency-tool {
  width: min(100%, 1100px);
  min-height: 430px;
  background: rgba(24, 24, 29, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.currency-row {
  grid-template-columns: minmax(240px, 1fr) minmax(180px, 260px);
  padding: 24px 30px;
}

.currency-results {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 30px 30px;
}

.currency-result {
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, background 0.25s ease;
}

.currency-result:hover {
  transform: translateY(-4px);
  background: #264d73;
}

.auth-shell {
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 75, 43, 0.16), transparent 28%),
    #f6f5f7;
}

.auth-card {
  position: relative;
  border-radius: 10px;
  animation: authPop 0.55s ease both;
}

@keyframes authPop {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.auth-panel {
  position: relative;
  overflow: hidden;
}

.auth-panel::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.22) 42%, transparent 64%);
  transform: translateX(-45%);
  animation: panelShine 4.5s ease-in-out infinite;
}

@keyframes panelShine {
  0%,
  55% {
    transform: translateX(-58%) rotate(8deg);
  }
  100% {
    transform: translateX(58%) rotate(8deg);
  }
}

.auth-panel > * {
  position: relative;
  z-index: 1;
}

.auth-card-register .auth-panel {
  order: 2;
}

.auth-card-register .auth-form {
  animation: formSlideLeft 0.55s ease both;
}

.auth-card-login .auth-form {
  animation: formSlideRight 0.55s ease both;
}

@keyframes formSlideLeft {
  from {
    opacity: 0;
    transform: translateX(34px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes formSlideRight {
  from {
    opacity: 0;
    transform: translateX(-34px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.admin-subhero {
  background:
    linear-gradient(90deg, rgba(3, 20, 35, 0.92), rgba(18, 65, 102, 0.72)),
    url("/css%20and%20js/home%20css/bg1.jpg") center/cover;
}

.admin-section {
  background: #f4f7fb;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}

.admin-metrics article,
.admin-panel {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.admin-metrics article {
  padding: 22px;
}

.admin-metrics span,
.admin-destination-table small {
  color: var(--muted);
}

.admin-metrics strong {
  display: block;
  font-size: 2rem;
  margin-top: 8px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 24px;
}

.admin-panel {
  padding: 28px;
}

.admin-panel form {
  display: grid;
  gap: 16px;
}

.submission-list article {
  border-top: 1px solid #e9e9e9;
  padding: 12px 0;
}

.submission-list span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.destination-admin-list {
  margin-top: 24px;
}

.admin-destination-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-destination-table a {
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 12px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.admin-destination-table a:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.admin-destination-table span,
.admin-destination-table small {
  display: block;
}

.ai-guide {
  position: fixed;
  right: 0;
  top: calc(42% + 168px);
  z-index: 30;
}

.page-auth .ai-guide {
  right: auto;
  left: 0;
  top: 42%;
}

.ai-guide-button {
  width: 54px;
  min-height: 126px;
  padding: 14px 0;
  border: 0;
  border-radius: 10px 0 0 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0;
  box-shadow: 0 16px 34px rgba(28, 109, 208, 0.24);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.page-auth .ai-guide-button {
  border-radius: 0 10px 10px 0;
}

.ai-guide-button:hover,
.ai-guide-button:focus-visible {
  background: #155bb0;
  transform: translateX(-4px);
  box-shadow: 0 22px 46px rgba(28, 109, 208, 0.34);
}

.page-auth .ai-guide-button:hover,
.page-auth .ai-guide-button:focus-visible {
  transform: translateX(4px);
}

.ai-guide-panel {
  position: absolute;
  right: 66px;
  top: 0;
  width: min(92vw, 380px);
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.page-auth .ai-guide-panel {
  right: auto;
  left: 66px;
}

.ai-guide-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  background: #111;
  color: #fff;
}

.ai-guide-header span {
  display: block;
  color: #cfcfcf;
  font-size: 0.82rem;
  margin-top: 2px;
}

.ai-guide-header button {
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.ai-guide-messages {
  max-height: 300px;
  overflow-y: auto;
  display: grid;
  gap: 10px;
  padding: 16px;
  background: #f7f8fb;
}

.ai-message {
  margin: 0;
  padding: 11px 13px;
  border-radius: 8px;
  line-height: 1.55;
  font-size: 0.94rem;
}

.ai-message-bot {
  background: #fff;
  color: #1c2733;
}

.ai-message-user {
  background: #1c6dd0;
  color: #fff;
  justify-self: end;
}

.ai-guide-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  background: #fff;
}

.ai-guide-form input {
  border-radius: 999px;
}

.ai-guide-form button {
  border: 0;
  border-radius: 999px;
  background: #00b386;
  color: #fff;
  font-weight: 800;
  padding: 0 16px;
  cursor: pointer;
}

@media (max-width: 980px) {
  html, body, .site-wrapper {
    overflow-x: hidden;
  }

  .feature-grid,
  .destination-grid,
  .library-grid,
  .split,
  .content-layout,
  .auth-card,
  .admin-grid,
  .admin-metrics,
  .admin-destination-table {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .destination-aside {
    position: static;
  }
}

@media (max-width: 720px) {
  .navbar {
    height: 86px;
    padding: 0 24px;
  }

  .brand img {
    width: 84px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    inset: 86px 0 auto;
    display: grid;
    gap: 0;
    background: #0f0f0f;
    padding: 18px 24px 28px;
    transform: translateY(-130%);
    transition: transform 0.24s ease;
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    transform: translateY(0);
  }

  .nav-menu a,
  .logout-form button {
    padding: 14px 0;
  }

  .hero {
    padding: 118px 24px 80px;
    align-items: center;
    background-position: center;
  }

  .hero h1,
  .subhero h1 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .search-box {
    grid-template-columns: 1fr;
  }

  .search-box input {
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .search-box button {
    height: 48px;
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .section {
    padding: 64px 24px;
  }

  .subhero {
    min-height: 380px;
    padding: 120px 24px 60px;
  }

  .actions {
    justify-content: stretch;
  }

  .actions .button {
    width: 100%;
  }

  .gallery-strip,
  .currency-row {
    grid-template-columns: 1fr;
  }

  .currency-results {
    grid-template-columns: 1fr;
  }

  .destination-aside .search-box {
    grid-template-columns: 1fr;
  }

  .page-currency .section {
    margin-top: 0px !important;
  }

  .auth-shell {
    padding: 118px 0 64px;
  }

  .auth-card {
    border-radius: 0;
    min-height: auto;
  }

  .auth-card-register .auth-panel {
    order: initial;
  }

  .auth-panel,
  .auth-form {
    padding: 34px 24px;
  }

  .feedback-tab {
    top: auto;
    bottom: 14px;
    left: 14px;
    right: auto;
  }

  .feedback-tab details {
    width: auto;
  }

  .feedback-tab details[open] {
    width: min(92vw, 380px);
  }

  .feedback-tab summary,
  .feedback-tab details[open] summary {
    writing-mode: initial;
    float: none;
    border-radius: 6px;
    width: auto;
    min-height: 48px;
    padding: 0 16px;
  }

  .ai-guide {
    right: 14px;
    bottom: 14px;
    top: auto;
    transform: none;
  }

  .ai-guide-button {
    width: auto;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 6px;
    writing-mode: initial;
  }

  .ai-guide-panel {
    right: 0;
    bottom: 72px;
    top: auto;
    width: calc(100vw - 28px);
  }
}

/* Restored original visual logic (with clean, modern styling) */

/* 1. Alternating Destination Cards */
.alternating-destinations {
  display: grid;
  gap: 70px;
  margin: 44px 0;
}

.alt-dest-section {
  position: relative;
  display: block;
  width: 100%;
  min-height: 440px;
  overflow: hidden;
  padding: 0;
  border-radius: 0;
  background: #fdfdfd;
  box-shadow: none;
  border: 0;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Zigzag stagger: odd cards left, even cards right */
.alt-dest-section:nth-child(odd) {
  margin: 0;
}

.alt-dest-section:nth-child(even) {
  margin: 0;
}

.alt-dest-section:hover {
  transform: translateY(-4px);
}

.alt-dest-image-pane {
  position: absolute;
  inset: 0 auto 0 0;
  width: 58%;
  height: 100%;
  min-height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.alt-dest-section:hover .alt-dest-image-pane {
  transform: scale(1.04);
}

.alt-dest-content-pane {
  position: relative;
  z-index: 2;
  width: 55%;
  min-height: 320px;
  margin: 60px 0 60px auto;
  padding: 54px 35px;
  background-color: #fdfdfd;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease, border-radius 0.35s ease;
}

.alt-dest-section:hover .alt-dest-content-pane {
  transform: translateX(-8px);
  border-radius: 23px;
  box-shadow: 0 25px 34px rgba(46, 93, 121, 0.48), 0 25px 15px rgba(113, 67, 151, 0.46);
}

.alt-dest-section:nth-child(even) .alt-dest-image-pane {
  inset: 0 0 0 auto;
}

.alt-dest-section:nth-child(even) .alt-dest-content-pane {
  margin-left: 0;
  margin-right: auto;
}

.alt-dest-section:nth-child(even):hover .alt-dest-content-pane {
  transform: translateX(8px);
}

.alt-dest-content-pane h3 {
  font-size: 2.8rem; /* Larger, premium heading */
  font-family: "Montserrat", sans-serif;
  margin: 0 0 16px;
  font-weight: 700;
  color: #111;
}

.alt-dest-text {
  font-size: 1.22rem; /* Larger, more readable body text */
  color: #444;
  line-height: 1.75;
  margin-bottom: 24px;
}

.alt-dest-action {
  margin-top: 24px;
}

.fake-link-text {
  color: var(--blue);
  font-weight: 700;
  font-size: 1.05rem;
  transition: color 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.alt-dest-section:hover .fake-link-text {
  color: var(--gold);
}

/* 2. Contact Us Section */
.contact-band {
  background: #fdfdfd;
  border-top: 1px solid #eee;
  padding: 80px 0;
}

.contact-card {
  max-width: 1040px;
  margin: 0 auto;
  padding: 56px;
  background: transparent;
  transition: all 0.5s ease-in-out;
}

/* Hover effect for contact card: turns white, gains border radius and multi-colored double shadow */
.contact-card:hover {
  background-color: rgba(255, 255, 255, 0.98);
  border-radius: 23px;
  box-shadow: 0 25px 34px rgba(46, 93, 121, 0.479), 0 25px 15px rgba(113, 67, 151, 0.459);
  transform: translateY(-4px);
}

.contact-card .title {
  position: relative;
  text-align: center;
  font-size: 40px;
  font-weight: 500;
  margin: 0 auto 60px;
  padding-bottom: 20px;
  font-family: "Montserrat", sans-serif;
  width: fit-content;
}

.contact-card .title::before {
  content: " ";
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 180px;
  height: 3px;
  background: #111;
  transform: translateX(-50%);
}

.contact-card .title::after {
  content: "get in touch";
  position: absolute;
  bottom: -8px;
  left: 50%;
  font-size: 20px;
  color: rgb(0, 102, 255);
  padding: 0 10px;
  background: #fdfdfd;
  transform: translateX(-50%);
  font-weight: 500;
  text-transform: lowercase;
  white-space: nowrap;
}

/* Adjust title background color on card hover so underline cut-through remains seamless */
.contact-card:hover .title::after {
  background: rgba(255, 255, 255, 0.98);
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-layout-grid .column .text {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
}

.contact-layout-grid .column.left p {
  line-height: 1.75;
  color: #555;
  margin-bottom: 16px;
  text-align: justify;
}

.contact-layout-grid .column.left .icons {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.contact-layout-grid .column.left .row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-layout-grid .column.left .row i {
  font-size: 24px;
  width: 48px;
  height: 48px;
  background: #f0f7ff;
  color: #006eff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.contact-layout-grid .column.left .row:hover i {
  background: #006eff;
  color: #fff;
}

.contact-layout-grid .column.left .row .info {
  display: flex;
  flex-direction: column;
}

.contact-layout-grid .column.left .row .info .head {
  font-weight: 700;
  font-size: 1rem;
  color: #111;
}

.contact-layout-grid .column.left .row .info .sub-title {
  font-size: 0.95rem;
  color: #006eff;
  font-weight: 500;
}

.contact-layout-grid .column.right form .fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-layout-grid .column.right form .button-row {
  margin-top: 10px;
}

.contact-layout-grid .column.right form .button-row button {
  padding: 14px 28px;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 6px;
}

/* 3. About Us & Story Box Hovers */
.about-copy,
.about-band .system-note {
  background: #fff !important;
  color: #111 !important;
  padding: 34px !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.4s ease-in-out !important;
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
}

.about-copy:hover,
.about-band .system-note:hover {
  border-radius: 23px !important;
  box-shadow: 0 25px 34px rgba(46, 93, 121, 0.479), 0 25px 15px rgba(113, 67, 151, 0.459) !important;
  transform: translateY(-4px) !important;
  background-color: #fff !important;
}

.about-copy p,
.about-band .system-note p {
  color: #333 !important;
}

/* 4. Modal Overlay System */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  display: grid;
  place-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.is-active {
  opacity: 1;
  pointer-events: all;
}

.modal-wrapper {
  background: #fff;
  width: min(94vw, 1000px);
  height: min(85vh, 650px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.42);
  display: flex;
  flex-direction: column;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.is-active .modal-wrapper {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #111;
  color: #fff;
  border-bottom: 2px solid var(--gold);
}

.modal-header h2 {
  font-size: 1.3rem;
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: #fff;
}

.modal-close {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.25s ease;
}

.modal-close:hover {
  color: var(--gold);
}

.modal-body {
  flex: 1;
  background: #eaeaea;
  position: relative;
}

.modal-body iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Modal Spinner loader */
.modal-spinner {
  position: absolute;
  inset: 0;
  background: #f4f4f4;
  display: grid;
  place-items: center;
  z-index: 10;
  transition: opacity 0.35s ease;
}

.modal-spinner::after {
  content: "";
  width: 48px;
  height: 48px;
  border: 5px solid #ddd;
  border-top-color: #006eff;
  border-radius: 50%;
  animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

/* 5. Article Header & Modal Trigger Button Styling */
.article-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 12px;
}

.article-header h3 {
  margin: 0;
}

.button.text-link {
  background: transparent;
  border: 0;
  color: #006eff;
  font-weight: 700;
  text-decoration: underline;
  padding: 4px 8px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: color 0.25s ease;
}

.button.text-link:hover {
  color: var(--gold);
  background: transparent;
  transform: none;
}

/* Responsive Media Queries overrides for Alternating items */
@media (max-width: 768px) {
  .alt-dest-section {
    min-height: auto !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 30px auto !important;
  }
  .alt-dest-image-pane {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 250px !important;
    min-height: 250px !important;
  }
  .alt-dest-content-pane {
    width: 100% !important;
    padding: 32px 24px !important;
    background: #fff !important;
    margin: 0 !important;
    min-height: auto !important;
  }
  .alt-dest-section:hover .alt-dest-content-pane,
  .alt-dest-section:nth-child(even):hover .alt-dest-content-pane {
    transform: translateY(-4px) !important;
  }
  .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .contact-layout-grid .column.right form .fields {
    grid-template-columns: 1fr;
  }
  .contact-card {
    padding: 32px 20px !important;
  }
}

/* Glassy Search Box inside Hero & Subhero bands */
.hero .search-box,
.subhero .search-box {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22) !important;
}

.hero .search-box:hover,
.hero .search-box:focus-within,
.subhero .search-box:hover,
.subhero .search-box:focus-within {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(244, 197, 66, 0.82) !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26), 0 0 0 3px rgba(244, 197, 66, 0.12) !important;
}

.hero .search-box input,
.subhero .search-box input {
  background: transparent !important;
  color: #fff !important;
}

.hero .search-box input::placeholder,
.subhero .search-box input::placeholder {
  color: rgba(255, 255, 255, 0.65) !important;
}

.hero .search-box button,
.subhero .search-box button {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  border-left: 1px solid rgba(255, 255, 255, 0.22) !important;
}

.hero .search-box button:hover,
.subhero .search-box button:hover {
  background: var(--gold) !important;
  color: #000 !important;
  border-left-color: var(--gold) !important;
}

.hero .search-box:hover button,
.hero .search-box:focus-within button,
.subhero .search-box:hover button,
.subhero .search-box:focus-within button {
  background: rgba(255, 255, 255, 0.24) !important;
  color: #fff !important;
}

.hero .search-box button:hover,
.hero .search-box button:focus-visible,
.subhero .search-box button:hover,
.subhero .search-box button:focus-visible {
  background: var(--gold) !important;
  color: #000 !important;
}

.hero .search-results,
.subhero .search-results {
  background: rgba(20, 20, 20, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.hero .search-results a,
.subhero .search-results a {
  color: #fff !important;
}

.hero .search-results a:hover,
.subhero .search-results a:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: var(--gold) !important;
}

/* 6. View Toggle Controls on destinations library page */
.view-toggle-controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 24px;
}

.toggle-btn {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.toggle-btn:hover {
  background: #fff;
  border-color: rgba(0, 102, 255, 0.3);
  color: var(--blue);
  transform: translateY(-1px);
}

.toggle-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
}

/* 7. Loading spinners & dot animations */
.ai-message-loading {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
  width: fit-content;
}

.ai-message-loading .dot {
  width: 6px;
  height: 6px;
  background-color: #555;
  border-radius: 50%;
  animation: dot-bounce 1.4s infinite ease-in-out both;
}

.ai-message-loading .dot:nth-child(1) {
  animation-delay: -0.32s;
}

.ai-message-loading .dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes dot-bounce {
  0%, 80%, 100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

/* Currency converter spinner */
.currency-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 102, 255, 0.1);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: currency-spin 0.8s linear infinite;
  margin: 40px auto;
}

@keyframes currency-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Form Submit Button Spinner */
.button-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: button-spin 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes button-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Gallery Carousel & Lightbox Popup Modal Styles */
.gallery-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.gallery-carousel {
  position: relative;
  width: 100%;
  height: 480px; /* Tall, premium height for slideshow */
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.2);
  margin-bottom: 24px;
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: all;
}

.slide-bg-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
  transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.carousel-slide.active .slide-bg-image {
  transform: scale(1.07);
}

/* Nav Buttons */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.carousel-nav-btn:hover {
  background: #ffffff;
  color: #111;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%) scale(1.08);
}

.carousel-nav-btn.prev {
  left: 20px;
}

.carousel-nav-btn.next {
  right: 20px;
}

/* Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.indicator-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.indicator-dot.active {
  background: #ffffff;
  width: 24px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* View All Button */
.gallery-footer-row {
  display: flex;
  justify-content: center;
}

.view-all-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 30px;
}

/* Modal Popup Grid / Lightbox Styles */
.gallery-popup-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  place-items: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-popup-modal.is-active {
  display: grid;
  opacity: 1;
}

.gallery-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
}

.gallery-popup-container {
  position: relative;
  background: #ffffff;
  width: min(94vw, 1100px);
  height: min(85vh, 750px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.42);
  z-index: 2;
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-popup-modal.is-active .gallery-popup-container {
  transform: scale(1);
}

.gallery-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  background: #111;
  color: #fff;
  border-bottom: 2px solid var(--gold);
}

.gallery-popup-header h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  margin: 0;
  font-weight: 700;
}

.gallery-popup-close-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.gallery-popup-close-btn:hover {
  color: var(--gold);
}

.gallery-popup-content {
  flex: 1;
  overflow-y: auto;
  padding: 30px;
  background: #fcfcfc;
  display: flex;
  flex-direction: column;
}

/* Grid View in Popup */
.gallery-popup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.popup-grid-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.popup-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.popup-grid-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.popup-grid-item:hover img {
  transform: scale(1.06);
}

/* Lightbox View in Popup */
.gallery-popup-lightbox {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lightbox-image-container {
  width: 100%;
  height: auto;
  max-height: min(50vh, 450px);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
  background: #000;
}

.lightbox-image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.lightbox-nav-btn:hover {
  background: #111;
  color: var(--gold);
}

.lightbox-nav-btn.prev {
  left: 0;
}

.lightbox-nav-btn.next {
  right: 0;
}

.lightbox-caption {
  font-size: 0.95rem;
  font-weight: 500;
  color: #555;
  margin-top: 16px;
  margin-bottom: 20px;
}

.back-to-grid-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 20px;
}

/* Responsive Media Queries overrides for Gallery */
@media (max-width: 980px) {
  .gallery-carousel {
    height: 360px;
  }
}
@media (max-width: 600px) {
  .gallery-carousel {
    height: 260px;
  }
  .carousel-nav-btn {
    width: 40px;
    height: 40px;
  }
  .carousel-nav-btn.prev {
    left: 10px;
  }
  .carousel-nav-btn.next {
    right: 10px;
  }
}

/* ========================================= */
/* 8. Destination Page — Content Layout      */
/* ========================================= */

/* Two-column layout: sidebar + content stack */
.content-layout {
  display: grid;
  grid-template-columns: minmax(300px, 340px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

/* Sticky sidebar with destination info */
.destination-aside {
  position: sticky;
  top: 110px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  padding: 0;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.08);
}

.destination-aside-heading {
  padding: 30px 28px 22px;
  background:
    linear-gradient(135deg, rgba(28, 109, 208, 0.08), rgba(244, 197, 66, 0.12)),
    #fff;
}

.destination-aside h2 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  font-weight: 700;
  margin: 0 0 12px;
  color: #111;
}

.destination-aside-heading .eyebrow {
  color: var(--blue);
}

.destination-aside-heading span {
  display: block;
  font-size: 0.95rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
}

.destination-aside .search-box {
  grid-template-columns: minmax(0, 1fr) auto;
  width: auto;
  margin: 24px 28px 28px;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.destination-aside .search-box input {
  height: 52px;
  border-radius: var(--radius) 0 0 var(--radius);
}

.destination-aside .search-box button {
  height: 52px;
  min-width: 104px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.destination-aside:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(46, 93, 121, 0.18);
}

/* Main content stack */
.content-stack {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* Individual content panels (Facts, Food, Stories, Location, Gallery) */
.content-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 36px 34px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
              box-shadow 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.location-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(360px, 1fr);
  gap: 0;
  overflow: hidden;
  padding: 0;
  background: #fff;
}

.location-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.96));
}

.location-copy .eyebrow {
  color: var(--blue);
}

.location-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.05;
  font-family: "Montserrat", sans-serif;
}

.location-copy .button {
  align-self: flex-start;
}

.location-map-card {
  min-height: 340px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(28, 109, 208, 0.14), rgba(244, 197, 66, 0.16));
  max-width: 100%;
}

.location-panel .map-frame {
  width: 100%;
  height: 100%;
  min-height: 312px;
  margin: 0;
  border-radius: 16px;
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.content-panel:hover {
  transform: translateY(-4px);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.content-panel > h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gold);
  color: #111;
  position: relative;
}

.content-panel > h2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--blue);
}

/* Individual article cards within each panel */
.content-panel article {
  position: relative;
  background: rgba(245, 245, 245, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.content-panel article:last-child {
  margin-bottom: 0;
}

.content-panel article:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.content-panel article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  border-radius: 14px 0 0 14px;
  background: linear-gradient(180deg, var(--gold), var(--blue));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.content-panel article:hover::before {
  opacity: 1;
}

/* Article header row with title + Read More */
.article-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.article-header h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
  color: #222;
}

.article-header .button.text-link {
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  background: transparent;
  border: none;
  padding: 4px 10px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.article-header .button.text-link:hover {
  background: rgba(28, 109, 208, 0.08);
  color: var(--gold);
}

.content-panel article p {
  font-size: 1rem;
  line-height: 1.75;
  color: #444;
  margin: 0;
}

/* Hero meta bar on destination pages */
.hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-meta span {
  background: rgba(255, 255, 255, 0.14);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-meta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: #111;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-meta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(244, 197, 66, 0.4);
}

/* Gallery panel header row */
.gallery-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.gallery-header-row h2 {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.gallery-footer-row {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* Section heading for destination band on home page */
.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 8px;
}

/* Responsive: Destination content layout */
@media (max-width: 980px) {
  .content-layout {
    grid-template-columns: 1fr;
  }

  .destination-aside {
    position: static;
    margin-bottom: 10px;
  }

  .destination-aside .search-box {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .content-panel {
    padding: 28px 20px;
    border-radius: 14px;
  }

  .location-panel {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .location-copy {
    padding: 28px 24px;
  }

  .location-map-card {
    min-height: 280px;
  }

  .content-panel article {
    padding: 18px 16px;
  }

  .article-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .page-destination .navbar {
    background: #0f0f0f !important;
  }

  .content-layout {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .content-stack {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .content-panel,
  .location-panel,
  .destination-aside {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .destination-aside .search-box {
    margin: 20px 16px;
    max-width: calc(100% - 32px);
  }

  .gallery-carousel {
    max-width: 100%;
  }
}

/* ========================================= */
/* 9. Page Loading Overlay — Flipping Logo   */
/* ========================================= */

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 18, 18, 0.78);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.loader-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  animation: logoFlip 1.6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

@keyframes logoFlip {
  0% {
    transform: perspective(600px) rotateY(0deg) scale(1);
  }
  50% {
    transform: perspective(600px) rotateY(180deg) scale(1.08);
  }
  100% {
    transform: perspective(600px) rotateY(360deg) scale(1);
  }
}

.loader-shimmer {
  width: 120px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  background-size: 200% 100%;
  animation: shimmerSlide 1.4s ease-in-out infinite;
}

@keyframes shimmerSlide {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ========================================= */
/* 10. Pagination Controls                   */
/* ========================================= */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 48px 0 20px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 22px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pagination a {
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pagination a:hover {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(244, 197, 66, 0.35);
}

.pagination .page-current {
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
  box-shadow: 0 4px 14px rgba(28, 109, 208, 0.3);
  cursor: default;
}

.pagination .page-prev,
.pagination .page-next {
  font-size: 0.85rem;
  gap: 6px;
  padding: 0 18px;
}

.pagination .page-disabled {
  opacity: 0.35;
  pointer-events: none;
  cursor: not-allowed;
}

.pagination .page-ellipsis {
  border: none;
  background: transparent;
  color: var(--muted);
  min-width: auto;
  padding: 0 4px;
  cursor: default;
}

@media (max-width: 600px) {
  .pagination {
    gap: 5px;
    margin: 32px 0 16px;
  }
  .pagination a,
  .pagination span {
    min-width: 36px;
    height: 36px;
    font-size: 0.82rem;
    padding: 0 10px;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background-color 0.3s;
}

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

.back-to-top:hover {
  transform: translateY(-3px);
  background: var(--gold);
  color: #111;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .back-to-top {
    right: 14px;
    bottom: 144px; /* above the mobile feedback and AI chat buttons */
  }
}
