/* ==========================================================================
   1. Base
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Oswald:wght@500&display=swap");

html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #1a1a1a;
  color: #ffffffdd;
  position: relative;
  overflow: hidden;
  font-family: "Inter", sans-serif;
}

body.page-scroll,
body.admin-body {
  overflow-x: hidden;
  overflow-y: auto;
  background:
    linear-gradient(rgba(10, 10, 15, 0.72), rgba(10, 10, 15, 0.82)),
    url("https://assets.codepen.io/3685267/timed-cards-2.jpg") center / cover fixed no-repeat;
}

body.page-scroll nav,
body.admin-body nav {
  background: rgba(10, 10, 15, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

a {
  color: inherit;
}

button {
  font-family: inherit;
}

/* ==========================================================================
   2. Timed Cards
   ========================================================================== */

.card {
  position: absolute;
  left: 0;
  top: 0;
  background-position: center;
  background-size: cover;
  box-shadow: 6px 6px 10px 2px rgba(0, 0, 0, 0.6);
}

.card-clickable {
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card-clickable:hover {
  box-shadow: 0 0 0 2px #ecad29, 6px 6px 20px rgba(236, 173, 41, 0.35);
}

.card-content.card-clickable:hover .content-place,
.card-content.card-clickable:hover .content-title-1,
.card-content.card-clickable:hover .content-title-2 {
  color: #ecad29;
}

.card-content {
  position: absolute;
  left: 0;
  top: 0;
  color: #ffffffdd;
  padding-left: 16px;
}

.content-place {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
}

.content-title-1,
.content-title-2 {
  font-weight: 600;
  font-size: 20px;
  font-family: "Oswald", sans-serif;
}

.content-start {
  width: 30px;
  height: 5px;
  border-radius: 99px;
  background-color: #ffffffdd;
}

.details {
  z-index: 22;
  position: absolute;
  top: 240px;
  left: 60px;
}

.details .place-box {
  height: 46px;
  overflow: hidden;
  position: relative;
}

.details .place-box .text {
  padding-top: 16px;
  font-size: 20px;
}

.details .place-box .text:before {
  top: 0;
  left: 0;
  position: absolute;
  content: "";
  width: 30px;
  height: 4px;
  border-radius: 99px;
  background-color: white;
}

.details .title-1,
.details .title-2 {
  font-weight: 600;
  font-size: 72px;
  font-family: "Oswald", sans-serif;
}

.details .title-box-1,
.details .title-box-2 {
  margin-top: 2px;
  height: 100px;
  overflow: hidden;
}

.details > .desc {
  margin-top: 16px;
  width: 500px;
  line-height: 1.6;
  color: #ffffffcc;
}

.details > .cta {
  width: 500px;
  margin-top: 24px;
  display: flex;
  align-items: center;
}

.details > .cta > .bookmark {
  border: none;
  background-color: #ecad29;
  width: 36px;
  height: 36px;
  border-radius: 99px;
  color: white;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: filter 0.2s;
}

.details > .cta > .bookmark:hover {
  filter: brightness(1.1);
}

.details > .cta > .bookmark svg {
  width: 20px;
  height: 20px;
}

.details > .cta > .discover {
  border: 1px solid #ffffff;
  background-color: transparent;
  height: 36px;
  border-radius: 99px;
  color: #ffffff;
  padding: 4px 24px;
  font-size: 12px;
  margin-left: 16px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.details > .cta > .discover:hover {
  background-color: #ffffff;
  color: #1a1a1a;
}

nav {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 36px;
  font-weight: 500;
}

nav svg {
  width: 20px;
  height: 20px;
}

nav .svg-container {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.indicator {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  z-index: 60;
  background-color: #ecad29;
}

.pagination {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
}

.pagination > .arrow {
  z-index: 60;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  border: 2px solid #ffffff55;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
  padding: 0;
  transition: border-color 0.2s, background 0.2s;
}

.pagination > .arrow:hover {
  border-color: #ecad29;
  background: rgba(236, 173, 41, 0.15);
}

.pagination > .arrow:active {
  transform: scale(0.95);
}

.pagination > .arrow:nth-child(2) {
  margin-left: 20px;
}

.pagination > .arrow svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
  color: #ffffff99;
}

.pagination .progress-sub-container {
  margin-left: 24px;
  z-index: 60;
  width: 500px;
  height: 50px;
  display: flex;
  align-items: center;
}

.pagination .progress-sub-container .progress-sub-background {
  width: 500px;
  height: 3px;
  background-color: #ffffff33;
}

.pagination .progress-sub-container .progress-sub-background .progress-sub-foreground {
  height: 3px;
  background-color: #ecad29;
}

.pagination .slide-numbers {
  width: 50px;
  height: 50px;
  overflow: hidden;
  z-index: 60;
  position: relative;
}

.pagination .slide-numbers .item {
  width: 50px;
  height: 50px;
  position: absolute;
  color: white;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: bold;
}

.cover {
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  z-index: 100;
}

/* ==========================================================================
   3. Nav
   ========================================================================== */

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

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  font-size: 14px;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  text-transform: uppercase;
  font-size: 14px;
}

.nav-links > a {
  position: relative;
  transition: color 0.2s;
  color: #ffffff;
}

.nav-links > a:hover {
  color: #ffffff;
  opacity: 0.85;
}

.nav-links > a.active {
  position: relative;
}

.nav-links > a.active:after {
  bottom: -8px;
  left: 0;
  right: 0;
  position: absolute;
  content: "";
  height: 3px;
  border-radius: 99px;
  background-color: #ecad29;
}

.nav-search-btn {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 4px;
  display: grid;
  place-items: center;
  transition: color 0.2s;
}

.nav-search-btn:hover {
  color: #ecad29;
}

.nav-search-btn svg {
  width: 20px;
  height: 20px;
}

.admin-link {
  color: #ffffff !important;
}

.admin-link:hover {
  opacity: 0.85;
}

/* ==========================================================================
   4. Search Overlay
   ========================================================================== */

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 10, 15, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: grid;
  place-items: start center;
  padding-top: 100px;
}

.search-overlay[hidden] {
  display: none;
}

.search-panel {
  width: min(520px, 92vw);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.search-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.search-header input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  outline: none;
}

.search-header input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 2px 8px;
}

.search-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.search-results {
  list-style: none;
  margin: 0;
  padding: 8px;
  max-height: 360px;
  overflow-y: auto;
  background: transparent;
}

.search-result-item {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: #fff;
  padding: 12px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  transition: background 0.15s, border-color 0.15s;
  border: 1px solid transparent;
}

.search-result-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(236, 173, 41, 0.35);
}

.search-result-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.search-result-item span {
  font-size: 0.8rem;
  color: #ecad29;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.search-empty {
  padding: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  background: transparent;
}

/* ==========================================================================
   5. Live Stats Bar
   ========================================================================== */

.live-stats-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 32px;
  padding: 10px 24px;
  background: rgba(10, 10, 10, 0.92);
  border-top: 1px solid #ffffff15;
  font-size: 0.82rem;
  color: #ffffffaa;
  backdrop-filter: blur(8px);
}

.live-stats-bar span {
  white-space: nowrap;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #10b981;
  text-transform: uppercase;
}

.live-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  animation: live-pulse 1.5s ease-in-out infinite;
}

@keyframes live-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.15);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
}

/* ==========================================================================
   6. Inner Pages
   ========================================================================== */

.page-main {
  position: relative;
  z-index: 10;
  min-height: calc(100vh - 40px);
  padding: 120px 36px 60px;
  max-width: 1100px;
  margin: 20px auto;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.page-hero {
  margin-bottom: 48px;
}

.page-hero .label {
  display: inline-block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ecad29;
  margin-bottom: 12px;
}

.page-hero h1 {
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 500;
  margin: 0 0 16px;
  line-height: 1.1;
}

.page-hero p {
  max-width: 640px;
  color: #ffffffaa;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.info-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 24px;
}

.info-card h3 {
  font-family: "Oswald", sans-serif;
  font-size: 1.35rem;
  margin: 0 0 10px;
  color: #ecad29;
}

.info-card p {
  margin: 0;
  color: #ffffffaa;
  font-size: 0.95rem;
  line-height: 1.6;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 32px 0 48px;
}

.stat-item {
  min-width: 120px;
}

.stat-item strong {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: 2.5rem;
  color: #ecad29;
  line-height: 1;
}

.stat-item span {
  font-size: 0.9rem;
  color: #ffffff88;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s, background 0.2s;
}

.service-card:hover {
  border-color: #ecad29;
  background: rgba(255, 255, 255, 0.09);
}

.service-card h3 {
  font-family: "Oswald", sans-serif;
  font-size: 1.4rem;
  margin: 0 0 10px;
}

.service-card p {
  margin: 0 0 16px;
  color: #ffffffaa;
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  font-size: 0.9rem;
  color: #ffffff88;
  padding: 4px 0 4px 20px;
  position: relative;
}

.service-card li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #ecad29;
}

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

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 20px;
}

.contact-item h4 {
  margin: 0 0 6px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ecad29;
}

.contact-item p {
  margin: 0;
  color: #ffffffaa;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-form {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 28px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: #ffffffcc;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ecad29;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select option {
  background: #222;
  color: #fff;
}

.btn-submit {
  width: 100%;
  border: none;
  background-color: #ecad29;
  color: #1a1a1a;
  height: 44px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: filter 0.2s;
}

.btn-submit:hover {
  filter: brightness(1.08);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-success {
  margin-top: 12px;
  text-align: center;
  color: #ecad29;
  font-size: 0.9rem;
}

.page-footer {
  text-align: center;
  padding: 32px;
  color: #ffffff88;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-footer a {
  color: #ffffff88;
  text-decoration: none;
  margin: 0 12px;
}

.page-footer a:hover {
  color: #ecad29;
}

/* Destination detail page */
.destination-page {
  padding-top: 100px;
}

.dest-back-link {
  display: inline-block;
  color: #ecad29;
  text-decoration: none;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.dest-back-link:hover {
  text-decoration: underline;
}

.dest-hero {
  position: relative;
  height: 360px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  margin-bottom: 28px;
}

.dest-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.2));
}

.dest-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
}

.dest-hero-content h1 {
  font-family: "Oswald", sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: 8px 0 0;
  line-height: 1.1;
}

.dest-hero-content h1 span {
  color: #ecad29;
}

.dest-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

.dest-info h2 {
  font-family: "Oswald", sans-serif;
  color: #ecad29;
  margin: 0 0 12px;
}

.dest-info p {
  color: #ffffffaa;
  line-height: 1.7;
  margin: 0 0 24px;
}

.dest-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.dest-book-btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  line-height: 44px;
  padding: 0 24px;
  width: auto;
}

.dest-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dest-error {
  text-align: center;
  padding: 60px 20px;
}

.dest-back-btn {
  display: inline-block;
  width: auto;
  padding: 0 24px;
  text-decoration: none;
  margin-top: 16px;
}

.loading-text {
  color: #ffffff88;
  text-align: center;
  padding: 40px;
}

/* Scroll reveal animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal-delay-1 { transition-delay: 0.1s; }
.scroll-reveal-delay-2 { transition-delay: 0.2s; }
.scroll-reveal-delay-3 { transition-delay: 0.3s; }

.page-main.page-enter {
  animation: pageSlideIn 0.8s ease forwards;
}

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

@media (max-width: 768px) {
  .dest-body {
    grid-template-columns: 1fr;
  }

  .dest-hero {
    height: 260px;
  }
}

/* ==========================================================================
   7. Admin
   ========================================================================== */

.admin-body {
  /* inherits transparent bg from body.page-scroll rules */
}

.admin-login {
  max-width: 420px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 36px;
}

.admin-login h1 {
  font-family: "Oswald", sans-serif;
  font-size: 2rem;
  margin: 0 0 8px;
}

.admin-login > p {
  margin: 0 0 24px;
  color: #ffffff66;
  font-size: 0.85rem;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.stat-card-admin {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.stat-card-admin strong {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: 2.25rem;
  color: #ecad29;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-card-admin span {
  font-size: 0.85rem;
  color: #ffffff88;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.admin-panel {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 20px;
}

.admin-panel h3 {
  font-family: "Oswald", sans-serif;
  font-size: 1.1rem;
  margin: 0 0 16px;
  color: #ecad29;
  padding-bottom: 10px;
  border-bottom: 1px solid #ffffff12;
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 320px;
  overflow-y: auto;
}

.admin-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.admin-item strong {
  color: #fff;
}

.admin-item small {
  display: block;
  margin-top: 4px;
  color: #ffffff66;
  font-size: 0.78rem;
}

.admin-item button {
  margin-top: 8px;
  padding: 4px 12px;
  border: 1px solid #ecad29;
  background: transparent;
  color: #ecad29;
  border-radius: 99px;
  font-size: 0.75rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-item button:hover {
  background: #ecad29;
  color: #1a1a1a;
}

.badge {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 10px;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge.new {
  background: rgba(236, 173, 41, 0.2);
  color: #ecad29;
  border: 1px solid #ecad29;
}

.badge.read {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid #10b981;
}

.form-error {
  margin-top: 12px;
  color: #ef4444;
  font-size: 0.85rem;
  text-align: center;
}

/* ==========================================================================
   Responsive — max-width 768px
   ========================================================================== */

@media (max-width: 768px) {
  nav {
    padding: 16px 20px;
  }

  .nav-links {
    gap: 10px;
    font-size: 11px;
  }

  .nav-brand {
    font-size: 12px;
  }

  .details {
    top: 180px;
    left: 24px;
  }

  .details > .desc,
  .details > .cta {
    width: calc(100vw - 48px);
  }

  .details .title-1,
  .details .title-2 {
    font-size: 42px;
  }

  .details .title-box-1,
  .details .title-box-2 {
    height: 70px;
  }

  .pagination .progress-sub-container {
    width: 180px;
  }

  .pagination .progress-sub-container .progress-sub-background {
    width: 180px;
  }

  .live-stats-bar {
    gap: 10px 16px;
    padding: 8px 16px;
    font-size: 0.72rem;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .search-overlay {
    padding-top: 80px;
  }

  .page-main {
    padding: 100px 20px 40px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .admin-login {
    padding: 24px 20px;
  }

  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   13. Swipe Explore
   ========================================================================== */

.explore-body {
  background:
    linear-gradient(rgba(10, 10, 15, 0.85), rgba(10, 10, 15, 0.92)),
    url("https://assets.codepen.io/3685267/timed-cards-3.jpg") center / cover fixed no-repeat;
}

.explore-header,
.planner-header,
.passport-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.explore-header h1,
.planner-header h1 {
  font-family: "Oswald", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0.5rem 0;
}

.explore-header p,
.planner-header p {
  color: rgba(255, 255, 255, 0.65);
}

.swipe-zone {
  max-width: 420px;
  margin: 0 auto;
  position: relative;
}

.swipe-stack {
  position: relative;
  height: 520px;
  margin-bottom: 1.5rem;
}

.swipe-card {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.swipe-card:active {
  cursor: grabbing;
}

.swipe-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.swipe-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 60%);
}

.swipe-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
}

.swipe-pulse {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.swipe-pulse span {
  background: rgba(236, 173, 41, 0.2);
  border: 1px solid rgba(236, 173, 41, 0.4);
  color: #ecad29;
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  border-radius: 99px;
}

.swipe-card-content h2 {
  margin: 0;
  font-size: 1.1rem;
  color: #ecad29;
}

.swipe-card-content h3 {
  margin: 0.25rem 0;
  font-family: "Oswald", sans-serif;
  font-size: 1.8rem;
}

.swipe-card-content p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.swipe-vibe {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.swipe-stamp {
  position: absolute;
  top: 2rem;
  padding: 0.5rem 1rem;
  border: 3px solid;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 2px;
  opacity: 0;
  transform: rotate(-15deg);
  transition: opacity 0.2s;
}

.like-stamp { right: 1.5rem; color: #10b981; border-color: #10b981; transform: rotate(15deg); }
.skip-stamp { left: 1.5rem; color: #ef4444; border-color: #ef4444; }
.save-stamp { left: 50%; transform: translateX(-50%) rotate(0); color: #ecad29; border-color: #ecad29; top: 3rem; }

.swipe-card.show-like .like-stamp,
.swipe-card.show-skip .skip-stamp,
.swipe-card.show-save .save-stamp {
  opacity: 1;
}

.swipe-hints {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1rem;
}

.swipe-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.swipe-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.swipe-btn:hover {
  transform: scale(1.1);
}

.like-btn:hover { background: rgba(16, 185, 129, 0.3); border-color: #10b981; }
.skip-btn:hover { background: rgba(239, 68, 68, 0.3); border-color: #ef4444; }
.save-btn:hover { background: rgba(236, 173, 41, 0.3); border-color: #ecad29; }

.swipe-empty,
.swipe-error {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   14. AI Trip Planner
   ========================================================================== */

.planner-form {
  max-width: 640px;
  margin: 0 auto 2rem;
}

.planner-form textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
  min-height: 100px;
}

.planner-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.chip {
  padding: 0.5rem 1rem;
  border-radius: 99px;
  border: 1px solid rgba(236, 173, 41, 0.3);
  background: rgba(236, 173, 41, 0.1);
  color: #ecad29;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.2s;
}

.chip:hover {
  background: rgba(236, 173, 41, 0.25);
}

.planner-submit {
  width: 100%;
  margin-top: 0.5rem;
}

.planner-result {
  max-width: 800px;
  margin: 0 auto 2rem;
}

.planner-loading {
  text-align: center;
  padding: 3rem;
}

.planner-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(236, 173, 41, 0.2);
  border-top-color: #ecad29;
  border-radius: 50%;
  margin: 0 auto 1rem;
  animation: spin 0.8s linear infinite;
}

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

.plan-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
}

.plan-hero {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.plan-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.plan-hero-text {
  position: absolute;
  bottom: 1rem;
  left: 1.5rem;
}

.plan-hero-text h2 {
  font-family: "Oswald", sans-serif;
  margin: 0.25rem 0;
}

.plan-body {
  padding: 1.5rem;
}

.plan-days {
  display: grid;
  gap: 1rem;
  margin: 1rem 0;
}

.plan-day {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  padding: 1rem;
}

.plan-day-num {
  color: #ecad29;
  font-size: 0.8rem;
  font-weight: 600;
}

.plan-day ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.plan-extras {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.plan-extras h4 {
  color: #ecad29;
  margin: 0 0 0.5rem;
}

.plan-extras ul {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.plan-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-outline {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(236, 173, 41, 0.5);
  color: #ecad29;
  border-radius: 8px;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

.btn-outline:hover {
  background: rgba(236, 173, 41, 0.15);
}

.plan-history-list {
  list-style: none;
  padding: 0;
  max-width: 640px;
  margin: 0 auto;
}

.plan-history-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.plan-history-list small {
  color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   15. Travel Passport
   ========================================================================== */

.passport-cover {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.passport-globe {
  font-size: 3rem;
}

.passport-level {
  color: #ecad29;
  font-weight: 600;
  font-size: 1.1rem;
}

.passport-user {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  margin: 0.25rem 0;
}

.passport-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
  margin-bottom: 1rem;
}

.passport-stats strong {
  display: block;
  font-size: 1.5rem;
  color: #ecad29;
}

.passport-stats span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.passport-progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.passport-progress div {
  height: 100%;
  background: linear-gradient(90deg, #ecad29, #f5c842);
  border-radius: 99px;
  transition: width 0.5s ease;
}

.stamp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.stamp-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  position: relative;
}

.stamp-emoji {
  font-size: 2rem;
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
}

.stamp-img {
  height: 100px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  margin-bottom: 0.75rem;
}

.stamp-card h3 {
  font-size: 0.9rem;
  margin: 0;
  color: #ecad29;
}

.stamp-card p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0.25rem 0;
}

.stamp-card time {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
}

.stamp-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #ecad29;
}

.passport-empty {
  text-align: center;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
}

.passport-share {
  text-align: center;
  margin-top: 2rem;
  padding: 2rem;
  background: rgba(236, 173, 41, 0.08);
  border-radius: 12px;
}

/* ==========================================================================
   16. Home Feature Bar + Live Pulse
   ========================================================================== */

.feature-bar {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 55;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeInBar 1s ease 1.2s forwards;
}

@keyframes fadeInBar {
  to { opacity: 1; }
}

.feature-chip {
  padding: 0.4rem 0.9rem;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-size: 0.78rem;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: background 0.2s, transform 0.2s;
}

.feature-chip:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.home-pulse {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
}

.home-pulse span {
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  border-radius: 99px;
  background: rgba(236, 173, 41, 0.15);
  border: 1px solid rgba(236, 173, 41, 0.3);
  color: #ecad29;
}

.dest-pulse {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.dest-pulse span {
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(236, 173, 41, 0.4);
  color: #ecad29;
}

.dest-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .feature-bar {
    top: auto;
    bottom: 70px;
    width: calc(100% - 32px);
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .plan-extras {
    grid-template-columns: 1fr;
  }

  .passport-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .swipe-stack {
    height: 460px;
  }
}

.nav-links a.active {
  color: #ffffff;
}

/* ==========================================================================
   17. Auth / Login
   ========================================================================== */

.auth-page {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 70vh;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 2rem;
}

.auth-card h1 {
  font-family: "Oswald", sans-serif;
  margin: 0 0 0.5rem;
}

.auth-sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.auth-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.auth-tab {
  flex: 1;
  padding: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
}

.auth-tab.active {
  background: rgba(236, 173, 41, 0.2);
  border-color: #ecad29;
  color: #ecad29;
}

.auth-form {
  display: grid;
  gap: 0.75rem;
}

.auth-form input {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-family: inherit;
}

.auth-error {
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 1rem;
}

.auth-note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 1rem;
  text-align: center;
}

.nav-login,
.nav-user {
  color: #ffffff;
  font-size: 14px;
  text-transform: uppercase;
}

.nav-logout {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 99px;
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  text-transform: uppercase;
}

.nav-logout:hover {
  border-color: #ecad29;
  color: #ecad29;
}
