/*
Theme Name:   TTA GP Child
Theme URI:    https://tumainicenter.africa
Description:  TTA GP child theme
Author:       Kelvin K
Author URI:   https://tumainicenter.africa
Template:     generatepress
Version:      0.1
*/

main {
	display: block;
	width: 100% !important;
}

.tta-layout {
	display: flex;
	gap: 2rem;
}

.tta-filter-sidebar {
	flex: 0 0 250px;
	background: #fafafa;
	padding: 1rem;
	border-radius: 8px;
	border: 1px solid #ddd;
}

.tta-destination-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 1.5rem;
}

.destination-card {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 0 5px rgba(0,0,0,0.1);
	overflow: hidden;
}

.destination-card .thumb img {
	width: 100%;
	height: auto;
	display: block;
}

#tta-destination-results.loading {
	opacity: 0.5;
	pointer-events: none;
}

/* === GLOBAL STYLING (Earthy & Elegant) === */

:root {
	--tta-sand: #f5f0e6;
	--tta-earth: #7a4b28;
	--tta-savanna: #c19a6b;
	--tta-forest: #2e5339;
	--tta-sunset: #d26c22;
	--tta-accent: #f2b632;
	--tta-text: #2b2b2b;
	--tta-muted: #666;
	--tta-bg: #fff;
	--tta-radius: 12px;
	--tta-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
	--tta-transition: 0.3s ease;
	--tta-font: "Poppins", "Nunito Sans", sans-serif;
	--tta-secondary-dark : #454442;
	--sct-logo-bg : #eee5d0;
}

body {
	font-family: var(--tta-font);
	color: var(--tta-text);
	background-color: var(--tta-sand);
	line-height: 1.6;
	margin: 0;
	font-size: 16px;
}

.site-content .container,
.grid-container {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}


h1, h2, h3 {
	color: var(--tta-earth);
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 0.5em;
}

a {
	color: var(--tta-sunset);
	text-decoration: none;
	transition: color var(--tta-transition);
}
a:hover {
	color: var(--tta-forest);
}

.btn, button, input[type="submit"] {
	background: var(--tta-sunset);
	color: #fff;
	border: none;
	border-radius: var(--tta-radius);
	padding: 0.6em 1.2em;
	cursor: pointer;
	transition: background var(--tta-transition);
}
.btn:hover, button:hover {
	background: var(--tta-forest);
}


/* =======================================
   TOP BAR BASE STYLES
   ======================================= */
.top-bar {
  background: #f9f9f9;
  border-bottom: 1px solid #e2e2e2;
  font-size: 14px;
  z-index: 9999; /* above sticky header */
  position: relative;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
}

/* =======================================
   SEARCH FORM
   ======================================= */
.top-bar-left {
  display: flex;
  align-items: center;
}

.search-form {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 30px;
  overflow: hidden;
}

.search-field {
  border: none;
  padding: 0.4rem 0.8rem;
  width: 160px;
  font-size: 14px;
  transition: width 0.3s ease;
}

.search-field:focus {
  outline: none;
  width: 200px;
}

.search-submit {
  background-color: #007b5e;
  color: #fff;
  border: none;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-submit:hover {
  background-color: #005b40;
}

/* =======================================
   MENU STYLING
   ======================================= */
.top-bar-menu {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-bar-menu a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.top-bar-menu a:hover {
  color: #007b5e;
}

/* WhatsApp Button */
.top-bar-menu .enquire a {
  background-color: #25d366;
  color: #fff !important;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-menu .enquire a::before {
  content: "\f19f";
  font-family: dashicons;
  font-size: 16px;
  line-height: 1;
  vertical-align: middle;
}

/* =======================================
   RESPONSIVE
   ======================================= */
@media (max-width: 768px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.6rem 0;
  }

  /* Hide search input but keep WhatsApp button */
  .top-bar-left {
    display: none;
  }

  /* Ensure WhatsApp button visible and separated */
  .top-bar-menu {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .top-bar-menu .enquire a {
    display: inline-flex;
    font-size: 15px;
  }
}

@media (min-width: 769px) {
  .top-bar {
    position: relative;
    top: 0;
  }
}



.content-wrapper.container.gb-container {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	margin: 0 auto;
	max-width: 1200px;
	padding: 1rem;
}

.content-wrapper.container.gb-container img {
	align-self: center;
}

.inside-header.grid-container {
	max-width: 1280px;
	padding: 5px 2rem;
}

.content-section {
	display:flex;
	justify-content:center;
	flex-direction: column;
}

#masthead.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--sct-logo-bg);
	border-bottom: 1px solid #eee;
	margin-bottom: 0;
	box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.main-navigation, .main-navigation ul ul {
	background-color: var(--sct-logo-bg);
}

@media (max-width: 768px) {
	.inside-header.grid-container {
	max-width: 100vw;
	padding: 5px .5rem;
}
	
	.site-header .header-image {
	width: 50px;
	height: auto;
}
	
	button.menu-toggle {
	padding: 0.2rem !important;
	align-self: center;
}
	
	.menu-toggle .gp-icon.icon-menu-bars {
	font-size: 2rem;
}
	
	.site-branding .main-title a {
	font-size: 1.2rem;
}
}

/* === HERO SLIDER === */
.tour-hero-slider {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.tour-hero.swiper {
	width: 100%;
	height: 100vh;
	min-height: 500px;
}

.tour-hero .swiper-wrapper {
	width: 100%;
	min-width: 100%;
}

.swiper-slide {
	position: relative;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center !important;
	justify-content: center !important;
	/* 	height: calc(100vh - 71px); */
	height: 100vh;
	background-position: bottom;
}



.swiper-slide::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.45);
}

.swiper-slide .tour-hero-content {
	position: relative;
	z-index: 2;
	color: #fff;
	padding: 3rem;
	margin-left: auto;
	margin-right: auto;
	width: 100% !important;
	max-width: 100%;
	display: flex;
  flex-flow: column wrap;
  justify-content: space-around;
  gap: 1rem;
  margin-bottom: 2rem !important;
  padding: 2rem !important;
  
}

.swiper-slide h1 {
	font-size: 2.6rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--tta-sand);
}


h2.slide-title {
	background-color: #1d1c1ca1;
	padding: 1rem;
	border-radius: 5px;
	color: var(--tta-sand);
	font-size: 1.2rem;
  font-weight: normal;
	text-align: center;
}

.swiper-pagination-bullet {
	background: #fff !important;
	opacity: 0.6;
}
.swiper-pagination-bullet-active {
	opacity: 1;
	background: var(--tta-accent, #f2b632) !important;
}

.swiper-button-next, .swiper-button-prev {
	color: #fff;
	transition: color 0.3s ease;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
	color: var(--tta-accent);
}

@media (max-width: 768px) {
	.swiper-slide .tour-hero-content {
		max-width: 600px;
		margin-left: 2rem;
		margin-top: 5rem;
		margin-right: 2rem;
	}

	.swiper-slide {
		align-items: flex-start !important;
		justify-content: center !important;
	}
}

@media (min-width: 768px) {
	.swiper-slide .tour-hero-content {
		padding: 3rem;
		max-width: 720px;
		margin-left: 10rem;
		margin-bottom: 10rem;
	}
	.swiper-slide {
		align-items: flex-end !important;
		justify-content: flex-start !important;
	}
}

/** =========================================== **/
/* FOOTER
* STYLES
* / =========================================== **/

/* ============================================================
TTA FOOTER STYLES
============================================================ */

.site-footer {
	background: var(--tta-secondary-dark);
	color: #f8f8f8;
	font-family: var(--tta-font);
	padding: 4rem 1rem 2rem;
	position: relative;
}

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto 2rem;
}

.footer-widget {
	display: flex;
	flex-direction: column;
}

.footer-widget h4 {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--tta-accent);
	margin-bottom: 1rem;
	position: relative;
}

.footer-widget h4::after {
	content: "";
	display: block;
	width: 40px;
	height: 2px;
	background: var(--tta-accent);
	margin-top: 0.4rem;
}

.footer-widget ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-widget ul li {
	margin-bottom: 0.6rem;
}

.footer-widget ul li a {
	color: #f8f8f8;
	text-decoration: none;
	transition: color var(--tta-transition);
}

.footer-widget ul li a:hover {
	color: var(--tta-accent);
}

.footer-logo img {
	border-radius: 10px;
}

/* === SOCIAL ICONS (optional future use) === */
.footer-social {
	display: flex;
	gap: 0.8rem;
	margin-top: 1rem;
}

.footer-social a {
	color: #fff;
	font-size: 1.3rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	transition: background 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
	background: var(--tta-accent);
	color: var(--tta-earth);
	border-color: var(--tta-accent);
}

/* === COPYRIGHT BAR === */
.site-footer-copy {
	text-align: center;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.7);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 1.5rem;
	margin-top: 2rem;
}

.site-footer-copy a {
	color: var(--tta-accent);
	text-decoration: none;
	font-weight: 600;
}

.site-footer-copy a:hover {
	color: #fff;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
	.footer-widgets {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.footer-widget h4::after {
		margin: 0.4rem auto 0;
	}
}


.site-info {
	display: none !important;
}

.footer-widgets {
	background-color: var(--tta-transition) !important;
}

.site-footer #footer-widgets .inside-footer-widgets h2, .site-footer #footer-widgets .inside-footer-widgets a {
	color: var(--tta-sand) !important;
}


/* Remove Margin in Archives */
.separate-containers.no-sidebar .site-main {
	margin-left: 0;
	margin-right: 0;
	margin-top: 0;
}