/*
Theme Name: goTrekora
Theme URI: https://gotrekora.com
Author: goTrekora Team
Author URI: https://gotrekora.com
Description: Custom WordPress theme for goTrekora.com — an OTA-style travel/trekking booking site. Built to the goTrekora brand system (navy/orange).
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: gotrekora
*/

/* =========================================================
   0. BRAND TOKENS
   ========================================================= */
:root{
  --navy: #1B4185;
  --navy-dark: #123162;
  --navy-light: #2c5aa8;
  --orange: #F26B21;
  --orange-dark: #D9591A;
  --bg: #FDFDFD;
  --ink: #1F2937;
  --muted: #6B7280;
  --line: #E5E7EB;
  --tint: #EAF0FA;

  --font-body: "Poppins", "Segoe UI", Arial, sans-serif;

  --container: 1280px;
  --radius: 8px;
  --radius-sm: 6px;
}

/* =========================================================
   1. RESET / BASE
   ========================================================= */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; height: auto; display: block; }
a{ color: var(--orange); text-decoration: none; }
a:hover{ color: var(--orange-dark); }
ul{ list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4{ margin: 0; font-weight: 800; color: var(--ink); }
p{ margin: 0; }
button, input, textarea, select{ font-family: inherit; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 782px){
  .container{ padding: 0 20px; }
}

.eyebrow{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
}
.section-title{
  font-size: 26px;
  font-weight: 800;
  margin-top: 8px;
}
.section{
  padding: 72px 0;
}
.section--tint{ background: var(--tint); }
.section--navy{ background: var(--navy-dark); color: #fff; }
.section--navy .eyebrow{ color: #ffb088; }

/* Placeholder photography layer — sits on top of each block's CSS gradient.
   gotrekora_media_img() in functions.php prints the <img>; if it 404s the
   onerror handler removes it and the gradient underneath shows instead. */
.media-fallback-img{
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.tag{
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--tint);
  padding: 4px 10px;
  border-radius: 20px;
}

/* =========================================================
   2. BUTTONS
   ========================================================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background .15s ease;
}
.btn:hover{ background: var(--orange-dark); color: #fff; }
.btn--outline{
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.6);
}
.btn--outline:hover{ background: rgba(255,255,255,.12); color: #fff; }
.btn--block{ width: 100%; }

/* =========================================================
   3. SITE HEADER
   ========================================================= */
.site-topbar{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 28px;
  background: var(--navy-dark);
  color: #dbe4f3;
  font-size: 12px;
  padding: 8px 48px;
}
.site-topbar__item{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #dbe4f3;
}
.site-topbar__item svg{ flex-shrink: 0; opacity: .85; }
.site-topbar__item:hover{ color: #fff; }
.site-topbar__item:hover svg{ opacity: 1; }

.site-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-logo{
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
}
.site-logo:hover{ color: var(--ink); }

/* Real logo image — replace PASTE-IMAGE-URL-HERE.png in header.php with your
   file. Shown only once it loads; until then onerror hides it and reveals
   .site-logo__fallback (the inline SVG wordmark) below. */
.site-logo__img{
  max-height: 40px;
  width: auto;
  display: block;
}
.site-logo__fallback{
  display: none; /* JS in header.php flips this to flex on image error */
  align-items: center;
  gap: 10px;
}
.site-logo__fallback .go{ color: var(--orange); }
.site-logo__fallback .trekora{ color: var(--navy); }
.site-logo__fallback .dot-com{ color: var(--orange); }

.main-navigation ul{
  display: flex;
  gap: 36px;
  font-size: 14px;
  font-weight: 600;
}
.main-navigation li{ position: relative; }
.main-navigation a{
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--ink);
  padding: 10px 0;
}
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation a:hover{ color: var(--navy); }

/* Dropdown caret on any item that has children — real WP menus get
   "menu-item-has-children" on the <li> automatically; the fallback menu
   above sets it by hand on the same items. */
.main-navigation .menu-item-has-children > a::after{
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  opacity: .6;
}

/* Submenu dropdown — WordPress outputs this as <ul class="sub-menu"> nested
   inside the parent <li>. Hidden by default, revealed on hover or keyboard
   focus of that <li>/its links, so it works with mouse and tab navigation. */
.main-navigation .sub-menu{
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 28px rgba(18,49,98,.14);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  z-index: 200;
}
.main-navigation .menu-item-has-children:hover > .sub-menu,
.main-navigation .menu-item-has-children:focus-within > .sub-menu{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-navigation .sub-menu li{ width: 100%; }
.main-navigation .sub-menu a{
  padding: 10px 12px;
  border-radius: 4px;
  font-weight: 500;
  white-space: nowrap;
}
.main-navigation .sub-menu a:hover{ background: var(--tint); color: var(--navy); }
.main-navigation .sub-menu .sub-menu{
  top: -8px;
  left: 100%;
  margin-left: 6px;
}

.site-header .btn{ flex-shrink: 0; }

.menu-toggle{ display: none; }

@media (max-width: 960px){
  .site-topbar{ display: none; }
  .site-header{ padding: 14px 20px; flex-wrap: wrap; }
  .main-navigation{ display: none; width: 100%; order: 3; }
  .main-navigation.is-open{ display: block; }
  .main-navigation ul{ flex-direction: column; gap: 0; padding-top: 12px; }
  .main-navigation li{ border-top: 1px solid var(--line); }
  .main-navigation a{ display: flex; padding: 12px 0; }
  .main-navigation .menu-item-has-children > a::after{ margin-left: auto; margin-top: 0; }

  /* No hover on touch — submenus sit open, indented, under their parent. */
  .main-navigation .sub-menu{
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    box-shadow: none;
    padding: 0 0 8px 16px;
    transition: none;
  }
  .main-navigation .sub-menu a{ padding: 10px 0; }
  .main-navigation .sub-menu .sub-menu{ margin-left: 0; padding-left: 16px; }
  .menu-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: none; border: 1px solid var(--line); border-radius: var(--radius-sm);
  }
}

/* =========================================================
   4. HERO
   ========================================================= */
.hero{
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-light) 55%, var(--navy-dark) 100%);
  color: #fff;
}
.hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(27,65,133,.10) 0%, rgba(44,90,168,.30) 55%, rgba(18,49,98,.30) 100%);
}
.hero-wave{ position: absolute; bottom: 0; left: 0; width: 100%; height: auto; opacity: .6; }
.hero-inner{
  position: relative;
  padding: 110px 48px 130px;
  max-width: 680px;
}
.hero-title{
  font-size: 42px;
  line-height: 1.2;
  margin-top: 16px;
  color: #fff;
}
.hero-desc{
  font-size: 15px;
  margin-top: 10px;
  color: #dbe4f3;
  max-width: 540px;
}
.hero-actions{
  display: flex;
  gap: 14px;
  margin-top: 28px;
}
@media (max-width: 782px){
  .hero-inner{ padding: 64px 20px 90px; }
  .hero-title{ font-size: 30px; }
}

/* =========================================================
   5. CARDS — trending / deals
   ========================================================= */
.card-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 26px;
}
@media (max-width: 1100px){ .card-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px){ .card-grid{ grid-template-columns: 1fr; } }

.deal-card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.deal-card__media{
  height: 130px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-dark));
  background-size: cover;
  background-position: center;
}
.deal-card__badge{
  position: absolute;
  top: 10px; left: 10px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
}
.deal-card__body{ padding: 14px; }
.deal-card__title{ font-size: 15px; font-weight: 700; }
.deal-card__meta{ font-size: 12px; color: var(--muted); margin: 4px 0 10px; }
.deal-card__mrp{ font-size: 12px; color: var(--muted); text-decoration: line-through; margin-right: 6px; }
.deal-card__price{ font-size: 17px; font-weight: 800; color: var(--navy); }

/* =========================================================
   6. ABOUT
   ========================================================= */
.about{
  display: flex;
  gap: 56px;
  align-items: center;
}
.about-media{
  flex: 1;
  height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: linear-gradient(160deg, var(--navy-light), var(--navy-dark));
  background-size: cover;
  background-position: center;
}
.about-content{ flex: 1; }
.about-desc{
  font-size: 14px;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.7;
  max-width: 480px;
}
.about-stats{
  display: flex;
  gap: 36px;
  margin-top: 26px;
}
.about-stat__num{ font-size: 24px; font-weight: 800; color: var(--navy); }
.about-stat__label{ font-size: 12px; color: var(--muted); }
@media (max-width: 900px){
  .about{ flex-direction: column; }
  .about-media{ width: 100%; }
}

/* =========================================================
   7. DESTINATIONS
   ========================================================= */
.destination-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 26px;
}
@media (max-width: 1100px){ .destination-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px){ .destination-grid{ grid-template-columns: repeat(2, 1fr); } }

.destination-card{
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 130px;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-dark));
  background-size: cover;
  background-position: center;
}
.destination-card__label{
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(18,49,98,.85));
  padding: 22px 10px 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

/* =========================================================
   8. SERVICES
   ========================================================= */
.service-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 900px){ .service-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .service-grid{ grid-template-columns: 1fr; } }

.service-card__icon{
  width: 48px; height: 48px;
  border-radius: 10px;
  background: rgba(242,107,33,.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.service-card__icon svg{ stroke: var(--orange); }
.service-card__title{ font-size: 16px; font-weight: 700; color: #fff; }
.service-card__desc{ font-size: 13px; color: #b7c5e0; margin-top: 8px; line-height: 1.6; }

/* =========================================================
   9. TESTIMONIALS
   ========================================================= */
.testimonial-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}
@media (max-width: 900px){ .testimonial-grid{ grid-template-columns: 1fr; } }

.testimonial-card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.testimonial-card__stars{ color: var(--orange); font-size: 14px; }
.testimonial-card__quote{ font-size: 14px; margin-top: 12px; line-height: 1.7; }
.testimonial-card__author{
  display: flex; align-items: center; gap: 10px;
  margin-top: 18px;
}
.testimonial-card__avatar{
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy);
  flex-shrink: 0;
}
.testimonial-card__name{ font-size: 13px; font-weight: 700; }
.testimonial-card__trip{ font-size: 11px; color: var(--muted); }

/* =========================================================
   10. CONTACT — placeholder until Contact Form 7 is wired in
   ========================================================= */
.contact{
  display: flex;
  gap: 56px;
}
.contact-info{ flex: 1; }
.contact-desc{
  font-size: 14px; color: var(--muted); margin-top: 12px;
  line-height: 1.7; max-width: 420px;
}
.contact-details{
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13px;
}
.contact-details__icon{
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--navy);
  display: inline-flex; flex-shrink: 0;
}
.contact-form-panel{
  flex: 1;
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
}
/* This wraps whatever CF7 outputs — [contact-form-7 id="..." title="Enquiry Form"].
   Keeping it visually boxed now so the live form drops in with zero markup changes. */
.contact-form-panel .wpcf7-form,
.contact-form-panel .cf7-placeholder{
  display: block;
}
.cf7-placeholder__row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.cf7-placeholder__field,
.cf7-placeholder__textarea{
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}
.cf7-placeholder__row .cf7-placeholder__field{ margin-top: 0; }
.cf7-placeholder__textarea{ height: 70px; }
@media (max-width: 900px){
  .contact{ flex-direction: column; }
}

/* Contact Form 7 default output — light theming so the real form matches
   this placeholder once activated (no extra classes needed on the shortcode). */
.wpcf7-form p{ margin-bottom: 14px; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea{
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 13px;
  font-family: var(--font-body);
}
.wpcf7-form textarea{ height: 70px; resize: vertical; }
.wpcf7-form input[type="submit"]{
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  width: 100%;
}
.wpcf7-form input[type="submit"]:hover{ background: var(--orange-dark); }
.wpcf7-response-output{
  border-radius: var(--radius-sm) !important;
  font-size: 13px !important;
  margin-top: 14px !important;
}

/* =========================================================
   10b. PAGE / SINGLE / SIDEBAR
   ========================================================= */
.content-layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  padding: 56px 0 96px;
  align-items: start;
}
@media (max-width: 960px){
  .content-layout{ grid-template-columns: 1fr; padding: 40px 0 64px; }
}

.page-header{ margin-bottom: 24px; }
.page-title{ font-size: 32px; line-height: 1.25; }
.page-header .eyebrow{ display: block; margin-bottom: 10px; }

.entry-meta{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}
.entry-meta__author-name{ font-weight: 600; color: var(--ink); }
.entry-meta a{ color: var(--muted); }
.entry-meta a:hover{ color: var(--orange); }

.page-thumbnail{
  margin: 24px 0 32px;
  border-radius: var(--radius);
  overflow: hidden;
}

.entry-content{
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
}
.entry-content > * + *{ margin-top: 1.2em; }
.entry-content h2{ font-size: 24px; margin-top: 1.6em; }
.entry-content h3{ font-size: 19px; margin-top: 1.4em; }
.entry-content ul, .entry-content ol{ padding-left: 1.4em; list-style: revert; }
.entry-content a{ text-decoration: underline; }
.entry-content img{ border-radius: var(--radius); }
.entry-content blockquote{
  border-left: 3px solid var(--orange);
  padding-left: 20px;
  color: var(--muted);
  font-style: italic;
}
.page-links{ font-size: 13px; font-weight: 600; margin-top: 24px; }

.page-footer{
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.entry-tags{ font-size: 13px; color: var(--muted); }
.entry-tags a{ color: var(--navy); }
.edit-link a{ font-size: 12px; color: var(--muted); text-decoration: underline; }

.author-box{
  display: flex;
  gap: 16px;
  background: var(--tint);
  border-radius: var(--radius);
  padding: 22px;
  margin-top: 32px;
}
.author-box__avatar img{ border-radius: 50%; }
.author-box__name{ font-size: 14px; font-weight: 700; color: var(--navy); }
.author-box__bio{ font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.6; }

.post-navigation{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
.post-navigation a{
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.post-navigation a:hover{ border-color: var(--orange); color: var(--orange); }
.post-navigation__next{ text-align: right; }
@media (max-width: 560px){
  .post-navigation{ grid-template-columns: 1fr; }
  .post-navigation__next{ text-align: left; }
}

/* Comments */
.comments-area{ margin-top: 48px; }
.comments-title{ font-size: 20px; font-weight: 800; margin-bottom: 20px; }
.comment-list{ list-style: none; margin: 0; padding: 0; }
.comment-list .comment{
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.comment-list .children{ list-style: none; margin-left: 32px; padding: 0; }
.comment-author .avatar{ border-radius: 50%; float: left; margin-right: 14px; }
.comment-metadata{ font-size: 12px; color: var(--muted); }
.comment-metadata a{ color: var(--muted); }
.fn{ font-style: normal; font-weight: 700; font-size: 14px; color: var(--ink); }
.comment-content p{ margin-top: 8px; font-size: 14px; line-height: 1.7; }
.reply a{ font-size: 12px; font-weight: 600; color: var(--orange); }
.comment-respond{ margin-top: 32px; }
.comment-reply-title{ font-size: 18px; font-weight: 800; }
.comment-form p{ margin-top: 14px; }
.comment-form label{ display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea{
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 13px;
  font-family: var(--font-body);
}
.comment-form textarea{ min-height: 120px; }
.no-comments{ font-size: 14px; color: var(--muted); }

/* Sidebar */
.widget-area{ display: flex; flex-direction: column; gap: 24px; }
.widget{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.widget-title{
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--navy);
  margin: 0 0 14px;
}
.widget ul{ display: flex; flex-direction: column; gap: 10px; }
.widget li a, .widget ul a{ font-size: 13px; color: var(--ink); }
.widget li a:hover, .widget ul a:hover{ color: var(--orange); }
.widget.widget_search form{ display: flex; gap: 8px; }
.widget.widget_search input[type="search"]{
  flex: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 13px;
}
.widget.widget_search button,
.widget.widget_search input[type="submit"]{
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0 14px;
  cursor: pointer;
}
.widget-cta{
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: #fff;
}
.widget-cta .widget-title{ color: #ffb088; }
.widget-cta p{ font-size: 13px; color: #c7d3e8; line-height: 1.6; margin-bottom: 16px; }

/* =========================================================
   11. FOOTER
   ========================================================= */
.site-footer{
  background: var(--navy-dark);
  color: #c7d3e8;
  padding: 48px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 32px;
}
.footer-brand{ font-weight: 800; font-size: 18px; color: #fff; }
.footer-desc{ font-size: 12px; margin-top: 10px; line-height: 1.6; color: #9fb0cf; }
.footer-social{ display: flex; gap: 10px; margin-top: 16px; }
.footer-social a{
  width: 28px; height: 28px; border-radius: 50%;
  background: #274b86;
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover{ background: var(--orange); }
.footer-col-title{ font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-col a, .footer-col li{ font-size: 12px; color: #9fb0cf; margin-bottom: 8px; display: block; }
.footer-col a:hover{ color: #fff; }
.footer-bottom{
  border-top: 1px solid #274b86;
  margin-top: 32px;
  padding-top: 16px;
  font-size: 11px;
  color: #7f92b6;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 900px){
  .site-footer{ padding: 40px 20px; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns: 1fr; }
}

/* =========================================================
   12. ANIMATIONS & MICRO-INTERACTIONS
   ========================================================= */

/* --- Hero entrance -----------------------------------------------------
   Plays automatically on page load via CSS animation — deliberately NOT
   using .reveal/IntersectionObserver, since this is above-the-fold
   content and must never depend on JS having loaded to become visible.
   prefers-reduced-motion is handled in the media query at the bottom of
   this section (animation-duration forced to ~0). */
@keyframes gotrekoraFadeUp{
  from{ opacity: 0; transform: translateY(16px); }
  to{ opacity: 1; transform: none; }
}
.hero-inner > *{
  opacity: 0;
  animation: gotrekoraFadeUp .7s cubic-bezier(.16,.84,.44,1) forwards;
}
.hero-inner .tag{ animation-delay: .05s; }
.hero-inner .hero-title{ animation-delay: .15s; }
.hero-inner .hero-desc{ animation-delay: .28s; }
.hero-inner .hero-actions{ animation-delay: .4s; }

/* --- Scroll reveal ---------------------------------------------------
   Pairs with assets/js/animations.js: add class="reveal" to any element
   in the templates and it fades/lifts in once scrolled into view. Wrap a
   grid/row in [data-reveal-group] to stagger its direct .reveal children
   automatically (JS sets each child's transition-delay). Everything here
   degrades gracefully with no JS at all — elements are visible by
   default; JS ADDS the hidden-until-revealed behavior via .reveal, it
   never depends on JS to become visible. */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.16,.84,.44,1), transform .6s cubic-bezier(.16,.84,.44,1);
  will-change: opacity, transform;
}
.reveal.is-visible{
  opacity: 1;
  transform: none;
}
.reveal--scale{ transform: translateY(16px) scale(.96); }
.reveal--scale.is-visible{ transform: none; }

/* --- Reveal direction/style variants -----------------------------------
   Same .reveal engine (JS just toggles .is-visible), different starting
   transform per variant so sections don't all move identically. Mix these
   into templates instead of always using the bare .reveal fade-up. */
.reveal--left{ transform: translateX(-36px); }
.reveal--left.is-visible{ transform: none; }

.reveal--right{ transform: translateX(36px); }
.reveal--right.is-visible{ transform: none; }

.reveal--zoom{ transform: scale(.82); }
.reveal--zoom.is-visible{ transform: none; }

.reveal--pop{ transform: translateY(20px) scale(.9); transition-timing-function: cubic-bezier(.34,1.56,.64,1); }
.reveal--pop.is-visible{ transform: none; }

.reveal--tilt{ transform: translateY(18px) rotate(-4deg); }
.reveal--tilt.is-visible{ transform: none; }

.reveal--fade{ transform: none; } /* opacity only, no movement — for text that shouldn't shift */

/* --- Hover / press micro-interactions ---------------------------------
   150-300ms, transform + opacity only (no layout properties), so these
   stay smooth and never trigger reflow. */
.btn{
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover{ transform: translateY(-2px); box-shadow: 0 8px 20px rgba(242,107,33,.28); }
.btn:active{ transform: translateY(0) scale(.97); box-shadow: none; }
.btn--outline:hover{ box-shadow: none; }

.site-logo__img, .site-logo__fallback{
  transition: transform .2s ease;
}
.site-logo:hover .site-logo__img,
.site-logo:hover .site-logo__fallback{ transform: scale(1.03); }

/* Nav links — animated underline instead of an instant color snap */
.main-navigation a{ position: relative; }
.main-navigation a::before{
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.main-navigation a:hover::before,
.main-navigation .current-menu-item > a::before,
.main-navigation .current_page_item > a::before{ transform: scaleX(1); }
.main-navigation .sub-menu a::before{ display: none; } /* underline is a top-level-nav-only flourish */

.deal-card,
.destination-card,
.testimonial-card,
.service-card,
.about-media{
  transition: transform .25s ease, box-shadow .25s ease;
}
.deal-card:hover{
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 16px 32px rgba(18,49,98,.12);
}
.testimonial-card:hover{
  transform: translateY(-4px) rotate(-.4deg);
  box-shadow: 0 16px 32px rgba(18,49,98,.12);
}
.destination-card:hover{ transform: translateY(-3px) scale(1.03); }
.service-card{ transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover{ transform: translateY(-3px); box-shadow: 0 12px 24px rgba(18,49,98,.08); }
.service-card:hover .service-card__icon{ transform: scale(1.12) rotate(-6deg); }
.service-card__icon{ transition: transform .25s cubic-bezier(.34,1.56,.64,1); }

/* Image zoom-on-hover for photo cards — parent already has overflow:hidden */
.deal-card__media .media-fallback-img,
.destination-card .media-fallback-img,
.about-media .media-fallback-img{
  transition: transform .5s ease;
}
.deal-card:hover .media-fallback-img,
.destination-card:hover .media-fallback-img,
.about-media:hover .media-fallback-img{
  transform: scale(1.08);
}

/* Stat counters — animated by assets/js/animations.js; tabular-nums keeps
   the digits from jittering in width as they count up. */
.about-stat__num{ font-variant-numeric: tabular-nums; }

/* Contact form panel + widget CTA — small lift to match the card language */
.contact-form-panel{ transition: box-shadow .25s ease; }

/* --- Respect reduced motion --------------------------------------------
   Users who've asked for less motion get everything visible immediately
   and no transform/transition animation anywhere on the site. */
@media (prefers-reduced-motion: reduce){
  .reveal{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  *,
  *::before,
  *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover,
  .deal-card:hover,
  .destination-card:hover,
  .testimonial-card:hover,
  .service-card:hover .service-card__icon,
  .deal-card:hover .media-fallback-img,
  .destination-card:hover .media-fallback-img,
  .about-media:hover .media-fallback-img,
  .site-logo:hover .site-logo__img,
  .site-logo:hover .site-logo__fallback{
    transform: none !important;
  }
}

/* =========================================================
   13. WP CORE / ALIGNMENT HELPERS
   ========================================================= */
.alignleft{ float: left; margin-right: 1.5em; }
.alignright{ float: right; margin-left: 1.5em; }
.aligncenter{ display: block; margin-left: auto; margin-right: auto; }
.screen-reader-text{
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px; height: 1px;
  overflow: hidden;
}