/*
Theme Name: Jamaikatour Gutenberg V2
Theme URI: https://www.jamaikatour.de/
Author: Jamaikatour
Description: Vollständig mit nativen Gutenberg-Blöcken bearbeitbares Block-Theme für Jamaika-Reisen.
Version: 2.3.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: jamaikatour-v2
*/

:root {
	--jt-green: #0a3d35;
	--jt-green-light: #155f50;
	--jt-lime: #c9da52;
	--jt-cream: #fbf8f1;
	--jt-sand: #eee8db;
	--jt-ink: #13211e;
	--jt-muted: #64706c;
}

html { scroll-behavior: smooth; }
body { margin: 0; }
a { text-underline-offset: .18em; }
.wp-site-blocks { padding: 0; }

.jt-header {
	position: relative;
	z-index: 20;
	box-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.jt-topbar { font-size: 12px; }
.jt-header-main { min-height: 78px; }
.jt-logo {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: 28px;
	line-height: 1;
}
.jt-logo a { text-decoration: none; }
.jt-nav .wp-block-navigation-item__content { font-weight: 700; }

.jt-hero {
	min-height: 660px;
	display: flex;
	align-items: center;
}
.jt-hero .wp-block-cover__background {
	background: linear-gradient(90deg, rgba(2,35,29,.9), rgba(2,35,29,.56) 48%, rgba(2,35,29,.12)) !important;
	opacity: 1 !important;
}
.jt-hero-inner { width: 100%; }
.jt-eyebrow {
	margin-bottom: 12px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .17em;
	text-transform: uppercase;
}
.jt-hero h1 {
	max-width: 800px;
	margin-top: 0;
	margin-bottom: 24px;
	font-size: clamp(52px, 7vw, 88px);
	line-height: 1.02;
	letter-spacing: -.04em;
}
.jt-hero-copy {
	max-width: 670px;
	font-size: clamp(18px, 2vw, 22px);
}
.jt-buttons { margin-top: 30px; }
.wp-block-button__link { transition: transform .2s ease; }
.wp-block-button__link:hover { transform: translateY(-2px); }

.jt-trust {
	margin-top: -38px;
	position: relative;
	z-index: 4;
	box-shadow: 0 20px 60px rgba(18,46,39,.13);
}
.jt-trust .wp-block-column { padding: 24px; }
.jt-trust strong { color: var(--jt-green); font-size: 26px; }

.jt-finder-wrap {
	position: relative;
	z-index: 5;
	padding-top: 45px;
}
.jt-finder {
	display: grid;
	grid-template-columns: 1.25fr 1fr 1fr auto;
	gap: 18px;
	align-items: end;
	padding: 28px;
	border-radius: 7px;
	background: white;
	box-shadow: 0 20px 60px rgba(18,46,39,.13);
}
.jt-finder-heading p { margin: 0 0 8px; }
.jt-finder-heading h2 {
	margin: 0;
	font-size: 25px;
	line-height: 1.15;
}
.jt-finder-field {
	display: grid;
	gap: 7px;
	margin: 0;
	color: #4e5c58;
	font-size: 12px;
	font-weight: 700;
}
.jt-finder select {
	box-sizing: border-box;
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid #dcded8;
	border-radius: 4px;
	background: white;
	color: var(--jt-ink);
	font: inherit;
}
.jt-finder select:focus {
	outline: none;
	border-color: var(--jt-green-light);
	box-shadow: 0 0 0 3px rgba(21,95,80,.12);
}
.jt-finder-button {
	min-height: 50px;
	padding: 0 24px;
	border: 0;
	border-radius: 4px;
	background: var(--jt-green);
	color: white;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
	white-space: nowrap;
}
.jt-trip-column[hidden] { display: none !important; }
.jt-no-results {
	margin-top: 25px;
	padding: 22px;
	border-radius: 5px;
	background: white;
	text-align: center;
}

.jt-section { padding-top: 100px; padding-bottom: 100px; }
.jt-section-title {
	max-width: 780px;
	margin-bottom: 42px;
	font-size: clamp(38px, 4.5vw, 56px);
	line-height: 1.08;
	letter-spacing: -.03em;
}
.jt-intro { max-width: 720px; color: var(--jt-muted); font-size: 18px; }

.jt-cards { align-items: stretch !important; gap: 22px; }
.jt-card {
	height: 100%;
	overflow: hidden;
	border: 1px solid #e4e5df;
	border-radius: 7px;
	background: white;
	box-shadow: 0 8px 35px rgba(24,54,47,.08);
}
.jt-card .wp-block-image { margin: 0; }
.jt-card .wp-block-image img {
	width: 100%;
	aspect-ratio: 4 / 2.7;
	object-fit: cover;
}
.jt-card-content { padding: 24px; }
.jt-card h3 {
	min-height: 58px;
	margin-top: 8px;
	font-size: 27px;
	line-height: 1.08;
}
.jt-meta {
	color: var(--jt-green-light);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.jt-card-text { min-height: 88px; color: var(--jt-muted); font-size: 14px; }
.jt-card ul { padding-left: 20px; color: #52615d; font-size: 14px; }

.jt-dark-section { padding-top: 100px; padding-bottom: 100px; }
.jt-dark-section .jt-section-title { color: white; }
.jt-feature {
	min-height: 340px;
	display: flex;
	align-items: end;
	border-radius: 7px;
	overflow: hidden;
}
.jt-feature .wp-block-cover__background {
	background: linear-gradient(0deg, rgba(2,34,27,.8), transparent 70%) !important;
	opacity: 1 !important;
}
.jt-feature h3 { margin: 0; color: white; font-size: 28px; }

.jt-story-image img {
	width: 100%;
	min-height: 580px;
	object-fit: cover;
	border-radius: 7px;
}
.jt-story h2 {
	font-size: clamp(38px, 4vw, 54px);
	line-height: 1.08;
}
.jt-benefit {
	padding: 18px 0;
	border-top: 1px solid #dcded8;
}
.jt-benefit h3 { margin: 0 0 5px; font-size: 20px; }
.jt-benefit p { margin: 0; color: var(--jt-muted); }

.jt-quote { padding-top: 90px; padding-bottom: 90px; }
.jt-quote blockquote {
	max-width: 900px;
	margin: 20px auto;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(28px, 4vw, 43px);
	line-height: 1.3;
}
.jt-stars { letter-spacing: .2em; }

.jt-contact-card {
	padding: 36px;
	border-radius: 7px;
	background: white;
	box-shadow: 0 20px 60px rgba(18,46,39,.12);
}
.jt-travel-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}
.jt-form-field {
	display: grid;
	gap: 7px;
	margin: 0;
}
.jt-form-field--full,
.jt-form-consent,
.jt-form-submit,
.jt-form-note,
.jt-form-success {
	grid-column: 1 / -1;
}
.jt-travel-form label {
	color: #4e5c58;
	font-size: 12px;
	font-weight: 700;
}
.jt-travel-form input:not([type="checkbox"]),
.jt-travel-form select,
.jt-travel-form textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid #dcded8;
	border-radius: 4px;
	background: white;
	color: var(--jt-ink);
	font: inherit;
}
.jt-travel-form textarea {
	min-height: 112px;
	resize: vertical;
}
.jt-travel-form input:focus,
.jt-travel-form select:focus,
.jt-travel-form textarea:focus {
	outline: none;
	border-color: var(--jt-green-light);
	box-shadow: 0 0 0 3px rgba(21,95,80,.12);
}
.jt-form-consent {
	display: grid;
	grid-template-columns: 18px 1fr;
	gap: 9px;
	align-items: start;
	color: #4e5c58;
	font-size: 12px;
	font-weight: 400 !important;
}
.jt-form-consent input { margin-top: 3px; }
.jt-form-submit {
	min-height: 52px;
	border: 0;
	border-radius: 4px;
	background: var(--jt-lime);
	color: #13251f;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
	transition: transform .2s ease;
}
.jt-form-submit:hover { transform: translateY(-2px); }
.jt-form-note {
	margin: -8px 0 0;
	color: var(--jt-muted);
	font-size: 11px;
	text-align: center;
}
.jt-form-success {
	margin: 0;
	padding: 14px;
	border-radius: 4px;
	background: #e8f5e9;
	color: #0b5543;
}

.jt-faq details {
	margin: 0;
	padding: 22px 0;
	border-top: 1px solid #c9c5bb;
}
.jt-faq details:last-child { border-bottom: 1px solid #c9c5bb; }
.jt-faq summary { font-weight: 800; cursor: pointer; }
.jt-faq details p { color: var(--jt-muted); }

.jt-footer { padding-top: 65px; padding-bottom: 25px; }
.jt-footer h3 { color: white; }
.jt-footer a { color: inherit; }
.jt-footer-bottom {
	margin-top: 45px;
	padding-top: 20px;
	border-top: 1px solid rgba(255,255,255,.15);
	font-size: 12px;
}

@media (max-width: 781px) {
	.jt-topbar .wp-block-group { justify-content: center; }
	.jt-topbar .jt-topbar-left { display: none; }
	.jt-header-main { min-height: 68px; }
	.jt-hero { min-height: 650px; }
	.jt-hero .wp-block-cover__background {
		background: linear-gradient(90deg, rgba(2,35,29,.9), rgba(2,35,29,.38)) !important;
	}
	.jt-trust { margin-top: 0; }
	.jt-finder { grid-template-columns: 1fr 1fr; }
	.jt-finder-heading { grid-column: 1 / -1; }
	.jt-section, .jt-dark-section { padding-top: 72px; padding-bottom: 72px; }
	.jt-card h3, .jt-card-text { min-height: auto; }
	.jt-story-image img { min-height: 420px; }
	.jt-contact-card { padding: 24px; }
	.jt-travel-form { grid-template-columns: 1fr; }
	.jt-form-field--full,
	.jt-form-consent,
	.jt-form-submit,
	.jt-form-note,
	.jt-form-success { grid-column: auto; }
}

@media (max-width: 600px) {
	.jt-finder { grid-template-columns: 1fr; padding: 22px; }
	.jt-finder-heading { grid-column: auto; }
	.jt-finder-button { width: 100%; }
}
