/*
Theme Name: LithurgieAncmf
Theme URI: http://example.com/
Author: Votre Nom
Description: Thème minimaliste pour créer des liturgies.
Version: 1.5
Text Domain: 
*/

/* ========================
   Styles généraux
======================== */
body {
    font-family: Arial, sans-serif;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    background: #fafafa;
    color: #333;
}

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

main {
    max-width: 960px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 6px;
}

.site-title {
    margin: 0;
    font-size: 1.6rem;
}

.site-menu {
    list-style: none;
    margin: 10px 0 0 0;
    padding: 0;
    display: flex;
    gap: 18px;
}

.site-menu li {
    display: inline-block;
}

.site-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.site-menu a:hover {
    color: #0073aa;
}

/* ========================
   Header & Navigation
======================== */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
    z-index: 1000;
}

.header-inner {
    max-width: 1200px;
    margin: auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo a {
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    color: #0073e6;
}

/* Menu desktop */
.site-navigation .site-menu {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

/* Bouton hamburger */
.menu-toggle {
    display: none;
    /* caché par défaut */
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: #333;
    display: block;
}

/* ========================
   Mobile
======================== */
@media (max-width: 768px) {

    .menu-toggle {
        display: flex;
    }

    .site-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #dfecee;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        transition: max-height 0.4s ease, opacity 0.4s ease;
        border-bottom: 1px solid #ddd;
        z-index: 999;
    }

    .site-navigation.open {
        max-height: 1000px;
        /* assez grand pour contenir tout le menu */
        opacity: 1;
    }

    .site-navigation .site-menu {
        flex-direction: column;
        padding: 15px 20px;
        gap: 15px;
    }

    .site-logo-img {
        height: 30px;
        /* réduit sur mobile */
    }
}

/* Responsive supplémentaires */
@media (max-width:700px) {
    .site-menu {
        flex-direction: column;
        gap: 10px;
    }

    main,
    .liturgie-container {
        margin: 12px;
        padding: 12px;
    }
}

/* ========================
   Autres styles généraux
======================== */
body {
    font-family: Arial, sans-serif;
}

h1,
h2,
h3 {
    margin: 0;
}

a {
    text-decoration: none;
}

/* Logo desktop */
.site-logo-img {
    height: 50px;
    /* taille sur desktop */
    width: auto;
}