/* ==========================================================================
   Euromotive - European Auto Repair & Maintenance
   Custom Styles for Twenty Twenty-Five Theme
   Brand Colors: Red, Black, White
   ========================================================================== */

:root {
	--em-red: #C41E2A;
	--em-red-light: #D93340;
	--em-red-dark: #8B0000;
	--em-black: #0A0A0A;
	--em-black-soft: #1A1A1A;
	--em-black-light: #2D2D2D;
	--em-gray: #6B7280;
	--em-gray-light: #F5F5F5;
	--em-white: #FFFFFF;
	--em-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Top bar above header */
.euromotive-topbar {
	background: var(--em-black);
	color: var(--em-white);
	font-size: 0.8125rem;
	letter-spacing: 0.3px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.euromotive-topbar a {
	color: var(--em-white) !important;
	text-decoration: none !important;
	transition: var(--em-transition);
}

.euromotive-topbar a:hover {
	color: var(--em-red) !important;
}

.euromotive-topbar-tagline {
	opacity: 0.85;
}

.euromotive-topbar-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	background: var(--em-red);
	color: var(--em-white) !important;
	border-radius: 50%;
	font-size: 0.75rem !important;
	line-height: 1 !important;
	flex-shrink: 0;
}

.euromotive-topbar-item {
	transition: var(--em-transition);
}

.euromotive-topbar-item:hover {
	opacity: 0.85;
}

.euromotive-topbar-divider {
	opacity: 0.3;
	margin: 0 8px !important;
}

/* Header */
.euromotive-header {
	border-bottom: 3px solid var(--em-red);
	position: relative;
	z-index: 100;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.euromotive-site-title a {
	text-decoration: none !important;
	color: inherit !important;
	font-weight: 800 !important;
	letter-spacing: 3px !important;
	text-transform: uppercase;
	font-size: 1.75rem !important;
}

/* Header CTA button */
.euromotive-header-cta .wp-block-button__link {
	transition: var(--em-transition);
	box-shadow: 0 2px 8px rgba(196, 30, 42, 0.25);
}

.euromotive-header-cta .wp-block-button__link:hover {
	background: var(--em-red-light) !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 15px rgba(196, 30, 42, 0.35);
}

/* Mobile: Top bar - show only icons as compact tap targets */
@media (max-width: 781px) {
	.euromotive-topbar-tagline {
		display: none !important;
	}

	.euromotive-topbar > .wp-block-group {
		justify-content: center !important;
	}

	.euromotive-topbar-contact {
		width: 100% !important;
		justify-content: center !important;
	}

	.euromotive-topbar-item p:not(.euromotive-topbar-icon) {
		font-size: 0.75rem !important;
	}

	.euromotive-topbar-divider {
		margin: 0 4px !important;
	}

	.euromotive-header-cta {
		display: none !important;
	}

	.euromotive-site-title {
		font-size: 1.25rem !important;
		letter-spacing: 2px !important;
	}
}

/* Hero Section */
.euromotive-hero .wp-block-cover {
	min-height: 85vh !important;
}

.euromotive-hero .wp-block-cover__inner-container {
	max-width: 1340px;
	margin: 0 auto;
}

.euromotive-hero-subtitle {
	color: var(--em-red) !important;
	text-transform: uppercase;
	letter-spacing: 4px;
	font-weight: 600;
	font-size: 0.875rem !important;
}

.euromotive-hero h1,
.euromotive-hero .wp-block-heading {
	text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
}

.euromotive-hero .wp-block-button__link {
	transition: var(--em-transition);
}

/* Brand Logos Section */

.euromotive-brand-item {
	text-align: center;
	padding: 1.5rem 1rem;
	transition: var(--em-transition);
	border-radius: 8px;
}

.euromotive-brand-item:hover {
	background: var(--em-gray-light);
	transform: translateY(-2px);
}

.euromotive-brand-logo img {
	width: 60px;
	height: 60px;
	object-fit: contain;
	opacity: 0.8;
	transition: var(--em-transition);
}

.euromotive-brand-item:hover .euromotive-brand-logo img {
	opacity: 1;
}

.euromotive-brand-item h3 {
	font-weight: 700 !important;
	letter-spacing: 2px !important;
	text-transform: uppercase !important;
	font-size: 0.9rem !important;
	margin-top: 0.75rem !important;
}

/* Services Section */
.euromotive-services .wp-block-column {
	background: var(--em-white);
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 12px;
	padding: 2rem;
	transition: var(--em-transition);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.euromotive-services .wp-block-column:hover {
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
	transform: translateY(-4px);
	border-color: var(--em-red);
}

.euromotive-service-icon {
	font-size: 2.5rem;
	line-height: 1;
	margin-bottom: 0.5rem;
}

.euromotive-services h3 {
	font-weight: 600 !important;
	font-size: 1.125rem !important;
}

/* Why Choose Us Section */
.euromotive-why-us {
	position: relative;
}

.euromotive-why-us > .wp-block-columns,
.euromotive-why-us > * {
	position: relative;
	z-index: 1;
}

.euromotive-stat-number {
	font-size: 2.5rem !important;
	font-weight: 800 !important;
	color: var(--em-red) !important;
	line-height: 1 !important;
}

.euromotive-stat-label {
	font-size: 0.875rem !important;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	opacity: 0.8;
}

.euromotive-check-item {
	padding: 0.5rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Service Areas Section */
.euromotive-areas .wp-block-column {
	background: var(--em-white);
	border-radius: 10px;
	padding: 1.75rem;
	transition: var(--em-transition);
	border: 1px solid rgba(0, 0, 0, 0.06);
	text-align: center;
}

.euromotive-areas .wp-block-column:hover {
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
	transform: translateY(-3px);
	border-color: var(--em-red);
}

.euromotive-areas h3 {
	font-weight: 600 !important;
}

.euromotive-areas .wp-block-column a {
	color: var(--em-red) !important;
	font-weight: 600;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* CTA Section */
.euromotive-cta {
	position: relative;
}

.euromotive-cta .wp-block-button__link {
	background: var(--em-red) !important;
	color: var(--em-white) !important;
	font-weight: 700 !important;
	letter-spacing: 0.5px;
	padding: 1.1rem 2.75rem !important;
	font-size: 1rem !important;
	transition: var(--em-transition);
}

.euromotive-cta .wp-block-button__link:hover {
	background: var(--em-red-light) !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(196, 30, 42, 0.35);
}

/* Red Buttons (primary CTA) */
.euromotive-btn-gold .wp-block-button__link {
	background: var(--em-red) !important;
	color: var(--em-white) !important;
	font-weight: 700 !important;
	border: none !important;
	transition: var(--em-transition);
}

.euromotive-btn-gold .wp-block-button__link:hover {
	background: var(--em-red-light) !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(196, 30, 42, 0.35);
}

.euromotive-btn-outline .wp-block-button__link {
	background: transparent !important;
	color: var(--em-white) !important;
	border: 2px solid var(--em-white) !important;
	font-weight: 600 !important;
	transition: var(--em-transition);
}

.euromotive-btn-outline .wp-block-button__link:hover {
	background: var(--em-white) !important;
	color: var(--em-black) !important;
}

/* Footer */
.euromotive-footer {
	background: var(--em-black);
	color: var(--em-white);
}

.euromotive-footer a {
	transition: var(--em-transition);
}

.euromotive-footer a:hover {
	color: var(--em-red) !important;
}

.euromotive-footer h3,
.euromotive-footer h4 {
	color: var(--em-red) !important;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 0.8125rem !important;
	font-weight: 700 !important;
}

.euromotive-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Contact Page */
.euromotive-contact-info-card {
	background: var(--em-white);
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 12px;
	padding: 2rem;
	transition: var(--em-transition);
}

.euromotive-contact-info-card:hover {
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
	border-color: var(--em-red);
}

.euromotive-contact-icon {
	font-size: 2rem;
	line-height: 1;
}

/* Service Area Pages */
.euromotive-area-hero {
	background: linear-gradient(135deg, var(--em-black), var(--em-black-soft));
}

.euromotive-area-services li {
	padding: 0.75rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* About Page */
.euromotive-about-values .wp-block-column {
	text-align: center;
	padding: 2rem 1.5rem;
}

.euromotive-value-icon {
	font-size: 2.5rem;
	line-height: 1;
	margin-bottom: 1rem;
}

/* Section Labels */
.euromotive-section-label {
	color: var(--em-red) !important;
	text-transform: uppercase !important;
	letter-spacing: 3px !important;
	font-weight: 700 !important;
	font-size: 0.8125rem !important;
}

/* Separator */
.euromotive-gold-separator {
	border-color: var(--em-red) !important;
	width: 60px;
}

/* ==========================================================================
   Section Wave Dividers — flowing curves between homepage sections
   ========================================================================== */

.euromotive-brands,
.euromotive-services,
.euromotive-areas {
	position: relative;
}

.euromotive-brands::before,
.euromotive-services::before,
.euromotive-why-us::before,
.euromotive-areas::before,
.euromotive-cta::before {
	content: '';
	position: absolute;
	top: -1px;
	left: 0;
	width: 100%;
	height: 70px;
	z-index: 1;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	pointer-events: none;
}

.euromotive-brands::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,20 C1080,70 360,0 0,50 Z' fill='%230A0A0A'/%3E%3C/svg%3E");
}

.euromotive-services::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,40 C1200,70 960,10 720,40 C480,70 240,10 0,40 Z' fill='%23F5F5F5'/%3E%3C/svg%3E");
}

.euromotive-why-us::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,20 C1080,70 360,0 0,50 Z' fill='%23FFFFFF'/%3E%3C/svg%3E");
}

.euromotive-areas::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,40 C1200,70 960,10 720,40 C480,70 240,10 0,40 Z' fill='%230A0A0A'/%3E%3C/svg%3E");
}

.euromotive-cta::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,20 C1080,70 360,0 0,50 Z' fill='%23F5F5F5'/%3E%3C/svg%3E");
}

/* =============================================
   Responsive - Tablet
   ============================================= */
@media (max-width: 1024px) {
	.euromotive-hero .wp-block-cover {
		min-height: 75vh !important;
	}
}

/* =============================================
   Responsive - Mobile
   ============================================= */
@media (max-width: 781px) {

	/* -- Wave dividers: scale down on tablet/mobile -- */
	.euromotive-brands::before,
	.euromotive-services::before,
	.euromotive-why-us::before,
	.euromotive-areas::before,
	.euromotive-cta::before {
		height: 40px;
	}

	/* -- Global section condensing -- */
	.euromotive-brands,
	.euromotive-services,
	.euromotive-areas,
	.euromotive-cta {
		padding-top: var(--wp--preset--spacing--50) !important;
		padding-bottom: var(--wp--preset--spacing--50) !important;
	}

	.euromotive-why-us {
		padding-top: var(--wp--preset--spacing--60) !important;
		padding-bottom: var(--wp--preset--spacing--60) !important;
	}

	.euromotive-section-label {
		font-size: 0.6875rem !important;
		letter-spacing: 2px !important;
		margin-bottom: 4px !important;
	}

	.euromotive-brands h2,
	.euromotive-services h2,
	.euromotive-areas h2,
	.euromotive-why-us h2 {
		font-size: 1.375rem !important;
	}

	.euromotive-brands .has-medium-font-size,
	.euromotive-services .has-medium-font-size,
	.euromotive-areas .has-medium-font-size {
		font-size: 0.875rem !important;
	}

	/* -- Hero -- */
	.euromotive-hero .wp-block-cover {
		min-height: 70vh !important;
		min-height: 70svh !important;
		padding-top: var(--wp--preset--spacing--50) !important;
		padding-bottom: var(--wp--preset--spacing--50) !important;
	}

	.euromotive-hero h1,
	.euromotive-hero .wp-block-heading {
		font-size: clamp(1.75rem, 8vw, 2.5rem) !important;
	}

	.euromotive-hero-subtitle {
		font-size: 0.7rem !important;
		letter-spacing: 2px;
	}

	.euromotive-hero p.has-base-color:not(.euromotive-hero-subtitle) {
		font-size: 0.9375rem !important;
		line-height: 1.5 !important;
	}

	.euromotive-hero .wp-block-buttons {
		flex-direction: column !important;
		gap: 10px !important;
	}

	.euromotive-hero .wp-block-button {
		width: 100%;
	}

	.euromotive-hero .wp-block-button__link {
		width: 100% !important;
		text-align: center !important;
		padding: 0.875rem 1.5rem !important;
		font-size: 0.875rem !important;
	}

	/* -- Brands: 3 per row, hide icon symbols -- */
	.euromotive-brands .wp-block-columns.alignwide {
		flex-wrap: wrap !important;
		gap: 8px !important;
		margin-top: var(--wp--preset--spacing--30) !important;
	}

	.euromotive-brands .wp-block-column {
		flex-basis: 30% !important;
		flex-grow: 0 !important;
	}

	.euromotive-brand-item {
		padding: 0.75rem 0.25rem;
	}

	.euromotive-brand-logo {
		display: none !important;
	}

	.euromotive-brand-item h3 {
		font-size: 0.65rem !important;
		letter-spacing: 1px !important;
		margin-top: 0 !important;
	}

	.euromotive-brands > p.has-text-align-center {
		font-size: 0.8125rem !important;
		margin-top: var(--wp--preset--spacing--20) !important;
	}

	/* -- Services -- */
	.euromotive-services .wp-block-column {
		margin-bottom: 0.5rem;
		padding: 1.25rem;
	}

	.euromotive-services .euromotive-service-icon {
		font-size: 1.75rem !important;
		margin-bottom: 0.25rem;
	}

	.euromotive-services h3 {
		font-size: 1rem !important;
	}

	/* -- Why Choose Us -- */
	.euromotive-stat-number {
		font-size: 1.75rem !important;
	}

	.euromotive-stat-label {
		font-size: 0.6875rem !important;
		letter-spacing: 1px;
	}

	.euromotive-check-item p.has-medium-font-size {
		font-size: 0.8125rem !important;
	}

	.euromotive-why-us .wp-block-columns {
		gap: var(--wp--preset--spacing--40) !important;
	}

	.euromotive-gold-separator {
		margin-top: var(--wp--preset--spacing--30) !important;
	}

	.euromotive-why-us p[style*="font-style:italic"] {
		font-size: 0.875rem !important;
	}

	/* -- Service Areas: 2 per row -- */
	.euromotive-areas .wp-block-columns {
		flex-wrap: wrap !important;
		gap: 8px !important;
		margin-top: var(--wp--preset--spacing--30) !important;
	}

	.euromotive-areas .wp-block-column {
		flex-basis: 47% !important;
		flex-grow: 0 !important;
		margin-bottom: 0;
		padding: 1rem;
	}

	.euromotive-areas .wp-block-column > p:first-child {
		font-size: 1.25rem !important;
		margin-bottom: 0 !important;
	}

	.euromotive-areas h3 {
		font-size: 0.9375rem !important;
	}

	.euromotive-areas .has-small-font-size {
		font-size: 0.75rem !important;
		display: none !important;
	}

	.euromotive-areas .wp-block-column > p:last-child {
		font-size: 0.75rem !important;
	}

	/* -- CTA -- */
	.euromotive-cta h2 {
		font-size: 1.25rem !important;
	}

	.euromotive-cta .has-medium-font-size {
		font-size: 0.875rem !important;
	}

	.euromotive-cta .wp-block-buttons {
		flex-direction: column !important;
		gap: 10px !important;
	}

	.euromotive-cta .wp-block-button {
		width: 100%;
	}

	.euromotive-cta .wp-block-button__link {
		width: 100% !important;
		text-align: center !important;
		padding: 0.875rem 1.5rem !important;
		font-size: 0.875rem !important;
	}

	/* -- Footer: compact mobile -- */
	.euromotive-footer {
		padding-top: var(--wp--preset--spacing--40) !important;
	}

	.euromotive-footer-info {
		margin-bottom: var(--wp--preset--spacing--30) !important;
		padding-bottom: var(--wp--preset--spacing--30) !important;
	}

	.euromotive-footer-info h3 {
		font-size: 1.125rem !important;
	}

	.euromotive-footer-desc {
		font-size: 0.75rem !important;
	}

	.euromotive-footer .is-not-stacked-on-mobile h4 {
		font-size: 0.625rem !important;
		letter-spacing: 1.5px !important;
		margin-bottom: 6px !important;
	}

	.euromotive-footer .is-not-stacked-on-mobile .wp-block-navigation,
	.euromotive-footer .euromotive-footer-list {
		font-size: 0.75rem !important;
	}

	.euromotive-footer .euromotive-footer-list {
		padding-left: 1rem !important;
	}

	.euromotive-footer-bottom .has-small-font-size {
		font-size: 0.6875rem !important;
	}
}

/* =============================================
   Responsive - Small phones
   ============================================= */
@media (max-width: 480px) {
	.euromotive-brands::before,
	.euromotive-services::before,
	.euromotive-why-us::before,
	.euromotive-areas::before,
	.euromotive-cta::before {
		height: 30px;
	}

	.euromotive-topbar-item p:not(.euromotive-topbar-icon) {
		font-size: 0.6875rem !important;
	}

	.euromotive-topbar-icon {
		width: 22px;
		height: 22px;
		font-size: 0.625rem !important;
	}

	.euromotive-areas .wp-block-column {
		flex-basis: 100% !important;
	}

	.euromotive-footer-desc {
		display: none !important;
	}
}

/* ==========================================================================
   WPForms Styling - Euromotive Theme
   ========================================================================== */

.wpforms-container .wpforms-form .wpforms-field-label {
	font-weight: 600;
	color: var(--em-dark);
	font-size: 0.875rem;
	margin-bottom: 4px;
}

.wpforms-container .wpforms-form .wpforms-field input[type="text"],
.wpforms-container .wpforms-form .wpforms-field input[type="email"],
.wpforms-container .wpforms-form .wpforms-field input[type="tel"],
.wpforms-container .wpforms-form .wpforms-field input[type="url"],
.wpforms-container .wpforms-form .wpforms-field input[type="number"],
.wpforms-container .wpforms-form .wpforms-field select,
.wpforms-container .wpforms-form .wpforms-field textarea {
	max-width: 100% !important;
	width: 100% !important;
}

.wpforms-container .wpforms-form input[type="text"],
.wpforms-container .wpforms-form input[type="email"],
.wpforms-container .wpforms-form input[type="tel"],
.wpforms-container .wpforms-form input[type="url"],
.wpforms-container .wpforms-form input[type="number"],
.wpforms-container .wpforms-form select,
.wpforms-container .wpforms-form textarea {
	border: 1px solid #d1d5db !important;
	border-radius: 6px !important;
	padding: 10px 14px !important;
	font-size: 0.9375rem !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	background: #fff !important;
}

.wpforms-container .wpforms-form input:focus,
.wpforms-container .wpforms-form select:focus,
.wpforms-container .wpforms-form textarea:focus {
	border-color: var(--em-red) !important;
	box-shadow: 0 0 0 3px rgba(196, 30, 42, 0.1) !important;
	outline: none !important;
}

.wpforms-container .wpforms-form textarea {
	min-height: 100px;
}

.wpforms-container .wpforms-form .wpforms-submit-container button[type="submit"],
.wpforms-container .wpforms-form button.wpforms-submit {
	background: var(--em-red) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 4px !important;
	padding: 12px 32px !important;
	font-size: 0.9375rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.5px !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	transition: var(--em-transition) !important;
	width: 100% !important;
}

.wpforms-container .wpforms-form .wpforms-submit-container button[type="submit"]:hover,
.wpforms-container .wpforms-form button.wpforms-submit:hover {
	background: var(--em-red-light) !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 4px 15px rgba(196, 30, 42, 0.35) !important;
}

/* Hero form: white card on dark background */
.euromotive-hero-form .wpforms-container .wpforms-form .wpforms-field-label {
	color: #1a1a1a;
}

.euromotive-hero-form .wpforms-container {
	margin: 0 !important;
}

/* Footer form: light inputs on dark background */
.euromotive-footer-form .wpforms-container .wpforms-form .wpforms-field-label {
	color: #fff;
}

.euromotive-footer-form .wpforms-container .wpforms-form input,
.euromotive-footer-form .wpforms-container .wpforms-form select,
.euromotive-footer-form .wpforms-container .wpforms-form textarea {
	background: rgba(255, 255, 255, 0.08) !important;
	border-color: rgba(255, 255, 255, 0.2) !important;
	color: #fff !important;
}

.euromotive-footer-form .wpforms-container .wpforms-form input::placeholder,
.euromotive-footer-form .wpforms-container .wpforms-form textarea::placeholder {
	color: rgba(255, 255, 255, 0.5) !important;
}

.euromotive-footer-form .wpforms-container .wpforms-form input:focus,
.euromotive-footer-form .wpforms-container .wpforms-form textarea:focus {
	border-color: var(--em-red) !important;
	background: rgba(255, 255, 255, 0.12) !important;
}

/* Service area form: compact */
.euromotive-service-form .wpforms-container {
	margin: 0 !important;
}

/* Mobile: hero form stacks below text */
@media (max-width: 781px) {
	.euromotive-hero-form {
		margin-top: var(--wp--preset--spacing--40);
	}

	.euromotive-footer-form {
		padding: var(--wp--preset--spacing--30) !important;
	}
}

/* Smooth scroll */
html {
	scroll-behavior: smooth;
}

/* Subtle animation on scroll (enhancement) */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.euromotive-animate {
	animation: fadeInUp 0.6s ease-out forwards;
}
