/* belgor.eu — CSS statique (copie identique du thème Writers Blogily / Quick Reading) */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 100%; }

body {
    background-color: #333333;
    color: #999999;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: #999999; text-decoration: none; }
a:hover { color: #e8a035; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 { font-family: 'Saira Semi Condensed', 'Open Sans', Arial, sans-serif; font-weight: 700; }

/* Skip link */
.skip-link {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
}

/* Grid (Foundation simplified) */
.grid-container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.grid-x { display: flex; flex-wrap: wrap; }
.grid-padding-x > .cell { padding: 0 15px; }

.large-4 { width: 33.3333%; }
.large-8 { width: 66.6667%; }
.medium-2 { }
.medium-4 { }
.medium-8 { }
.medium-10 { }

/* Navigation */
.navigation-wrapper {
    background: #333333;
    padding: 10px 0;
}

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

.site-branding { flex: 0 0 auto; }

.custom-logo-link img {
    max-height: 80px;
    width: auto;
    display: block;
}

.logo-container {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
}

.main-navigation a { color: #d8d8d8; }

/* Content */
.start-container-head { padding-top: 20px; }

#primary { padding-bottom: 40px; }

.entry-title {
    color: #ffffff;
    font-size: 2em;
    margin-bottom: 20px;
}

.entry-content {
    color: #999999;
    line-height: 1.8;
}

.entry-content p { margin-bottom: 15px; }

.entry-content h2 {
    color: #ffffff;
    font-size: 1.3em;
    margin: 10px 0;
}

.entry-content a { color: #ffcc00; }
.entry-content a:hover { color: #e8a035; }

/* Sidebar */
#secondary {
    padding-top: 20px;
}

#secondary .widget {
    background: #333333;
    padding: 15px;
    margin-bottom: 20px;
}

/* Galerie thumbnails (page accueil) */
.bwg-thumbnails {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin: 20px auto;
    max-width: 100%;
}

.bwg-item {
    max-width: 250px;
    flex: 0 0 250px;
}

.bwg-item a {
    display: block;
    text-decoration: none;
}

.bwg-item0 {
    background-color: rgba(0,0,0, 0.30);
    position: relative;
    overflow: hidden;
}

.bwg-item1 {
    padding-top: 56%;
    position: relative;
    overflow: hidden;
}

.bwg-item2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bwg-item2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.bwg-item:hover .bwg-item2 img {
    transform: scale(1.08);
}

.bwg-zoom-effect-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    background-color: rgba(0,0,0, 0.3);
    transition: opacity 0.3s;
}

.bwg-item:hover .bwg-zoom-effect-overlay {
    opacity: 1;
}

.bwg-title2 {
    color: #ffffff;
    font-family: 'Ubuntu', 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    padding: 10px;
}

/* MaxButton — Nos créations (diaporama) */
.maxbutton-diaporama,
.maxbutton-contact,
.maxbutton-interor {
    display: inline-block;
    text-decoration: none;
    border: 2px solid #7a7a7a;
    border-radius: 4px;
    background: linear-gradient(#bfbfbf 45%, #333);
    box-shadow: 0px 0px 2px 0px #333333;
    transition: all 0.3s;
}

.maxbutton-diaporama:hover,
.maxbutton-contact:hover,
.maxbutton-interor:hover {
    border-color: #0a0a0a;
    background: linear-gradient(black 45%, white);
    box-shadow: 0px 0px 2px 0px #dddddd;
}

.maxbutton-diaporama .mb-text,
.maxbutton-contact .mb-text,
.maxbutton-interor .mb-text {
    color: #ffffff;
    font-family: 'Trebuchet MS', sans-serif;
    font-size: 15px;
    text-align: center;
    line-height: 1em;
    display: block;
    padding: 10px;
    text-shadow: 0px 0px 0px #ffffff;
}

.maxbutton-diaporama:hover .mb-text,
.maxbutton-contact:hover .mb-text,
.maxbutton-interor:hover .mb-text {
    color: #e8a035;
    text-shadow: 0px 0px 0px #333333;
}

/* Diaporama (MetaSlider) */
.metaslider {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.rslides {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.rslides li {
    display: none;
}

.rslides li:first-child {
    display: block;
}

.rslides img {
    width: 100%;
    height: auto;
    display: block;
}

/* Page produit — image centrée */
.page-product-image {
    text-align: center;
    margin: 20px 0;
}

.page-product-image img {
    max-width: 554px;
    margin: 0 auto;
}

/* Footer */
.footer-container {
    background: #333333;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #444;
}

.site-info {
    text-align: center;
    color: #666;
    font-size: 14px;
}

.site-info a { color: #999; }

/* Contact */
.contact-info {
    text-align: center;
    color: #ffffff;
}

.contact-info a { color: #ffcc00; font-size: 1.2em; }

.contact-address {
    text-align: center;
    color: #ffffff;
    margin: 20px 0;
    line-height: 2;
}

/* RGPD banner */
.rgpd-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #222;
    color: #ccc;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 9999;
    font-size: 14px;
    border-top: 1px solid #555;
}

.rgpd-banner a { color: #ffcc00; }

.rgpd-banner button {
    background: #e8a035;
    color: #000;
    border: none;
    padding: 8px 20px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
}

.rgpd-banner button:hover { background: #ffcc00; }

/* Responsive */
@media only screen and (max-width: 768px) {
    .large-4, .large-8 { width: 100%; }
    .grid-x { flex-direction: column; }
    .bwg-item { flex: 0 0 48%; max-width: 48%; }
    .maxbutton-diaporama, .maxbutton-contact, .maxbutton-interor { width: 90%; }
    .maxbutton-diaporama .mb-text, .maxbutton-contact .mb-text, .maxbutton-interor .mb-text { font-size: 12px; }
    #secondary { padding: 0 15px; }
}

@media only screen and (max-width: 480px) {
    .bwg-item { flex: 0 0 100%; max-width: 100%; }
    .entry-title { font-size: 1.5em; }
}
