/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  color: #666;
  background: #fff;
  line-height: 1.7em;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

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

a {
  color: #ff0058;
  text-decoration: none;
}

a:hover {
  color: #23000b;
}

h1, h2, h3, h4, h5, h6 {
  color: #333;
  padding-bottom: 10px;
  line-height: 1em;
  font-weight: 500;
}

h1 { font-size: 30px; }
h2 { font-size: 26px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

ul { list-style: none; }

/* --- Layout --- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 30px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-1-2 { width: 50%; padding: 0 15px; }
.col-1-3 { width: 33.333%; padding: 0 15px; }
.text-center { text-align: center; }

.section { padding: 54px 0; }
.section-teal { background: #38B5AB; color: #fff; }
.immersive-section { padding: 54px 0; background: #FFDF00; }

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #0e1e1d;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 24px 0;
}

.site-header.scrolled {
  background: #0e1e1d;
  padding: 12px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo img { height: 43px; width: auto; }
.logo-dark { display: none; }

body.home .site-header:not(.scrolled) .logo { visibility: visible; }

.nav-cta-btn {
  display: inline-block;
  background: #ED195A;
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  margin-left: 16px;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.nav-cta-btn:hover { opacity: 0.85; color: #fff !important; }

.main-nav { display: flex; align-items: center; margin-left: auto; }

.main-nav a {
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 400;
  padding: 6px 22px;
  letter-spacing: 0;
  text-decoration: none;
  transition: color 0.3s;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover { color: #fff; }
.main-nav a.active { color: #FFDE00; border-bottom: 2px solid #FFDE00; }

.site-header.dark-nav .main-nav a { color: rgba(255,255,255,0.85); }
.site-header.dark-nav .main-nav a:hover,
.site-header.dark-nav .main-nav a.active { color: #fff; }
.site-header.dark-nav .mobile-menu-toggle { color: #fff; }

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  width: 32px;
  height: 24px;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
}
.burger-bar { display: block; width: 28px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s ease, opacity .3s ease, top .3s ease; position: absolute; left: 0; }
.burger-bar:nth-child(1) { top: 0; }
.burger-bar:nth-child(2) { top: 50%; transform: translateY(-50%); }
.burger-bar:nth-child(3) { top: 100%; transform: translateY(-100%); }
.mobile-menu-toggle.open .burger-bar:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.mobile-menu-toggle.open .burger-bar:nth-child(2) { opacity: 0; transform: translateY(-50%) scaleX(0); }
.mobile-menu-toggle.open .burger-bar:nth-child(3) { top: 50%; transform: translateY(-50%) rotate(-45deg); }

/* --- Shared Card (also used on stop sidebar) --- */
.about-card {
  border-radius: 24px;
  padding: 60px;
  color: #fff;
}

.about-card.teal {
  background: #38B5AB;
  box-shadow: 0px 60px 80px 0px rgba(0, 135, 28, 0.2);
}

.about-card.pink {
  background: #ED195A;
  box-shadow: 0px 60px 80px 0px rgba(254, 139, 119, 0.3);
}

.about-card h3 {
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2em;
  margin-bottom: 15px;
}

.about-card p {
  font-size: 16px;
  line-height: 1.8em;
  color: #fff;
  letter-spacing: -0.01em;
}

.quote-btn {
  display: inline-block;
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  background: #ff0058;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  margin-top: 30px;
  transition: background 0.3s;
}

.quote-btn:hover { background: #23000b; color: #fff; }

/* --- CTA / Dark Footer Section --- */
.cta-section {
  background: #000;
  padding: 80px 0 40px;
}

.cta-heading {
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-size: 50px;
  font-weight: 500;
  color: #fff;
  line-height: 1.4em;
}

.cta-logo { max-width: 400px; width: 100%; height: auto; }

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #333;
}

.footer-col {
  flex: 1;
  min-width: 200px;
  padding: 0 15px;
}

.footer-col h2 {
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.footer-col p,
.footer-col a {
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-size: 18px;
  color: #fff;
  line-height: 1.7em;
}

.footer-col a:hover { color: #38b5ab; }

.social-icons { display: flex; gap: 10px; }

.social-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  transition: opacity 0.3s;
}

.social-icon:hover { opacity: 0.8; color: #fff; }

.social-icon.facebook { background: #3b5998; }
.social-icon.instagram { background: #ea2c59; }
.social-icon.linkedin { background: #007bb6; }

.social-icon svg { width: 20px; height: 20px; fill: currentColor; }

.site-footer {
  background: #222;
  padding: 20px 0;
  text-align: center;
  color: #666;
  font-size: 14px;
}

.site-footer a { color: #fff; text-decoration: underline; }
.site-footer a:hover { color: #38b5ab; }

.img-shimmer {
  position: relative;
  background: #e8e8e8 linear-gradient(90deg, #e8e8e8 0%, #f5f5f5 50%, #e8e8e8 100%);
  background-size: 200% 100%;
  animation: img-shimmer 1.4s linear infinite;
}

.img-shimmer > img {
  opacity: 0;
  transition: opacity 0.3s ease-in;
}

.img-shimmer > img.loaded { opacity: 1; }
.img-shimmer:has(> img.loaded) { animation: none; background: transparent; }

@keyframes img-shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* --- Responsive: base + header + footer --- */
@media (max-width: 980px) {
  .col-1-2, .col-1-3 { width: 100%; }
  .row { flex-direction: column; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0e1e1d;
    flex-direction: column;
    padding: 20px 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 30px; display: block; color: rgba(255,255,255,0.85); }
  .mobile-menu-toggle { display: flex; }
  .site-header { padding: 13px 0 10px; }

  .cta-heading { font-size: 36px; text-align: center; }
  .cta-logo { margin: 20px auto 0; }

  .footer-columns { flex-direction: column; gap: 30px; }
  .footer-col { text-align: center; }
  .social-icons { justify-content: center; }
}

@media (max-width: 767px) {
  .cta-heading { font-size: 30px; }
  .footer-col h2 { margin-top: 20px; }
  .header-inner { justify-content: space-between; }
  .nav-cta-btn { margin-left: 0; order: 2; font-size: 12px; padding: 8px 14px; }
  .mobile-menu-toggle { order: 3; margin-left: 0; }
  .logo { order: 1; }
}

/* --- Shared Buttons --- */
.home-btn-primary { display: inline-flex; align-items: center; gap: 8px; background: #006760; color: #fff; padding: 14px 28px; border-radius: 10px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px; text-decoration: none; transition: opacity 0.2s; }
.home-btn-primary:hover { opacity: 0.85; color: #fff; }

/* --- Featured Tours Component --- */
.featured-tours-section { padding: 80px 0; background: #f5f6f7; }
.featured-tours-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; gap: 20px; flex-wrap: wrap; }
.featured-tours-heading { font-family: 'Poppins', sans-serif; font-size: 36px; font-weight: 800; color: #111; padding-bottom: 0; margin-bottom: 8px; }
.featured-tours-sub { font-size: 15px; color: #555; line-height: 1.6; max-width: 480px; }
.featured-tours-link { color: #38B5AB; font-weight: 700; font-size: 15px; white-space: nowrap; text-decoration: none; border-bottom: 2px solid #38B5AB; padding-bottom: 2px; flex-shrink: 0; }
.featured-tours-link:hover { opacity: 0.75; }
.featured-tours-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.featured-tours-cta { text-align: center; margin-top: 40px; }
.featured-tours-cta .home-btn-primary { font-size: 16px; padding: 16px 40px; }
.ft-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.07); transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; position: relative; cursor: pointer; }
.ft-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.ft-card-img { position: relative; height: 200px; overflow: hidden; }
.ft-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.ft-card:hover .ft-card-img img { transform: scale(1.05); }
.ft-rating { position: absolute; top: 12px; right: 12px; background: #fff; font-size: 12px; font-weight: 700; color: #111; padding: 5px 12px; border-radius: 9999px; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.ft-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.ft-meta { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: #38B5AB; letter-spacing: .06em; margin-bottom: 10px; text-transform: uppercase; }
.ft-meta .material-symbols-outlined { font-size: 15px; }
.ft-title { font-family: 'Poppins', sans-serif; font-size: 19px; font-weight: 800; color: #111; line-height: 1.2; padding-bottom: 0; margin-bottom: 10px; }
.ft-desc { font-size: 13px; color: #666; line-height: 1.6; margin-bottom: 20px; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ft-footer { display: flex; justify-content: space-between; align-items: center; }
.ft-location { font-size: 14px; font-weight: 700; color: #111; }
.ft-play { width: 40px; height: 40px; background: #eef0ef; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background 0.2s; flex-shrink: 0; }
.ft-play::after { content: ''; width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #38B5AB; margin-left: 3px; }
.ft-play:hover { background: #38B5AB; }
.ft-play:hover::after { border-color: transparent transparent transparent #fff; }

/* --- CTA Banner --- */
.cta-banner-section { padding: 60px 0; background: #f5f6f7; }
.cta-banner { background: #38B5AB; border-radius: 24px; padding: 64px 48px; text-align: center; }
.cta-banner-heading { font-family: 'Poppins', sans-serif; font-size: 44px; font-weight: 800; color: #fff; line-height: 1.15; padding-bottom: 0; margin-bottom: 16px; }
.cta-banner-accent { color: rgba(255,255,255,0.55); font-style: italic; }
.cta-banner-sub { font-size: 16px; color: rgba(255,255,255,0.82); line-height: 1.7; max-width: 520px; margin: 0 auto 32px; }
.cta-banner-badges { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-banner-badges img { height: 48px; width: auto; }

/* --- Shared Footer --- */
.home-footer { background: #0e1e1d; border-top: none; padding: 60px 0 0; position: relative; overflow: hidden; }
.home-footer::before { content: ''; position: absolute; top: -80px; right: -60px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(237,25,90,.18) 0%, transparent 70%); pointer-events: none; }
.home-footer::after { content: ''; position: absolute; bottom: 0; left: -80px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(246,135,31,.13) 0%, transparent 70%); pointer-events: none; }
.home-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.home-footer-logo-img { height: 32px; width: auto; display: block; margin-bottom: 16px; }
.home-footer-brand p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7; max-width: 220px; }
.home-footer-col h4 { font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.9); text-transform: uppercase; letter-spacing: .06em; padding-bottom: 0; margin-bottom: 16px; }
.home-footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.5); text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.home-footer-col a:hover { color: #38B5AB; }
.home-footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.home-footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-award-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.3); font-family: 'Poppins', sans-serif; }
.footer-award-star { color: #FFDE00; font-size: 13px; }
.footer-newsletter-form { display: flex; gap: 8px; margin-top: 16px; }
.footer-newsletter-form input { flex: 1; padding: 10px 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); color: #fff; font-size: 13px; }
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.footer-newsletter-form button { padding: 10px 18px; background: #006760; color: #fff; border: none; border-radius: 8px; font-family: 'Poppins',sans-serif; font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap; }
.footer-newsletter-form button:hover { background: #38B5AB; }

@media (max-width: 980px) {
  .featured-tours-grid { grid-template-columns: 1fr 1fr; }
  .home-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.ft-explore { display: block; margin-top: 16px; font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 700; color: #006567; text-decoration: none; transition: color .2s; text-align: right; }
.ft-explore::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.ft-explore:hover { color: #38B5AB; }
.tour-category { position: absolute; top: 16px; left: 16px; z-index: 2; font-family: 'Poppins', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 6px; color: #fff; }
.tour-category.cat-train { background: #ae302c; }
.tour-category.cat-car { background: #006760; }
.tour-category.cat-foot { background: #4a5b6f; }
.tour-category.cat-default { background: rgba(0,0,0,.5); }
@media (max-width: 767px) {
  .featured-tours-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
  .cta-banner-heading { font-size: 30px; }
  .home-footer { padding: 40px 0 0; }
  .home-footer-grid { grid-template-columns: 1fr; gap: 0; }
  .home-footer-brand { text-align: center; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .home-footer-brand p { max-width: 100%; }
  .footer-newsletter-form { flex-direction: column; }
  .footer-newsletter-form input, .footer-newsletter-form button { width: 100%; }
  .home-footer-col { text-align: center; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .home-footer-col:last-child { border-bottom: none; }
  .home-footer-col h4 { margin-bottom: 12px; }
  .home-footer-logo-img { margin: 0 auto 16px; }
}

/* QR Modal */
.qr-modal { display: none; position: fixed; inset: 0; z-index: 2000; align-items: center; justify-content: center; }
.qr-modal.open { display: flex; }
.qr-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.qr-modal-box { position: relative; background: #e8f5f5; border-radius: 20px; padding: 36px 32px; text-align: center; max-width: 320px; width: 90%; box-shadow: 0 24px 60px rgba(0,0,0,.25); border: 12px solid #006567; }
.qr-modal-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 24px; cursor: pointer; color: #888; line-height: 1; }
.qr-modal-title { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 700; color: #111; margin-bottom: 16px; }
.qr-modal-img { width: 100%; border-radius: 12px; display: block; }
.qr-modal-sub { font-size: 13px; color: #888; margin-top: 14px; line-height: 1.5; }

/* Sticky audio player */
.sticky-player { position: fixed; bottom: -100px; left: 0; right: 0; background: #0e1e1d; z-index: 1000; transition: bottom .35s cubic-bezier(.4,0,.2,1); box-shadow: 0 -4px 24px rgba(0,0,0,.3); }
.sticky-player.visible { bottom: 0; }
.sticky-player-inner { display: flex; align-items: center; gap: 14px; padding: 12px 20px; max-width: 1200px; margin: 0 auto; }
.sticky-play-btn { width: 36px; height: 36px; border-radius: 50%; border: none; background: #006567; cursor: pointer; flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.sticky-play-btn::after { content: ''; width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #fff; margin-left: 2px; }
.sticky-play-btn.playing { background: #ae302c; }
.sticky-play-btn.playing::before { content: ''; display: block; width: 3px; height: 12px; background: #fff; border-radius: 1px; margin-right: 2px; }
.sticky-play-btn.playing::after { width: 3px; height: 12px; background: #fff; border: none; border-radius: 1px; margin-left: 0; }
.sticky-player-info { min-width: 0; flex-shrink: 0; max-width: 200px; }
.sticky-now-playing { display: block; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #FFDE00; font-family: 'Poppins', sans-serif; }
.sticky-title { display: block; font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: 'Poppins', sans-serif; }
.sticky-progress-wrap { flex: 1; height: 4px; background: rgba(255,255,255,.2); border-radius: 2px; cursor: pointer; }
.sticky-progress-fill { height: 100%; width: 0%; background: #FFDE00; border-radius: 2px; transition: width .1s linear; pointer-events: none; }
.sticky-time { font-size: 11px; color: rgba(255,255,255,.5); font-family: 'Poppins', sans-serif; flex-shrink: 0; min-width: 32px; }
.sticky-close { background: none; border: none; color: rgba(255,255,255,.4); font-size: 20px; cursor: pointer; flex-shrink: 0; line-height: 1; padding: 4px; transition: color .2s; }
.sticky-close:hover { color: #fff; }
@media (max-width: 767px) {
  .sticky-player-info { max-width: 120px; }
  .sticky-player-inner { gap: 10px; padding: 10px 14px; }
}

/* Back to top */
.back-to-top { position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px; border-radius: 50%; background: #006567; color: #fff; border: none; font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; z-index: 999; line-height: 1; }
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.sticky-player.visible ~ .back-to-top, body:has(.sticky-player.visible) .back-to-top { bottom: 90px; }
.back-to-top:hover { background: #004f51; transform: translateY(-2px); }
