/* Style sobre pour l'application Yi King */

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.site-header {
    background-color: #2c3e50;
    color: white;
    padding: 15px 0;
    margin-bottom: 30px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content h1 {
    margin: 0;
    font-size: 1.8em;
}

.nav {
    display: flex;
    gap: 20px;
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 0.9em;
}

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

.nav-separator {
    width: 1px;
    height: 20px;
    background-color: #bdc3c7;
}

.site-footer {
    background-color: #2c3e50;
    color: white;
    padding: 20px 0;
    margin-top: 50px;
    text-align: center;
}

.site-footer .subtext {
    font-size: 0.8em;
    color: #bdc3c7;
}

h1 {
    color: #2c3e50;
    margin-top: 0;
}

h2 {
    color: #34495e;
    margin-top: 30px;
}

h3 {
    color: #2c3e50;
    margin-top: 25px;
}

.description {
    color: #7f8c8d;
    font-style: italic;
}

.btn-primary {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.btn-secondary {
    display: inline-block;
    background-color: #ecf0f1;
    color: #2c3e50;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: normal;
}

.btn-secondary:hover {
    background-color: #bdc3c7;
}

.coming-soon {
    font-size: 0.9em;
    color: #7f8c8d;
    margin-top: 10px;
}

.hexagramme {
    background-color: white;
    border: 1px solid #bdc3c7;
    padding: 25px;
    border-radius: 6px;
    margin: 30px 0;
}

.hexagramme-visuel {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 20px 0;
    height: 120px;
}

.ligne {
    width: 60px;
    height: 20px;
    margin: 0 auto;
}

.ligne.yang {
    background-color: #2c3e50;
    border-radius: 10px;
}

.ligne.yin {
    background-color: #ecf0f1;
    border-top: 5px solid #2c3e50;
    border-bottom: 5px solid #2c3e50;
}

.texte-hexagramme {
    font-style: italic;
    color: #34495e;
}

.lignes-detail {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 6px;
}

.ligne-detail {
    margin-bottom: 15px;
    padding: 10px;
    background-color: white;
    border-left: 4px solid #3498db;
}

.ligne-detail h4 {
    margin-top: 0;
    color: #3498db;
}

.texte-ligne {
    font-weight: bold;
    margin-bottom: 5px;
}

.interpretation-ligne {
    font-size: 0.9em;
    color: #555;
}

.tirage-again {
    text-align: center;
    margin-top: 40px;
}

.info {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 6px;
    margin-top: 40px;
}

.back-link {
    margin-bottom: 20px;
}