/*
Theme Name: Aerotravelo Flights
Theme URI: https://aerotravelo.com
Author: Aerotravelo
Author URI: https://aerotravelo.com
Description: FlightHub-style booking theme for the Aerotravelo Flights standalone site. Navy #0a1f44 and gold #c9a227, white search card, blue-on-navy footer.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aerotravelo-flights
*/

/* Brand tokens: navy #0a1f44 · gold #c9a227 · page bg #f6f8fc ·
   footer headings #7fb0ff · footer body #a9c6ff. */

* { box-sizing: border-box; }

html { margin: 0; padding: 0; }

body {
	margin: 0;
	padding: 0;
	background: #f6f8fc;
	color: #0a1f44;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.55;
}

a { color: #0a1f44; }

/* ---------------- Header ---------------- */

.afb-site-header {
	background: #0a1f44;
	padding: 14px 24px;
	position: sticky;
	top: 0;
	z-index: 50;
}

.afb-header-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.afb-logo {
	color: #ffffff;
	font-size: 44px;
	font-weight: 800;
	text-decoration: none;
	line-height: 1;
	letter-spacing: -0.01em;
}

.afb-logo span { color: #c9a227; }

.afb-nav-toggle {
	display: none;
	background: none;
	border: 1px solid #c9a227;
	border-radius: 8px;
	padding: 8px 10px;
	cursor: pointer;
}

.afb-nav-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: #ffffff;
	margin: 5px 0;
}

.afb-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 8px;
}

.afb-menu a {
	color: #ffffff;
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
	padding: 10px 20px;
	border-radius: 999px;
	transition: background 0.15s ease;
}

.afb-menu a:hover,
.afb-menu .current-menu-item a {
	background: #c9a227;
	color: #0a1f44;
}

/* ---------------- Hero ---------------- */

.afb-hero {
	background: #0a1f44;
	background-image: linear-gradient(180deg, #0a1f44 0%, #10294f 100%);
	padding: 64px 24px 72px;
}

.afb-hero-inner { max-width: 1100px; margin: 0 auto; }

.afb-hero-copy { text-align: center; margin-bottom: 32px; }

.afb-hero-copy h1 {
	color: #ffffff;
	font-size: 44px;
	margin: 0 0 12px;
	letter-spacing: -0.01em;
}

.afb-hero-copy p {
	color: #a9c6ff;
	font-size: 18px;
	max-width: 640px;
	margin: 0 auto;
}

/* ---------------- Sections ---------------- */

.afb-section { max-width: 1100px; margin: 0 auto; padding: 56px 24px; }

.afb-section-heading { text-align: center; margin-bottom: 32px; }

.afb-section-heading h2 {
	font-size: 32px;
	margin: 0 0 8px;
	color: #0a1f44;
}

.afb-section-heading p { color: #53657d; margin: 0; font-size: 16px; }

/* ---------------- Why book ---------------- */

.afb-benefits {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.afb-benefit {
	background: #ffffff;
	border: 1px solid #d8e1ec;
	border-radius: 14px;
	padding: 28px 24px;
	text-align: center;
}

.afb-benefit__icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #0a1f44;
	color: #c9a227;
	font-size: 26px;
	line-height: 56px;
	margin: 0 auto 14px;
}

.afb-benefit h3 { margin: 0 0 8px; font-size: 19px; color: #0a1f44; }
.afb-benefit p { margin: 0; color: #53657d; font-size: 14px; }

/* ---------------- Steps ---------------- */

.afb-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	counter-reset: afb-step;
}

.afb-step {
	background: #0a1f44;
	border-radius: 14px;
	padding: 28px 24px;
	color: #ffffff;
	position: relative;
}

.afb-step::before {
	counter-increment: afb-step;
	content: counter(afb-step);
	position: absolute;
	top: 18px;
	right: 22px;
	font-size: 44px;
	font-weight: 800;
	color: #c9a227;
	opacity: 0.35;
}

.afb-step h3 { margin: 0 0 8px; font-size: 19px; color: #ffffff; }
.afb-step p { margin: 0; color: #a9c6ff; font-size: 14px; }

/* ---------------- Testimonials ---------------- */

.afb-testimonials {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.afb-testimonial {
	background: #ffffff;
	border: 1px solid #d8e1ec;
	border-left: 4px solid #c9a227;
	border-radius: 12px;
	padding: 24px;
}

.afb-testimonial p { margin: 0 0 12px; color: #0a1f44; font-style: italic; }
.afb-testimonial cite { font-style: normal; font-weight: 700; color: #53657d; font-size: 14px; }

/* ---------------- Content pages ---------------- */

.afb-content {
	max-width: 1100px;
	margin: 0 auto;
	padding: 40px 24px 64px;
}

.afb-content h1, .afb-content h2 { color: #0a1f44; }

.afb-page-card {
	background: #ffffff;
	border: 1px solid #d8e1ec;
	border-radius: 16px;
	padding: 32px;
}

/* ---------------- Footer ---------------- */

.afb-site-footer {
	background: #0a1f44;
	color: #a9c6ff;
	margin-top: 0;
}

.afb-footer-grid {
	max-width: 1100px;
	margin: 0 auto;
	padding: 48px 24px 24px;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 32px;
}

.afb-footer-logo {
	color: #ffffff;
	font-size: 28px;
	font-weight: 800;
	text-decoration: none;
}

.afb-footer-logo span { color: #c9a227; }

.afb-footer-grid h4 {
	color: #7fb0ff;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin: 0 0 14px;
}

.afb-footer-grid ul { list-style: none; margin: 0; padding: 0; }
.afb-footer-grid li { margin-bottom: 8px; }

.afb-footer-grid a { color: #a9c6ff; text-decoration: none; font-size: 14px; }
.afb-footer-grid a:hover { color: #ffffff; }

.afb-footer-grid p { font-size: 14px; color: #a9c6ff; margin: 0 0 8px; }

.afb-footer-bar {
	border-top: 1px solid rgba(127, 176, 255, 0.25);
	text-align: center;
	padding: 18px 24px;
	font-size: 13px;
	color: #a9c6ff;
}

/* ---------------- Buttons (also provided by the plugin) ---------------- */

.afb-btn {
	display: inline-block;
	border: none;
	cursor: pointer;
	border-radius: 10px;
	padding: 12px 26px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	text-align: center;
}

.afb-btn--primary { background: #c9a227; color: #0a1f44; }
.afb-btn--primary:hover { background: #d5ae3e; }
.afb-btn--pill { border-radius: 999px; }

/* ---------------- Responsive ---------------- */

@media (max-width: 860px) {
	.afb-benefits, .afb-steps, .afb-testimonials, .afb-footer-grid { grid-template-columns: 1fr; }
	.afb-hero-copy h1 { font-size: 32px; }
	.afb-nav-toggle { display: block; }
	.afb-nav { display: none; width: 100%; }
	.afb-nav.afb-open { display: block; }
	.afb-header-inner { flex-wrap: wrap; }
	.afb-menu { flex-direction: column; gap: 4px; }
	.afb-logo { font-size: 34px; }
}
