/* Amstramgram Net - Style CSS */
/* Réseau social généraliste - Milice Aquilonienne */

:root {
    --primary-color: #1a4d1a;
    --secondary-color: #f5f5dc;
    --accent-color: #8b0000;
    --text-color: #333;
    --light-gray: #f0f0f0;
    --border-radius: 8px;
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Verdana, sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Layout principal */
.gaia-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.eco-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 0;
    text-align: center;
    margin-bottom: 30px;
    border-radius: var(--border-radius);
}

/* En-tête */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent-color);
}

.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 15px;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* Fil d'actualité */
.feed {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.post-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.post-info h3 {
    margin: 0;
    color: var(--primary-color);
}

.post-info span {
    color: #666;
    font-size: 14px;
}

.post-content {
    margin-bottom: 15px;
}

.post-actions {
    display: flex;
    gap: 15px;
    color: #666;
}

.post-actions span {
    cursor: pointer;
}

.post-actions span:hover {
    color: var(--accent-color);
}

/* Commentaires */
.comments {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.comment {
    display: flex;
    margin-bottom: 15px;
}

.comment-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.comment-content {
    flex: 1;
}

.comment-content h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: var(--primary-color);
}

.comment-content p {
    margin: 0;
    font-size: 14px;
}

/* Barre latérale */
aside {
    width: 300px;
    padding: 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.trending {
    margin-bottom: 30px;
}

.trending h3 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 10px;
}

.trending ul {
    list-style: none;
}

.trending li {
    padding: 8px 0;
    border-bottom: 1px solid var(--light-gray);
}

.trending a {
    color: var(--text-color);
    text-decoration: none;
}

.trending a:hover {
    color: var(--accent-color);
}

/* Pied de page */
footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    color: #666;
    font-size: 14px;
    border-top: 1px solid var(--light-gray);
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--accent-color);
}

/* Formulaires */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
}

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

/* Responsive - Mobile */
@media (max-width: 768px) {
    .gaia-container {
        padding: 10px;
    }

    header {
        flex-direction: column;
        gap: 10px;
    }

    .feed {
        padding: 0;
    }

    aside {
        width: 100%;
        margin-top: 20px;
    }

    .post-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .avatar {
        margin-bottom: 10px;
    }
}

/* Classes forensiques supplémentaires */
.gaia-post {
    border-left: 3px solid var(--accent-color);
}

.eco-footer {
    background-color: var(--primary-color);
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 12px;
}

/* Animations subtiles */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.post {
    animation: fadeIn 0.3s ease-in;
}

/* Style pour les hashtags */
.hashtag {
    color: var(--accent-color);
}

/* Style pour les mentions */
.mention {
    color: var(--primary-color);
    font-weight: bold;
}