/*
Theme Name: godierfineart
Author: Moi
Version: 1.0
*/
:root {
        --primary-color: #b9740c;
        --text-dark: #333;
        --menu-color: #555;
        --gray-color: #95a5a6;
        --white: #ffffff;
        --gray-dark: #34495e;
}
    * {
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  font-family: sans-serif;
  box-sizing: border-box;
  }

  html,
body,
ol,
ul,
li,
dl,
dt,
dd,
blockquote,
figure,
fieldset,
form,
legend,
textarea,
pre,
iframe,
hr,
h1,
h2,
h3,
h4,
h5,
h6 {
	padding: 0;
	margin: 0;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
    font-family: "Raleway", sans-serif;
}

p {
  padding: 0;
	margin: 4px 0 4px 0;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased; 
    font-size: 1.1em;
    color: var(--gray-color);
}

hr {
    border-style: dashed;
    height: 1px;
    background-color: #e8e6e6;
    margin: 40px 0;
}

*::before,
*::after {
	box-sizing: inherit;
}
  
  body {
  padding: 0 0px;
  font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 200;
}
a:hover {
    color: var(--text-dark);
}

    .entry-header-page {
	min-height: 100px;
    margin-top: -10px;
    }
    .container-posts {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    }
    /* Clear floats after the columns */
    .row:after {
    content: "";
    display: table;
    clear: both;
    }
    .leftcolumn {   
    float: left;
    width: 75%;
    }

    /* Right column */
    .rightcolumn {
    float: left;
    width: 25%;
    padding-left: 20px;
    }

    @media screen and (max-width: 800px) {
        .leftcolumn, .rightcolumn {   
            width: 100%;
            padding: 0;
        }
        .rightcolumn { 
            margin-top:20px;
            margin-bottom: 20px;
        }
    }

    .entry-content {
        margin-top: 20px;
        margin-bottom: 20px;
    }

.post-date {
  color: var(--primary-color);
  font-size: 0.8rem;
}

.post-learnmore {
  text-align: center;
  padding-top: 16px;
  padding-bottom: 16px;
}

.read-more {
  letter-spacing: 2px;
  line-height: 50px;
  display: inline-block;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
  color: var(--primary-color)
}

/* Pagination */
.pagination {
  margin-top: 2rem;
  text-align: center;
}

.pagination a, .pagination span {
  display: inline-block;
  margin: 0 0.3rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid #ddd;
  text-decoration: none;
  color: var(--text-dark);
}

.pagination a:hover {
  background: #f5f5f5;
}

.pagination .current {
  font-weight: bold;
  background: var(--primary-color)
  color: #fff;
  border-color: var(--primary-color)
}


/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 0px rgba(0,0,0,0.1);
    z-index: 1500;
    transition: transform 0.3s ease;
}

.header.hidden {
    transform: translateY(-100%);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
    max-width: 1400px;
    margin: 0 auto;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo svg {
    width: 40px;
    height: 40px;
    fill: var(--gray-dark);
}

.site-title, h1 {
    font-family: "Raleway", sans-serif;
    font-size: 1.6rem;
    font-weight: 100 !important;
    margin: 0;
    color: var(--primary-color);
    text-transform: uppercase;
}
.entry-title-post {
    font-family: "Raleway", sans-serif;
    font-size: 1.4rem;
    font-weight: 100 !important;
    margin: 0 0 10px 0;
    color: var(--text-dark);
}
.entry-meta {
    font-family: "Raleway", sans-serif;
    font-size: 1.1rem;
    font-weight: 100 !important;
    color: var(--primary-color);
}

        /* --- NAVIGATION --- */
        .header-nav ul {
            display: flex;
            gap: 25px;
            list-style: none;
        }

        .header-nav a {
            font-family: "Raleway", sans-serif;
            text-transform: uppercase;
            text-decoration: none;
            color: #555;
            font-size: 1.3rem;
            font-weight: 300;
            transition: color 0.3s ease;
        }

        .header-nav a:hover {
            color: var(--primary-color);
        }

        /* --- BURGER MENU --- */
        .burger-menu {
            display: none;
            flex-direction: column;
            gap: 6px;
            cursor: pointer;
            z-index: 1600;
            padding: 5px;
        }

        .burger-menu span {
            display: block;
            width: 35px;
            height: 2px;
            background: var(--text-dark);
            transition: 0.3s;
             border-radius: 1px;
        }

        .menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            display: none;
            z-index: 1400;
        }

        /* --- RESPONSIVE --- */
        @media (max-width: 768px) {
            .burger-menu { display: flex; }

            .header-nav {
                position: fixed;
                top: 0;
                left: -280px;
                width: 280px;
                height: 100vh;
                background: var(--white);
                box-shadow: 5px 0 15px rgba(0,0,0,0.1);
                transition: 0.4s ease;
                z-index: 1550;
            }

            .header-nav ul {
                flex-direction: column;
                padding: 100px 40px;
                gap: 30px;
            }

            .header-nav.active { left: 0; }
            .menu-overlay.active { display: block; }
            
            .burger-menu.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
            .burger-menu.open span:nth-child(2) { opacity: 0; }
            .burger-menu.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
        }

    /* Bouton Scroll to Top */
    .scroll-to-top {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 50px;
        height: 50px;
        background: var(--white);
        border-radius: 50%;
        display: none;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .scroll-to-top.visible {
        display: flex;
    }

    .scroll-to-top:hover {
        background: var(--primary-color);
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    }

    .scroll-to-top:hover svg path {
        fill: var(--white);
    }

    .scroll-to-top svg {
        width: 24px;
        height: 24px;
    }

    /*site main*/
    .site-main {
        margin:0;
    }

    /* Footer */
    .footer {
        background: #FFF;
        color: var(--text-dark);
        padding: 50px 30px 30px;
    }
    .site-footer {
        width: 100%;
        background: var(--white);
        color: var(--text-dark);
        padding: 50px 30px 30px;
        text-align: left;
    }
    .site-footer a {
	   color:var(--primary-color); font-weight: bolder; text-decoration: none;
    }

    .footer-widgets-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .footer-section h3 {
        margin-bottom: 15px;
        font-size: 1.2rem;
    }

    .footer-logo {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .footer-logo svg {
        width: 40px;
        height: 40px;
        fill: var(--gray-dark);
    }

    .footer-logo span {
        font-size: 1.3rem;
        font-weight: bold;
    }

    .footer-description {
        color: #bdc3c7;
        line-height: 1.6;
    }

    .social-icons {
        display: flex;
        gap: 15px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        background: var(--gray-dark);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .social-icon:hover {
        background: var(--primary-color);
        transform: translateY(-3px);
    }

    .social-icon svg {
        width: 20px;
        height: 20px;
        fill: var(--white);
    }

    .footer-contact p {
        margin: 10px 0;
        color: #bdc3c7;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .footer-contact svg {
        width: 18px;
        height: 18px;
        fill: var(--primary-color);
    }

    .footer-bottom {
        text-align: center;
        padding-top: 10px;
        margin: 20px;
        border-top: 1px solid #ccc;
        color: #95a5a6;
        font-size: 0.9rem;
    }

    @media (max-width: 768px) {
        .footer-content {
            grid-template-columns: 1fr;
            gap: 30px;
        }
    }

.screen-reader-text {
   text-align: center;
   font-size: 1.1rem;
   color: var(--menu-color);
   font-weight: 400;
   padding: 20px;
}

.nav-links {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 40px;
}

.nav-previous {
    text-align: left;
}

.nav-next {
    text-align: right;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: var(--gray-color);
}
.nav-links a:hover {
    color: var(--primary-color);
}

.widget-title {
    font-family: "Raleway", sans-serif;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.textwidget {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--gray-color);
}
    
/* short code widget last news */
.widgetlist {
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: transparent;
}

.widgetlist .widgetitem {
  display: flex;
  align-items: left;
  gap: 8px;
  margin-bottom:8px;
}

.widgetlist .widgetthumbnail {
  width: 75px;
  height: 75px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 15px;
}

.widgetlist .widgetcontent {
  display: flex;
  flex-direction: column;
}

.widgetlist .widgettitle {
  margin: 0;
  font-size: inherit;
}

.widgetlist .widgettitle a {
  text-decoration: none;
  color: inherit;
}

.widgetlist .widgettitle a:hover {
  text-decoration: none;
  color: var(--primary-color);
}

.widgetlist .widgetdate {
  margin: 2px 0 0 0;
  font-size: 12px;
  color: inherit;
}

/* Fin shortcode widget*/

/*Pictos infos */
    /* Style commun */
    .info-mail,
    .info-marker,
    .info-phone {
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--text-black);
        font-size: 18px;
        margin-bottom: 15px;
    }

    /* Icônes */
    .info-mail::before,
    .info-marker::before,
    .info-phone::before {
        font-family: "Font Awesome 7 Free";
        font-weight: 900;
        color: var(--primary-color);
        display: inline-block;
    }

    /* Mail */
    .info-mail::before {
        content: "\f2b6";
    }

    /* Marker */
    .info-marker::before {
        content: "\f041";
    }

    /* Phone */
    .info-phone::before {
        content: "\f095";
    }

/*Fin pictos infos */


    /* Lightbox */
    .lightbox {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.95);
        z-index: 2000;
        align-items: center;
        justify-content: center;
    }

    .lightbox.active {
        display: flex;
    }

    .lightbox-content {
        position: relative;
        max-width: 90%;
        max-height: 90%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .lightbox img {
        max-width: 100%;
        max-height: 90vh;
        object-fit: contain;
        border-radius: 8px;
    }

    .lightbox-close {
        position: fixed;
        top: 30px;
        right: 30px;
        width: 50px;
        height: 50px;
        background: var(--white);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 28px;
        font-weight: bold;
        color:  var(--text-dark);
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        z-index: 2100;
    }

    .lightbox-close:hover {
        background: #ff4444;
        color: var(--white);
        transform: rotate(90deg);
    }

    .lightbox-nav {
        position: fixed;
        top: 50%;
        transform: translateY(-50%);
        width: 60px;
        height: 60px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 24px;
        color:  var(--text-dark);
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        z-index: 2100;
    }

    .lightbox-nav:hover {
        background: var(--white);
        transform: translateY(-50%) scale(1.1);
    }

    .lightbox-prev {
        left: 30px;
    }

    .lightbox-next {
        right: 30px;
    }


    .lightbox-caption {
        position: fixed;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.8);
        color: var(--white);
        padding: 15px 30px;
        border-radius: 25px;
        text-align: center;
    }

    .lightbox-caption h3 {
        margin: 0 0 5px;
        font-size: 1.2rem;
        font-weight: 600;
    }

    .lightbox-caption time {
        font-size: 0.9rem;
        opacity: 0.8;
    }

    /*Menu social*/
/* Container principal du menu social */
.social-links {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center; /* ou flex-start / flex-end selon ton besoin */
}

/* Liens sociaux */
.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #34495e;
  color: var(--white);
  position: relative;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Cache le texte mais garde accessibilité */
.social-links a .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Effet hover */
.social-links a:hover {
  background-color: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--white);
}

/* Icônes via content */
.social-links a[href*="facebook.com"]::before {
  content: "\f39e";
  font-family: "Font Awesome 7 Brands";
  font-weight: 400;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.social-links a[href*="instagram.com"]::before {
  content: "\f16d";
  font-family: "Font Awesome 7 Brands";
  font-weight: 400;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.social-links a[href*="linkedin.com"]::before {
  content: "\f0e1";
  font-family: "Font Awesome 7 Brands";
  font-weight: 400;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.social-links a[href*="x.com"]::before {
  content: "\e61b";
  font-family: "Font Awesome 7 Brands";
  font-weight: 400;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*Fin Menu social*/
/*Galerie*/
.gallery {
  columns: 4;
  column-gap: 1px;
  padding: 60px 0 0 0; /* Espace pour le header */
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1px;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  display: block;
  filter: grayscale(0%);
  transform: scale(1);
  transition: filter 0.4s ease, transform 0.4s ease;
}
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 12px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  color: var(--white);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.gallery-caption h3 {
  margin: 0 0 2px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.gallery-caption time {
  font-size: 0.72rem;
  opacity: 0.75;
}
.gallery-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.1);
}
.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}
@media (max-width: 1000px) {
  .gallery { columns: 3; }
}
@media (max-width: 500px) {
  .gallery { columns: 2; }
}
/*Fin galeire*/

/* masonry-grid */
  .masonry-grid {
            /* Marge latérale de 20px, et la grille prend tout le reste */
            margin-left: 20px;
            margin-right: 20px;
            
            /* Configuration par défaut : 1 colonne (Mobile) */
            column-count: 1;
            column-gap: 20px;
        }

        .grid-item {
            /* Empêche l'élément de se couper entre deux colonnes (ESSENTIEL) */
            break-inside: avoid;
            /* Espace vertical entre les éléments dans la même colonne */
            margin-bottom: 20px;
            
            /* Styles visuels de l'élément */
            background-color: #ffffff;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            /* Important : on enlève le padding du .grid-item pour que l'image puisse toucher les bords */
            padding: 0; 
            overflow: hidden; /* Assure que le border-radius s'applique à l'image supérieure */
        }
        
        /* Conteneur pour le texte qui, lui, aura un padding */
        .item-content {
            padding: 15px; /* Applique le padding souhaité uniquement au texte */
        }

        .grid-item h3 {
            margin-top: 0;
            margin-bottom: 5px;
            color: var(--text-dark);
        }

        .grid-item img {
            /* L'image doit prendre toute la largeur de son parent (.grid-item) */
            width: 100%; 
            height: auto;
            display: block;
            /* Pas de border-radius sur l'image pour qu'elle touche le bord */
            border-radius: 0; 
            margin-bottom: 0; /* Pas d'espace entre l'image et le contenu qui suit */
        }
        
        /* -------------------------------------------
           Media Query : Tablettes (3 colonnes)
           ------------------------------------------- */
        @media (min-width: 600px) {
            .masonry-grid {
                column-count: 3;
            }
        }

        /* -------------------------------------------
           Media Query : Bureau/Grand écran (4 colonnes)
           ------------------------------------------- */
        @media (min-width: 1024px) {
            .masonry-grid {
                column-count: 5;
            }
        }
/*Fin  masonry-grid */
