/*
Theme Name: Travora Unified Theme
Theme URI: https://travora.local/
Author: Mono Digital
Description: Unified WordPress theme for Travora with shared header, footer, typography, and page templates.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: travora
*/

/* ========================================
   Travora Typography System
   ======================================== */
:root{
  --font-display:"Sora", system-ui, sans-serif;
  --font-ui:"Inter", system-ui, sans-serif;

  --fs-h1:clamp(36px, 3.2vw + 24px, 56px);
  --fs-h2:clamp(28px, 2.4vw + 18px, 40px);
  --fs-h3:clamp(24px, 1.8vw + 16px, 32px);
  --fs-h4:clamp(20px, 1.2vw + 16px, 24px);
  --fs-h5:clamp(18px, 0.8vw + 16px, 20px);
  --fs-h6:16px;

  --fs-p:16px;
  --fs-lead:18px;
  --fs-small:14px;
  --fs-label:12px;
  --fs-btn:clamp(15px, 0.2vw + 14px, 16px);

  --lh-display:1.10em;
  --lh-heading:1.20em;
  --lh-body:1.70em;
  --lh-small:1.60em;

  --ls-display:-0.02em;
  --ls-heading:-0.01em;
  --ls-body:0em;
  --ls-label:0.04em;
  --ls-btn:0.02em;

  --bg:#061E3F;
  --bg-alt:#0B1C2C;
  --card:#102847;
  --line:rgba(255,255,255,.08);
  --text:#F5F7FA;
  --muted:#9BB3C9;
  --accent:#00BFFF;
  --dark:#0B1C2C;
  --navy:#102A43;
  --blue:#00BFFF;
  --gold:#D4AF37;
  --light:#E6F7FF;
  --graphite:#1C2833;
  --white:#FFFFFF;
  --border:rgba(230,247,255,.10);
  --border-strong:rgba(0,191,255,.22);
  --card-strong:rgba(16,42,67,.58);
  --shadow:0 28px 90px rgba(0,10,30,.36);
  --container:1240px;
  --radius-lg:32px;
  --radius-md:24px;
}

.travora-page-home{
  --fs-h1:clamp(3rem, 6vw, 6.2rem);
  --fs-h2:clamp(2.1rem, 4vw, 4rem);
  --fs-h3:1.18rem;
}
.travora-page-solutions{
  --fs-h1:clamp(3.2rem, 6vw, 6.4rem);
  --fs-h2:clamp(2.3rem, 4vw, 4.4rem);
  --fs-h3:1.22rem;
}
.travora-page-industries{
  --fs-h1:clamp(44px, 7vw, 82px);
  --fs-h2:clamp(32px, 4vw, 54px);
  --fs-h3:22px;
}
.travora-page-tour-operators{
  --fs-h1:clamp(48px, 7vw, 86px);
  --fs-h2:clamp(34px, 4vw, 56px);
  --fs-h3:22px;
}
.travora-page-dmcs{
  --fs-h1:clamp(42px, 7vw, 74px);
  --fs-h2:clamp(32px, 4vw, 52px);
  --fs-h3:20px;
}
.travora-page-boutique-hotels{
  --fs-h1:clamp(3rem, 7vw, 5.9rem);
  --fs-h2:clamp(2.15rem, 4vw, 4rem);
  --fs-h3:1.15rem;
}

/* Solutions page typography adjustments */
.travora-page-solutions .travora-solutions-page h1{max-width:760px;margin-bottom:28px;line-height:.92;letter-spacing:-.075em;}
.travora-page-solutions .travora-solutions-page h2{line-height:1;letter-spacing:-.055em;margin-bottom:20px;}
.travora-page-solutions .travora-solutions-page h3{line-height:1.24;letter-spacing:-.025em;margin-bottom:12px;}
.travora-page-solutions .travora-solutions-page p{color:var(--travora-muted);}
.travora-page-solutions .travora-solutions-page .hero-lead{font-size:clamp(1.04rem,1.5vw,1.24rem);line-height:1.75;}
.travora-page-solutions .travora-solutions-page .panel-top h2,
.travora-page-solutions .travora-solutions-page .cta-panel h2{font-size:1.45rem;letter-spacing:-.03em;line-height:1.1;}
.travora-page-solutions .travora-solutions-page .final-cta h2{font-size:clamp(2rem,4vw,3.4rem);}

body{
  margin:0;
  font-family:var(--font-ui);
  font-size:var(--fs-p);
  line-height:var(--lh-body);
  letter-spacing:var(--ls-body);
  color:var(--text);
  background:var(--bg);
  overflow-x:hidden;
}

h1,h2,h3,h4,h5,h6{margin-top:0;}
h1,h2,h3{
  font-family:var(--font-display);
  font-weight:600;
}
h1{
  font-size:var(--fs-h1);
  line-height:var(--lh-display);
  letter-spacing:var(--ls-display);
}
h2{
  font-size:var(--fs-h2);
  line-height:var(--lh-display);
  letter-spacing:var(--ls-display);
}
h3{
  font-size:var(--fs-h3);
  line-height:var(--lh-heading);
  letter-spacing:var(--ls-heading);
}
h4{
  font-size:var(--fs-h4);
  line-height:var(--lh-heading);
  letter-spacing:var(--ls-heading);
}
h5{
  font-size:var(--fs-h5);
  line-height:var(--lh-heading);
  letter-spacing:var(--ls-heading);
}
h6{
  font-size:var(--fs-h6);
  line-height:var(--lh-heading);
  letter-spacing:var(--ls-label);
  text-transform:uppercase;
}
p{
  font-size:var(--fs-p);
  line-height:var(--lh-body);
  margin:0 0 5px;
}
div,span{
  font-family:var(--font-ui);
}
.span-muted{
  font-size:var(--fs-small);
  line-height:var(--lh-small);
}
.span-label{
  font-size:var(--fs-label);
  letter-spacing:var(--ls-label);
  line-height:1em;
  font-weight:600;
  text-transform:uppercase;
}

body.menu-open{overflow:hidden;}
a{color:inherit;text-decoration:none;}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
.container{width:min(var(--container), calc(100% - 48px));margin:0 auto;}

button,input[type="submit"],.btn{
  font-family:var(--font-ui);
  font-size:var(--fs-btn);
  letter-spacing:var(--ls-btn);
  line-height:1em;
  font-weight:600;
}

/* Header */
.site-header {
  position: sticky;
  top: 18px;
  z-index: 100;
  padding: 0 24px;
}

.header-shell {
  width: min(var(--container), calc(100vw - 48px));
  min-height: 82px;
  margin: 0 auto;
  padding: 16px 18px 16px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  background: rgba(11, 28, 44, 0.72);
  border: 1px solid rgba(230, 247, 255, 0.11);
  border-radius: 20px;
  box-shadow: 0 18px 60px rgba(0, 10, 30, 0.28);
  backdrop-filter: blur(20px);
}
.site-header.is-scrolled .header-shell,
.site-header.scrolled .header-shell{
  border-color:rgba(0,191,255,.24);
  background:rgba(11,28,44,.88);
}

.brand-logo {
  display: inline-flex;
  width: fit-content;
  align-items: center;
}

.brand-logo img {
  display: block;
  width: 188px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  color: rgba(230, 247, 255, 0.78);
  font-size: var(--fs-small);
  font-weight: 600;
}
.main-nav ul,.mobile-nav ul{display:contents;margin:0;padding:0;}
.main-nav li,.mobile-nav li{list-style:none;margin:0;padding:0;}

.main-nav a,
.nav-dropdown {
  color: rgba(230, 247, 255, 0.78);
  transition: color 0.25s ease;
}

.main-nav a:hover,
.nav-dropdown:hover {
  color: var(--light);
}

.nav-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-dropdown span {
  color: var(--blue);
  font-size: 14px;
  line-height: 1;
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid rgba(0, 191, 255, 0.75);
  background: linear-gradient(180deg, rgba(0, 191, 255, 0.16), rgba(0, 191, 255, 0.04));
  color: var(--light);
  font-size: var(--fs-small);
  font-weight: 700;
  box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.06), 0 12px 30px rgba(0, 191, 255, 0.12);
  transition: 0.25s ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  background: var(--blue);
  color: #051524;
}

.mobile-menu-btn {
  display: none;
  justify-self: end;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(0, 191, 255, 0.5);
  border-radius: 12px;
  background: rgba(0, 191, 255, 0.08);
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--light);
  transition: 0.25s ease;
}

.mobile-menu-btn.active span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.mobile-menu-btn.active span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 112px 24px auto 24px;
  z-index: 99;
  display: none;
  flex-direction: column;
  padding: 16px;
  background: rgba(11, 28, 44, 0.96);
  border: 1px solid rgba(230, 247, 255, 0.12);
  border-radius: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  padding: 15px 10px;
  color: rgba(230, 247, 255, 0.78);
  font-weight: 600;
  border-bottom: 1px solid rgba(230, 247, 255, 0.08);
}

.mobile-nav a:last-child {
  color: var(--blue);
  border-bottom: none;
}

/* Footer */
.footer {
  position: relative;
  padding: 80px 0 90px;
}

.footer-shell {
  padding: 56px 48px 38px;
  border-radius: 32px;
  border: 1px solid rgba(230,247,255,0.10);
  background:
    radial-gradient(circle at 80% 0%, rgba(0,191,255,0.10), transparent 30%),
    rgba(16, 42, 67, 0.45);
  box-shadow: var(--shadow);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr 1.25fr;
  gap: 48px;
}

.footer-logo img {
  width: 178px;
}

.footer-tagline {
  margin-top: 24px;
  color: var(--blue);
  font-weight: 600;
}

.footer-description {
  max-width: 320px;
  margin-top: 18px;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: var(--lh-small);
}

.footer-contact {
  margin-top: 22px;
}

.footer-contact p {
  margin: 8px 0;
  color: rgba(230,247,255,0.78);
  font-size: var(--fs-small);
  font-weight: 600;
}

.footer-contact span {
  display: inline-block;
  width: 22px;
  color: var(--blue);
}

.footer-col h3,
.footer-cta-col h3 {
  margin: 0 0 18px;
  color: var(--light);
  font-family: var(--font-display);
  font-size: var(--fs-h6);
  line-height: var(--lh-heading);
  font-weight: 600;
}

.footer-col a {
  display: block;
  margin: 10px 0;
  color: rgba(230,247,255,0.66);
  font-size: var(--fs-small);
  font-weight: 600;
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: var(--blue);
}

.footer-cta-col h3 {
  max-width: 270px;
  color: rgba(230,247,255,0.88);
}

.footer-btn {
  display: flex;
  width: fit-content;
  min-width: 172px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: var(--fs-small);
  font-weight: 700;
}

.footer-btn-primary {
  background: var(--blue);
  color: #041527;
}

.footer-btn-secondary {
  border: 1px solid rgba(212, 175, 55, 0.55);
  background: rgba(212, 175, 55, 0.08);
  color: var(--light);
}

.footer-bottom {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid rgba(230,247,255,0.08);
  text-align: center;
}

.footer-bottom p,
.footer-bottom a {
  margin: 0;
  color: rgba(230,247,255,0.58);
  font-size: var(--fs-small);
  font-weight: 500;
}

.screen-reader-text{
  border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important;
}
.screen-reader-text:focus{
  background:#fff;border-radius:4px;box-shadow:0 0 2px 2px rgba(0,0,0,.2);clip:auto!important;clip-path:none;color:#061E3F;display:block;font-size:14px;font-weight:700;height:auto;left:10px;line-height:normal;padding:12px 16px;text-decoration:none;top:10px;width:auto;z-index:100000;
}

@media (max-width:900px){
  .travora-page-home{--fs-h1:clamp(2.7rem, 16vw, 4rem);--fs-h2:clamp(2rem, 11vw, 3rem);}
  .travora-page-industries{--fs-h1:clamp(40px, 13vw, 58px);}
  .travora-page-tour-operators{--fs-h1:clamp(42px, 13vw, 58px);}
  .travora-page-dmcs{--fs-h1:clamp(38px, 12vw, 54px);}
  .travora-page-boutique-hotels{--fs-h1:3rem;--fs-h2:2.1rem;}
}

/* Shared Header/Footer Responsive */
@media (max-width:1180px){
  .main-nav{gap:22px;}
  .brand-logo img{width:165px;}
  .footer-grid{grid-template-columns:1.2fr 1fr 1fr;}
  .footer-cta-col{grid-column:span 3;}
}
@media (max-width:1024px){
  .header-shell{grid-template-columns:1fr auto;}
  .main-nav,.header-cta{display:none;}
  .mobile-menu-btn{display:block;}
}
@media (max-width:720px){
  .site-header{top:12px;padding:0 14px;}
  .header-shell{width:calc(100vw - 28px);min-height:76px;padding:14px;border-radius:16px;}
  .brand-logo img{width:145px;}
  .mobile-nav{inset:96px 14px auto 14px;}
  .footer{padding:56px 0 70px;}
  .footer-shell{padding:38px 24px 30px;border-radius:24px;}
  .footer-grid{grid-template-columns:1fr;gap:34px;}
  .footer-cta-col{grid-column:auto;}
  .footer-bottom{margin-top:42px;text-align:left;}
  .footer-bottom p,.footer-bottom a{line-height:1.8;}
}
