/* ============================================================
   Sākumlapas sekcijas (template-parts/front/*.php)
   Ielādēts tikai sākumlapā — skat. inc/front-page.php
   ============================================================ */

/* ── Hero ──────────────────────────────────────────────────── */

.front-hero {
	position: relative;
	background: #1c1b1a no-repeat center center;
	background-size: cover;
}

.front-hero::before {
	content: "";
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	background: linear-gradient(180deg, rgba(18,18,17,.28) 0%, rgba(18,18,17,.14) 42%, rgba(18,18,17,.60) 100%);
}

.front-hero-in {
	position: relative;
	z-index: 2;
	margin: 0 100px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
	min-height: 560px;
	padding: 100px 0 110px 0;
	box-sizing: border-box;
	text-align: left; /* atceļ .page-container .wrap centrēšanu — hero vienmēr pa kreisi */
}

.front-hero-eyebrow {
	margin: 0 0 14px 0;
	font-family: 'Oswald', sans-serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #ffc20e;
	text-shadow: 0 1px 3px rgba(0,0,0,.6), 0 2px 16px rgba(0,0,0,.55);
}

.front-hero h1 {
	margin: 0 0 14px 0;
	padding: 0;
	max-width: 640px;
	font-family: 'Oswald', sans-serif;
	font-size: 46px;
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #ffffff;
	text-shadow: 0 2px 20px rgba(0,0,0,.5);
}

/* Pēdējais vārds virsrakstā — zīmola dzeltenā akcentā */
.front-hero-accent { color: #ffc20e; }

.front-hero-sub {
	margin: 0 0 24px 0;
	max-width: 500px;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.55;
	color: #ffffff;
	/* Ciešs tumšs oreols ap pašu tekstu — lasāms uz gaišām bildēm, bildi netumšo */
	text-shadow: 0 0 6px rgba(0,0,0,.9), 0 0 14px rgba(0,0,0,.75), 0 1px 2px rgba(0,0,0,.9);
}

.front-hero-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.front-btn {
	display: inline-block;
	padding: 12px 26px;
	font-family: 'Oswald', sans-serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 6px;
}

.front-btn:hover { text-decoration: none; opacity: .92; }

.front-btn-solid { background: #ffffff; color: #1c1c1b; }
.front-btn-line  { border: 1.5px solid rgba(255,255,255,.85); color: #ffffff; }
.front-btn-dark  { background: #ffffff; color: #1c1c1b; }

/* "Nākamais brauciens" kartīte */

.front-next {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 330px;
	max-width: 400px;
	padding: 16px 18px;
	background: rgba(20,20,19,.82);
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 12px;
	color: #ffffff;
	text-decoration: none;
}

.front-next:hover { text-decoration: none; border-color: rgba(255,255,255,.35); }

.front-next-label {
	position: absolute;
	top: -11px;
	left: 14px;
	padding: 3px 10px;
	background: #ffc20e;
	color: #1c1c1b;
	font-family: 'Oswald', sans-serif;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	border-radius: 99px;
}

.front-next-date {
	flex-shrink: 0;
	padding: 8px 12px;
	border-radius: 8px;
	text-align: center;
	line-height: 1.05;
	color: #ffffff;
}

.front-next-date b { display: block; font-size: 20px; font-weight: 700; }
.front-next-date span { font-size: 10.5px; text-transform: uppercase; letter-spacing: 1px; }

.front-next-tx b { display: block; margin-bottom: 3px; font-size: 14px; font-weight: 500; line-height: 1.3; }
.front-next-tx span { font-size: 12px; color: #c9c5bc; }

.front-next-go { margin-left: auto; font-size: 22px; color: #ffffff; }

/* ── Kategoriju kartītes ───────────────────────────────────── */

.front-cats {
	position: relative;
	z-index: 5;
	margin-top: -72px;
}

.front-cats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 12px;
}

.front-cat {
	display: block;
	padding: 16px 10px 13px 10px;
	background: #ffffff;
	border: 1px solid #eceae5;
	border-bottom: 3px solid transparent;
	border-radius: 12px;
	box-shadow: 0 10px 26px rgba(20,20,19,.14);
	text-align: center;
	text-decoration: none;
	color: #2e2e2e;
}

.front-cat:hover { text-decoration: none; transform: translateY(-2px); transition: transform .15s ease; }

.front-cat img {
	display: block;
	height: 42px;
	width: auto;
	margin: 0 auto 9px auto;
}

.front-cat b {
	display: block;
	font-family: 'Oswald', sans-serif;
	font-size: 13.5px;
	font-weight: 500;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}

.front-cat span { font-size: 11.5px; color: #8b877e; }

/* ── Sekcijas ──────────────────────────────────────────────── */

.front-sec { padding: 52px 0; }

.front-sec-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 22px 0;
}

.front-sec-head h2 {
	margin: 0;
	padding: 0;
	font-family: 'Oswald', sans-serif;
	font-size: 24px;
	font-weight: 500;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.front-sec-head a {
	font-size: 13.5px;
	font-weight: 500;
	color: #6b675e;
	text-decoration: none;
	white-space: nowrap;
}

.front-sec-head a:hover { text-decoration: underline; }

/* ── Tuvāko braucienu kartītes ─────────────────────────────── */

.front-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 18px;
}

/* Lai 1-2 kartītes nekļūst pārmērīgi platas */
.front-cards-1, .front-cards-2 { grid-template-columns: repeat(auto-fit, minmax(240px, 340px)); }

.front-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #ffffff;
	border: 1px solid #e7e4de;
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none;
	color: #2e2e2e;
}

.front-card:hover { text-decoration: none; border-color: #c9c5bc; }

.front-card-ph {
	position: relative;
	display: block;
	height: 150px;
	background: #f1efe8 no-repeat center center;
	background-size: cover;
}

.front-card-date {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 5px 10px;
	font-family: 'Oswald', sans-serif;
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #ffffff;
	border-radius: 5px;
}

/* Aug līdz kartītes augstumam, lai cena vienmēr paliek apakšā */
.front-card-bd {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 13px 14px 15px 14px;
}

.front-card-bd > b {
	display: block;
	margin: 0 0 12px 0;
	font-size: 14.5px;
	font-weight: 500;
	line-height: 1.35;
}

/* margin-top:auto piespiež meta rindu kartītes apakšā — cena vienmēr apakšējā stūrī */
.front-card-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
}

/* Cenas bloks vienmēr labajā pusē; parastā cena — kategorijas krāsā (inline style) */
.front-card-price-wrap {
	margin-left: auto;
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	white-space: nowrap;
}

.front-card-price {
	flex-shrink: 0;
	font-family: 'Oswald', sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 1;
	color: #1c1c1b;
}

/* Akcijas cena — zīmola rozā (kā piedzīvojumu sarakstā) */
.front-card-price.is-promo { color: #ff0060; }

/* Vecā (pārsvītrotā) cena pie akcijas */
.front-card-price-old {
	font-size: 13px;
	font-weight: 400;
	color: #8b877e;
	text-decoration: line-through;
}

/* "Akcija" birka bildes stūrī */
.front-card-akcija {
	position: absolute;
	top: 10px;
	right: 10px;
	padding: 5px 10px;
	background: #ff0060;
	color: #ffffff;
	font-family: 'Oswald', sans-serif;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 1px;
	text-transform: uppercase;
	border-radius: 5px;
}

/* "Pēdējās X vietas" — izcelts steidzamības nozīmē (mudina rezervēt) */
.front-seats-low {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px;
	background: #fbe7e0;
	color: #c0341b;
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1;
	border-radius: 99px;
}

.front-seats-low::before {
	content: "";
	flex-shrink: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #c0341b; /* CSS zīmēts punkts — bez fontu atkarības */
}

/* ── "Strādājam pie plānošanas" josla (tukšs kalendārs) ────── */

.front-plan {
	margin-top: 52px;
	padding: 56px 0;
	background: #1c1b1a;
	color: #ffffff;
	text-align: center;
}

.front-plan h2 {
	margin: 0 0 8px 0;
	padding: 0;
	font-family: 'Oswald', sans-serif;
	font-size: 22px;
	font-weight: 500;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #ffffff;
}

.front-plan p {
	margin: 0 auto 20px auto;
	max-width: 52ch;
	font-size: 13.5px;
	line-height: 1.6;
	color: #b6b2a9;
}

/* ── Atsauksmes + skaitļu josla ────────────────────────────── */

.front-band {
	background: #1c1b1a;
	color: #ffffff;
}

.front-band-in {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 44px;
	align-items: center;
	padding: 48px 0;
}

.front-quote {
	margin: 0;
	font-size: 19px;
	font-weight: 300;
	font-style: italic;
	line-height: 1.55;
}

.front-quote footer {
	margin-top: 14px;
	font-size: 12.5px;
	font-style: normal;
	color: #b6b2a9;
}

.front-nums {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.front-nums b {
	display: block;
	font-family: 'Oswald', sans-serif;
	font-size: 26px;
	font-weight: 600;
}

.front-nums span { font-size: 12.5px; color: #b6b2a9; }

/* Ja nav citāta — skaitļi visā platumā vienā rindā */
.front-band-in .front-nums:only-child { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); text-align: center; }

/* ── Mobilais ──────────────────────────────────────────────── */

@media only screen and (max-width: 1100px) {
	.front-hero-in { margin: 0 40px; }
}

@media only screen and (max-width: 900px) {

	.front-hero-in {
		margin: 0 20px;
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-end;
		min-height: 480px;
		padding: 90px 0 90px 0;
	}

	.front-hero h1 { font-size: 32px; }

	.front-next { min-width: 0; max-width: 100%; width: 100%; box-sizing: border-box; }

	.front-cats { margin-top: -50px; }

	.front-cats-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }

	.front-cat img { height: 32px; }

	.front-sec { padding: 40px 0; }

	.front-band-in { grid-template-columns: 1fr; gap: 26px; padding: 38px 0; }

	.front-band-in .front-nums:only-child { grid-template-columns: 1fr 1fr; }
}

@media only screen and (max-width: 500px) {
	.front-cats-grid { grid-template-columns: repeat(2, 1fr); }
	.front-hero h1 { font-size: 27px; }
}
