/*
Theme Name: Remoun Hybrid
Theme URI: https://peteremoun.com/themes/remoun-hybrid
Author: Remoun Studio
Author URI: https://peteremoun.com
Description: A modern travel WordPress theme with Elementor compatibility, GSAP animations, and RTL support.
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
Version: 2.0.0
Text Domain: remoun-hybrid
Tags: full-site-editing, block-styles, rtl-language-support, custom-colors, wide-blocks, animation, elementor
*/

:root {
	--primary: #0ea5e9;
	--primary-dark: #0284c7;
	--secondary: #0f172a;
	--accent: #10b981;
	--bg: #ffffff;
	--text: #0f172a;
	--muted: #64748b;
	--radius-lg: 24px;
	--radius-md: 18px;
	--shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
	--shadow-card: 0 20px 60px rgba(15, 23, 42, 0.12);
	--transition: 0.3s ease;
	--spacing-section: clamp(80px, 11vw, 150px);
	--spacing-inner: clamp(24px, 6vw, 60px);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	font-family: "Cairo", "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
	background: var(--bg);
	color: var(--text);
	margin: 0;
	line-height: 1.6;
	scroll-behavior: smooth;
}

body::after {
	content: "";
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.35);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s ease;
	z-index: 9998;
}

body.page-transition::after {
	opacity: 1;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color var(--transition);
}

a:hover,
a:focus {
	color: var(--primary);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.preloader {
	position: fixed;
	inset: 0;
	display: grid;
	place-items: center;
	background: #0f172a;
	z-index: 9999;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

.preloader.is-hidden {
	opacity: 0;
	visibility: hidden;
}

.preloader__logo {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	color: var(--primary);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.preloader__spinner {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 4px solid rgba(255, 255, 255, 0.2);
	border-top-color: var(--primary);
	animation: spin 1s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	backdrop-filter: blur(10px);
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
	transition: background var(--transition), box-shadow var(--transition), transform var(--transition), padding var(--transition);
}

.site-header.is-shrunk {
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
	transform: translateY(-4px);
}

.header-static {
	position: relative;
	box-shadow: none;
}

.header-static.is-shrunk {
	transform: none;
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
}

.site-header__brand {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.site-header__tagline {
	margin: 0;
	color: var(--muted);
}

.site-header__nav {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
}

.site-header__nav nav + .header-cta {
	margin-left: auto;
}

.header-layout-centered .site-header__inner {
	flex-direction: column;
	text-align: center;
}

.header-layout-centered .site-header__brand {
	align-items: center;
}

.header-layout-centered .site-header__nav {
	width: 100%;
	justify-content: center;
}

.header-layout-split .site-header__nav {
	gap: 20px;
	flex: 1;
}

.header-layout-split .primary-nav {
	margin: 0 auto;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--primary);
	color: #fff;
	padding: 12px 18px;
	border-radius: 999px;
	transition: var(--transition);
}

.skip-link:focus {
	left: 16px;
}

.logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	font-size: 1rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--secondary);
	text-decoration: none;
	transition: color var(--transition);
}

.logo:hover,
.logo:focus {
	color: var(--primary);
}

.site-logo__img {
	max-height: 48px;
	width: auto;
	height: auto;
	display: block;
}

.site-logo__text {
	display: inline-block;
	font-size: 1rem;
}

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	border: 1px solid rgba(15, 23, 42, 0.15);
	background: #fff;
	padding: 0;
	cursor: pointer;
	transition: background var(--transition), border-color var(--transition);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
	content: "";
	display: block;
	width: 22px;
	height: 2px;
	background: var(--secondary);
	transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle:hover,
.nav-toggle:focus {
	border-color: rgba(14, 165, 233, 0.5);
}

.nav-toggle::before {
	transform: translateY(-6px);
}

.nav-toggle::after {
	transform: translateY(6px);
}

.nav-toggle.is-open::before {
	transform: translateY(0) rotate(45deg);
}

.nav-toggle.is-open span {
	opacity: 0;
}

.nav-toggle.is-open::after {
	transform: translateY(0) rotate(-45deg);
}

.primary-nav {
	display: flex;
	align-items: center;
	gap: 28px;
	position: relative;
}

@media (min-width: 1024px) {
	.primary-nav[hidden] {
		display: flex !important;
	}
}

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

.primary-nav__list li {
	margin: 0;
}

.primary-nav a {
	color: var(--secondary);
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.04em;
	text-decoration: none;
	position: relative;
	padding: 8px 4px;
	transition: color var(--transition);
}

.primary-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 2px;
	background: var(--primary);
	transition: width var(--transition);
}

.primary-nav a:hover,
.primary-nav a:focus {
	color: var(--primary);
}

.primary-nav a:hover::after,
.primary-nav a:focus::after {
	width: 100%;
}

.site-header__nav .header-cta {
	margin-left: 0;
}

.home-hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--spacing-inner);
	color: #fff;
	text-align: center;
	overflow: hidden;
}

.hero-media {
	position: absolute;
	inset: 0;
	z-index: -3;
}

.hero-video,
.hero-poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-video {
	opacity: 0.85;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(130deg, rgba(15, 23, 42, 0.85), rgba(2, 132, 199, 0.65));
	z-index: -2;
}

.hero-inner {
	max-width: 840px;
	display: grid;
	gap: 18px;
	padding: clamp(48px, 8vw, 80px);
	border-radius: var(--radius-lg);
	backdrop-filter: blur(8px);
	background: rgba(15, 23, 42, 0.35);
	box-shadow: 0 30px 70px rgba(15, 23, 42, 0.35);
}

.hero-kicker {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.32em;
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
}

.home-hero h1 {
	margin: 0;
	font-size: clamp(2.8rem, 5.8vw, 4.2rem);
	line-height: 1.15;
}

.hero-locations {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.85);
}

.hero-locations li {
	margin-bottom: 4px;
}

.hero-subtitle {
	margin: 0;
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-top: 8px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 32px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
	border: none;
	cursor: pointer;
}

.btn-primary {
	background: linear-gradient(135deg, var(--primary), var(--primary-dark));
	color: #fff;
	box-shadow: 0 18px 45px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover,
.btn-primary:focus {
	transform: translateY(-4px);
	box-shadow: 0 28px 65px rgba(14, 165, 233, 0.45);
}

.btn-outline {
	border: 2px solid rgba(255, 255, 255, 0.7);
	background: transparent;
	color: #fff;
}

.btn-outline:hover,
.btn-outline:focus {
	background: rgba(255, 255, 255, 0.15);
}

.btn-light {
	background: #fff;
	color: var(--secondary);
	box-shadow: 0 18px 42px rgba(255, 255, 255, 0.18);
}

.btn-light:hover,
.btn-light:focus {
	color: #fff;
	background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.scroll-hint {
	margin: 24px auto 0;
	width: 44px;
	height: 70px;
	border-radius: 22px;
	border: 2px solid rgba(255, 255, 255, 0.6);
	background: transparent;
	display: inline-flex;
	align-items: flex-start;
	justify-content: center;
	padding: 10px;
	position: relative;
	cursor: pointer;
	transition: border-color var(--transition), transform var(--transition);
}

.scroll-hint span {
	display: block;
	width: 6px;
	height: 16px;
	background: #fff;
	border-radius: 999px;
	animation: scroll-bounce 2.4s infinite;
}

.scroll-hint:hover,
.scroll-hint:focus {
	border-color: #fff;
	transform: translateY(4px);
}

@keyframes scroll-bounce {
	0% {
		transform: translateY(0);
		opacity: 1;
	}

	50% {
		transform: translateY(14px);
		opacity: 0.4;
	}

	100% {
		transform: translateY(0);
		opacity: 1;
	}
}

.home-section {
	padding: var(--spacing-section) var(--spacing-inner);
	position: relative;
}

.home-section .section-heading {
	max-width: 760px;
	margin: 0 auto var(--spacing-inner);
	text-align: center;
	display: grid;
	gap: 12px;
}

.home-section .section-heading h2 {
	margin: 0;
	font-size: clamp(1.9rem, 3.6vw, 2.6rem);
	color: var(--secondary);
}

.home-section .section-heading p {
	margin: 0;
	color: var(--muted);
	font-size: 1.05rem;
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: clamp(18px, 3vw, 32px);
}

.service-card {
	background: #ffffff;
	border-radius: var(--radius-md);
	padding: 28px 26px;
	box-shadow: var(--shadow-soft);
	display: grid;
	gap: 12px;
	text-align: left;
	transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
	border: 1px solid rgba(14, 165, 233, 0.08);
}

.service-card h3 {
	margin: 0;
	font-size: 1.2rem;
	color: var(--secondary);
}

.service-card p {
	margin: 0;
	color: var(--muted);
}

.service-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(2, 132, 199, 0.32));
	color: var(--secondary);
	font-size: 1.35rem;
}

.service-card:hover,
.service-card:focus-within {
	transform: translateY(-6px);
	box-shadow: var(--shadow-card);
	border-color: rgba(14, 165, 233, 0.18);
}

.destination-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: clamp(18px, 3vw, 28px);
}

.destination-card {
	position: relative;
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-soft);
}

.destination-card img {
	width: 100%;
	height: 280px;
	object-fit: cover;
	transition: transform 0.6s ease, filter 0.6s ease;
}

.destination-card figcaption {
	position: absolute;
	inset: auto 0 0;
	padding: 18px 22px;
	background: linear-gradient(0deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0));
	color: #fff;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.destination-card:hover img,
.destination-card:focus-within img {
	transform: scale(1.06);
	filter: saturate(1.15);
}

.why-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: clamp(18px, 3vw, 28px);
}

.why-card {
	background: #ffffff;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-soft);
	padding: clamp(26px, 3vw, 32px);
	display: grid;
	gap: 12px;
	justify-items: start;
	transition: transform var(--transition), box-shadow var(--transition);
}

.why-card:hover,
.why-card:focus-within {
	transform: translateY(-6px);
	box-shadow: var(--shadow-card);
}

.why-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(2, 132, 199, 0.3));
	color: var(--secondary);
	font-size: 1.35rem;
}

.why-card h3 {
	margin: 0;
	font-size: 1.15rem;
	color: var(--secondary);
}

.why-card p {
	margin: 0;
	color: var(--muted);
	line-height: 1.6;
}

.archive-main {
	display: grid;
	gap: clamp(40px, 6vw, 64px);
}

.archive-hero {
	text-align: center;
	background: #f8fafd;
	border-radius: 26px;
	box-shadow: var(--shadow-soft);
	padding: clamp(32px, 5vw, 48px);
}

.archive-hero .rh-breadcrumbs {
	justify-content: center;
}

.archive-hero__intro {
	margin: 0;
	color: var(--muted);
}

.archive-card {
	background: #ffffff;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-soft);
	transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
	display: grid;
	gap: 14px;
	border: 1px solid rgba(14, 165, 233, 0.12);
	padding: 20px;
}

.archive-card:hover,
.archive-card:focus-within {
	transform: translateY(-6px);
	box-shadow: var(--shadow-card);
}

.archive-readmore {
	color: var(--primary);
	font-weight: 600;
	text-decoration: none;
}

.archive-readmore:hover,
.archive-readmore:focus {
	text-decoration: underline;
}

.archive-pagination {
	margin-top: clamp(32px, 6vw, 48px);
	gap: 16px !important;
}

.archive-pagination a,
.archive-pagination span {
	padding: 10px 16px;
	border-radius: 999px;
	border: 1px solid rgba(15, 23, 42, 0.15);
}

.archive-card__image img {
	height: 220px;
	object-fit: cover;
}

.testimonial-carousel {
	position: relative;
	max-width: 820px;
	margin: 0 auto;
	min-height: 220px;
}

.testimonial-item {
	background: #ffffff;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-soft);
	padding: clamp(28px, 4vw, 44px);
	text-align: left;
	display: grid;
	gap: 18px;
}

.testimonial-quote {
	font-size: 1.1rem;
	color: var(--secondary);
	margin: 0;
}

.testimonial-author {
	margin: 0;
	color: var(--muted);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.85rem;
}

.home-cta {
	position: relative;
	color: #ffffff;
	text-align: center;
	background: linear-gradient(135deg, var(--primary), var(--primary-dark));
	overflow: hidden;
}

.home-cta::after {
	content: "";
	position: absolute;
	inset: 20%;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	filter: blur(80px);
	z-index: 0;
}

.home-cta .cta-inner {
	position: relative;
	z-index: 1;
	max-width: 640px;
	margin: 0 auto;
	display: grid;
	gap: 16px;
}

.home-cta h2 {
	margin: 0;
	font-size: clamp(2rem, 4vw, 2.6rem);
}

.home-cta p {
	margin: 0;
	font-size: 1.05rem;
	color: rgba(255, 255, 255, 0.85);
}

.site-footer {
	background: var(--secondary);
	color: rgba(255, 255, 255, 0.82);
	text-align: center;
	padding: 40px 18px;
	font-size: 0.95rem;
	position: relative;
	animation: footer-fade 0.9s ease both;
}

.site-footer a {
	color: var(--primary);
	text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
	text-decoration: underline;
}

.footer-grid {
	display: grid;
}

body.rh-footer-cols-2 .footer-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.rh-footer-cols-3 .footer-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.rh-footer-cols-4 .footer-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-footer__social {
	list-style: none;
	padding: 0;
	justify-content: center;
	margin-top: 18px;
	gap: 14px !important;
}

.site-footer__social li {
	margin: 0;
}

.site-footer__social-link {
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}

.site-footer__social-link:hover,
.site-footer__social-link:focus {
	text-decoration: underline;
}

.footer-contact__phone {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
}

.footer-contact__phone:hover,
.footer-contact__phone:focus {
	text-decoration: underline;
}

@keyframes footer-fade {
	from {
		opacity: 0;
		transform: translateY(12px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

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

	.nav-toggle {
		display: inline-flex;
	}

	.site-header__nav {
		width: 100%;
		justify-content: flex-end;
	}

	.header-layout-centered .site-header__nav {
		justify-content: center;
	}

	.primary-nav {
		position: absolute;
		top: calc(100% + 16px);
		right: 0;
		left: 0;
		background: rgba(255, 255, 255, 0.98);
		flex-direction: column;
		align-items: center;
		padding: 22px 18px;
		box-shadow: var(--shadow-soft);
		border-radius: var(--radius-md);
		gap: 12px;
		z-index: 999;
	}

	.header-layout-centered .primary-nav {
		right: 16px;
		left: 16px;
	}

	.primary-nav a {
		padding: 10px 0;
		width: 100%;
		text-align: center;
	}

	.primary-nav.is-collapsed {
		display: none;
	}

	.header-cta {
		width: 100%;
		text-align: center;
	}
}

.home-section {
	padding: clamp(60px, 12vw, 100px) clamp(20px, 6vw, 48px);
}

@media (max-width: 640px) {
	.hero-inner {
		padding: 38px 24px;
	}

	.hero-actions {
		width: 100%;
	}

	.btn {
		width: 100%;
	}

	.home-section {
		padding: clamp(48px, 14vw, 80px) clamp(18px, 8vw, 36px);
	}

	.testimonial-item {
		padding: 24px;
	}
}

.container {
	max-width: 1200px;
	position: relative;
	margin: 0 auto;
	padding: 0 clamp(20px, 5vw, 40px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.rh-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 18px;
	font-size: 0.9rem;
	color: var(--muted);
}

.rh-breadcrumbs ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.rh-breadcrumbs li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.rh-breadcrumbs a {
	color: var(--muted);
	text-decoration: none;
}

.rh-breadcrumbs a:hover,
.rh-breadcrumbs a:focus {
	color: var(--primary);
	text-decoration: underline;
}
.single-main {
	background: none;
}

.single-header {
	margin-bottom: 24px;
}

.single-meta {
	gap: 10px;
	color: var(--muted);
	font-size: 0.95rem;
}

.single-meta__separator {
	margin: 0;
	color: var(--muted);
}

.single-hero__image {
	margin: clamp(24px, 4vw, 40px) 0;
	box-shadow: var(--shadow-soft);
}

.single-content {
	color: var(--text);
	font-size: 1.05rem;
	line-height: 1.75;
}

.single-content p {
	margin-bottom: 1.6em;
}

.single-content h2 {
	margin-top: 2.2em;
	margin-bottom: 0.9em;
	font-size: clamp(1.6rem, 3.4vw, 2rem);
}

.single-content h3 {
	margin-top: 1.8em;
	margin-bottom: 0.8em;
	font-size: clamp(1.3rem, 3vw, 1.6rem);
}

.single-share {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding: 18px 22px;
	border: 1px solid rgba(14, 165, 233, 0.12);
	border-radius: var(--radius-md);
	background: rgba(14, 165, 233, 0.08);
}

.single-share__label {
	margin: 0;
	font-weight: 600;
	color: var(--secondary);
}

.single-share__link {
	color: var(--primary);
	font-weight: 600;
	text-decoration: none;
}

.single-share__link:hover,
.single-share__link:focus {
	text-decoration: underline;
}

.author-box {
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: 20px;
	padding: clamp(24px, 4vw, 32px);
	border-radius: var(--radius-md);
	background: #f6fbff;
	box-shadow: var(--shadow-soft);
	align-items: center;
}

.author-box__avatar img {
	border-radius: 50%;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

.author-box__name {
	margin: 0 0 8px;
	font-size: 1.3rem;
	color: var(--secondary);
}

.author-box__bio {
	margin: 0 0 12px;
	color: var(--muted);
}

.author-box__links a {
	margin-right: 16px;
	color: var(--primary);
	font-weight: 600;
	text-decoration: none;
}

.author-box__links a:hover,
.author-box__links a:focus {
	text-decoration: underline;
}

.single-nav {
	margin-top: clamp(36px, 6vw, 60px);
	border-top: 1px solid rgba(15, 23, 42, 0.1);
	padding-top: 24px;
	gap: 12px;
}

.single-nav a {
	color: var(--primary);
	text-decoration: none;
	font-weight: 600;
}

.single-nav a:hover,
.single-nav a:focus {
	text-decoration: underline;
}
