/*
Theme Name: EzyBusi Directory
Theme URI: https://ezybusi.com
Author: Ton Nom
Author URI: https://ezybusi.com
Description: Thème WordPress pour annuaire de sites (directory) simple et moderne.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: ezybusi-directory
*/

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f5f5f7;
    color: #222;
}

/* Layout global */
.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    background: #0f172a;
    color: #fff;
    padding: 15px 20px;
}

.site-header .site-title a {
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
}

.site-header .site-tagline {
    font-size: 13px;
    opacity: 0.8;
}

/* Menu */
.main-nav {
    margin-top: 10px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 0;
    margin: 0;
}

.main-nav a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 14px;
}

.main-nav a:hover {
    color: #ffffff;
}

/* Contenu */
.site-main {
    flex: 1;
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 15px;
}

.site-footer {
    background: #0b1120;
    color: #9ca3af;
    text-align: center;
    padding: 15px 0;
    font-size: 13px;
}

/* Cartes / articles */
.post-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 15px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.post-card h2 a {
    text-decoration: none;
    color: #111827;
}

.post-card h2 a:hover {
    color: #1d4ed8;
}

.post-meta {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
}

/* Boutons */
.button,
button,
input[type="submit"],
input[type="button"] {
    background: #1d4ed8;
    border: none;
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    background: #2563eb;
}

/* Formulaires */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    margin-bottom: 10px;
    font-size: 14px;
}

h1, h2, h3 {
    color: #0f172a;
}

/* Page d'accueil annuaire */
.home-hero {
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    border-radius: 0 0 24px 24px;
    margin-bottom: 20px;
}

.home-hero h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.home-hero p {
    font-size: 15px;
    opacity: 0.9;
}

.home-section {
    margin-bottom: 25px;
}

.home-section h2 {
    font-size: 20px;
    margin-bottom: 10px;
}
