/*
Theme Name: BestLines Block
Theme URI: https://bestlines.eu/
Author: BestLines
Description: Block (FSE) theme replicating the BestLines.EU Astra-based design. Bus tickets across Europe.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bestlines-block
Tags: full-site-editing, block-patterns, one-column, custom-colors, custom-menu
*/

/* ---- Small design extras on top of theme.json ---- */

/* Card hover lift (services, advantages) */
.bl-card {
	transition: box-shadow .25s ease, transform .25s ease;
}
.bl-card:hover {
	box-shadow: 0 14px 34px rgba(0, 0, 0, .10);
	transform: translateY(-3px);
}

/* Partner logos: gray until hover */
.bl-partner img {
	filter: grayscale(100%);
	opacity: .75;
	transition: filter .25s ease, opacity .25s ease;
	max-height: 64px;
	width: auto;
	margin-inline: auto;
}
.bl-partner img:hover {
	filter: none;
	opacity: 1;
}

/* Destination cards */
.bl-destination img {
	border-radius: 10px;
	transition: transform .3s ease;
}
.bl-destination:hover img {
	transform: scale(1.02);
}

/* Buttons */
.wp-element-button,
.wp-block-button__link {
	transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.wp-element-button:hover,
.wp-block-button__link:hover {
	box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}

/* Header shadow like Astra sticky header */
.bl-site-header {
	box-shadow: 0 1px 10px rgba(0, 0, 0, .06);
}

/* Testimonial avatar */
.bl-avatar img {
	border-radius: 50%;
}

@media (prefers-reduced-motion: reduce) {
	.bl-card,
	.bl-destination img,
	.wp-element-button {
		transition: none;
	}
}
