/* ==========================================================
   Shared page styles — self-contained, no Bootstrap needed.
   Loaded on every page by header.php (after the theme CSS).
   ========================================================== */

/* ---------- Layout ---------- */
.st-container { max-width: 1170px; margin: 0 auto; padding: 0 15px; box-sizing: border-box; }
.st-section { padding: 60px 0; }
.st-section.st-gray { background: #f7f7f7; }
.st-title { margin: 0 0 35px; font-size: 32px; color: #222; text-align: center; }
.st-lead { max-width: 760px; margin: -20px auto 35px; text-align: center; color: #666; font-size: 16px; line-height: 1.6; }

/* ---------- Page banner (inner pages) ----------
   The banner images (img/1-5.jpg, booking.jpg, contactus.jpg) already have the page title
   and dark overlay baked in, so show the image as-is at its own 1366x267 shape.
   The <h1> stays in the HTML for Google / screen readers but is hidden visually. */
.st-banner { position: relative; height: 0; padding-top: 19.55%; background: #222 center / cover no-repeat; }
.st-banner .st-container { position: absolute; top: 0; left: 0; right: 0; }
.st-banner h1 {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Car grid ---------- */
.st-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.st-car {
	background: #fff; border-radius: 8px; padding: 20px 15px 25px; text-align: center;
	box-shadow: 0 2px 10px rgba(0,0,0,.06); transition: transform .2s, box-shadow .2s;
	display: flex; flex-direction: column;
}
.st-car:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,.1); }
.st-car img { width: 100%; height: 150px; object-fit: contain; display: block; }
.st-car h3 { font-size: 18px; margin: 15px 0 18px; color: #222; flex-grow: 1; }
.st-car h3 a { color: inherit; text-decoration: none; }
.st-car h3 small { display: block; font-size: 13px; color: #888; margin-top: 4px; font-weight: 400; }

/* ---------- Buttons ---------- */
.st-btn {
	display: inline-block; background: #FF3720; color: #fff !important; text-decoration: none;
	padding: 9px 26px; border-radius: 4px; font-weight: 500; border: 0; cursor: pointer;
	font-size: 15px; transition: background .2s; font-family: inherit;
}
.st-btn:hover { background: #d92a15; }

/* ---------- Panels & forms ---------- */
.st-two { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.st-panel { background: #fff; border-radius: 8px; padding: 30px; box-shadow: 0 4px 20px rgba(0,0,0,.1); box-sizing: border-box; }
.st-panel.st-glass { background: rgba(255,255,255,.85); }
.st-panel h2 { margin: 0 0 22px; font-size: 24px; color: #222; }
.st-narrow { max-width: 760px; margin: 0 auto; }
.st-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.st-form .st-full { grid-column: 1 / -1; }
.st-form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: #444; }
.st-form label span { color: #FF3720; }
.st-form input, .st-form select, .st-form textarea {
	width: 100%; box-sizing: border-box; padding: 10px 12px; font: inherit; font-size: 14px;
	border: 1px solid #ccc; border-radius: 4px; background: #fff; height: auto; color: #333;
}
.st-form textarea { min-height: 90px; resize: vertical; }
.st-form input:focus, .st-form select:focus, .st-form textarea:focus { outline: none; border-color: #FF3720; }
.st-features { list-style: none; margin: 0; padding: 0; }
.st-features li { display: flex; align-items: center; padding: 14px 0; border-bottom: 1px solid #eee; font-size: 17px; font-weight: 500; }
.st-features li:last-child { border-bottom: 0; }
.st-features i { color: #FF3720; font-size: 22px; width: 28px; margin-right: 14px; text-align: center; }

/* ---------- Text blocks ---------- */
.st-text h2 { font-size: 26px; color: #222; margin: 0 0 16px; }
.st-text p { font-size: 16px; line-height: 1.7; color: #555; margin: 0 0 14px; }
.st-text img { max-width: 100%; height: auto; border-radius: 8px; display: block; }

/* ---------- Map ---------- */
.st-map iframe { display: block; width: 100%; height: 450px; border: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	.st-grid { grid-template-columns: repeat(2, 1fr); }
	.st-two { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
	.st-grid { grid-template-columns: 1fr; }
	.st-form { grid-template-columns: 1fr; }
	.st-title { font-size: 24px; }
	.st-panel { padding: 22px; }
	.st-map iframe { height: 300px; }
}
