/*
Theme Name: Gregory Orechiowa
Theme URI: https://example.com/
Author: Damien / OpenAI
Description: Thème WordPress minimaliste pour artiste sculpteur, basé sur Bootstrap 5 et optimisé pour Elementor.
Version: 1.0.3
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: gregory-orechiowa
*/

:root {
  --go-bg: #746c60;
  --go-text: #ffffff;
  --go-muted: rgba(255,255,255,.68);
  --go-line: rgba(255,255,255,.14);
  --go-gap: 8px;
}

html, body { min-height: 100%; }
body {
  margin: 0;
  background: var(--go-bg);
  color: var(--go-text);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: inherit; opacity: .72; }

.go-site { min-height: 100vh; display: flex; flex-direction: column; }
.go-main { flex: 1; }

.go-header {
  padding: 42px 0 28px;
}

.go-header-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.go-brand { text-align: center; }
.go-brand img,
.custom-logo {
  display: inline-block;
  width: min(680px, 76vw);
  max-height: 160px;
  max-width: 60vw;
  object-fit: contain;
}

.go-menu-toggle,
.go-instagram {
  position: absolute;
  top: 10px;
  color: #fff;
  opacity: .95;
}
.go-menu-toggle { left: 24px; }
.go-instagram { right: 24px; }

.go-menu-toggle {
  width: 32px;
  height: 24px;
  border: 0;
  background: transparent;
  padding: 0;
}
.go-menu-toggle span {
  position: absolute;
  left: 0;
  width: 30px;
  height: 1px;
  background: #fff;
  transition: .2s ease;
}
.go-menu-toggle span:nth-child(1) { top: 2px; }
.go-menu-toggle span:nth-child(2) { top: 11px; }
.go-menu-toggle span:nth-child(3) { top: 20px; }

.go-nav {
  margin-top: 30px;
  border-top: 1px solid var(--go-line);
  border-bottom: 1px solid var(--go-line);
}
.go-nav .menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  min-height: 58px;
}
.go-nav .menu a {
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
}

.go-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* Galerie façon Instagram */
.go-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--go-gap);
}
.go-gallery-item {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  aspect-ratio: 1 / 1;
}
.go-gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease, opacity .35s ease;
}
.go-gallery-item:hover img { transform: scale(1.025); opacity: .92; }

.go-gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 18px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.54));
  color: white;
  opacity: 0;
  transition: .25s ease;
  font-size: 13px;
  letter-spacing: .08em;
}
.go-gallery-item:hover .go-gallery-caption { opacity: 1; }

.go-page-title {
  margin: 0 0 28px;
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 400;
}

.go-content { padding: 12px 0 72px; }

.go-footer {
  padding: 34px 24px 40px;
  text-align: center;
  font-size: 10px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}

/* Elementor */
.elementor-page .go-content { padding-top: 0; }
.elementor-section.elementor-section-boxed > .elementor-container,
.e-con.e-con-boxed > .e-con-inner { max-width: 1180px; }

/* Classe à appliquer à une galerie Elementor */
.go-elementor-gallery .elementor-gallery__container,
.go-elementor-gallery .gallery,
.go-elementor-gallery .e-gallery-container {
  gap: var(--go-gap) !important;
}
.go-elementor-gallery img { transition: transform .35s ease, opacity .35s ease; height: 400px!important; object-fit:cover;}
.go-elementor-gallery a:hover img { transform: scale(1.025); opacity: .92; }

@media (max-width: 767px) {

.go-elementor-gallery .gallery,
.go-elementor-gallery .elementor-image-gallery .gallery{
    display:grid !important;
    grid-template-columns:repeat(2,1fr);
    gap:8px;
}

.go-elementor-gallery .gallery-item{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
}

.go-elementor-gallery img{
    width:100%;
	height: 200px!important;
    aspect-ratio:1;
    object-fit:cover;
}

}

/* Full width Elementor */
.page-template-elementor-fullwidth .go-header + .go-main,
.page-template-elementor-canvas .go-main { width: 100%; }

@media (max-width: 991.98px) {
  .go-header { padding-top: 30px; }
  .go-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .go-nav .menu { gap: 20px; flex-wrap: wrap; padding: 14px 0; }
}

@media (max-width: 575.98px) {
  .go-header { padding: 22px 0 18px; }
  .go-header-inner { padding: 0 16px; }
  .go-menu-toggle { left: 16px; }
  .go-instagram { right: 16px; }
  .go-brand img, .custom-logo { width: 76vw; max-height: 110px; }
  .go-container { width: calc(100% - 20px); }
  .go-gallery { grid-template-columns: 1fr; gap: 6px; }
  .go-nav { display: none; }
  .go-footer { letter-spacing: .22em; line-height: 1.8; }
}
