/*
Theme Name: Cusco esencial
Author: Cusco Creativos
Description: Tema personalizado para Cusco esencial.
Version: 1.0.0
Text Domain: cusco-esencial
*/

/* ==========================================================================
   Variables Globales (Colores y Tipografía)
   ========================================================================== */
:root {
	/* --- Colores Extraídos del Logo --- */
	--color-primary: #10402e; /* Verde Andino Oscuro (Fondo del logo) */
	--color-secondary: #e09f14; /* Dorado Inti (Llama y texto 'esencial') */
	--color-white: #ffffff; /* Blanco (Avión y texto 'CUSCO') */

	/* --- Colores Derivados / UI --- */
	--color-primary-light: #185a42; /* Variación más clara para hovers */
	--color-secondary-light: #f5b021; /* Dorado más claro para hovers */
	--color-text-main: #333333; /* Color de texto principal para legibilidad */
	--color-text-muted: #666666; /* Color de texto secundario */
	--color-bg-light: #fdfdfd; /* Fondo base casi blanco para la web */
	--color-bg-gray: #f4f5f5; /* Fondo gris claro para secciones */

	/* --- Tipografía --- */
	/* Títulos: Montserrat (Moderna, geométrica, transmite solidez y aventura) */
	--font-heading: 'Montserrat', sans-serif;
	
	/* Contenido: Inter o Open Sans (Limpia, excelente legibilidad para lectura larga) */
	--font-body: 'Inter', sans-serif;
}

/* ==========================================================================
   Reset Básico y Estilos Globales
   ========================================================================== */
*, *::before, *::after {
	box-sizing: border-box;
}

body {
	font-family: var(--font-body);
	color: var(--color-text-main);
	background-color: var(--color-bg-light);
	line-height: 1.6;
	margin: 0;
	padding: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	color: var(--color-primary);
	margin-top: 0;
}

a {
	color: var(--color-secondary);
	text-decoration: none;
	transition: color 0.3s ease;
}

/* ==========================================================================
   Botones y Componentes
   ========================================================================== */
.btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background-color: var(--color-secondary);
	color: var(--color-white);
	padding: 0.7rem 1.5rem;
	border-radius: 50px;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 0.85rem; /* Minimalista */
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
}

.btn-primary:hover {
	background-color: var(--color-secondary-light);
	color: var(--color-white);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(224, 159, 20, 0.3);
}

.btn-icon-circle {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid rgba(0,0,0,0.1);
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-primary);
	font-size: 1rem;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-icon-circle:hover {
	background: var(--color-primary);
	color: var(--color-white);
	border-color: var(--color-primary);
}

.block-btn {
	width: 100%;
}

/* ==========================================================================
   Topbar
   ========================================================================== */
.header-topbar {
	background-color: var(--color-primary);
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.75rem; /* Minimalista */
	padding: 0.5rem 0;
	font-family: var(--font-body);
}

.header-wrapper,
.wrapper {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.topbar-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* ==========================================================================
   Hero Section Premium Design
   ========================================================================== */
.hero-section {
	position: relative;
	height: 100vh;
	min-height: 700px;
	width: 100%;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.hero-swiper {
	position: absolute !important;
	top: 0 !important; left: 0 !important;
	width: 100% !important; height: 100vh !important;
	min-height: 700px !important;
	z-index: 1 !important;
}

.hero-swiper .bg-slide {
	width: 100%; height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.hero-overlay {
	position: absolute;
	top: 0; left: 0; width: 100%; height: 100%;
	background: linear-gradient(to right, rgba(16, 64, 46, 0.9) 0%, rgba(16, 64, 46, 0.4) 100%);
	z-index: 2;
}

.hero-content {
	position: relative;
	z-index: 10;
	height: 100%;
	width: 100%;
	display: flex;
	align-items: center;
}

/* Sidebar Social */
.hero-social {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	padding: 0 1.5rem;
}

.hero-social::before,
.hero-social::after {
	content: '';
	width: 1px;
	height: 80px;
	background: rgba(255,255,255,0.2);
	margin: 1rem auto;
	display: block;
}

.hero-social ul {
	list-style: none;
	padding: 0; margin: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.hero-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px; height: 40px;
	border-radius: 50%;
	background: rgba(255,255,255,0.1);
	color: #fff;
	transition: all 0.3s;
	font-size: 0.95rem;
	border: 1px solid rgba(255,255,255,0.1);
}

.hero-social a:hover {
	background: var(--color-secondary);
	border-color: var(--color-secondary);
	transform: scale(1.1);
}

/* Main Area */
.hero-main-area {
	padding-left: 5rem; /* Space for the social sidebar */
	max-width: 900px;
}

.hero-subtitle {
	font-family: 'Caveat', cursive;
	font-size: 2.5rem;
	color: #fff;
	margin-bottom: 0.5rem;
	font-weight: 600;
	text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-title {
	font-family: var(--font-heading);
	font-size: 4.5rem;
	font-weight: 800;
	color: #fff;
	line-height: 1.1;
	margin-bottom: 1.5rem;
	text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-desc {
	font-size: 1.15rem;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.6;
	margin-bottom: 3rem;
	max-width: 650px;
	text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Search Floating Box */
.hero-search-box {
	background: #fff;
	border-radius: 60px;
	padding: 0.8rem 1rem 0.8rem 1.5rem;
	display: inline-flex;
	align-items: center;
	gap: 1.5rem;
	box-shadow: 0 20px 40px rgba(0,0,0,0.15);
	flex-wrap: wrap;
}

.search-col {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex: 1;
	min-width: 140px;
}

.search-icon {
	width: 45px;
	height: 45px;
	border-radius: 50%;
	background: #f1f5f9;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.search-icon i {
	color: var(--color-primary);
	font-size: 1.1rem;
}

.search-info {
	display: flex;
	flex-direction: column;
}

.search-info label {
	font-size: 0.75rem;
	font-weight: 500;
	color: rgba(0,0,0,0.5);
	margin-bottom: 0.2rem;
}

.search-dropdown {
	display: flex;
	align-items: center;
}

.search-dropdown select,
.search-dropdown input {
	border: none;
	background: transparent;
	padding: 0;
	font-family: var(--font-heading);
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--color-primary);
	outline: none;
	width: auto;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	margin: 0;
}

.search-dropdown input.datepicker-custom {
	max-width: 110px;
}

/* Select dropdown arrow for hero search */
.search-dropdown select {
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%2310402e" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>');
	background-repeat: no-repeat;
	background-position: right center;
	padding-right: 1.2rem;
}

.search-divider {
	width: 1px;
	height: 40px;
	background: rgba(0,0,0,0.1);
}

.search-col-btn {
	margin-left: auto;
}

.hero-btn-search {
	border-radius: 50px;
	padding: 1.2rem 2.5rem;
	font-size: 0.95rem;
	white-space: nowrap;
}

/* Fluffy Bottom Clouds Image */
.hero-clouds-bottom {
	position: absolute;
	bottom: 0px; 
	left: 0;
	width: 100%;
	height: 15vw; 
	min-height: 120px;
	max-height: 250px;
	z-index: 20;
	background-image: url('/wp-content/uploads/2026/04/Nubes.png');
	background-size: 100% 100%;
	background-position: center bottom;
	background-repeat: no-repeat;
	pointer-events: none;
}

/* Custom Swiper Navigation */
.hero-nav-btn {
	position: absolute;
	width: 50px; 
	height: 50px;
	background: #fff;
	border-radius: 50%;
	color: var(--color-primary);
	z-index: 20;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0,0,0,0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(0,0,0,0.05);
}

.hero-nav-btn i {
	font-size: 1.2rem;
}

.hero-nav-btn:hover {
	background: var(--color-secondary);
	color: #fff;
	transform: scale(1.05);
	box-shadow: 0 6px 20px rgba(224, 159, 20, 0.4);
}

.hero-nav-prev {
	right: 40px;
	top: calc(50% + 30px);
}

.hero-nav-next {
	top: calc(50% - 30px);
	right: 40px;
}

@media (max-width: 1024px) {
	.hero-title { font-size: 3.5rem; }
	.hero-subtitle { font-size: 2rem; }
	.hero-search-box {
		border-radius: 24px;
		padding: 1.5rem;
		flex-direction: column;
		align-items: flex-start;
	}
	.search-divider {
		height: 1px;
		width: 100%;
		margin: 0.5rem 0;
	}
	.search-col-btn, .hero-btn-search {
		width: 100%;
	}
}

@media (max-width: 768px) {
	.hero-social { display: none; }
	.hero-main-area { padding-left: 0; padding-top: 5rem; }
	.hero-title { font-size: 2.8rem; }
	.hero-desc { font-size: 1rem; margin-bottom: 2rem; }
	.custom-swiper-nav { display: none; }
	.hero-section { min-height: 800px; height: auto; padding: 6rem 0; }
}
.topbar-left {
	display: flex;
	gap: 1.5rem;
}

.topbar-left i {
	margin-right: 0.3rem;
	color: var(--color-secondary);
}

.topbar-right {
	display: flex;
	gap: 1.5rem;
	align-items: center;
}

.language-switcher-top {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 0.8rem;
}

.language-switcher-top img {
	width: 18px;
	height: auto;
	border-radius: 2px;
}

.social-icons {
	display: flex;
	gap: 1rem;
}

.social-icons a {
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.9rem;
}

.social-icons a:hover {
	color: var(--color-secondary);
}

/* ==========================================================================
   Header Principal
   ========================================================================== */
.site-header {
	background-color: var(--color-white);
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: auto; /* Permite adaptarse a contenido más alto */
	min-height: 80px;
	padding: 0.5rem 1.5rem;
}

.site-branding {
	flex: 0 0 auto;
	margin-right: 2rem;
}

.site-branding img {
	max-height: 75px;
	width: auto;
	transition: max-height 0.3s ease;
}

.site-branding .custom-logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.text-logo {
	display: inline-block;
	line-height: 1.2 !important;
}

/* Navegación Desktop */
.desktop-nav {
	flex: 1; /* Ocupa el espacio central restante */
	display: flex;
	justify-content: center;
}

.desktop-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 1.5rem; /* Ajustado para mejor distribución */
	align-items: center;
}

.desktop-nav li {
	position: relative;
}

.desktop-nav a {
	color: var(--color-primary);
	font-family: var(--font-heading);
	font-weight: 500; /* Reducido el peso para más elegancia */
	font-size: 0.85rem; 
	letter-spacing: 0.3px; /* Añade respiro a las letras */
	display: flex;
	align-items: center;
	gap: 0.3rem;
	padding: 1rem 0;
	white-space: nowrap; /* Evita que los nombres (ej. Machu Picchu Tours) se dividan en 2 líneas */
	transition: color 0.3s ease;
}

.desktop-nav a:hover {
	color: var(--color-secondary);
}

/* Indicador de submenu falso para el diseño (Wordpress usa cat/sub elementos) */
.desktop-nav li.menu-item-has-children > a::after {
	content: "\f107";
	font-family: "FontAwesome";
	font-size: 0.7rem;
	margin-left: 3px;
}

.header-actions {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-left: 1rem;
}

/* ==========================================================================
   Offcanvas Sidebar
   ========================================================================== */
.offcanvas-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.6);
	z-index: 998;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.offcanvas-overlay.active {
	opacity: 1;
	visibility: visible;
}

.offcanvas-sidebar {
	position: fixed;
	top: 0;
	right: -400px;
	width: 100%;
	max-width: 350px;
	height: 100%;
	background-color: var(--color-bg-gray);
	z-index: 999;
	box-shadow: -5px 0 15px rgba(0,0,0,0.1);
	transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
	display: flex;
	flex-direction: column;
	overflow-y: auto;
}

.offcanvas-sidebar.active {
	right: 0;
}

.offcanvas-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.5rem;
	background: var(--color-white);
}

.btn-offcanvas-close {
	background: transparent;
	border: none;
	background-color: rgba(0,0,0,0.05);
	width: 35px;
	height: 35px;
	border-radius: 5px;
	font-size: 1.2rem;
	color: var(--color-primary);
	cursor: pointer;
}

.offcanvas-body {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

/* Offcanvas Mobile Menu */
.mobile-nav-container {
    display: none; /* Desktop hidden */
    margin-bottom: 2rem;
}

/* Features List */
.offcanvas-features {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.feature-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.feature-icon {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: var(--color-white);
	color: var(--color-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	flex-shrink: 0;
	box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    border: 1px solid var(--color-primary);
}

.feature-text h4 {
	font-size: 0.95rem;
	margin: 0 0 0.3rem 0;
	color: var(--color-primary);
}

.feature-text p {
	font-size: 0.8rem;
	margin: 0;
	color: var(--color-text-muted);
}

.offcanvas-footer {
	margin-top: auto;
}

/* ==========================================================================
   Mobile Bottom App Bar
   ========================================================================== */
.mobile-app-bar {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background: var(--color-white);
	box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
	z-index: 100;
	padding: 0.5rem 1rem;
	padding-bottom: env(safe-area-inset-bottom, 0.5rem);
	justify-content: space-around;
	align-items: center;
}

.app-bar-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	color: var(--color-text-muted);
	text-decoration: none;
	font-size: 0.65rem;
	font-weight: 500;
	gap: 0.3rem;
	border: none;
	background: transparent;
	padding: 0.5rem;
	cursor: pointer;
}

.app-bar-item i {
	font-size: 1.2rem;
}

.app-bar-item.active {
	color: var(--color-primary);
}

/* El botón flotante al medio */
.app-bar-float {
	position: relative;
	top: -20px;
}

.whatsapp-float {
	width: 55px;
	height: 55px;
	background-color: #25D366;
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.8rem;
	box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
	border: 3px solid var(--color-bg-light);
}

/* ==========================================================================
   Responsive Design (Desktop to Mobile)
   ========================================================================== */
@media (max-width: 991px) {
	.desktop-only,
	.topbar,
	.desktop-nav {
		display: none !important;
	}

    .mobile-nav-container {
        display: block;
    }

	.app-style-menu ul {
		list-style: none;
		padding: 0;
		margin: 0;
	}

	.app-style-menu li {
		border-bottom: 1px solid rgba(0,0,0,0.05);
	}

	.app-style-menu a {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 1rem 0;
		color: var(--color-primary);
		font-family: var(--font-heading);
		font-weight: 500;
		font-size: 0.95rem;
		text-decoration: none;
	}

    /* Mostrar App Menu Bar bottom */
    .mobile-app-bar {
        display: flex;
    }

    body {
        /* Espacio para la app bar abajo */
        padding-bottom: 60px; 
    }

    .offcanvas-sidebar {
        /* En movil ocupa mas ancho, o un estilo sheet bottom. Aqui usaremos un panel lateral completo o casi. */
        max-width: 85%;
    }
}
a:hover {
	color: var(--color-primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	background-color: var(--color-primary);
	color: rgba(255, 255, 255, 0.8);
	font-family: var(--font-body);
}

.footer-top {
	padding: 4rem 1.5rem;
}

.footer-container {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1.5fr;
	gap: 3rem;
}

.footer-col-brand .footer-logo {
	max-height: 140px;
    width: auto;
    max-width: 100%;
	margin-bottom: 2rem;
}

.footer-desc {
	font-size: 0.95rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

.footer-newsletter {
	display: flex;
	margin-bottom: 2rem;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 30px;
	overflow: hidden;
	padding: 0.3rem;
}

.footer-newsletter input {
	flex: 1;
	background: transparent;
	border: none;
	color: white;
	padding: 0.5rem 1rem;
	outline: none;
}

.footer-newsletter input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter button {
	background-color: var(--color-secondary);
	color: white;
	border: none;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.3s;
}

.footer-newsletter button:hover {
	background-color: #c98e10;
}

.footer-socials {
	display: flex;
	gap: 1rem;
}

.footer-socials a {
	width: 35px;
	height: 35px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	transition: all 0.3s;
}

.footer-socials a:hover {
	background-color: var(--color-secondary);
	border-color: var(--color-secondary);
}

.footer-title {
	color: white;
	font-family: var(--font-heading);
	font-size: 1.2rem;
	margin-bottom: 2rem;
	position: relative;
	font-weight: 600;
}

.footer-title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -10px;
	width: 30px;
	height: 2px;
	background-color: var(--color-secondary);
}

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

.footer-list li {
	margin-bottom: 1rem;
	font-size: 0.95rem;
}

.footer-list a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: color 0.3s;
}

.footer-list a:hover {
	color: var(--color-secondary);
}

.contact-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.contact-icon {
	width: 40px;
	height: 40px;
	background-color: rgba(255, 255, 255, 0.05);
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-secondary);
	flex-shrink: 0;
	font-size: 1.1rem;
}

.contact-text {
	font-size: 0.95rem;
	line-height: 1.5;
}

/* Footer Bottom */
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 1.5rem 1.5rem;
}

.footer-bottom-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.copyright p {
	margin: 0;
	font-size: 0.9rem;
}

.footer-bottom-links {
	display: flex;
	gap: 2rem;
}

.footer-bottom-links a {
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.9rem;
	text-decoration: none;
	transition: color 0.3s;
}

.footer-bottom-links a:hover {
	color: var(--color-secondary);
}

.scroll-top-btn {
	width: 40px;
	height: 40px;
	background-color: var(--color-secondary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	text-decoration: none;
	transition: background 0.3s;
}

.scroll-top-btn:hover {
	background-color: #c98e10;
	color: white;
}

/* Responsive Footer */
@media (max-width: 991px) {
	.footer-container {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 768px) {
	.footer-container {
		grid-template-columns: 1fr;
	}
	
	.footer-bottom-wrapper {
		flex-direction: column;
		text-align: center;
	}

	.footer-bottom {
		padding-bottom: 80px; /* Space for the floating mobile app bar */
	}
}

/* ==========================================================================
   Modals (Popups)
   ========================================================================== */
.custom-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.custom-modal.active {
	opacity: 1;
	visibility: visible;
}

.modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(16, 64, 46, 0.85); /* Verde oscuro corporativo */
	backdrop-filter: blur(5px);
}

.modal-content {
	background: #ffffff;
	border-radius: 12px;
	padding: 3rem 2.5rem;
	width: 90%;
	position: relative;
	transform: translateY(30px);
	transition: transform 0.3s ease;
	box-shadow: 0 15px 50px rgba(0,0,0,0.2);
}

.custom-modal.active .modal-content {
	transform: translateY(0);
}

.search-modal-content {
	max-width: 600px;
	text-align: center;
}

.enquire-modal-content {
	max-width: 700px;
}

.modal-close {
	position: absolute;
	top: 15px;
	right: 20px;
	background: transparent;
	border: none;
	font-size: 1.5rem;
	color: var(--color-text-main);
	cursor: pointer;
	transition: color 0.3s;
}

.modal-close:hover {
	color: var(--color-secondary);
}

.modal-content h3 {
	font-family: var(--font-heading);
	color: var(--color-primary);
	margin-top: 0;
	margin-bottom: 1.5rem;
	font-size: 1.8rem;
}

/* Search Form Popup */
.search-input-wrapper {
	display: flex;
	align-items: center;
	background: white;
	border-radius: 50px;
	padding: 0.5rem;
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
	border: 1px solid rgba(0,0,0,0.1);
}

.search-icon-input {
	margin-left: 1rem;
	color: rgba(0,0,0,0.3);
}

.search-field-popup {
	flex: 1;
	border: none;
	padding: 0.8rem 1rem;
	outline: none;
	font-family: var(--font-body);
	font-size: 1rem;
}

.search-input-wrapper .btn-primary {
	margin-left: 0.5rem;
	padding: 0.8rem 1.5rem;
}

/* Enquire Form Popup Premium UI */
.modal-header-text p {
	color: rgba(0,0,0,0.6);
	margin-bottom: 2rem;
	font-size: 1.05rem;
}

.premium-form .form-row {
	display: flex;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}

.premium-form .form-group {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.premium-form .form-group label {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--color-primary);
	margin-bottom: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.premium-form .form-group label .required {
	color: #e74c3c;
}

.input-with-icon {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
}

.input-with-icon i {
	position: absolute;
	left: 1.2rem;
	color: var(--color-primary);
	opacity: 0.5;
	font-size: 1.1rem;
	transition: all 0.3s ease;
	pointer-events: none;
}

.premium-form input,
.premium-form select,
.premium-form textarea {
	width: 100%;
	padding: 1rem 1.2rem 1rem 3rem; /* Space for icon */
	border: 1px solid rgba(0,0,0,0.1);
	background-color: #f9fafb;
	border-radius: 8px;
	font-family: var(--font-body);
	font-size: 0.95rem;
	color: var(--color-text-main);
	outline: none;
	transition: all 0.3s ease;
	-webkit-appearance: none;
	appearance: none;
}

/* Fix select dropdown arrow */
.premium-form select {
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%2310402e" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>');
	background-repeat: no-repeat;
	background-position: right 1.2rem center;
	padding-right: 2.5rem;
	cursor: pointer;
}

.premium-form textarea {
	resize: vertical;
	min-height: 100px;
}

.premium-form input:focus,
.premium-form select:focus,
.premium-form textarea:focus {
	border-color: var(--color-secondary);
	background-color: #fff;
	box-shadow: 0 0 0 4px rgba(224, 159, 20, 0.1);
}

.input-with-icon:focus-within i {
	opacity: 1;
	color: var(--color-secondary);
}

.btn-premium-submit {
	padding: 1.2rem;
	font-size: 1.1rem;
	font-weight: 700;
	border-radius: 8px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-top: 1rem;
	background: var(--color-secondary);
	color: white;
	box-shadow: 0 10px 20px rgba(224, 159, 20, 0.2);
	border: none;
	cursor: pointer;
	width: 100%;
	transition: all 0.3s ease;
}

.btn-premium-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 15px 25px rgba(224, 159, 20, 0.3);
}

/* Phone & Calendar Overrides */
.phone-input-wrapper {
	width: 100%;
}
.phone-input-wrapper .iti {
	width: 100%;
}
.phone-input-custom {
	width: 100% !important;
	padding-top: 1rem !important;
	padding-bottom: 1rem !important;
	padding-right: 1.2rem !important;
	/* DO NOT OVERRIDE PADDING-LEFT to allow intl-tel-input to dynamically space the flag! */
	border: 1px solid rgba(0,0,0,0.1) !important;
	background-color: #f9fafb !important;
	border-radius: 8px !important;
	font-family: var(--font-body) !important;
	font-size: 0.95rem !important;
	color: var(--color-text-main) !important;
	outline: none !important;
	transition: all 0.3s ease !important;
}
.phone-input-custom:focus {
	border-color: var(--color-secondary) !important;
	background-color: #fff !important;
	box-shadow: 0 0 0 4px rgba(224, 159, 20, 0.1) !important;
}

/* Form Validation UX */
.premium-form .error-input {
	border-color: #e74c3c !important;
	background-color: #fffaf9 !important;
}
.premium-form .error-text {
	color: #e74c3c;
	font-size: 0.8rem;
	margin-top: 0.4rem;
	display: block;
	animation: fadeInError 0.3s ease;
}
@keyframes fadeInError {
	from { opacity: 0; transform: translateY(-5px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
	.premium-form .form-row {
		flex-direction: column;
		gap: 1.5rem;
	}
	.search-input-wrapper {
		flex-direction: column;
		border-radius: 12px;
		background: transparent;
		box-shadow: none;
		border: none;
		padding: 0;
	}
	.search-input-wrapper .search-icon-input {
		display: none;
	}
	.search-field-popup {
		width: 100%;
		border-radius: 50px;
		margin-bottom: 1rem;
		border: 1px solid rgba(0,0,0,0.1);
		box-shadow: 0 5px 15px rgba(0,0,0,0.05);
	}
	.search-input-wrapper .btn-primary {
		width: 100%;
		margin-left: 0;
	}
}

/* ==========================================================================
   Company Intro Section (Home)
   ========================================================================== */
.company-intro-section {
	max-width: 1100px;
	margin: 0 auto;
	padding-top: 5rem;
	padding-bottom: 2rem;
}

.company-intro-section .section-title {
	font-size: 2.2rem;
	text-transform: uppercase;
	margin-bottom: 1.5rem;
	letter-spacing: 0.5px;
	font-weight: 500;
	color: var(--color-text-main);
}

.text-secondary {
	color: var(--color-secondary);
	font-weight: 700;
}

.company-intro-text {
	font-size: 1.05rem;
	color: var(--color-text-muted);
	max-width: 950px;
	margin: 0 auto 3.5rem auto;
	line-height: 1.8;
}

.company-intro-text strong {
	color: var(--color-text-main);
	font-weight: 600;
}



/* Features Grid */
.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}

.feature-box {
	background: #fff;
	padding: 3rem 2rem;
	border: 1px solid rgba(0,0,0,0.06); 
	border-radius: 4px; 
	text-align: center;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.feature-box:hover {
	box-shadow: 0 15px 35px rgba(0,0,0,0.08);
	transform: translateY(-5px);
}

.feature-icon-top {
	width: 75px;
	height: 75px;
	margin: 0 auto 1.8rem auto;
	border-radius: 50%;
	background: rgba(224, 159, 20, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-secondary);
	font-size: 2.2rem;
	position: relative;
}

/* Tiny orange dot like the screenshot */
.feature-icon-top::after {
	content: '';
	position: absolute;
	top: 5px;
	right: 0px;
	width: 12px;
	height: 12px;
	border: 2px solid var(--color-secondary);
	border-radius: 50%;
	background: #fff;
}

.feature-box p {
	font-size: 0.95rem;
	color: var(--color-text-muted);
	line-height: 1.8;
	margin: 0;
}

.feature-box p strong {
	color: var(--color-text-main);
	font-weight: 700;
}

.cf-truncate {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: inline-block;
	vertical-align: middle;
	width: 100%;
}

.meta-item {
	display: flex;
	align-items: center;
	gap: 6px;
	overflow: hidden; /* Helps flex children truncate */
	white-space: nowrap;
}

/* Responsive fixes for company intro */
@media (max-width: 768px) {
	.company-intro-section {
		padding-top: 3rem;
	}
	.company-intro-section .section-title {
		font-size: 1.6rem;
		line-height: 1.3;
	}
}

/* ==========================================================================
   Product Categories Section
   ========================================================================== */
.tour-categories-section {
	padding-top: 3rem;
	padding-bottom: 5rem;
}

.cursive-subtitle {
	font-family: 'Caveat', cursive;
	font-size: 2.5rem;
	color: var(--color-secondary);
	margin: 0;
	font-weight: 600;
}

.tour-categories-section .section-title {
	font-size: 2.5rem;
	color: var(--color-primary);
	font-weight: 800;
	text-transform: capitalize;
}

.category-card {
	display: block;
	text-align: center;
	text-decoration: none;
	group: category; /* simple hover hook */
}

.category-img-wrap {
	width: 100%;
	aspect-ratio: 4 / 5;
	border-radius: 16px;
	overflow: hidden;
	margin-bottom: 1.2rem;
	position: relative;
	box-shadow: 0 10px 20px rgba(0,0,0,0.08);
	transition: all 0.4s ease;
}

.category-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.category-card:hover .category-img-wrap {
	transform: translateY(-8px);
	box-shadow: 0 15px 30px rgba(16, 64, 46, 0.15); /* primary shadow */
}

.category-card:hover .category-img-wrap img {
	transform: scale(1.08);
}

.category-name {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--color-primary);
	margin: 0;
	transition: color 0.3s ease;
}

.category-card:hover .category-name {
	color: var(--color-secondary);
}

/* Swiper Pagination Styling */
.category-swiper {
	padding-top: 1rem;
	padding-bottom: 3rem !important; /* give room for pagination */
}

.category-pagination {
	bottom: 0 !important;
}

.category-pagination .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background: transparent;
	border: 1px solid var(--color-primary);
	opacity: 1;
	margin: 0 6px !important;
	transition: all 0.3s ease;
}

.category-pagination .swiper-pagination-bullet-active {
	width: 30px;
	border-radius: 10px;
	background: var(--color-primary);
	border-color: var(--color-primary);
}

/* Mobile responsive padding */
@media (max-width: 768px) {
	.tour-categories-section .section-title {
		font-size: 1.8rem;
	}
	.cursive-subtitle {
		font-size: 2rem;
	}
}

/* ==========================================================================
   Trending Tours Section & Tour Cards
   ========================================================================== */
.trending-tours-section {
	padding-top: 2rem;
}

.tours-swiper .swiper-wrapper {
	align-items: stretch;
}

.tours-swiper .swiper-slide {
	height: auto;
}

.tour-card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 5px 25px rgba(0,0,0,0.06);
	transition: all 0.3s ease;
	border: 1px solid rgba(0,0,0,0.04);
	display: flex;
	flex-direction: column;
	height: 100%;
}

.tour-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.tour-card-img-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.tour-card-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s ease;
}

.tour-card:hover .tour-card-img-wrap img {
	transform: scale(1.08);
}

.tour-badge-trending {
	position: absolute;
	top: 15px;
	right: 15px;
	background: #0066ff; /* As in screenshot, but you can change to var(--color-secondary) if strictly brand */
	background: var(--color-secondary); /* Brand matching */
	color: #fff;
	padding: 5px 12px;
	border-radius: 6px;
	font-size: 0.8rem;
	font-weight: 700;
	z-index: 2;
	box-shadow: 0 4px 10px rgba(0,0,0,0.15);
	display: flex;
	align-items: center;
	gap: 6px;
}

.tour-badge-wishlist {
	position: absolute;
	top: 15px;
	left: 15px;
	background: #fff;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-text-muted);
	font-size: 0.9rem;
	z-index: 2;
	cursor: pointer;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
	transition: all 0.2s;
}

.tour-badge-wishlist:hover {
	color: #e74c3c;
}

.tour-card-body {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.tour-meta-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.8rem;
	font-size: 0.85rem;
}

.tour-cat {
	color: var(--color-text-muted);
	display: flex;
	align-items: center;
	gap: 6px;
}

.tour-cat i {
	color: #e74c3c; /* Redish accent like screenshot */
}

.tour-rating {
	display: flex;
	align-items: center;
	gap: 6px;
}

.rating-star {
	background: #ffc107;
	color: #fff;
	padding: 2px 6px;
	border-radius: 4px;
	font-weight: 700;
	font-size: 0.8rem;
}

.rating-count {
	color: var(--color-text-muted);
}

.tour-card-title {
	font-size: 1.3rem;
	margin: 0 0 0.5rem 0;
	line-height: 1.4;
}

.tour-card-title a {
	color: var(--color-primary);
}

.tour-card-title a:hover {
	color: var(--color-secondary);
}

.tour-location {
	color: var(--color-text-muted);
	font-size: 0.9rem;
	margin-bottom: 1.2rem;
	display: flex;
	align-items: center;
	gap: 6px;
}

.tour-price {
	margin-top: auto;
	margin-bottom: 1rem;
	font-size: 0.95rem;
	color: var(--color-text-muted);
}

.tour-price .current-price {
	color: #e74c3c; /* Highlight price */
	font-size: 1.3rem;
	font-weight: 800;
	margin: 0 6px;
}

.tour-price .old-price {
	text-decoration: line-through;
	opacity: 0.6;
}

.tour-card-divider {
	border-top: 1px solid rgba(0,0,0,0.06);
	margin: 0 0 1rem 0;
}

.tour-meta-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.85rem;
	color: var(--color-text-muted);
}

.tour-meta-bottom .meta-item {
	display: flex;
	align-items: center;
	gap: 6px;
}

/* Tours Pagination Bottom Spacing */
.tours-pagination {
	bottom: 0 !important;
}

.tours-pagination .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background: transparent;
	border: 1px solid var(--color-primary);
	opacity: 1;
	margin: 0 6px !important;
	transition: all 0.3s ease;
}

.tours-pagination .swiper-pagination-bullet-active {
	width: 30px;
	border-radius: 10px;
	background: var(--color-primary);
	border-color: var(--color-primary);
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.why-choose-us-section {
	position: relative;
	overflow: hidden;
}

.wcu-header-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 4rem;
	align-items: center;
}

.wcu-title h2 {
	font-size: 3rem;
	font-weight: 800;
	color: var(--color-primary);
	line-height: 1.2;
	margin: 0;
	letter-spacing: -0.5px;
}

.wcu-desc p {
	font-size: 1.05rem;
	color: var(--color-text-muted);
	line-height: 1.8;
	margin-bottom: 2rem;
}

.wcu-clients-review {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: 0.95rem;
	color: var(--color-text-main);
	font-weight: 600;
}

.avatar-stack {
	display: flex;
}

.avatar-stack img {
	width: 45px;
	height: 45px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #fff;
	margin-left: -15px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.avatar-stack img:first-child {
	margin-left: 0;
}

/* Overlapping gallery */
.wcu-images-overlap {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 1.5rem;
	position: relative;
	z-index: 5;
	margin-top: -3rem; /* pull up */
}

.wcu-image {
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.wcu-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.wcu-img-large {
	aspect-ratio: 4 / 3;
}

.wcu-img-small {
	aspect-ratio: 3 / 4;
}

/* Bottom Counters */
.wcu-bottom-half {
	color: #fff;
}

.wcu-counters-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	text-align: center;
}

.counter-item {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.counter-label {
	font-size: 0.95rem;
	font-weight: 500;
	opacity: 0.9;
}

.counter-number {
	font-family: var(--font-heading);
	font-size: 4.5rem;
	font-weight: 800;
	color: transparent;
	-webkit-text-stroke: 1.5px #fff;
	line-height: 1;
	/* fallback if stroke not supported */
	text-shadow: 0px 0px 1px rgba(255,255,255,0.2);
}

@supports (-webkit-text-stroke: 1.5px #fff) {
	.counter-number {
		text-shadow: none;
	}
}

/* Reponsive */
@media (max-width: 992px) {
	.wcu-header-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	.wcu-title h2 {
		font-size: 2.2rem;
	}
	.wcu-images-overlap {
		grid-template-columns: 1fr;
	}
	.wcu-img-large, .wcu-img-small {
		aspect-ratio: 16 / 9;
	}
	.wcu-counters-grid {
		grid-template-columns: 1fr 1fr;
		gap: 3rem;
	}
	.counter-number {
		font-size: 3.5rem;
	}
}

@media (max-width: 576px) {
	.wcu-counters-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Latest Blog Section
   ========================================================================== */
.latest-blog-section {
	overflow: hidden;
}

.blog-swiper .swiper-wrapper {
	align-items: stretch;
}

.blog-swiper .swiper-slide {
	height: auto;
}

.blog-card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 5px 25px rgba(0,0,0,0.06);
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
}

.blog-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.blog-card-img {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.blog-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s ease;
}

.blog-card:hover .blog-card-img img {
	transform: scale(1.08);
}

.blog-cat-badge {
	position: absolute;
	bottom: 15px;
	left: 15px;
	background: var(--color-primary);
	color: #fff;
	padding: 5px 12px;
	border-radius: 6px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	z-index: 2;
}

.blog-card-body {
	padding: 1.8rem;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.blog-meta {
	font-size: 0.85rem;
	color: var(--color-text-muted);
	margin-bottom: 0.8rem;
}

.blog-meta i {
	color: var(--color-secondary);
}

.blog-card-title {
	font-size: 1.4rem;
	margin: 0 0 1rem 0;
	line-height: 1.4;
}

.blog-card-title a {
	color: var(--color-primary);
}

.blog-card-title a:hover {
	color: var(--color-secondary);
}

.blog-card-excerpt {
	color: var(--color-text-muted);
	font-size: 0.95rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
	flex-grow: 1;
}

.blog-read-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--color-secondary);
	text-transform: uppercase;
	transition: all 0.2s;
	margin-top: auto;
}

.blog-read-more:hover {
	color: var(--color-primary);
	gap: 12px;
}

.blog-pagination {
	bottom: 0 !important;
}

.blog-pagination .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background: transparent;
	border: 1px solid var(--color-primary);
	opacity: 1;
	margin: 0 6px !important;
	transition: all 0.3s ease;
}

.blog-pagination .swiper-pagination-bullet-active {
	width: 30px;
	border-radius: 10px;
	background: var(--color-primary);
	border-color: var(--color-primary);
}

/* ==========================================================================
   Single Tour Product Page
   ========================================================================== */

.tour-single-main {
	background-color: var(--color-bg-light);
	position: relative;
}

/* Hero Section */
.tour-hero-header {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 8rem 0 4rem;
	min-height: 400px;
	display: flex;
	align-items: center;
	color: #ffffff;
}

.tour-hero-title {
	font-size: 3rem;
	font-weight: 800;
	margin-bottom: 1rem;
	line-height: 1.2;
	color: #ffffff !important;
}

.tour-hero-quick-meta {
	display: flex;
	gap: 1.5rem;
	font-size: 1rem;
	font-weight: 500;
}

.tour-hero-quick-meta span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.tour-hero-quick-meta i {
	color: var(--color-secondary);
}

/* Content Grid */
.tour-single-content-wrapper {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 40px;
	padding-top: 4rem;
	padding-bottom: 5rem;
	align-items: start;
}

/* Left Content */
.tour-single-section {
	background: #fff;
	border-radius: 12px;
	padding: 2.5rem;
	box-shadow: 0 4px 20px rgba(0,0,0,0.03);
	margin-bottom: 2rem;
	border: 1px solid rgba(0,0,0,0.04);
}

.tour-section-title {
	font-size: 1.6rem;
	color: var(--color-primary);
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid var(--color-bg-gray);
}

/* Highlights Grid */
.tour-highlights-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1.5rem;
	margin-top: 2rem;
	background: #f9fafc;
	padding: 1.5rem;
	border-radius: 8px;
}

.highlight-item {
	display: flex;
	align-items: center;
	gap: 15px;
}

.highlight-item i {
	font-size: 1.8rem;
	color: var(--color-secondary);
}

.highlight-info {
	display: flex;
	flex-direction: column;
}

.highlight-info strong {
	color: var(--color-primary);
	font-size: 0.95rem;
}

.highlight-info span {
	color: var(--color-text-muted);
	font-size: 0.85rem;
}

/* Itinerary & FAQs */
.itinerary-list, .tour-faq-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.itinerary-item, .faq-item {
	border: 1px solid var(--color-bg-gray);
	border-radius: 8px;
	overflow: hidden;
}

.itinerary-header, .faq-header {
	background: #fafafa;
	padding: 1.2rem;
	display: flex;
	align-items: center;
	cursor: pointer;
	transition: background 0.2s;
}

.itinerary-header:hover, .faq-header:hover {
	background: #f0f2f4;
}

.itinerary-marker {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--color-secondary);
	margin-right: 15px;
}

.itinerary-day-title, .faq-question {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--color-primary);
	margin: 0;
	flex-grow: 1;
}

.toggle-icon {
	color: var(--color-primary);
	transition: transform 0.3s;
}

.itinerary-item.active .toggle-icon, .faq-item.active .toggle-icon {
	transform: rotate(180deg);
}

.itinerary-body, .faq-body {
	display: none;
	padding: 1.5rem;
	background: #fff;
	border-top: 1px solid var(--color-bg-gray);
	color: var(--color-text-muted);
	line-height: 1.6;
}

/* Services */
.tour-services-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}

.services-box {
	background: #f9fafc;
	padding: 1.5rem;
	border-radius: 8px;
}

.services-box h4 {
	font-size: 1.1rem;
	margin-bottom: 1rem;
	margin-top: 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.services-box.includes h4 { color: #28a745; }
.services-box.excludes h4 { color: #dc3545; }
.services-box.recommendations h4 { color: var(--color-secondary); }
.services-box.recommendations { grid-column: 1 / -1; }

.services-content ul {
	padding-left: 1.2rem;
	color: var(--color-text-muted);
}
.services-content li {
	margin-bottom: 0.5rem;
}

/* Right Content (Sticky) */
.tour-single-right {
	position: sticky;
	top: 100px;
}

.tour-booking-widget {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
	border: 1px solid rgba(0,0,0,0.04);
	overflow: hidden;
}

.booking-widget-header {
	background: var(--color-primary);
	color: #fff;
	padding: 1.5rem;
	text-align: center;
}

.booking-price-label {
	display: block;
	font-size: 0.9rem;
	opacity: 0.8;
}

.booking-price {
	margin: 0;
	font-size: 2.4rem;
	color: var(--color-secondary);
}

.booking-widget-body {
	padding: 2rem;
}

.booking-widget-features {
	background: #f9fafc;
	padding: 1.2rem;
	border-top: 1px solid var(--color-bg-gray);
}

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

.booking-widget-features li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.85rem;
	color: var(--color-text-muted);
	margin-bottom: 0.6rem;
}

.booking-widget-features li i {
	color: var(--color-secondary);
}

.booking-widget-features li:last-child { margin-bottom: 0; }

/* Booking form default override styling */
.tour-booking-widget .quantity { display: none !important; }
.tour-booking-widget form.cart { display: flex; flex-direction: column; gap: 15px; }
.tour-booking-widget .single_add_to_cart_button {
	background: var(--color-secondary);
	color: #fff;
	border: none;
	padding: 15px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 1.1rem;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.3s;
}
.tour-booking-widget .single_add_to_cart_button:hover { background: #c58604; }

/* Responsive */
@media (max-width: 992px) {
	.tour-single-content-wrapper {
		grid-template-columns: 1fr;
	}
	.tour-single-right {
		position: static;
		order: -1;
	}
}

@media (max-width: 768px) {
	.tour-services-grid { grid-template-columns: 1fr; }
	.tour-hero-title { font-size: 2.2rem; }
	.tour-hero-quick-meta { flex-direction: column; gap: 0.5rem; }
	.tour-single-section { padding: 1.5rem; }
}

/* Packing List */
.packing-category-title {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--color-primary);
	text-transform: uppercase;
	margin-top: 2rem;
	margin-bottom: 1.5rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--color-bg-gray);
	display: block;
}

.packing-category-title:first-child {
	margin-top: 0.5rem;
}

.packing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 1.5rem;
	margin-bottom: 2.5rem;
}

.packing-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.packing-img-wrap {
	width: 100%;
	aspect-ratio: 1 / 1;
	background: #f7f9fa;
	border: 1px solid rgba(0,0,0,0.03);
	border-radius: 8px;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	transition: all 0.3s ease;
}

.packing-img-wrap:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.packing-img-wrap img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.packing-icon-fallback {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-secondary);
	font-size: 2.5rem;
	opacity: 0.8;
}

.packing-item-title {
	font-size: 0.85rem;
	color: var(--color-text-muted);
	line-height: 1.4;
	font-weight: 500;
}

/* Responsive Overrides specific to packing */
@media (max-width: 480px) {
	.packing-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}
}

/* Custom Booking Form Widget */
.custom-booking-form {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.booking-form-section {
	width: 100%;
}

.bf-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
}

.bf-title {
	font-weight: 600;
	color: var(--color-primary);
	font-size: 1.05rem;
}

.bf-subtitle {
	color: var(--color-primary); /* Graphic line matching */
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.9rem;
	letter-spacing: 0.5px;
}

#tour-date-picker {
	display: none !important;
}

/* Flatpickr Override for Inline styling */
.flatpickr-calendar.inline {
	width: 100% !important;
	box-shadow: 0 4px 15px rgba(0,0,0,0.05);
	border: 1px solid rgba(0,0,0,0.02);
	border-radius: 12px;
	padding: 10px;
}

.flatpickr-day.selected {
	background: var(--color-primary) !important;
	border-color: var(--color-primary) !important;
}

/* Guest Count Box */
.guest-count-box {
	background: #f4f6f8;
	padding: 1.2rem;
	border-radius: 12px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.guest-info {
	display: flex;
	flex-direction: column;
}

.guest-info .bf-desc {
	font-size: 0.8rem;
	color: var(--color-text-muted);
	margin-top: 2px;
}

.guest-counter {
	display: flex;
	align-items: center;
	background: #fff;
	border-radius: 30px;
	padding: 5px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.gc-btn {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s;
}

.gc-minus {
	background: transparent;
	color: var(--color-primary);
}

.gc-plus {
	background: var(--color-secondary);
	color: #fff;
}

.guest-counter input {
	width: 30px;
	text-align: center;
	border: none;
	background: transparent;
	font-weight: 700;
	font-size: 1.1rem;
	color: var(--color-primary);
	padding: 0;
	pointer-events: none;
}
.guest-counter input::-webkit-outer-spin-button, 
.guest-counter input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Summary Footer */
.booking-summary-box {
	padding-top: 1.5rem;
	border-top: 1px solid var(--color-bg-gray);
}

.summary-total {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: stretch;
}

.st-labels {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

.st-text {
	font-size: 0.9rem;
	color: var(--color-text-muted);
	font-weight: 600;
	margin: 0;
}

.st-price {
	font-size: 1.8rem;
	margin: 0;
	color: var(--color-primary);
}

.book-now-btn {
	background: var(--color-secondary);
	color: #fff;
	border: none;
	padding: 16px 28px;
	border-radius: 30px;
	font-weight: 600;
	font-size: 0.9rem;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	gap: 10px;
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(200, 140, 10, 0.3);
	text-transform: uppercase;
	width: 100%;
}

.book-now-btn:hover {
	background: #c58604;
	transform: translateY(-2px);
}

/* ==========================================================================
   WooCommerce Cart & Checkout Restyling
   ========================================================================== */

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
	max-width: 1200px;
	margin: 0 auto;
	padding: 4rem 15px;
}

.woocommerce table.shop_table {
	border-radius: 12px;
	border: 1px solid var(--color-bg-gray);
}

.woocommerce table.shop_table th {
	background: var(--color-bg-gray);
	font-weight: 700;
	color: var(--color-primary);
	text-transform: uppercase;
	border: none;
}

.woocommerce-cart .cart-collaterals .cart_totals {
	background: #f9fafc;
	border-radius: 12px;
	padding: 2rem;
	border: 1px solid rgba(0,0,0,0.03);
}

.woocommerce-cart .checkout-button,
.woocommerce-checkout #payment #place_order {
	background: var(--color-secondary) !important;
	color: #fff !important;
	border-radius: 30px !important;
	padding: 15px 30px !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	transition: all 0.3s ease !important;
	display: block;
	text-align: center;
	margin-top: 1rem;
}

.woocommerce-cart .checkout-button:hover,
.woocommerce-checkout #payment #place_order:hover {
	background: #c58604 !important;
	transform: translateY(-2px);
}

.woocommerce-checkout h3 {
	color: var(--color-primary);
	margin-bottom: 1.5rem;
	border-bottom: 2px solid var(--color-bg-gray);
	padding-bottom: 0.5rem;
}

.woocommerce form .form-row input.input-text, 
.woocommerce form .form-row textarea {
	border: 1px solid #dee2e6;
	border-radius: 8px;
	padding: 12px;
}

.woocommerce form .form-row input.input-text:focus, 
.woocommerce form .form-row textarea:focus {
	border-color: var(--color-primary);
	box-shadow: 0 0 0 2px rgba(16, 64, 46, 0.1);
	outline: none;
}

.woocommerce-checkout #payment {
	background: #f9fafc !important;
	border-radius: 12px !important;
}
.woocommerce-checkout #payment div.payment_box {
	background: #fff !important;
	border: 1px solid #dee2e6;
}
.woocommerce-checkout #payment div.payment_box::before {
	border-bottom-color: #dee2e6 !important;
}

/* ==========================================================================
   WooCommerce Gutenberg Cart Blocks Modernization
   ========================================================================== */

/* Button overrides for blocks */
.wc-block-components-button:not(.is-link) {
    background: var(--color-secondary) !important;
    color: #ffffff !important;
    border-radius: 30px !important;
    padding: 16px 30px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(200, 140, 10, 0.3) !important;
    transition: all 0.3s ease !important;
}

.wc-block-components-button:not(.is-link):hover {
    background: #c58604 !important;
    transform: translateY(-2px);
}

/* Titles and Meta */
.wc-block-components-product-name {
    color: var(--color-primary) !important;
    font-weight: 700 !important;
    font-size: 1.15rem !important;
    text-decoration: none !important;
}

.wc-block-components-product-price {
    font-weight: 700 !important;
    color: var(--color-text) !important;
}

.wc-block-components-product-metadata__item {
    font-size: 0.85rem !important;
    color: var(--color-text-muted) !important;
    background: #f7f9fa;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
    margin-top: 6px;
    border: 1px solid rgba(0,0,0,0.03);
}

/* Hide Excerpt in cart to prevent crowding */
.wc-block-components-product-details__description {
    display: none !important; 
}

/* Cart Wrapper Panel */
.wc-block-components-sidebar {
    background: #f9fafc !important;
    border-radius: 12px !important;
    border: 1px solid var(--color-bg-gray) !important;
    padding: 2.5rem !important;
}

.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value {
    color: var(--color-primary) !important;
    font-weight: 600 !important;
}

.wc-block-components-totals-item--estimated-total {
    border-top: 2px solid var(--color-bg-gray) !important;
    padding-top: 1.5rem !important;
    margin-top: 1rem !important;
}

.wc-block-components-totals-item--estimated-total .wc-block-components-totals-item__value {
    font-size: 1.6rem !important;
}

/* Titles */
.wc-block-components-title {
    color: var(--color-primary) !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Classic Checkout UI/UX Overhaul for Travel Agency
   ========================================================================== */

/* Structure: Two columns on desktop */
.woocommerce-checkout .col2-set {
	width: 55%;
	float: left;
}

.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
	width: 40%;
	float: right;
	clear: right;
}

@media (max-width: 991px) {
	.woocommerce-checkout .col2-set,
	.woocommerce-checkout #order_review_heading,
	.woocommerce-checkout #order_review {
		width: 100%;
		float: none;
	}
}

/* Titles */
.woocommerce-checkout h3 {
	color: var(--color-primary);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-bottom: 2px solid var(--color-bg-gray);
	padding-bottom: 0.8rem;
	margin-top: 2rem;
	margin-bottom: 1.5rem;
}

/* Order Summary Box #order_review */
.woocommerce-checkout #order_review {
	background: #f9fafc;
	border-radius: 12px;
	border: 1px solid var(--color-bg-gray);
	padding: 2.5rem;
	position: sticky;
	top: 120px;
}

.woocommerce-checkout table.shop_table {
	border-collapse: collapse;
	width: 100%;
	border: none;
	border-radius: 0;
}

.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td {
	border-top: 1px solid #e5e5e5;
	padding: 1rem 0;
	border-bottom: none;
	border-left: none;
	border-right: none;
}

.woocommerce-checkout table.shop_table th {
	background: transparent;
	color: var(--color-primary);
}

.woocommerce-checkout table.shop_table tfoot th,
.woocommerce-checkout table.shop_table tfoot td {
	border-top: 2px solid var(--color-bg-gray);
}

/* Payment Gateway Box */
.woocommerce-checkout #payment {
	background: transparent !important;
	border-radius: 0 !important;
	padding: 0 !important;
	margin-top: 2rem;
}

.woocommerce-checkout #payment ul.payment_methods {
	border-bottom: 1px solid #e5e5e5;
	padding: 0 0 1rem 0;
}

.woocommerce-checkout #payment div.payment_box {
	background: #ffffff !important;
	border: 1px solid #dee2e6;
	border-radius: 8px;
	color: #4a5568;
	font-size: 0.9rem;
	padding: 1.5rem;
}

.woocommerce-checkout #payment div.payment_box::before {
	display: none; /* Hide the weird arrow */
}

/* Form Fields Optimization */
.woocommerce form .form-row {
	margin-bottom: 1.5rem;
}

.woocommerce form .form-row label {
	font-weight: 600;
	color: #2d3748;
	margin-bottom: 0.5rem;
	display: block;
}

.woocommerce form .form-row input.input-text, 
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	border: 1px solid #cbd5e0;
	border-radius: 8px;
	padding: 14px 16px;
	width: 100%;
	transition: all 0.2s ease;
	background: #ffffff;
}

.woocommerce form .form-row input.input-text:focus, 
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(16, 64, 46, 0.1);
	outline: none;
}

/* Traveler Cards (Injected earlier) */
.traveler-card {
	transition: transform 0.3s ease;
}
.traveler-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* Place Order Button UX */
.woocommerce-checkout #payment #place_order {
	width: 100%;
	font-size: 1.1rem !important;
	padding: 18px 30px !important;
	margin-top: 1.5rem !important;
	letter-spacing: 0.5px;
}
