/* Travel Beat Tourism — public website.
   Brand: black + royal blue #1f3f7a + gold #f2a11e. Mobile-first, animated. */
:root {
  --bg: #050507;
  --panel: #0e0e12;
  --panel2: #14141a;
  --blue: #1f3f7a;
  --blue-d: #152c56;
  --gold: #f2a11e;
  --gold-d: #cf870f;
  --ink: #f5f5f7;
  --muted: #a9a9b3;
  --line: #23232c;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(0,0,0,.5);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--gold); }
img { max-width: 100%; }
h1 { font-size: 2.1rem; margin: 0 0 14px; line-height: 1.15; letter-spacing: -0.5px; }
h2 { font-size: 1.5rem; margin: 44px 0 14px; }
h2 .hl, h1 .hl { color: var(--gold); }
h3 { font-size: 1.1rem; margin: 0 0 8px; }
p { margin: 0 0 14px; }
.pub-wrap { max-width: 1080px; margin: 0 auto; padding: 0 18px; }
.pub-muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Header ---------- */
.pub-header {
  background: rgba(5,5,7,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50;
}
.pub-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
.pub-brand { display: inline-flex; align-items: center; text-decoration: none; }
.pub-brand img { height: 46px; width: auto; display: block; }
.pub-nav { display: flex; gap: 2px; align-items: center; }
.pub-nav a { color: var(--ink); text-decoration: none; padding: 9px 13px; border-radius: 10px; font-size: 0.95rem; transition: color .2s, background .2s; }
.pub-nav a.active, .pub-nav a:hover { color: var(--gold); background: rgba(242,161,30,.08); }
.pub-nav a.pub-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-d)); color: #141414; font-weight: 800;
  box-shadow: 0 6px 20px rgba(242,161,30,.35); margin-left: 6px;
}
.pub-nav a.pub-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(242,161,30,.45); color: #141414; }
.pub-burger { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-size: 1.3rem; padding: 6px 12px; cursor: pointer; }

/* ---------- Hero ---------- */
.pub-hero {
  position: relative; padding: 96px 0 90px; text-align: center; overflow: hidden;
  background: #050507 url('img/hero.jpg') center 30% / cover no-repeat;
}
.pub-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,5,7,.72) 0%, rgba(5,5,7,.45) 45%, rgba(5,5,7,.94) 100%),
    radial-gradient(ellipse 70% 55% at 50% 100%, rgba(31,63,122,.55), transparent 70%);
}
.pub-hero .pub-wrap { position: relative; z-index: 1; }
.pub-hero .kicker {
  display: inline-block; color: #141414; background: linear-gradient(135deg, var(--gold), #ffc44d);
  font-weight: 800; text-transform: uppercase; letter-spacing: 2.5px; font-size: 0.72rem;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(242,161,30,.4);
  animation: fadeUp .7s ease both;
}
.pub-hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); text-shadow: 0 4px 30px rgba(0,0,0,.7); animation: fadeUp .7s .1s ease both; }
.pub-hero p.lede { font-size: 1.15rem; color: #d7d7de; max-width: 640px; margin: 0 auto 28px; text-shadow: 0 2px 12px rgba(0,0,0,.8); animation: fadeUp .7s .2s ease both; }
.pub-hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; animation: fadeUp .7s .3s ease both; }
.pub-hero-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 30px; animation: fadeUp .7s .45s ease both; }
.pub-chip {
  background: rgba(10,10,14,.72); border: 1px solid rgba(242,161,30,.35); backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 999px; padding: 8px 16px; font-size: 0.88rem; color: #f0e6d2;
}
.pub-chip b { color: var(--gold); }
.pub-scroll { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 1.4rem; animation: bob 2s ease-in-out infinite; z-index: 1; }

/* ---------- Buttons ---------- */
.pub-btn {
  display: inline-block; font-weight: 800; padding: 15px 30px; border-radius: 14px;
  text-decoration: none; border: none; font-size: 1rem; cursor: pointer; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--gold), var(--gold-d)); color: #141414;
  box-shadow: 0 10px 28px rgba(242,161,30,.35); transition: transform .2s, box-shadow .2s;
}
.pub-btn::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-20deg);
}
.pub-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(242,161,30,.5); }
.pub-btn:hover::after { animation: shine .7s ease; }
.pub-btn-ghost { background: rgba(10,10,14,.6); color: var(--gold); border: 1.5px solid var(--gold); box-shadow: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pub-btn-ghost:hover { background: rgba(242,161,30,.12); box-shadow: none; }
.pub-btn-blue { background: linear-gradient(135deg, #2f5aa8, var(--blue-d)); color: #fff; box-shadow: 0 10px 28px rgba(31,63,122,.5); }

/* ---------- Marquee ---------- */
.pub-marquee { background: linear-gradient(90deg, var(--blue-d), var(--blue), var(--blue-d)); border-top: 1px solid rgba(242,161,30,.4); border-bottom: 1px solid rgba(242,161,30,.4); overflow: hidden; white-space: nowrap; padding: 12px 0; }
.pub-marquee .track { display: inline-block; animation: marquee 26s linear infinite; }
.pub-marquee span { display: inline-block; padding: 0 26px; font-weight: 700; letter-spacing: 2px; color: #fff; font-size: 0.95rem; }
.pub-marquee span i { color: var(--gold); font-style: normal; padding-right: 26px; }

/* ---------- Cards & grids ---------- */
.pub-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin: 20px 0; }
.pub-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.pub-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(242,161,30,.45); }
.pub-card .pad { padding: 22px; }
.pub-card .ico { font-size: 1.8rem; }
.pub-card h3 { color: var(--gold); margin-top: 6px; }
.pub-card p:last-child { margin-bottom: 0; }
.pub-card img.top { width: 100%; height: 190px; object-fit: cover; display: block; transition: transform .5s ease; }
.pub-card:hover img.top { transform: scale(1.05); }
.pub-imgwrap { overflow: hidden; }

.pub-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0; }
.pub-trust div {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 0.95rem;
  transition: border-color .25s, transform .25s;
}
.pub-trust div:hover { border-color: rgba(242,161,30,.5); transform: translateY(-3px); }
.pub-trust b { color: var(--gold); display: block; font-size: 1.05rem; }

/* ---------- Stats band ---------- */
.pub-stats { background: linear-gradient(135deg, var(--blue-d), #101c3a 60%, #0b0b10); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 40px 0 0; padding: 40px 0; }
.pub-stats .row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; text-align: center; }
.pub-stat b { display: block; font-size: 2rem; color: var(--gold); letter-spacing: -1px; }
.pub-stat span { color: var(--muted); font-size: 0.9rem; }

/* ---------- Testimonials ---------- */
.pub-quotes { position: relative; min-height: 190px; }
.pub-quote {
  background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: 12px; padding: 22px; margin: 14px 0; display: none;
}
.pub-quote.show { display: block; animation: fadeUp .5s ease both; }
.pub-quote p { font-size: 1.05rem; font-style: italic; }
.pub-quote cite { color: var(--gold); font-style: normal; font-weight: 700; }
.pub-stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 8px; }
.pub-dots { text-align: center; margin: 6px 0 0; }
.pub-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: var(--line); margin: 0 4px; cursor: pointer; padding: 0; }
.pub-dots button.on { background: var(--gold); }

/* ---------- FAQ ---------- */
.pub-faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; padding: 16px 18px; transition: border-color .2s; }
.pub-faq details[open] { border-color: rgba(242,161,30,.5); }
.pub-faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pub-faq summary::-webkit-details-marker { display: none; }
.pub-faq summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; }
.pub-faq details[open] summary::after { content: "–"; }
.pub-faq details p { color: var(--muted); margin: 10px 0 0; }

/* ---------- CTA band ---------- */
.pub-cta-band {
  position: relative; overflow: hidden; text-align: center; padding: 64px 0; margin-top: 50px;
  background: linear-gradient(135deg, var(--blue-d) 0%, #0d1730 55%, #08080c 100%);
  border-top: 1px solid rgba(242,161,30,.35); border-bottom: 1px solid rgba(242,161,30,.35);
}
.pub-cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(242,161,30,.22), transparent 70%);
  animation: glowpulse 5s ease-in-out infinite;
}
.pub-cta-band .pub-wrap { position: relative; z-index: 1; }
.pub-cta-band h2 { margin-top: 0; font-size: 1.8rem; }
.pub-cta-band .pub-btn { margin: 6px; }

/* ---------- Sections ---------- */
.pub-section { padding: 10px 0; }
.pub-split { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: center; margin: 26px 0; }
.pub-split img { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); width: 100%; height: auto; display: block; }
.pub-kicker { color: var(--gold); text-transform: uppercase; letter-spacing: 2.5px; font-size: 0.75rem; font-weight: 800; margin: 30px 0 4px; }

/* ---------- Footer ---------- */
.pub-footer { background: #08080b; border-top: 1px solid var(--line); padding: 40px 0 0; margin-top: 0; }
.pub-cols { display: grid; grid-template-columns: 1fr; gap: 22px; }
.pub-footer img.flogo { height: 54px; width: auto; margin-bottom: 10px; }
.pub-footnav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.pub-footnav a { text-decoration: none; color: var(--muted); }
.pub-footnav a:hover { color: var(--gold); }
.pub-contactline { display: flex; align-items: center; gap: 10px; margin: 6px 0; color: var(--muted); text-decoration: none; }
.pub-contactline:hover { color: var(--gold); }
.pub-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); margin-top: 26px; padding: 16px 18px 22px; color: var(--muted); font-size: 0.85rem; }
.pub-legal a { color: var(--muted); text-decoration: none; }

/* ---------- Floating WhatsApp ---------- */
.pub-wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(37,211,102,.45); transition: transform .2s;
  animation: wapulse 2.6s ease-in-out infinite;
}
.pub-wa:hover { transform: scale(1.08); }
.pub-wa svg { width: 32px; height: 32px; fill: #fff; }

/* ---------- Forms (booking/contact) ---------- */
/* legacy alert names (book.php) */
.pub-alert-ok { border-radius: 12px; padding: 14px 18px; margin: 16px 0; background: rgba(61,220,132,.12); border: 1px solid rgba(61,220,132,.5); }
.pub-alert-err { border-radius: 12px; padding: 14px 18px; margin: 16px 0; background: rgba(255,107,107,.1); border: 1px solid rgba(255,107,107,.5); }
.pub-form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin: 20px 0; }
.pub-form label { display: block; margin: 0 0 14px; font-weight: 600; font-size: 0.95rem; }
.pub-form input, .pub-form select, .pub-form textarea {
  width: 100%; margin-top: 6px; padding: 13px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: #0a0a0e; color: var(--ink); font-size: 1rem; font-family: inherit;
}
.pub-form input:focus, .pub-form select:focus, .pub-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242,161,30,.18); }
.pub-form .row2 { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
.pub-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.pub-flash { border-radius: 12px; padding: 14px 18px; margin: 16px 0; }
.pub-flash.ok { background: rgba(61,220,132,.12); border: 1px solid rgba(61,220,132,.5); }
.pub-flash.err { background: rgba(255,107,107,.1); border: 1px solid rgba(255,107,107,.5); }

/* ---------- Rates table ---------- */
.pub-rates { width: 100%; border-collapse: collapse; margin: 16px 0; }
.pub-rates th, .pub-rates td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.pub-rates th { color: var(--gold); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

/* ---------- Keyframes ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@keyframes shine { to { left: 130%; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes glowpulse { 0%,100% { opacity: .7; } 50% { opacity: 1; } }
@keyframes wapulse { 0%,100% { box-shadow: 0 12px 30px rgba(37,211,102,.45); } 50% { box-shadow: 0 12px 40px rgba(37,211,102,.7); } }

/* ---------- Wide screens ---------- */
@media (min-width: 760px) {
  .pub-grid { grid-template-columns: repeat(2, 1fr); }
  .pub-trust { grid-template-columns: repeat(4, 1fr); }
  .pub-stats .row { grid-template-columns: repeat(4, 1fr); }
  .pub-cols { grid-template-columns: 1.4fr 1fr 1fr; }
  .pub-split { grid-template-columns: 1fr 1fr; }
  .pub-form .row2 { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2.6rem; }
}
@media (max-width: 700px) {
  .pub-burger { display: block; }
  .pub-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: rgba(8,8,11,.98); border-bottom: 1px solid var(--line); padding: 10px 14px 16px; gap: 2px;
  }
  .pub-nav.open { display: flex; }
  .pub-nav a { padding: 12px; font-size: 1.02rem; }
  .pub-nav a.pub-cta { text-align: center; margin: 8px 0 0; }
  .pub-bar { position: relative; }
  .pub-hero { padding: 70px 0 80px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
