/*
Theme Name: Arifhajj
Theme URI: https://arifhajj.com
Author: Arif Hajj
Author URI: https://arifhajj.com
Description: A plain, lightweight WordPress theme built from scratch.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: arifhajj
*/

/* -------------------------------------------------- */
/* Brand palette — matched to the archived arifhajj.com
   (Salient theme, accent color #1053a3, light-grey utility
   bar #f8f8f8, white body, Open Sans) */
/* -------------------------------------------------- */
:root {
	--arifhajj-accent: #1053a3;
	--arifhajj-accent-dark: #0c3f7d;
	--arifhajj-text: #676767;
	--arifhajj-heading: #333333;
}

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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: var(--arifhajj-text);
	background: #fff;
}

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

a {
	color: var(--arifhajj-accent);
	text-decoration: none;
}

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

ul,
ol {
	padding-left: 1.4em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	line-height: 1.25;
	margin: 1.4em 0 0.6em;
	font-weight: 700;
	color: var(--arifhajj-heading);
}

table {
	border-collapse: collapse;
	width: 100%;
}

table td,
table th {
	border: 1px solid #ddd;
	padding: 0.5em;
}

/* -------------------------------------------------- */
/* Layout */
/* -------------------------------------------------- */
.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.container {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
}

.site-content {
	flex: 1 0 auto;
	padding: 40px 0;
}

.content-area {
	width: 100%;
}

.has-sidebar .content-area {
	display: flex;
	gap: 40px;
	flex-wrap: wrap;
}

.has-sidebar #primary {
	flex: 1 1 640px;
	min-width: 0;
}

.has-sidebar #secondary {
	flex: 1 1 260px;
}

/* -------------------------------------------------- */
/* Header */
/* -------------------------------------------------- */
.site-header {
	background: #fff;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
	padding: 20px 0;
	position: relative;
	z-index: 20;
}

.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}

.site-branding .site-title {
	margin: 0;
	font-size: 26px;
}

.site-branding .site-title a {
	color: #111;
	text-decoration: none;
}

.site-branding .site-description {
	margin: 4px 0 0;
	font-size: 14px;
	color: #666;
}

.custom-logo {
	max-height: 60px;
	width: auto;
}

/* -------------------------------------------------- */
/* Nav */
/* -------------------------------------------------- */
.main-navigation {
	width: 100%;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	padding: 8px 12px;
	color: #222;
	text-decoration: none;
	position: relative;
}

.main-navigation a::after {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 4px;
	height: 2px;
	background: var(--arifhajj-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.2s ease;
}

.main-navigation a:hover::after,
.main-navigation a:focus::after {
	transform: scaleX(1);
}

.main-navigation ul ul a::after {
	display: none;
}

.main-navigation ul ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 180px;
	background: #fff;
	border: 1px solid #e5e5e5;
	flex-direction: column;
	z-index: 10;
}

.main-navigation li:hover > ul,
.main-navigation li:focus-within > ul {
	display: flex;
}

.menu-toggle {
	display: none;
	background: none;
	border: 1px solid #ccc;
	padding: 8px 12px;
	cursor: pointer;
}

@media (max-width: 700px) {
	.menu-toggle {
		display: inline-block;
	}

	.main-navigation ul {
		flex-direction: column;
		display: none;
	}

	.main-navigation.toggled ul {
		display: flex;
	}

	.main-navigation ul ul {
		position: static;
		border: none;
		display: flex;
	}
}

/* -------------------------------------------------- */
/* Posts */
/* -------------------------------------------------- */
.entry-title {
	margin-top: 0;
}

.entry-title a {
	color: inherit;
}

.entry-meta {
	font-size: 13px;
	color: #777;
	margin-bottom: 1em;
}

.entry-meta a {
	color: inherit;
}

.post,
.page {
	margin-bottom: 3em;
	padding-bottom: 2em;
	border-bottom: 1px solid #eee;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-footer {
	margin-top: 1em;
	font-size: 13px;
	color: #777;
}

.wp-caption,
.wp-caption-text {
	font-size: 13px;
	color: #777;
}

/* Alignment classes */
.alignleft {
	float: left;
	margin: 0.4em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.4em 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin: 1em auto;
}

/* -------------------------------------------------- */
/* Widgets / Sidebar */
/* -------------------------------------------------- */
.widget {
	margin-bottom: 2em;
}

.widget-title {
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-bottom: 2px solid #222;
	padding-bottom: 0.3em;
}

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

.widget li {
	margin-bottom: 0.5em;
}

/* -------------------------------------------------- */
/* Forms */
/* -------------------------------------------------- */
input,
textarea,
select,
button {
	font: inherit;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 2px;
}

button,
input[type="submit"] {
	display: inline-block;
	padding: 8px 18px;
	background: var(--arifhajj-accent);
	color: #fff;
	border: none;
	border-radius: 2px;
	cursor: pointer;
}

button:hover,
input[type="submit"]:hover {
	background: var(--arifhajj-accent-dark);
}

.search-form {
	display: flex;
	gap: 8px;
}

/* -------------------------------------------------- */
/* Comments */
/* -------------------------------------------------- */
.comment-list {
	list-style: none;
	padding-left: 0;
}

.comment-list .children {
	list-style: none;
	padding-left: 30px;
}

.comment-body {
	margin-bottom: 1.5em;
	padding-bottom: 1.5em;
	border-bottom: 1px solid #eee;
}

.comment-meta {
	font-size: 13px;
	color: #777;
}

/* -------------------------------------------------- */
/* Pagination */
/* -------------------------------------------------- */
.pagination,
.post-navigation,
.nav-links {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin: 2em 0;
}

.screen-reader-text {
	position: absolute;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* -------------------------------------------------- */
/* Top bar (phone / social) */
/* -------------------------------------------------- */
.top-bar {
	background: #f8f8f8;
	border-bottom: 1px solid #ddd;
	color: rgba(0, 0, 0, 0.55);
	font-size: 13px;
}

.top-bar .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	padding-top: 8px;
	padding-bottom: 8px;
}

.top-bar a {
	color: rgba(0, 0, 0, 0.55);
}

.top-bar a:hover {
	color: rgba(0, 0, 0, 0.85);
	text-decoration: none;
}

.top-bar .social-links {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 0;
}

.top-bar .social-links a {
	display: flex;
	align-items: center;
	justify-content: center;
}

.top-bar .social-links svg {
	width: 14px;
	height: 14px;
	fill: rgba(0, 0, 0, 0.55);
}

.top-bar .social-links a:hover svg {
	fill: rgba(0, 0, 0, 0.85);
}

.top-bar .top-phone {
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 6px;
}

.top-bar .top-phone a {
	color: rgba(0, 0, 0, 0.7);
	display: flex;
	align-items: center;
	gap: 6px;
}

.top-bar .top-phone svg {
	width: 12px;
	height: 12px;
	fill: rgba(0, 0, 0, 0.55);
}

/* -------------------------------------------------- */
/* Page banner */
/* -------------------------------------------------- */
.page-banner {
	background: #fff;
	border-bottom: 1px solid #eee;
	padding: 40px 0 30px;
	text-align: center;
}

.page-banner h1 {
	margin: 0;
	color: var(--arifhajj-heading);
	font-weight: 600;
}

.page-banner p {
	margin: 10px 0 0;
	color: var(--arifhajj-text);
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

/* -------------------------------------------------- */
/* Sections */
/* -------------------------------------------------- */
.section {
	padding: 50px 0;
}

.section + .section {
	border-top: 1px solid #eee;
}

.section-title {
	text-align: center;
	margin-top: 0;
}

.section-lead {
	max-width: 720px;
	margin: 0 auto 2em;
	text-align: center;
	color: #555;
}

.cta-buttons {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin: 1.5em 0;
}

.cta-buttons .button {
	display: inline-block;
	padding: 10px 26px;
	background: var(--arifhajj-accent);
	color: #fff;
	border-radius: 3px;
	font-weight: 600;
}

.cta-buttons .button:hover {
	background: var(--arifhajj-accent-dark);
	color: #fff;
	text-decoration: none;
}

.cta-buttons .button.outline {
	background: transparent;
	color: var(--arifhajj-accent);
	border: 1px solid var(--arifhajj-accent);
}

.cta-buttons .button.outline:hover {
	background: var(--arifhajj-accent);
	color: #fff;
}

/* -------------------------------------------------- */
/* Card grids (info hub, team, accommodation) */
/* -------------------------------------------------- */
.grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 24px;
}

.card {
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	padding: 24px;
	background: #fafafa;
}

.card h3 {
	margin-top: 0;
}

.card a.card-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.card a.card-link:hover h3 {
	color: var(--arifhajj-accent);
	text-decoration: underline;
}

/* -------------------------------------------------- */
/* Package / pricing cards */
/* -------------------------------------------------- */
.package-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 24px;
	overflow-x: auto;
}

.package-card {
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	overflow: hidden;
	text-align: center;
}

.package-card .package-header {
	background: var(--arifhajj-accent);
	color: #fff;
	padding: 16px;
}

.package-card .package-header h3 {
	margin: 0;
	color: #fff;
}

.package-card .package-body {
	padding: 20px;
}

.package-card .package-price {
	font-size: 28px;
	font-weight: 700;
	margin: 10px 0;
}

.package-card ul {
	list-style: none;
	padding: 0;
	text-align: left;
	margin: 1em 0;
}

.package-card ul li {
	padding: 4px 0;
	border-bottom: 1px solid #f0f0f0;
}

.package-includes {
	list-style: none;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 10px;
	margin: 1.5em 0;
}

.package-includes li {
	background: #fafafa;
	border: 1px solid #eee;
	padding: 10px 14px;
	border-radius: 3px;
}

/* -------------------------------------------------- */
/* Testimonials */
/* -------------------------------------------------- */
.testimonial-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

.testimonial-card {
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	padding: 20px;
	background: #fafafa;
}

.testimonial-card p.quote {
	font-style: italic;
	margin-top: 0;
}

.testimonial-card .testimonial-author {
	font-weight: 600;
}

.testimonial-card .testimonial-meta {
	font-size: 13px;
	color: #777;
}

/* -------------------------------------------------- */
/* Contact */
/* -------------------------------------------------- */
.contact-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 40px;
}

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

.contact-info dt {
	font-weight: 700;
	margin-top: 1.2em;
}

.contact-info dd {
	margin: 0.2em 0 0;
}

.form-row {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.form-row > * {
	flex: 1 1 200px;
}

.form-field {
	margin-bottom: 1em;
}

.form-field label {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
}

/* -------------------------------------------------- */
/* Footer */
/* -------------------------------------------------- */
.site-footer {
	background: #1a1a1a;
	color: #ccc;
	padding: 40px 0 30px;
	font-size: 14px;
	text-align: center;
}

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

.site-footer .footer-widgets {
	text-align: left;
	max-width: 900px;
	margin: 0 auto 2em;
}

.site-footer .widget-title {
	color: #fff;
	border-bottom-color: #444;
}

.financial-protection {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	text-align: left;
	max-width: 900px;
	margin: 0 auto 2em;
}

.financial-protection .atol-badge {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #fff;
	color: var(--arifhajj-accent);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

.financial-protection h2 {
	margin: 0 0 0.4em;
	color: #fff;
	font-size: 18px;
}

.financial-protection p {
	margin: 0;
	color: #b8b8b8;
	font-size: 13px;
}

.financial-protection a {
	color: #fff;
	text-decoration: underline;
}

@media (max-width: 600px) {
	.financial-protection {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
}

.footer-links {
	list-style: none;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px 10px;
	padding: 0;
	margin: 0 0 1em;
	font-size: 13px;
}

.footer-links li:not(:last-child)::after {
	content: "|";
	margin-left: 10px;
	color: #666;
}

.footer-copyright {
	color: #999;
	margin: 0;
}
