/* ==========================================================================
   Jean-Pierre Augier - Custom CSS for YOOtheme Pro
   Reproducing the yoo_katana/Warp production style
   ========================================================================== */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&family=Open+Sans+Condensed:wght@300&display=swap');

/* --- Global --- */
body {
    font-family: 'Open Sans';
    font-weight: 300;
    font-size: 16px;
    line-height: 1.625;
    color: #777;
    background: #fff;
}

a {
    color: #999284;
}
a:hover {
    color: #827864;
    text-decoration: underline;
}


/* ZOO item titles (Builder template) */
#tm-main .uk-section h1 {
    text-transform: uppercase;
    font-family: 'Open Sans Condensed';
    color: #777;
    font-weight: 100;
    font-size: 30px;
    letter-spacing: -0.5px;
    line-height: 36px;
}

/* --- Navbar --- */
.tm-header .uk-navbar-container {
    background: #fff;
}
.tm-header .uk-navbar-nav > li > a {
    color: #777;
    font-family: 'Open Sans Condensed';
    font-size: 22px;
    font-weight: bold;
    text-transform: none;
    padding: 0 15px;
    line-height: 90px;
    min-height: 90px;
}
.tm-header .uk-navbar-nav > li > a:hover,
.tm-header .uk-navbar-nav > li.uk-active > a {
    color: #999284;
}
/* Border bottom on active (permanent) and hover */

.tm-header .uk-navbar-nav > li > a {
    border-bottom: 8px solid transparent;
}
.tm-header .uk-navbar-nav > li.uk-active > a,
.tm-header .uk-navbar-nav > li > a:hover {
    border-bottom-color: #999284;
}
.tm-header .uk-navbar-nav > li  {
    margin-top: 11px;
}

/* Hide "Main menu (all)" technical menu item */
.uk-navbar-nav > li.item-101 {
    display: none;
}

/* Mobile header: hide navbar links and language flags, only show logo + hamburger */
.tm-header-mobile .uk-navbar-nav,
.tm-header-mobile .mod-languages {
    display: none !important;
}

/* Hide "Main menu (all)" in offcanvas */
#module-menu-dialog-mobile {
    display: none;
}

/* Mobile offcanvas sub-menu background */
.uk-offcanvas-bar .uk-nav-sub {
    background: #232323;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 30px;
    padding-right: 20px;
}
/* Offcanvas text colors */
.uk-offcanvas-bar .uk-nav-default > li > a,
.uk-offcanvas-bar .uk-nav-default .uk-nav-sub a {
    color: #ccc;
}
.uk-offcanvas-bar .uk-nav-default > li > a:hover,
.uk-offcanvas-bar .uk-nav-default .uk-nav-sub a:hover {
    color: #fff;
}
.uk-offcanvas-bar .uk-nav-default > li.uk-active > a {
    background: #999284;
    color: #fff;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 30px;
    padding-right: 20px;
}

/* --- Navbar dropdown --- */
.uk-navbar-dropdown {
    background: #777;
    padding: 15px 0;
}
.uk-navbar-dropdown-nav > li > a {
    color: #fff;
    font-family: 'Open Sans';
    font-size: 16px;
    text-transform: none;
    letter-spacing: 0;
    display: block;
    padding: 5px 20px;
}
.uk-navbar-dropdown-nav > li > a:hover {
    color: #fff;
    background: #999284;
    text-decoration: none;
}

/* --- Toolbar (language switcher) --- */
.tm-toolbar {
    font-size: 12px;
    background: #ffffff;
    padding: 5px 0;
}

/* --- Logo --- */
.tm-logo img,
.tm-header .uk-logo img {
    max-height: 70px;
}

/* --- Slideshow / Top position - FULL WIDTH --- */
.tm-top {
    padding: 0;
    margin: 0;
}
.tm-top > .uk-container {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

/*.tm-top .uk-slideshow,
.tm-top .uk-slideshow-items {
    min-height: 60vh;
}*/

.tm-top .uk-slideshow-items li img,
.tm-top .uk-slideshow-items li canvas {
    width: 100%;
    object-fit: cover;
}
/* Widgetkit slideshow full width */
.tm-top .wk-slideshow {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}
.tm-top .wk-slideshow img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
}

/* --- Main content area --- */
.tm-main {
    padding-top: 60px;
    padding-bottom: 25px;
}
.home .tm-main {
    padding-top: 0px;
    padding-bottom: 0px;
}
.tm-main .uk-article {
    max-width: 900px;

}

/* --- Bottom position (galleries, oeuvres) --- */
.tm-bottom {
    background: #fff;
    color: #ddd;
    padding: 50px 0;
}

.home > div.tm-page > div.tm-bottom
{
    padding-bottom: 0px;
    padding-top: 0px;
}

/* Only homepage oeuvres grid breaks out to full width */
.oeuvres-grid {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}
.uk-navbar-left {
    padding-bottom: 20px;
}

.tm-bottom h1,
.tm-bottom h2,
.tm-bottom h3 {
    color: #f0ede8;
    font-family: 'Open Sans Condensed';
}
.tm-bottom a {
    color: #f0ede8;
}
.tm-bottom a:hover {
    color: #fff;
}
.tm-bottom img {
    width: 100%;
    height: auto;
}

/* --- Footer top - contact info dark bar --- */
.tm-section-footer {
    background: #706a5f;
    color: #ddd;
    padding: 25px 0;
    font-size: 14px;
}
.tm-section-footer a {
    color: #f0ede8;
}
.tm-section-footer strong {
    color: #fff;
}

/* --- Footer bottom - copyright --- */
.tm-footer {
    background: #fff;
    border-top: none;
    padding: 30px 0;
    font-size: 13px;
    color: #999;
    text-align: center;
}

/* --- Article content --- */
.uk-article {
    font-family: 'Open Sans';
    font-weight: 300;
    color: #777;
    font-size: 15px;
    line-height: 1.7;
}
.uk-article blockquote {
    font-style: italic;
    color: #555;
    border-left: 6px solid #dddddd;
    padding-left: 20px;
    margin: 30px 0;
}
.uk-article blockquote small {
    color: #bbbbbb;
}

/* --- Fix homepage text overlap --- */
.uk-article p {
    margin-bottom: 15px;
}
.uk-article img {
    max-width: 100%;
    height: auto;
}

/* Fix Widgetkit modules overlapping content */
[class*="mod_widgetkit"],
.wk-slideshow-default,
.wk-grid {
    clear: both;
    overflow: hidden;
}

/* --- Borders & Dividers --- */
.uk-hr, hr {
    border-top-color: #ddd;
}

/* --- Buttons --- */
.uk-button::-moz-focus-inner {
    border: 0;
    padding: 0;
}
.uk-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
    border: none;
    overflow: visible;
    font: inherit;
    color: #777;
    text-transform: none;
    display: inline-block;
    box-sizing: border-box;
    padding: 0 20px;
    background: transparent;
    vertical-align: middle;
    line-height: 40px;
    min-height: 40px;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    border-radius: 25px;
    border: 2px solid #777;
    font-weight: bold;
    box-shadow: inset 0 0 0 0 transparent;
    -webkit-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}
.uk-button:not(:disabled) {
    cursor: pointer;
}
.uk-button:hover,
.uk-button:focus {
    background-color: #777;
    color: #fff;
    outline: none;
    text-decoration: none;
    box-shadow: inset 0 0 10px 30px #777;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.uk-button:active,
.uk-button.uk-active {
    background-color: #777;
    color: #fff;
}
.uk-button-primary {
    background-color: transparent;
    color: #999284;
    border-color: #999284;
}
.uk-button-primary:hover,
.uk-button-primary:focus {
    background-color: #999284;
    color: #fff;
    box-shadow: inset 0 0 10px 30px #999284;
}
.uk-button-primary:active,
.uk-button-primary.uk-active {
    background-color: #999284;
    color: #fff;
}

/* ==========================================================================
   OEUVRES section - Homepage grid
   ========================================================================== */

/* Main grid: text panel (1/3) + image tiles (2/3) */
.oeuvres-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    min-height: 400px;
}

/* Dark text panel */
.oeuvres-text {
    background: #2b2b2b;
    color: #ddd;
    display: flex;
   
}
.oeuvres-text-inner {
    padding: 30px;
}
.oeuvres-text-inner h1 {
    color: #777777;
    
    margin-top: 0;
}
.oeuvres-text-inner p {
    color: #777777;
    font-size: 16px;
    line-height: 1.6;
}

/* Image tiles grid: 4 columns x 2 rows */
.oeuvres-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

/* Individual tile */
.oeuvres-tile {
    position: relative;
    overflow: hidden;
}
.oeuvres-tile a {
    display: block;
    position: relative;
}
.oeuvres-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 1 / 1;
}

/* Hover overlay */
.oeuvres-tile-label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: #fff;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    font-family: 'Open Sans Condensed';
    font-size: 30px;
    line-height: 36px;
    font-weight: 600;
    opacity: 0;
    text-decoration: none;
    margin: 20px;
    padding: 0 20px;
    padding-top: calc(100% - 30%);
    border: 3px solid #ffffff;
    background: rgba(43, 43, 43, 0.25);
    -webkit-transition: opacity 0.4s ease-in-out, padding-top 0.25s ease-in-out;
    transition: opacity 0.4s ease-in-out, padding-top 0.25s ease-in-out;
}

.oeuvres-tile a:hover .oeuvres-tile-label {
    opacity: 1;
    padding-top: 20px;
}

/* Oeuvres page (no text panel, just 4-col grid) */
.oeuvres-page {
    grid-template-columns: repeat(4, 1fr);
}

/* Responsive: stack on small screens */
@media (max-width: 767px) {
    .oeuvres-grid {
        grid-template-columns: 1fr;
    }
    .oeuvres-images,
    .oeuvres-page {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Responsive --- */
@media (max-width: 959px) {
    .tm-top .uk-slideshow-items,
    .tm-top .wk-slideshow img {
        min-height: 30vh;
        height: 30vh;
    }
}

.uk-lightbox-items > div > img {
    border: 10px solid #ffffff;
}

@media(min-width: 768px){
    #infos p:nth-child(2) {
        border-left: 1px solid #dddddd;
    }
}

.uk-icon{
    fill : #777 !important;
}
dt strong {
    color: #777;
    font-size: 16px;
    text-transform: none;
    font-family: "Open Sans";
    letter-spacing: 0;
}

@media (max-width: 639px){
    .uk-container {
        padding-left: 60px;
        padding-right: 60px;
    }
}