*
Theme Name: JardinerBio Child
Theme URI: https://jardinerbio.com
Author: JardinerBio
Author URI: https://jardinerbio.com
Description: Thème enfant GeneratePress pour jardinerbio.com
Version: 1.0
Template: generatepress
Text Domain: jardinerbio-child
*/

/* ---------------------------------------
   CSS PERSONNALISÉ POUR JARDINERBIO
---------------------------------------- */

/* Réinitialisation */
.site-header, .main-navigation {
    display: none !important;
}

/* Header principal */
.jbio-header {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
    height: 80px;
}

.jbio-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    position: relative;
}

/* Logo */
.jbio-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.jbio-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.jbio-logo-text {
    font-size: 32px;
    font-weight: 700;
    color: #333;
}

.jbio-logo-bio {
    color: #4CAF50;
}

.jbio-logo-icon {
    margin-left: 8px;
    width: 40px;
    height: 40px;
}

/* Bouton menu */
.jbio-menu-toggle {
    position: absolute;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    z-index: 1001;
    padding: 10px;
}

/* Menu principal - Overlay */
.jbio-main-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 350px;
    max-width: 80%;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
}

.jbio-main-menu.active {
    transform: translateX(0);
}

.jbio-menu-header {
    display: flex;
    justify-content: flex-end;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.jbio-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.jbio-menu-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.jbio-menu-items li {
    border-bottom: 1px solid #eee;
}

.jbio-menu-items li:last-child {
    border-bottom: none;
}

.jbio-menu-items a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}

.jbio-menu-items a:hover {
    background: #f8f8f8;
}

/* Overlay */
.jbio-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.jbio-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .jbio-logo-text {
        font-size: 28px;
    }

    .jbio-logo-icon {
        width: 35px;
        height: 35px;
    }

    .jbio-main-menu {
        width: 85%;
    }
}

@media (min-width: 1200px) {
    .jbio-main-menu {
        width: 350px;
    }
}
