/* NEWP Theme - Block Styles Overrides */

/* Navigation Block Fixes */
.wp-block-navigation {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.wp-block-navigation__container {
	list-style: none;
	padding: 0;
	margin: 0;
}

.wp-block-navigation-item {
	list-style: none;
	margin: 0;
}

.wp-block-navigation-item__content {
	display: flex;
	align-items: center;
	padding: 8px 0;
}

.wp-block-navigation-item a {
	color: #1A2744;
	text-decoration: none;
	font-weight: 500;
	font-size: 14px;
	transition: color 0.3s ease;
	padding: 8px 16px;
}

.wp-block-navigation-item a:hover {
	color: #C2185B;
}

/* List Styling in Footer */
.wp-block-navigation.is-footer .wp-block-navigation__container {
	list-style: none;
	padding: 0;
	margin: 0;
}

.wp-block-navigation.is-footer .wp-block-navigation-item {
	list-style: none;
	padding: 0;
	margin: 8px 0;
}

.wp-block-navigation.is-footer .wp-block-navigation-item a {
	color: #8898AA;
	text-decoration: none;
	transition: color 0.3s ease;
}

.wp-block-navigation.is-footer .wp-block-navigation-item a:hover {
	color: white;
}

/* General List Styling */
.wp-block-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.wp-block-list li {
	padding: 8px 0;
	margin: 0;
	list-style: none;
}

.wp-block-list a {
	color: #8898AA;
	text-decoration: none;
	transition: color 0.3s ease;
}

.wp-block-list a:hover {
	color: white;
}

/* Card Hover Effects */
.newp-service-card {
	transition: all 0.3s ease;
	transform: translateY(0);
}

.newp-service-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 24px rgba(194, 24, 91, 0.15) !important;
	background: white !important;
}

.newp-team-card {
	transition: all 0.3s ease;
	transform: translateY(0);
}

.newp-team-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15) !important;
}

/* Button Styles */
.wp-block-button__link {
	transition: all 0.3s ease;
	border-radius: 6px;
	font-weight: 600;
	padding: 14px 32px !important;
	font-size: 16px;
}

.newp-btn-primary {
	margin-right: 16px;
}

.newp-btn-secondary .wp-block-button__link {
	border: 2px solid white;
	background: transparent !important;
	color: white !important;
}

.newp-btn-secondary .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.1) !important;
}

.newp-btn-cta .wp-block-button__link {
	background-color: white !important;
	color: #C2185B !important;
	box-shadow: 0 4px 12px rgba(194, 24, 91, 0.25);
}

.newp-btn-cta .wp-block-button__link:hover {
	box-shadow: 0 8px 24px rgba(194, 24, 91, 0.35);
	transform: translateY(-2px);
}

/* Cover Block Adjustments */
.wp-block-cover {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 400px;
}

.newp-hero-home {
	min-height: 600px;
}

.newp-hero-service {
	min-height: 400px;
}

.newp-hero-ville {
	min-height: 500px;
}

/* CTA Sections */
.newp-cta-contact,
.newp-cta-devis-part {
	min-height: 300px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Stat Counter Animation */
.newp-stat-card {
	opacity: 0;
	animation: fadeInUp 0.6s ease forwards;
}

.newp-stat-card:nth-child(1) {
	animation-delay: 0.1s;
}

.newp-stat-card:nth-child(2) {
	animation-delay: 0.2s;
}

.newp-stat-card:nth-child(3) {
	animation-delay: 0.3s;
}

.newp-stat-card:nth-child(4) {
	animation-delay: 0.4s;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* FAQ Styles */
.newp-faq-item {
	background: white;
	margin-bottom: 16px;
	border: 1px solid #e0e0e0 !important;
	border-radius: 6px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.newp-faq-item:hover {
	border-color: #C2185B !important;
	box-shadow: 0 4px 12px rgba(194, 24, 91, 0.1);
}

.newp-faq-item summary {
	padding: 20px;
	cursor: pointer;
	background: #f8f9fa;
	font-weight: 600;
	color: #1A2744;
	display: flex;
	justify-content: space-between;
	align-items: center;
	user-select: none;
	transition: all 0.3s ease;
}

.newp-faq-item summary:hover {
	background: #f0f1f2;
	color: #C2185B;
}

.newp-faq-item[open] summary {
	background: #f0f1f2;
	border-bottom: 2px solid #C2185B;
}

.newp-faq-item summary::-webkit-details-marker {
	display: none;
}

.newp-faq-item summary span {
	transition: transform 0.3s ease;
	font-size: 18px;
	color: #C2185B;
}

.newp-faq-item[open] summary span {
	transform: rotate(90deg);
}

/* Responsive Grid */
@media (max-width: 768px) {
	.newp-services-grid {
		grid-template-columns: 1fr !important;
		gap: 24px !important;
	}

	.newp-stats-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 24px !important;
	}

	.newp-team-grid {
		grid-template-columns: 1fr !important;
		gap: 24px !important;
	}

	.newp-hero-home {
		min-height: 400px;
	}

	.newp-hero-title {
		font-size: 32px !important;
	}

	.newp-hero-subtitle {
		font-size: 16px !important;
	}

	.newp-btn-primary {
		margin-right: 0;
		margin-bottom: 12px;
	}

	.wp-block-buttons {
		flex-direction: column;
	}
}

@media (max-width: 480px) {
	.newp-stats-grid {
		grid-template-columns: 1fr !important;
		gap: 16px !important;
	}

	.newp-hero-title {
		font-size: 24px !important;
	}

	.newp-btn-secondary .wp-block-button__link {
		display: none;
	}

	.wp-block-button__link {
		padding: 12px 24px !important;
		font-size: 14px;
	}

	.newp-section-title {
		font-size: 24px !important;
	}
}
