/*
Theme Name: Hezida
Theme URI: https://hezida.fr
Author: Hezida
Author URI: https://hezida.fr
Description: Thème WordPress léger pour Hezida (Accueil, Services, Contact, Mentions légales) avec section vidéo d'accueil.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hezida
*/

/* ========== STYLES DE BASE WORDPRESS ========== */
/* Import des styles principaux */
@import url('assets/css/main.css');

/* ========== COMPATIBILITÉ WORDPRESS ========== */
/* Styles de base pour WordPress */
.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

.wp-caption {
	max-width: 100%;
	margin-bottom: 1.5em;
}

.wp-caption img {
	display: block;
	margin: 0 auto;
}

.wp-caption-text {
	text-align: center;
	font-size: 0.875em;
	color: #666;
	margin-top: 0.5em;
}

.gallery-caption {
	text-align: center;
	font-size: 0.875em;
	color: #666;
	margin-top: 0.5em;
}

.sticky {
	position: relative;
}

.bypostauthor {
	background: rgba(99, 102, 241, 0.1);
	padding: 1rem;
	border-left: 4px solid #6366f1;
}

/* ========== COMPATIBILITÉ WIDGETS ========== */
.widget {
	margin-bottom: 2rem;
}

.widget-title {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 1rem;
	color: #1f2937;
}

.widget ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.widget ul li {
	padding: 0.5rem 0;
	border-bottom: 1px solid #e5e7eb;
}

.widget ul li:last-child {
	border-bottom: none;
}

.widget ul li a {
	color: #4b5563;
	text-decoration: none;
	transition: color 0.3s ease;
}

.widget ul li a:hover {
	color: #6366f1;
}

/* ========== COMPATIBILITÉ COMMENTS ========== */
.comment-list {
	list-style: none;
	padding: 0;
}

.comment {
	margin-bottom: 2rem;
	padding: 1.5rem;
	background: #f9fafb;
	border-radius: 0.5rem;
}

.comment-author {
	font-weight: 600;
	color: #1f2937;
}

.comment-meta {
	font-size: 0.875rem;
	color: #6b7280;
	margin-bottom: 0.5rem;
}

.comment-content {
	line-height: 1.6;
}

/* ========== COMPATIBILITÉ FORMS ========== */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 0.75rem;
	border: 2px solid #e5e7eb;
	border-radius: 0.5rem;
	font-family: inherit;
	font-size: 1rem;
	transition: border-color 0.3s ease;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: #6366f1;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.comment-form input[type="submit"] {
	background: #6366f1;
	color: white;
	padding: 0.75rem 1.5rem;
	border: none;
	border-radius: 0.5rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.comment-form input[type="submit"]:hover {
	background: #4f46e5;
}

/* ========== COMPATIBILITÉ PAGINATION ========== */
.navigation {
	margin: 2rem 0;
	text-align: center;
}

.nav-links {
	display: inline-flex;
	gap: 0.5rem;
}

.nav-previous,
.nav-next {
	padding: 0.75rem 1rem;
	background: #6366f1;
	color: white;
	text-decoration: none;
	border-radius: 0.5rem;
	transition: background-color 0.3s ease;
}

.nav-previous:hover,
.nav-next:hover {
	background: #4f46e5;
	color: white;
}

/* ========== COMPATIBILITÉ SEARCH ========== */
.search-form {
	display: flex;
	gap: 0.5rem;
}

.search-form input[type="search"] {
	flex: 1;
	padding: 0.75rem;
	border: 2px solid #e5e7eb;
	border-radius: 0.5rem;
	font-family: inherit;
	font-size: 1rem;
}

.search-form input[type="submit"] {
	background: #6366f1;
	color: white;
	padding: 0.75rem 1rem;
	border: none;
	border-radius: 0.5rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.search-form input[type="submit"]:hover {
	background: #4f46e5;
}

/* ========== COMPATIBILITÉ RESPONSIVE ========== */
@media (max-width: 768px) {
	.alignleft,
	.alignright {
		float: none;
		margin-left: 0;
		margin-right: 0;
		text-align: center;
	}
	
	.search-form {
		flex-direction: column;
	}
}
