/* ========================================
   STYLES DE BASE
   ======================================== */
/* Paragraphes globaux */
p {
    color: #fff;
    text-align: center;
    font-style: italic;
    font-weight: bold;
    font-size: 1.35em;
}

/* ========================================
   HEADER
   ======================================== */
.header-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 40px 0;
}

.header-content::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('../images/com/fontete.jpg');
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.header-content > * {
    position: relative;
    z-index: 1;
}

h1 {
    margin: 0px 0;
    color: #fff;
    text-align: center;
}

.logo-img {
    width: 200px;
    height: auto;
    margin: 0;
    padding: 0;
    display: block;
}

/* ========================================
   LAYOUT PRINCIPAL
   ======================================== */
.corps {
    background: #e5e0e0;
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
}

.intro-section,
.pages-section,
.contact-section,
.section-nos-pages,
.branham-section,
.ecodim-section,
.louange-section,
.campement-section,
.chants-section,
.communion-section,
.audio-section,
.video-section,
.meditation-section,
.archives-section,
.graphique-section {
    background: #e5e0e0;
    padding: 20px;
    width: 100%;
}

.site-main {
    background: #e5e0e0;
    width: 100%;
}

body {
    background-color: #303030;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}
/* ========================================
   SECTION C2 (Texte + Image Branham)
   ======================================== */
.tete31 {
    text-align: right;
    color: #000000;
    margin-top: 90px;
    margin-right: auto;
    margin-right: 12px;
    font-size: 1.35em;
    font-style: italic;
    font-weight: bold;
}

.c2 {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    max-width: 1100px;
    width: 100%;
    background: transparent;
    margin: 0 auto;
}

.tete3 {
    flex: 1;
    margin: 0;
    font-size: 1.1em;
    line-height: 1.6;
    max-width: 650px;
    margin-top: 62px;
    color: #000000;
}

/* Image de Branham */
.branham-img {
    flex: 1;
    width: 260px;
    height: auto;
    border-radius: 8px;
    max-width: 300px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    background: #b9b5b5;
    padding: 8px;
}


/* ========================================
   MENU HAMBURGER
   ======================================== */
.menu-toggle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
 
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    cursor: pointer;
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 101;
    padding: 0;
    transition: background 0.2s;
    
}
.menu-toggle:hover {
    background: #d3b1b1;
}
.menu-toggle .bar {
    display: block;
    width: 26px;
    height: 4px;
    margin: 3px 0;
    background: #444;
    border-radius: 2px;
    transition: 0.3s;
    
}

/* ========================================
   SECTION NOS PAGES - Cards avec liens
   ======================================== */
   .section-nos-pages {
    width: 100%;
    background-color: #e5e0e0;
    padding: 20px 0;
}

   .lien-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
  
}

.lien-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 20px;
    gap: 25px;
}

.lien-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.lien-photo {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.lien-texte {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lien-texte h3 {
    margin: 0;
    font-size: 1.4em;
    color: #2c3e50;
    font-weight: 700;
    line-height: 1.3;
}

.lien-texte p {
    margin: 0;
    font-size: 1.05em;
    color: #666;
    line-height: 1.6;
    font-style: normal;
    font-weight: normal;
}


/* ========================================
   MENU DÉROULANT
   ======================================== */
.menu-list {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: #f1dada;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    position: absolute;
    top: 80px;
    left: 24px;
    min-width: 220px;
    z-index: 100;
    padding: 0;
    margin: 0;
    list-style: none;
    overflow: hidden;
    
}
.menu-list.show {
    display: flex;
}
.menu-list li {
    width: 100%;
}
.menu-list li a {
    display: block;
    padding: 16px 28px;
    color: #222;
    text-decoration: none;
    font-size: 1.1em;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}
.menu-list li a:hover {
    background: #f2f2f2;
}
.menu-list li:last-child a {
    border-bottom: none;
}

/* ========================================
   RESPONSIVE - PETITS ÉCRANS
   ======================================== */

/* Tablettes et petits écrans (max 768px) */
@media screen and (max-width: 768px) {
    .c2 {
        flex-direction: column;
        align-items: center;
        text-align: center;
        overflow: visible;
    }
    
    .tete31 {
        font-size: 1.2em;
        text-align: center;
        margin-top: 20px;
        margin-right: 0;
    }
    
    .tete3 {
        font-size: 0.95em;
        line-height: 1.5;
        max-width: 100%;
        text-align: center;
        margin-top: 20px;
        margin-left: 0;
    }
    
    .branham-img {
        width: 200px;
        max-width: 250px;
        margin-left: 0 !important;
    }
    
    .corps {
    background: #e5e0e0;
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
}

.intro-section,
.pages-section,
.contact-section,
.section-nos-pages,
.branham-section,
.ecodim-section,
.louange-section,
.campement-section,
.chants-section,
.communion-section,
.audio-section,
.video-section,
.meditation-section,
.archives-section,
.graphique-section {
    background: #e5e0e0;
    padding: 20px;
    width: 100%;
}

.site-main {
    background: #e5e0e0;
    width: 100%;
}
    
    h1 {
        font-size: 1.5em;
    }
    
    .logo-img {
        width: 150px;
    }
    
    .section-nos-pages {
        padding: 20px 0;
    }
    
    .lien-container {
        padding: 0 15px;
        margin: 20px auto;
    }
    
    .lien-card {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .lien-photo {
        width: 150px;
        height: 150px;
    }
    
    .lien-texte h3 {
        font-size: 1.2em;
    }
    
    .lien-texte p {
        font-size: 0.95em;
    }
}

/* Smartphones (max 480px) */
@media screen and (max-width: 480px) {
    .tete31 {
        font-size: 1em;
    }
    
    .tete3 {
        font-size: 0.85em;
        line-height: 1.4;
        margin-left: 0;
    }
    
    .branham-img {
        width: 150px;
        max-width: 180px;
        margin-left: 0 !important;
    }
    
    .corps {
    background: #e5e0e0;
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
}

.intro-section,
.pages-section,
.contact-section,
.section-nos-pages,
.branham-section,
.ecodim-section,
.louange-section,
.campement-section,
.chants-section,
.communion-section,
.audio-section,
.video-section,
.meditation-section,
.archives-section,
.graphique-section {
    background: #e5e0e0;
    padding: 20px;
    width: 100%;
}

.site-main {
    background: #e5e0e0;
    width: 100%;
}
    
    h1 {
        font-size: 1.2em;
        padding: 0 10px;
    }
    
    .logo-img {
        width: 120px;
    }
    
    .header-content {
        padding: 20px 0;
    }
    
    p {
        font-size: 1em;
    }
    
    .section-nos-pages {
        padding: 15px 0;
    }
    
    .lien-container {
        padding: 0 10px;
        gap: 20px;
        margin: 15px auto;
    }
    
    .lien-card {
        padding: 12px;
        gap: 15px;
    }
    
    .lien-photo {
        width: 120px;
        height: 120px;
    }
    
    .lien-texte h3 {
        font-size: 1em;
    }
    
    .lien-texte p {
        font-size: 0.85em;
    }
    
    .menu-toggle {
        width: 40px;
        height: 40px;
        top: 15px;
        left: 15px;
    }
    
    .menu-toggle .bar {
        width: 22px;
        height: 3px;
    }
    
    .menu-list {
        top: 65px;
        left: 15px;
        min-width: 180px;
    }
    
    .menu-list li a {
        padding: 12px 20px;
        font-size: 0.95em;
    }
}

/* Très petits smartphones - iPhone SE, etc. (max 375px) */
@media screen and (max-width: 375px) {
    .tete31 {
        font-size: 0.9em;
        line-height: 1.3;
    }
    
    .tete3 {
        font-size: 0.75em;
        line-height: 1.3;
        text-align: justify;
        margin-left: 0;
    }
    
    .branham-img {
        width: 120px;
        max-width: 150px;
        padding: 5px;
        margin-left: 0 !important;
    }
    
    .corps {
    background: #e5e0e0;
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
}

.intro-section,
.pages-section,
.contact-section,
.section-nos-pages,
.branham-section,
.ecodim-section,
.louange-section,
.campement-section,
.chants-section,
.communion-section,
.audio-section,
.video-section,
.meditation-section,
.archives-section,
.graphique-section {
    background: #e5e0e0;
    padding: 20px;
    width: 100%;
}

.site-main {
    background: #e5e0e0;
    width: 100%;
}
    
    h1 {
        font-size: 1em;
        padding: 0 8px;
        line-height: 1.2;
    }
    
    .logo-img {
        width: 100px;
    }
    
    .header-content {
        padding: 15px 0;
    }
    
    p {
        font-size: 0.9em;
    }
    
    .section-nos-pages {
        padding: 10px 0;
    }
    
    .lien-container {
        padding: 0 8px;
        gap: 15px;
        margin: 15px auto;
    }
    
    .lien-card {
        padding: 10px;
        gap: 12px;
    }
    
    .lien-photo {
        width: 100px;
        height: 100px;
    }
    
    .lien-texte h3 {
        font-size: 0.9em;
        line-height: 1.2;
    }
    
    .lien-texte p {
        font-size: 0.75em;
        line-height: 1.3;
    }
    
    .menu-toggle {
        width: 36px;
        height: 36px;
        top: 12px;
        left: 12px;
    }
    
    .menu-toggle .bar {
        width: 20px;
        height: 2.5px;
        margin: 2.5px 0;
    }
    
    .menu-list {
        top: 58px;
        left: 12px;
        min-width: 160px;
    }
    
    .menu-list li a {
        padding: 10px 16px;
        font-size: 0.85em;
    }
}

/* ========================================
   BOUTONS MODERNES
   ======================================== */

/* Styles pour les menus déroulants */
.button.out {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    gap: 20px;
}

.dropdown {
    position: relative;
    display: inline-block;
    flex: 1;
    max-width: 300px;
}

.dropdown button {
    background: rgba(255, 255, 255, 0.1);
    color: #000;
    border: 1px solid rgba(255, 255, 255, 0.29);
    border-radius: 12px;
    padding: 12px 28px;
    font-size: 1.1em;
    font-weight: bold;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(6.7px);
    -webkit-backdrop-filter: blur(6.7px);
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    letter-spacing: 0.5px;
    display: inline-block;
    width: 100%;
    min-width: 200px;
}

.dropdown button:hover, .dropdown button:focus {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #000;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(6.7px);
    -webkit-backdrop-filter: blur(6.7px);
    border: 1px solid rgba(255, 255, 255, 0.29);
    min-width: 200px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 12px;
    overflow: hidden;
    top: 100%;
    left: 0;
    margin-top: 5px;
}

.dropdown-content a {
    color: #000;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.dropdown-content.show {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design pour les menus déroulants */
@media (max-width: 768px) {
    .button.out {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .dropdown {
        display: block;
        width: 100%;
        max-width: none;
    }
    
    .dropdown button {
        width: 100%;
        min-width: auto;
    }
    
    .dropdown-content {
        width: 100%;
        position: static;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.29);
        border-radius: 12px;
        margin-top: 5px;
    }
}

/* Modal styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.show {
    display: flex;
}
.modal-box {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    max-width: 520px;
    width: 100%;
    padding: 22px 22px 18px 22px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.modal-box h2 {
    margin: 0 0 8px 0;
    text-align: center;
    color: #111;
}
.modal-content {
    text-align: center;
}
.modal-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}
.modal-content p {
    margin: 8px 0;
    color: #222;
}

#search-input {
    display: none;
    position: fixed;
    top: 24px;
    right: 24px;
    width: 280px;
    padding: 12px 16px;
    border-radius: 24px;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6.7px);
    -webkit-backdrop-filter: blur(6.7px);
    font-size: 1em;
    color: #222;
    box-shadow: 0 4px 24px rgba(0,0,0,0.13);
    outline: none;
    transition: box-shadow 0.2s, border 0.2s, background 0.2s, opacity 0.25s, transform 0.25s;
    opacity: 0;
    pointer-events: none;
}
#search-input.show {
    display: block;
    opacity: 1;
    pointer-events: auto;
}
#search-input:focus {
    border: 1.5px solid #d3b1b1;
    background: #fff;
    box-shadow: 0 6px 32px rgba(180, 120, 120, 0.18);
}
