/*
Theme Name: Ituba Tours and Travel
Theme URI: https://itubatours.com/
Author: Ituba Tours and Travel
Author URI: https://itubatours.com/
Description: A warm Uganda tourism WordPress theme for Ituba Tours and Travel, including tour pages, destination SEO pages, quote forms, WhatsApp chat, and plugin-compatible structure.
Version: 1.0.14
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ituba-tours-theme
Tags: tourism, travel, custom-logo, custom-menu, one-column, two-columns
*/

body {
  word-break: normal;
}

.custom-logo-link img {
  display: block;
  max-height: 38px;
  width: auto;
}

.wp-block-post-title,
.entry-title {
  font-family: Poppins, Lato, Arial, Helvetica, sans-serif;
}

.desktop-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav li {
  margin: 0;
}

.desktop-nav a {
  display: block;
  padding: 10px 12px;
}

.desktop-nav a:hover {
  background: #fff0dc;
  color: #000;
}

.home .desktop-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.mobile-panel ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-panel li {
  margin: 0;
}

.footer-menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.footer-menu a {
  color: #d4d4d8;
}

.footer-menu a:hover {
  color: #fdba74;
}

.ituba-elementor-content {
  min-height: 40vh;
}

.container,
.header-inner {
  max-width: none;
  width: 100%;
}

.container {
  padding-left: clamp(18px, 4vw, 72px);
  padding-right: clamp(18px, 4vw, 72px);
}

.ituba-starter-content,
.ituba-elementor-content,
.ituba-elementor-content .elementor,
.ituba-elementor-content .elementor-section,
.ituba-elementor-content .elementor-container,
.ituba-elementor-content .elementor-column,
.ituba-elementor-content .elementor-widget-wrap,
.ituba-elementor-content .elementor-widget-html,
.ituba-elementor-content .elementor-widget-container,
.ituba-elementor-content .e-con,
.ituba-elementor-content .e-con-inner {
  width: 100%;
  max-width: none;
}

.ituba-elementor-content .elementor-section.elementor-section-boxed > .elementor-container,
.ituba-elementor-content .e-con > .e-con-inner {
  max-width: none;
}

.ituba-elementor-content .elementor-widget-html .elementor-widget-container {
  overflow: visible;
}

.brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.home .hero-inner.hero-full-width {
  max-width: none;
  width: 100%;
  padding-left: clamp(20px, 6vw, 96px);
  padding-right: clamp(20px, 6vw, 96px);
}

.hero-full-width .hero-copy {
  max-width: none;
}

.section-intro,
.page-hero h1,
.page-hero p,
.hero-copy {
  max-width: none;
}

.review-slider {
  position: relative;
  min-height: 280px;
  margin-top: 32px;
  overflow: hidden;
}

.review-card {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 22px;
  margin: 0;
  border: 1px solid #e6d4b6;
  background: #fff;
  padding: clamp(28px, 5vw, 56px);
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .55s ease, transform .55s ease;
}

.review-card.active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
}

.review-card blockquote {
  margin: 0;
  color: #1f2a24;
  font-family: Poppins, Lato, Arial, Helvetica, sans-serif;
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.22;
}

.review-card figcaption {
  display: grid;
  gap: 4px;
  color: #43534b;
  font-weight: 800;
}

.review-card figcaption span {
  color: #1f7a3a;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0;
}

body {
  background:
    linear-gradient(135deg, rgba(255, 248, 236, .94), rgba(243, 226, 198, .64)),
    var(--ivory);
  overflow-x: hidden;
}

main > section {
  position: relative;
}

main > section:not(.hero):not(.page-hero):not(.cta)::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(135deg, rgba(245, 130, 32, .08) 0 1px, transparent 1px 100%),
    linear-gradient(45deg, rgba(31, 122, 58, .05) 0 1px, transparent 1px 100%);
  background-size: 42px 42px, 58px 58px;
  opacity: .42;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.home main > section:not(.hero):not(.cta) .container {
  padding-top: clamp(34px, 4vw, 54px);
  padding-bottom: clamp(34px, 4vw, 54px);
}

.home .stats {
  padding-top: 20px;
  padding-bottom: 20px;
}

.home .section-intro {
  display: grid;
  grid-template-columns: minmax(240px, .55fr) minmax(300px, .9fr);
  gap: 18px;
  align-items: end;
}

.home .section-intro h2 {
  margin-top: 4px;
}

.home .package-grid {
  margin-top: 26px;
  gap: 18px;
}

.home .package-card img {
  min-height: 250px;
}

.home .package-body {
  padding: 22px;
}

.home .grid-4,
.home .grid-3,
.home .grid-2 {
  gap: 16px;
}

.hero-slide.active img,
.hero-slide.active video {
  animation: ituba-kenburns 7600ms ease both;
}

.hero-copy,
.search-panel {
  animation: ituba-hero-rise 900ms ease both;
}

.search-panel {
  animation-delay: 180ms;
}

.info-card,
.guide-card,
.destination-card,
.package-card,
.quote-form,
.stat,
.team-card,
.review-card {
  border-radius: 6px;
  box-shadow: 0 16px 38px rgba(24, 59, 42, .08);
  transition: transform .34s ease, box-shadow .34s ease, border-color .34s ease, background .34s ease;
}

.info-card,
.guide-card,
.destination-card,
.team-card,
.stat {
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.package-card,
.quote-form,
.search-panel,
.review-card {
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

.info-card:hover,
.guide-card:hover,
.destination-card:hover,
.package-card:hover,
.team-card:hover,
.stat:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 54px rgba(24, 59, 42, .15);
  border-color: rgba(245, 130, 32, .42);
}

.destination-card img,
.package-card img,
.team-photo-placeholder {
  transition: transform .6s ease, filter .6s ease;
}

.destination-card:hover img,
.package-card:hover img,
.team-card:hover .team-photo-placeholder {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.04);
}

.btn-primary,
.header-action,
.mobile-menu summary {
  border-radius: 4px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.btn-primary:hover,
.header-action:hover,
.mobile-menu summary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(245, 130, 32, .22);
}

.eyebrow,
.hero-eyebrow,
.page-eyebrow,
.region,
.guide-category,
.footer-title {
  letter-spacing: 0;
}

.ituba-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .72s ease, transform .72s ease;
  transition-delay: calc(var(--ituba-reveal-index, 0) * 55ms);
}

.ituba-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ituba-reveal:nth-child(2n).is-visible {
  transform: translateY(0);
}

.section-band,
.sand-band,
.nile-band {
  overflow: hidden;
}

.section-band::after,
.sand-band::after,
.nile-band::after {
  content: "";
  position: absolute;
  top: 0;
  right: clamp(20px, 5vw, 80px);
  width: 110px;
  height: 8px;
  background: linear-gradient(90deg, var(--orange), var(--green), var(--sky));
  opacity: .86;
}

.travel-guide-hero .container {
  padding-top: clamp(72px, 10vw, 120px);
  padding-bottom: clamp(72px, 10vw, 120px);
}

.guide-feature-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 18px;
  margin-top: 24px;
}

.feature-guide {
  min-height: 100%;
}

.guide-rhythm .grid-4 {
  margin-top: 24px;
}

.compact-guide-section .container {
  padding-top: clamp(36px, 5vw, 60px);
  padding-bottom: clamp(36px, 5vw, 60px);
}

.footer-grid {
  grid-template-columns: 1.05fr .78fr .78fr .82fr .92fr;
  gap: 28px;
}

.footer-resource-links {
  display: grid;
  gap: 10px;
}

.footer-resource-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-left: 3px solid rgba(245, 130, 32, .78);
  padding-left: 10px;
}

@keyframes ituba-kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@keyframes ituba-hero-rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .ituba-reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .home .section-intro,
  .guide-feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 34px;
}

.team-card {
  border: 1px solid #e6d4b6;
  background: #fff;
  overflow: hidden;
}

.team-card > div:last-child {
  padding: 20px;
}

.team-photo-placeholder {
  display: grid;
  min-height: 220px;
  place-items: center;
  background: linear-gradient(135deg, rgba(245, 130, 32, .18), rgba(31, 122, 58, .18)), #f3e2c6;
  color: #183b2a;
  font-family: Poppins, Lato, Arial, Helvetica, sans-serif;
  font-weight: 800;
}

.location-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 24px;
  margin-top: 34px;
}

.location-details {
  display: grid;
  gap: 16px;
}

.map-embed {
  min-height: 460px;
  border: 1px solid #e6d4b6;
  background: #fff;
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
}

@media (max-width: 980px) {
  .team-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .review-slider {
    min-height: 360px;
  }
}

.brand img,
.custom-logo {
  max-height: 38px;
}

.home .hero-inner.hero-full-width {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(18px, 3vw, 34px);
  padding-bottom: clamp(34px, 5vw, 58px);
}

.home .hero-copy {
  max-width: 760px;
}

.home .hero h1 {
  margin: 0;
  font-size: 76px;
  font-weight: 800;
  line-height: .98;
  text-shadow: 0 18px 46px rgba(0, 0, 0, .38);
}

.home .hero-lead {
  max-width: 660px;
  margin-top: 16px;
  font-family: Poppins, Lato, Arial, Helvetica, sans-serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.45;
  text-shadow: 0 12px 32px rgba(0, 0, 0, .42);
}

.home .hero-video {
  animation: none !important;
}

.home .search-panel {
  justify-self: end;
  max-width: 360px;
  gap: 10px;
  padding: 16px;
}

.home .search-panel .eyebrow {
  margin: 0;
}

.home .search-panel label {
  gap: 6px;
  font-size: 13px;
}

.home .search-panel .field {
  min-height: 42px;
  padding: 10px 12px;
}

.search-actions,
.section-action {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
}

.home .search-panel .btn-primary {
  min-height: 42px;
  padding: 11px 13px;
  font-size: 13px;
}

.home main > section:not(.hero):not(.cta) .container {
  padding-top: clamp(28px, 3.5vw, 46px);
  padding-bottom: clamp(28px, 3.5vw, 46px);
}

.home .section-intro h2 {
  font-weight: 900;
  text-transform: none;
}

.compact-packages .section-intro h2,
.destinations-home .section-intro h2 {
  color: #183b2a;
}

.compact-packages .package-grid {
  gap: 14px;
  margin-top: 22px;
}

.home .package-card {
  grid-template-columns: minmax(220px, .52fr) 1fr;
}

.home .package-card img {
  min-height: 0;
  height: 230px;
}

.home .package-body,
.home .destination-card div,
.home .guide-card,
.home .info-card {
  padding: 18px;
}

.home .package-body h3,
.home .destination-card h3 {
  font-size: 23px;
}

.home .package-body p,
.home .destination-card p,
.home .info-card p,
.home .guide-card p {
  line-height: 1.55;
}

.home .highlight-list {
  gap: 6px;
  margin-top: 12px;
}

.home .highlight-list li::before {
  margin-top: 7px;
}

.why-section .section-intro h2,
.why-section .section-intro p {
  color: #fff;
}

.why-section .section-intro p {
  font-family: Poppins, Lato, Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
}

.why-section .info-card h3 {
  margin: 0 0 8px;
  color: #183b2a;
  font-size: 20px;
}

.destinations-home .destination-card img {
  aspect-ratio: 16 / 10;
}

.ituba-starter-content > section:not(.hero):not(.page-hero):not(.cta) .container,
.ituba-elementor-content > section:not(.hero):not(.page-hero):not(.cta) .container {
  padding-top: clamp(30px, 3.6vw, 50px);
  padding-bottom: clamp(30px, 3.6vw, 50px);
}

.ituba-starter-content .page-hero .container,
.ituba-elementor-content .page-hero .container {
  padding-top: clamp(70px, 8vw, 96px);
  padding-bottom: clamp(56px, 7vw, 84px);
}

.ituba-starter-content .package-grid,
.ituba-elementor-content .package-grid {
  gap: 16px;
  margin-top: 24px;
}

.ituba-starter-content .package-card,
.ituba-elementor-content .package-card {
  grid-template-columns: minmax(220px, .52fr) 1fr;
}

.ituba-starter-content .package-card img,
.ituba-elementor-content .package-card img {
  min-height: 0;
  height: 230px;
}

.ituba-starter-content .package-body,
.ituba-elementor-content .package-body {
  padding: 20px;
}

.ituba-starter-content .package-body h3,
.ituba-elementor-content .package-body h3 {
  font-size: 24px;
}

.ituba-starter-content .package-body p,
.ituba-elementor-content .package-body p {
  line-height: 1.55;
}

.ituba-starter-content .highlight-list,
.ituba-elementor-content .highlight-list {
  gap: 6px;
  margin-top: 12px;
}

.ituba-starter-content .highlight-list li::before,
.ituba-elementor-content .highlight-list li::before {
  margin-top: 7px;
}

.tour-planning-cards .info-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 100%;
}

.tour-planning-cards .info-card h2 {
  margin: 0;
  color: #183b2a;
  font-size: 24px;
  line-height: 1.18;
}

.tour-planning-cards .info-card p {
  margin: 0;
}

.tours-package-list .section-intro {
  align-items: center;
}

.destination-index .section-intro,
.destination-routes .section-intro,
.destination-faqs .section-intro {
  margin-bottom: 22px;
}

.destination-grid {
  margin-top: 24px;
}

.destination-index .destination-card img {
  aspect-ratio: 16 / 10;
}

.destination-index .destination-card div {
  padding: 18px;
}

.destination-index .destination-card h3 {
  font-size: 23px;
  line-height: 1.16;
}

.destination-index .destination-card p {
  line-height: 1.55;
}

.destination-snapshot .info-card {
  display: grid;
  gap: 8px;
  align-content: start;
}

.destination-snapshot .info-card p {
  margin: 0;
}

.destination-story .section-intro h2 {
  font-size: clamp(30px, 3.2vw, 42px);
}

.destination-moments .info-card {
  display: grid;
  gap: 8px;
  align-content: start;
}

.destination-moments .info-card h3 {
  margin: 0;
  color: #183b2a;
  font-size: 21px;
}

.destination-moments .info-card p,
.destination-faqs .info-card p {
  margin: 0;
}

.destination-routes .package-grid {
  margin-top: 22px;
}

.destination-routes .package-card {
  grid-template-columns: minmax(220px, .52fr) 1fr;
}

.destination-routes .package-card img {
  min-height: 0;
  height: 220px;
}

.destination-faqs summary {
  cursor: pointer;
  color: #183b2a;
  font-family: Poppins, Lato, Arial, Helvetica, sans-serif;
  font-weight: 800;
}

.contact-hero .container {
  padding-top: clamp(76px, 8vw, 104px);
  padding-bottom: clamp(60px, 7vw, 92px);
}

.contact-page-section .container,
.contact-journey .container,
.contact-faq .container {
  padding-top: clamp(34px, 4vw, 54px);
  padding-bottom: clamp(34px, 4vw, 54px);
}

.contact-feature-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .9fr);
  align-items: start;
  gap: clamp(24px, 4vw, 48px);
}

.contact-story,
.quote-form__intro,
.contact-journey .info-card {
  display: grid;
  gap: 12px;
}

.contact-story .section-intro {
  display: grid;
  gap: 10px;
}

.contact-story .section-intro h2,
.quote-form__intro h2 {
  margin: 0;
  color: #183b2a;
  line-height: 1.12;
}

.quote-form__intro h2 {
  font-size: clamp(25px, 2.4vw, 34px);
}

.contact-story .section-intro p,
.quote-form__intro p {
  margin: 0;
  color: #43534b;
  line-height: 1.65;
}

.contact-promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.contact-promise-grid .info-card {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 18px;
}

.contact-promise-grid .info-card h3,
.contact-journey .info-card h3 {
  margin: 0;
  color: #183b2a;
  font-size: 20px;
}

.contact-promise-grid .info-card p,
.contact-journey .info-card p,
.contact-faq .info-card p {
  margin: 0;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 2px;
}

.contact-methods .step {
  min-width: 0;
  align-items: center;
  margin: 0;
  padding: 14px;
  word-break: break-word;
}

.contact-methods .step-number {
  width: 32px;
  height: 32px;
}

.quote-form {
  position: sticky;
  top: 96px;
  gap: 14px;
  border-color: rgba(245, 130, 32, .34);
  background: linear-gradient(180deg, #fff, #fffaf0);
  box-shadow: 0 24px 60px rgba(24, 59, 42, .13);
}

.quote-form .form-grid {
  gap: 12px;
}

.quote-form label {
  font-size: 13px;
}

.quote-form .field {
  min-height: 46px;
  background: #fffdf8;
}

.quote-form textarea.field {
  min-height: 118px;
}

.quote-form__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.quote-form__footer .btn-primary {
  justify-content: center;
  min-width: 176px;
}

.quote-form__note {
  flex: 1 1 190px;
  margin: 0;
  color: #51635a;
  font-size: 13px;
  line-height: 1.45;
}

.contact-journey .grid-4,
.contact-faq .grid-3 {
  margin-top: 22px;
}

.contact-faq summary {
  cursor: pointer;
  color: #183b2a;
  font-family: Poppins, Lato, Arial, Helvetica, sans-serif;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .home .hero-inner.hero-full-width {
    grid-template-columns: 1fr;
    align-content: end;
  }

  .home .search-panel {
    justify-self: start;
    max-width: 520px;
  }

  .contact-promise-grid,
  .contact-methods {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .home .hero {
    min-height: 88svh;
  }

  .home .hero-inner.hero-full-width {
    min-height: 88svh;
    padding-top: 116px;
  }

  .home .hero h1 {
    font-size: 50px;
  }

  .home .hero-lead {
    font-size: 18px;
  }

  .home .package-card {
    grid-template-columns: 1fr;
  }

  .ituba-starter-content .package-card,
  .ituba-elementor-content .package-card,
  .destination-routes .package-card {
    grid-template-columns: 1fr;
  }

  .home .package-card img {
    height: 210px;
  }

  .ituba-starter-content .package-card img,
  .ituba-elementor-content .package-card img,
  .destination-routes .package-card img {
    height: 210px;
  }

  .contact-feature-layout {
    grid-template-columns: 1fr;
  }

  .quote-form {
    position: static;
  }
}

@media (max-width: 560px) {
  .custom-logo-link img,
  .brand img,
  .custom-logo {
    max-height: 32px;
  }

  .home .hero {
    min-height: 86svh;
  }

  .home .hero-inner.hero-full-width {
    min-height: 86svh;
    padding-top: 96px;
    padding-bottom: 24px;
  }

  .home .hero h1 {
    font-size: 42px;
  }

  .home .search-panel {
    max-width: 100%;
    padding: 14px;
  }

  .home .search-panel .btn-primary {
    flex: 1 1 140px;
    justify-content: center;
  }

  .home .package-card img {
    height: 180px;
  }

  .ituba-starter-content > section:not(.hero):not(.page-hero):not(.cta) .container,
  .ituba-elementor-content > section:not(.hero):not(.page-hero):not(.cta) .container {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .ituba-starter-content .page-hero .container,
  .ituba-elementor-content .page-hero .container {
    padding-top: 64px;
    padding-bottom: 48px;
  }

  .ituba-starter-content .package-card img,
  .ituba-elementor-content .package-card img,
  .destination-routes .package-card img {
    height: 180px;
  }

  .ituba-starter-content .package-body,
  .ituba-elementor-content .package-body {
    padding: 16px;
  }

  .quote-form {
    padding: 18px;
  }

  .quote-form__footer .btn-primary {
    width: 100%;
  }

  .contact-journey .info-card,
  .contact-promise-grid .info-card {
    padding: 16px;
  }
}
