/*!
Theme Name: salkantayexpeditions
Theme URI: salkantayexpeditions.com
Author: Roel Jhonatan
Author URI: https://facebook.com/roelote
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: salkantayexpeditions
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

salkantayexpeditions is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* Desktop dropdown menu */
.nav-has-dd:hover > .nav-dropdown { display: block; }
.nav-dropdown {
	animation: fadeDown 0.2s ease;
	margin-top: 0;
	min-width: 260px;
	padding: 8px;
	background: #ffffff;
	border: 1px solid rgba(25, 70, 92, 0.14);
	border-radius: 14px;
	box-shadow: 0 18px 36px rgba(25, 70, 92, 0.14);
}

.nav-has-fly:hover > .nav-flyout { display: block; }
.nav-flyout {
	animation: fadeRight 0.2s ease;
	margin-left: 0;
	min-width: 240px;
	padding: 8px;
	background: #ffffff;
	border: 1px solid rgba(25, 70, 92, 0.14);
	border-radius: 14px;
	box-shadow: 0 16px 32px rgba(25, 70, 92, 0.12);
}

.nav-dropdown > div + div,
.nav-flyout > div + div {
	border-top: 1px dashed rgba(25, 70, 92, 0.16);
}

.nav-has-dd:hover .nav-arrow-down {
	transform: rotate(180deg);
}

.nav-link { position: relative; }
.nav-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 2px;
	background-color: #cc6733;
	transition: width 0.3s ease;
}
.nav-link:hover::after { width: 80%; }

.nav-top-link {
	border-radius: 8px;
}

.nav-sub-link,
.nav-fly-link {
	position: relative;
	padding: 10px 12px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	color: #19465c;
	text-decoration: none;
	border-radius: 10px;
	transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.nav-sub-link {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	padding-right: 34px;
}

.nav-sub-link.nav-sub-link-has-children {
	justify-content: flex-start;
}

.nav-sub-link.nav-sub-link-has-children .w-3.h-3.opacity-50.flex-shrink-0 {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
}

.nav-fly-link {
	display: flex;
	align-items: center;
	font-size: 12px;
	font-weight: 500;
}

.nav-sub-link:hover,
.nav-fly-link:hover {
	background: rgba(25, 70, 92, 0.08);
	color: #cc6733;
	padding-left: 16px;
}

.nav-sub-dot {
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: #cc6733;
	flex-shrink: 0;
	display: none;
}

.nav-fly-dot {
	width: 5px;
	height: 5px;
	border-radius: 999px;
	background: rgba(204, 103, 51, 0.8);
	flex-shrink: 0;
	display: none;
}

@keyframes fadeDown {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeRight {
	from { opacity: 0; transform: translateX(-6px); }
	to { opacity: 1; transform: translateX(0); }
}

/* Mobile sidebar */
body.mob-open { overflow: hidden; }

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

.nav-mobile > li {
	border-bottom: 1px solid #f0f0f0;
}

.nav-mobile > li > a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 15px 22px;
	font-size: 15px;
	font-weight: 600;
	color: #1f2937;
	text-decoration: none;
	transition: background 0.15s, color 0.15s;
	font-family: 'Poppins', sans-serif;
}

.nav-mobile > li > a:hover,
.nav-mobile > li > a.mob-active {
	background: rgba(25, 70, 92, 0.08);
	color: #cc6733;
}

.nav-mobile .sub-menu {
	display: none;
	list-style: none;
	padding: 4px 0;
	margin: 0;
	background: #f8f9fa;
	border-top: 1px solid #e9ecef;
}

.nav-mobile .sub-menu > li > a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 11px 22px 11px 30px;
	font-size: 13.5px;
	font-weight: 500;
	color: #374151;
	text-decoration: none;
	transition: background 0.15s, color 0.15s;
	border-bottom: 1px solid #eee;
}

.nav-mobile .sub-menu > li:last-child > a { border-bottom: none; }

.nav-mobile .sub-menu > li > a:hover,
.nav-mobile .sub-menu > li > a.mob-active {
	background: rgba(25, 70, 92, 0.1);
	color: #cc6733;
}

.nav-mobile .sub-menu > li > a::before {
	content: none;
}

.nav-mobile .sub-menu .sub-menu {
	background: rgba(25, 70, 92, 0.08);
	border-top: 1px solid rgba(25, 70, 92, 0.24);
	padding: 2px 0;
}

.nav-mobile .sub-menu .sub-menu > li > a {
	padding-left: 54px;
	font-size: 12.5px;
	color: #4b5563;
	border-bottom: 1px solid rgba(25, 70, 92, 0.15);
}

.nav-mobile .sub-menu .sub-menu > li > a::before {
	content: none;
}

.nav-mobile .mob-open { display: block !important; }

.nav-mobile .menu-item-has-children > a::after {
	content: '\203A';
	margin-left: auto;
	font-size: 22px;
	line-height: 1;
	color: #cc6733;
	transition: transform 0.25s ease;
	flex-shrink: 0;
}

.nav-mobile .menu-item-has-children > a.mob-active::after {
	transform: rotate(90deg);
}

.nav-mobile > li.menu-item-has-children > a {
	padding-right: 16px;
}

/* Header brand and dark menu variant */
.header-branding .custom-logo {
	width: 150px;
	height: auto;
	max-width: 100%;
}

.header-right-panel {
	min-width: 430px;
}

.header-top-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0;
}

.header-top-menu > li {
	position: relative;
	list-style: none;
}

.header-top-menu > li + li {
	margin-left: 12px;
	padding-left: 12px;
}

.header-top-menu > li + li::before {
	content: '|';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-52%);
	color: rgba(255, 255, 255, 0.62);
	font-size: 13px;
	font-weight: 400;
}

.header-top-menu > li > a {
	display: block;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.25;
	text-decoration: none;
	color: #ffffff;
	transition: color 0.2s ease;
}

.header-top-menu > li > a:hover {
	color: #cc6733;
}

.header-phone-row {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	color: #ffffff;
	text-decoration: none;
	transition: color 0.2s ease;
}

.header-phone-row:hover {
	color: #cc6733;
}

@media (max-width: 768px) {
	.header-branding .custom-logo {
		width: 120px;
	}
}

/* Front page: parrafos y vietas */

body.home .site-main .entry-content p {
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 1.75;
	color: #19465c;
	/* text-align: justify; */
}

body.home .site-main .entry-content ul {
	margin: 0 0 20px;
	padding-left: 24px;
	list-style: disc;
}

body.home .site-main .entry-content ul li {
	margin-bottom: 10px;
	padding-left: 4px;
	font-size: 15px;
	line-height: 1.7;
	color: #19465c;
}

body.home .site-main .entry-content ul li::marker {
	color: #19465c;
}

body.home .site-main .entry-content h1 {
	margin: 0 0 16px;
	font-size: 1.875rem;
	line-height: 2.25rem;
	font-weight: 700;
	text-transform: uppercase;
	color: #19465c;
}

@media (min-width: 768px) {
	body.home .site-main .entry-content h1 {
		font-size: 2.25rem;
		line-height: 2.5rem;
	}
}

body.home .site-main .entry-content strong {
	color: #19465c;
	font-weight: 600;
}

body.home .site-main .entry-content a {
	color: #f97316;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.home .site-main .entry-content a:hover {
	color: #ea580c;
}

/* Contact Us modal - Contact Form 7 styling */
.se-cf7-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

.se-contact-form .se-cf7-field-full {
	margin-top: 16px;
}

.se-contact-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 12.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #19465c;
}

.se-contact-form .wpcf7-form-control {
	width: 100%;
	padding: 12px 14px;
	font-size: 14px;
	font-family: 'Inter', sans-serif;
	color: #19465c;
	background: #f8f9fa;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.se-contact-form textarea.wpcf7-form-control {
	min-height: 110px;
	resize: vertical;
}

.se-contact-form .wpcf7-form-control::placeholder {
	color: #9ca3af;
}

.se-contact-form .wpcf7-form-control:focus {
	background: #ffffff;
	border-color: #cc6733;
	outline: none;
	box-shadow: 0 0 0 3px rgba(204, 103, 51, 0.15);
}

.se-contact-form .wpcf7-not-valid {
	border-color: #dc2626;
	background: #fef2f2;
}

.se-contact-form .wpcf7-not-valid-tip {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	font-weight: 500;
	color: #dc2626;
}

.se-contact-form .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 10px 14px;
	font-size: 13px;
	border-radius: 10px;
	border: 1px solid #e5e7eb;
	color: #19465c;
}

.se-contact-form form.invalid .wpcf7-response-output {
	color: #dc2626;
	border-color: #fecaca;
	background: #fef2f2;
}

.se-contact-form form.sent .wpcf7-response-output {
	color: #15803d;
	border-color: #bbf7d0;
	background: #f0fdf4;
}

.se-contact-form .wpcf7-spinner {
	margin-left: 10px;
}

.se-contact-form input[type="submit"] {
	width: 100%;
	margin-top: 20px;
	padding: 14px 20px;
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #ffffff;
	background: #cc6733;
	border: none;
	border-radius: 14px;
	cursor: pointer;
	box-shadow: 0 10px 20px -6px rgba(204, 103, 51, 0.5);
	transition: background-color 0.2s ease, transform 0.15s ease;
}

.se-contact-form input[type="submit"]:hover {
	background: #b3572a;
}

.se-contact-form input[type="submit"]:active {
	transform: scale(0.97);
}

.se-contact-form form.submitting input[type="submit"] {
	opacity: 0.7;
	pointer-events: none;
}

/* Related tours swiper */
.relatedToursSwiper {
	padding-bottom: 1rem;
}

.relatedToursSwiper .swiper-button-prev,
.relatedToursSwiper .swiper-button-next {
	top: 40%;
	width: 40px;
	height: 40px;
	background: #ffffff;
	border-radius: 999px;
	box-shadow: 0 8px 20px rgba(25, 70, 92, 0.16);
	color: #19465c;
}

.relatedToursSwiper .swiper-button-prev::after,
.relatedToursSwiper .swiper-button-next::after {
	font-size: 14px;
	font-weight: 700;
}

.relatedToursSwiper .swiper-button-prev:hover,
.relatedToursSwiper .swiper-button-next:hover {
	background: #19465c;
	color: #ffffff;
}

@media (max-width: 767px) {
	.relatedToursSwiper .swiper-button-prev,
	.relatedToursSwiper .swiper-button-next {
		display: none;
	}
}

/* Archive category cards pagination */
.se-archive-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.se-archive-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	font-size: 14px;
	font-weight: 600;
	color: #19465c;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.se-archive-pagination .page-numbers:hover {
	border-color: #cc6733;
	color: #cc6733;
}

.se-archive-pagination .page-numbers.current {
	background: #19465c;
	border-color: #19465c;
	color: #ffffff;
}

.se-archive-pagination .page-numbers.dots {
	border-color: transparent;
	background: transparent;
}
