/* Shared CSS for all destination pages */

/* CSS Variables */
:root {
  --bg: #F4F1EA;
  --ink: #26221C;
  --ink-soft: #5C554A;
  --accent: #BB5A34;
  --accent-dark: #9C4826;
  --card: #FFFFFF;
  --line: #E4DECF;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  line-height: 1.55;
  cursor: url('../images/cursor.png') 10 10, auto;
}
/* Navigation */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-dark);
  background: linear-gradient(135deg, rgba(255,255,255,0.65), rgba(187,90,52,0.18));
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.55);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px 10px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(38,34,28,0.12), inset 0 1px 0 rgba(255,255,255,0.65);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.back-link:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(187,90,52,0.28));
  transform: translateX(-5px);
  box-shadow: 0 12px 30px rgba(38,34,28,0.18), inset 0 1px 0 rgba(255,255,255,0.75);
}

.back-link::before {
  content: "✈️";
  display: inline-block;
  transform: scaleX(-1);
  animation: jet-fly 2.4s ease-in-out infinite;
}

.back-link:hover::before {
  animation: jet-fly-fast 0.7s ease-in-out infinite;
}

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

.back-link.secondary {
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow: 0 6px 18px rgba(38,34,28,0.08), inset 0 1px 0 rgba(255,255,255,0.5);
}

.back-link.secondary:hover {
  background: rgba(255,255,255,0.4);
  box-shadow: 0 10px 24px rgba(38,34,28,0.14), inset 0 1px 0 rgba(255,255,255,0.6);
}

@keyframes jet-fly {
  0%, 100% { transform: scaleX(-1) translateX(0); }
  50% { transform: scaleX(-1) translateX(-6px); }
}

@keyframes jet-fly-fast {
  0%, 100% { transform: scaleX(-1) translateX(0); }
  50% { transform: scaleX(-1) translateX(-10px); }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-out forwards;
  opacity: 0;
}

/* Headings */
h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 48px;
  margin: 20px 0 14px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 28px;
  margin: 0 0 16px;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

/* Intro Section */
.intro {
  max-width: none;
  color: var(--ink-soft);
  font-size: 16px;
  margin-bottom: 36px;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* Gallery */
.gallery {
  column-count: 4;
  column-gap: 10px;
  margin-bottom: 56px;
}

.gallery a {
  display: inline-block;
  width: 100%;
  margin: 0 0 10px;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  break-inside: avoid;
  transition: transform 700ms cubic-bezier(.22, .61, .36, 1), opacity 500ms ease;
  will-change: transform, opacity;
}

.gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  transition: transform .35s ease, filter .25s ease;
}

.gallery a:hover img {
  transform: scale(1.02);
  filter: brightness(1.03);
}

.g-big {
  width: 100%;
}

/* Signature Experiences */
.experiences {
  margin-bottom: 44px;
}

.experiences ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
}

.experiences li {
  margin-bottom: 12px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* Highlight Blocks (for pages using this structure) */
.highlight-block {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}

.highlight-block h2,
.highlight-block h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.highlight-block h3 {
  font-size: 22px;
}

.highlight-block ol,
.highlight-block ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.9;
  font-weight: 400;
  list-style: none;
}

.highlight-block li {
  margin-bottom: 10px;
  letter-spacing: 0.2px;
  position: relative;
  padding-left: 10px;
}

.highlight-block li:before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Detail Blocks (for pages using this structure) */
.destination-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

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

.detail-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(38, 34, 28, 0.08);
}

.detail-block h2 {
  margin-top: 0;
  margin-bottom: 16px;
  letter-spacing: -0.2px;
}

.detail-block ol,
.detail-block ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.9;
  font-weight: 400;
}

.detail-block li {
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}

.destination-details h2 {
  margin-top: 0;
}

/* Itinerary Cards */
.itineraries h2 {
  margin-bottom: 6px;
}

.itineraries .sub {
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 20px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
}

.card p.desc {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 0 0 16px;
  flex-grow: 1;
}

.card .price {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}

.card .price .sym {
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 11px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background .15s ease;
}

.btn:hover {
  background: var(--accent-dark);
}

/* Logo Header */
.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px 24px 80px;
    position: relative;
}

.logo-header {
    position: absolute;
    top: 20px;
    right: 24px; /* Aligns with wrap padding */
    z-index: 100;
}

.logo-header img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 6px 14px rgba(38,34,28,0.18));
}

/* Below this width the "Home"/"Back to Destinations" buttons take the full row
   and would sit under the absolutely-positioned logo, so stack the logo above them instead. */
@media (max-width: 640px) {
  .logo-header {
    position: static;
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
  }
  .logo-header img {
    height: 48px;
  }
}
/* Social / Contact Footer */
.social {
  position: relative;
  margin-top: 56px;
  padding: 40px 32px 210px;
  background-color: transparent;
  background-image:
    linear-gradient(135deg, rgba(187,90,52,0.05), rgba(38,34,28,0.02)),
    url('../images/social_media_back_groung.png');
  background-repeat: no-repeat, no-repeat;
  background-position: center, bottom center;
  background-size: 100% 100%, 720px auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  text-align: center;
}

.social p {
  color: var(--ink-soft);
  font-size: 15px;
  letter-spacing: 0.3px;
  margin: 0 0 16px;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.social-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.3px;
  color: #fff;
  box-shadow: 0 8px 20px rgba(38,34,28,0.15);
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease;
}

.social-btn::before {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
  pointer-events: none;
}

.social-btn:hover::before {
  left: 125%;
}

.social-btn:hover {
  opacity: 1;
  transform: translateY(-4px) scale(1.03);
}

.social-btn.instagram:hover { box-shadow: 0 14px 30px rgba(221,42,123,0.4); }
.social-btn.whatsapp:hover { box-shadow: 0 14px 30px rgba(37,211,102,0.45); }
.social-btn.email:hover { box-shadow: 0 14px 30px rgba(38,34,28,0.4); }

.social-btn svg {
  width: 26px;
  height: 26px;
  padding: 5px;
  box-sizing: border-box;
  background: rgba(255,255,255,0.22);
  border-radius: 50%;
  flex-shrink: 0;
}

.social-btn.instagram {
  background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
}

.social-btn.whatsapp {
  background: #25D366;
}

.social-btn.email {
  background: var(--ink);
}

@media (max-width: 640px) {
  .social {
    padding-bottom: 130px;
    background-size: 100% 100%, 100% auto;
  }
}

/* Responsive Design */
@media (max-width: 900px) {
  .gallery {
    column-count: 2;
  }

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

  h1 {
    font-size: 36px;
  }

  .hampi-highlights,
  .rishikesh-highlights,
  .leh-highlights,
  .agra-highlights,
  .varanasi-highlights {
    grid-template-columns: 1fr !important;
  }

  .highlights-grid {
    grid-template-columns: 1fr !important;
  }

  .destination-details {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .logo-header img {
    height: 56px;
  }
}

@media (max-width: 768px) {
  .wrap {
    padding: 24px 16px 60px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

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

@media (max-width: 480px) {
  .gallery {
    column-count: 1;
  }

  .logo-header img {
    height: 44px;
  }

  .logo-header {
    top: 12px;
    right: 16px;
  }

  .detail-block,
  .highlight-block {
    padding: 18px;
  }

  .social-buttons {
    gap: 10px;
  }

  .social-btn {
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* Mobile quick-contact bar */
.mobile-contact-bar { display: none; }
@media (max-width: 768px) {
  .mobile-contact-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    top: auto;
    right: auto;
    margin: 0;
    left: 50%;
    bottom: calc(14px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    z-index: 999;
    width: calc(100% - 32px);
    max-width: 420px;
    background: #363330;
    border-radius: 999px;
    padding: 12px 6px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  }
  .mobile-contact-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-contact-bar svg { width: 24px; height: 24px; }
  body { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
}

/* Itinerary day-wise plan popup */
.itin-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(38,34,28,0.55);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}
.itin-modal-backdrop.visible { display: flex; }
.itin-modal {
  background: var(--card);
  border-radius: 20px;
  max-width: 640px;
  width: 100%;
  padding: 36px 36px 40px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  margin: auto;
}
.itin-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.itin-modal-close:hover { background: var(--bg); color: var(--ink); }
.itin-modal h2 {
  font-family: 'Playfair Display', serif;
  font-size: 23px;
  margin: 0 0 4px;
  padding-right: 40px;
  line-height: 1.25;
}
.itin-modal .itin-sub {
  color: var(--ink-soft);
  font-size: 13.5px;
  margin: 0 0 26px;
  line-height: 1.6;
}
.itin-day-list { position: relative; }
.itin-day {
  position: relative;
  padding-left: 68px;
  padding-bottom: 26px;
}
.itin-day:last-child { padding-bottom: 0; }
.itin-day::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 36px;
  bottom: -4px;
  border-left: 1.5px dashed var(--line);
}
.itin-day:last-child::before { display: none; }
.itin-day-badge {
  position: absolute;
  left: 0;
  top: 0;
  width: 54px;
  text-align: center;
}
.itin-day-badge .num {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 19px;
  color: var(--accent);
  line-height: 1;
}
.itin-day-badge .lbl {
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 2px;
}
.itin-day-title {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--accent-dark);
  margin-bottom: 8px;
  letter-spacing: .1px;
}
.itin-day ul {
  margin: 0 0 10px;
  padding-left: 18px;
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.75;
}
.itin-day ul li { margin-bottom: 2px; }
.itin-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.itin-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11px;
  color: var(--ink-soft);
  font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .itin-modal-backdrop { padding: 0; align-items: stretch; }
  .itin-modal { max-width: none; border-radius: 0; min-height: 100%; padding: 28px 20px 40px; }
  .itin-day { padding-left: 56px; }
  .itin-day-badge { width: 44px; }
}
