/*!
 * Style Optimisé - Haus Dubs
 */

/* ========================================
   FONTS
   ======================================== */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url("/wp-content/themes/dubs/static/fonts/PlusJakartaSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url("/wp-content/themes/dubs/static/fonts/PlusJakartaSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: 'Graphik';
  src: url("/wp-content/themes/dubs/static/fonts/Graphik-Super.woff2") format("woff2"),
       url("/wp-content/themes/dubs/static/fonts/Graphik-Super.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: 'Graphik';
  src: url("/wp-content/themes/dubs/static/fonts/Graphik-SuperItalic.woff2") format("woff2"),
       url("/wp-content/themes/dubs/static/fonts/Graphik-SuperItalic.woff") format("woff");
  font-weight: 900;
  font-style: italic;
  font-display: fallback;
}

/* ========================================
   VARIABLES
   ======================================== */
:root {
  /* Couleurs */
  --color-fg: rgb(0 0 0);
  --color-fg-rgb: 0, 0, 0;
  --color-bg: #fff;
  --color-light-fg: #999;
  --color-light-bg: #eee;
  --color-txt: #000000;
  --color-1: #000;
  --color-2: #d4af37;

  /* Espacements */
  --margin: 3rem;
  --margin-v: 4rem;
  --border-width: 0.1em;

  /* Tailles de police */
  --font-15: 1.45rem;
  --font-16: 1.52rem;
  --font-18: 1.6rem;
  --font-19: 1.7rem;
  --font-22: 1.9rem;
  --font-24: 2.1rem;
  --font-36: 3rem;
  --font-49: 4.2rem;
  --font-144: 12rem;

  /* Line-heights */
  --line-height-18: 1;
  --line-height-22: 1.158;
  --line-height-23: 1.19;
  --line-height-24: 1.1;
  --line-height-36: 1.1;
  --line-height-44: 0.95;
}

/* ========================================
   RESET & BASE
   ======================================== */
* {
  margin: 0;
  padding: 0;
}

*,
::before,
::after {
  box-sizing: border-box;
}

html {
  font-size: 0.6em;
  -webkit-tap-highlight-color: transparent;
  height: 100%;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Graphik', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 1.2vw;
  color: var(--color-fg);
  letter-spacing: 0.01rem;
  line-height: 1.1;
  padding: 0;
  width: 100%;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  overflow: auto;
  position: relative;
}

@media screen and (min-width: 18.75em) {
  body {
    font-size: calc(16px + (20 - 16) * ((100vw - 300px) / (1280 - 300)));
  }
}

@media screen and (min-width: 80em) {
  body {
    font-size: 2rem;
  }
}

/* ========================================
   LAYOUT
   ======================================== */
main {
  display: block;
  margin: var(--margin);
  margin-top: 10rem;
  margin-bottom: calc(2 * var(--margin-v));
}

/* ========================================
   TYPOGRAPHIE - BASE
   ======================================== */

h1,
h2,
h3 {
  font-family: 'Graphik', sans-serif;
  letter-spacing: 0.01rem;
  line-height: inherit;
}

::selection {
  color: #fff;
  background-color: #000;
  text-shadow: none;
}

/* ========================================
   TYPOGRAPHIE - GRAPHIK
   ======================================== */

/* GRAPHIK 16 Capital */
.meta-title,
.section-title,
.info-title,
.xs-title

{
  font-family: 'Graphik', sans-serif;
  font-style: normal;
  font-size: var(--font-16);
  line-height: var(--line-height-18);
  letter-spacing: 0em;
  text-transform: uppercase;
}

/* GRAPHIK 19 normal */
.nav-item,
.filter-btn,
.footer__link,
.footer__subtitle,
.footer__title,
.newsletter-button,
.besuch-content a,
.btn-mehr-lesen
{
  font-family: 'Graphik', sans-serif;
  font-style: normal;
  font-size: var(--font-19);
  line-height: var(--line-height-22);
  letter-spacing: -0.008em;
}
/* GRAPHIK 19 capital */
.s-title, .row-label.s-title, th.s-title
{
  font-family: 'Graphik', sans-serif;
  font-style: normal;
	text-transform: uppercase;
  font-size: var(--font-19);
  line-height: var(--line-height-22);
  letter-spacing:0em;
}
/* GRAPHIK 19 italic */
.nav-item:hover,
.nav-item:focus,
.nav-item:active,
.filter-btn:hover,
.filter-btn:focus,
.filter-btn:active,
.exhibition-header:hover,
.archive-link:hover,
.footer a:hover,
.event-ticket-link, .btn-ticket,
.footer__col.footer__hours a,
.social-link,
.btn-download{
font-family: 'Graphik', sans-serif;
  font-style: italic !important;
  font-size: var(--font-19);
  line-height: var(--line-height-22);
  letter-spacing: -0.005em;
}

/* GRAPHIK 22 normal - Logo HAUS DUBS */
.logo-text {
  font-family: 'Graphik', sans-serif;
  font-style: normal;
  font-size: var(--font-22);
  line-height: var(--line-height-22);
  letter-spacing: -0.010em;
  text-transform: uppercase;
}

/* GRAPHIK 24 normal - Calendrier titre */
.month-title,
.event-content,
.event-type,
.event-title,
.archive-artist,
.archive-dates,
.exhibition-artist,
.exhibition-dates{
  font-family: 'Graphik', sans-serif;
  font-style: normal;
  font-size: var(--font-24);
  line-height: var(--line-height-24);
  letter-spacing: -0.008em;
}

/* GRAPHIK 24 Capital - Eintritt et prix */
{
  font-family: 'Graphik', sans-serif;
  font-style: normal;
  font-size: var(--font-24);
  line-height: var(--line-height-24);
  letter-spacing: 0em;
  text-transform: uppercase;
}

/* GRAPHIK 24 italic - Lien des tickets */
.x {
  font-family: 'Graphik', sans-serif;
  font-style: italic;
  font-size: var(--font-24);
  line-height: var(--line-height-24);
  letter-spacing: -0.005em;
}

/* GRAPHIK 36 Capital */
.page-title,
.exhibition-dates-display,
.date-range,
.page-header,
.hero-dates, 
.begleit-title{
  font-family: 'Graphik', sans-serif;
  font-style: normal;
  font-size: var(--font-36);
  line-height: var(--line-height-36);
  letter-spacing: 0em;
  text-transform: uppercase;
}

/* GRAPHIK 49 normal */

.exhibition-artist,
.exhibition-artist, .exhibition-title{
  font-family: 'Graphik', sans-serif;
  font-style: normal;
  font-size: var(--font-49);
  line-height: var(--line-height-44);
  letter-spacing: -0.010em;
  font-feature-settings: 'pnum' 1, 'onum' 1;
}

/* GRAPHIK 49 italic */
.exhibition-title,
{

  font-family: 'Graphik', sans-serif;
  font-size: var(--font-49);
  line-height: var(--line-height-44);
  letter-spacing: -0.005em;
  font-feature-settings: 'pnum' 1, 'onum' 1;
	  font-style: italic;

}

/* GRAPHIK 144 normal - Marquee hero */
.marquee--inner h1 {
  font-family: 'Graphik', sans-serif;
  font-style: normal;
  font-size: var(--font-144);
  letter-spacing: -0.010em;
}

/* ========================================
   TYPOGRAPHIE - PLUS JAKARTA SANS
   ======================================== */

/* JAKARTA 18 normal */
.info-text,
.exhibition-description,
.xs-round,
.column,
.footer,
.s-round{
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: var(--font-18);
  line-height: var(--line-height-23);
  letter-spacing: 0.005em;
}

/* JAKARTA 15 normal */
.event-price,
.newsletter-privacy,
.member-role,
.xxs-round,
.exhibition-meta-block p{
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: var(--font-15);
  line-height: var(--line-height-18);
  letter-spacing: 0.010em;
}

/* JAKARTA 19 semi-bold - Date et heure calendrier */
.event-date-time,
.event-date,
.event-time,
.event-date,


{
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: var(--font-19);
  line-height: var(--line-height-22);
  letter-spacing: 0.005em;
}

/* ========================================
   TRANSFORMATIONS & STYLES GLOBAUX
   ======================================== */

.capital,
.footer__title,
.meta-title,
.info-title,
.month-title,
.page-title,
.section-title,
.page-header {
  text-transform: uppercase;
}

.btn-mehr-lesen,
.social-link,
.newsletter-button,
.event-ticket-link,
.besuch-content a,
.exhibition-title,
.italic-title {
  font-style: italic !important;
  letter-spacing: -0.005em;
}

/* Marges */
.exhibition-meta-block,
.info-list,
.price-info{
  margin-bottom: 2rem;
}

.info-text, .about-info .title-container  {
  margin-bottom: var(--margin-v);
}

.archive-dates {
  margin-bottom: calc(0.5 * var(--margin-v));
}

/* ========================================
   LIENS
   ======================================== */
a {
  color: var(--color-1);
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: font-style 0.4s cubic-bezier(.16, .51, 0, .96);
}

/* Touch */
a,
area,
button,
input,
label,
select,
summary,
textarea,
[tabindex] {
  touch-action: manipulation;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
#header {
  color: #000;
  position: fixed;
  top: 0;
  width: 100%;
  height: 10rem;
  z-index: 90000;
  transition: all 0.4s ease;
  background: white;
}

.nav {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 0 var(--margin);
  padding-bottom: 4rem;
}

.nav-logo {
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.logo-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Menu Desktop */
.nav-menu {
  display: flex;
  align-items: flex-end;
  gap: 2rem;
}

/* Navigation Items */
.nav-item,
.filter-btn,
.exhibition-artist,
.exhibition-header,
.archive-header {
  position: relative;
  display: inline-block;
  text-decoration: none;
  transition: font-style 0.2s ease;
}

/* État actif */
.nav-item.active {
  font-style: italic;
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: currentColor;
}

/* Soulignement animé */
.soulignement::before,
.nav-item::before,
.filter-btn::before {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: currentColor;
  transition: width 0.4s cubic-bezier(.16, .51, 0, .96);
}

.soulignement:hover::before,
.nav-item:hover::before,
.nav-item:focus::before,
.nav-item:active::before,
.filter-btn:hover::before,
.filter-btn:focus::before,
.filter-btn:active::before {
  width: 100%;
}

/* Éviter double soulignement sur item actif */
.nav-item.active:hover::before {
  width: 0;
}

nav.footer__nav a {
  font-style: normal;
}

/* ========================================
   LANGUES
   ======================================== */
.lang-switch {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.lang-switch ul {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.language-switcher {
  display: flex;
  gap: 0.6rem;
}

.lang-switch li {
  display: inline-block;
}

.lang-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
  font-family: 'Graphik', sans-serif;
  font-weight: 900;
  font-size: var(--font-19);
  line-height: var(--line-height-22);
  letter-spacing: -0.008em;
  font-style: normal;
  color: var(--color-1);
  padding: 0;
  transition: font-style 0.2s ease;
  text-transform: uppercase;
}

.lang-link.active {
  font-style: italic;
}

.lang-link.active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: currentColor;
}

.lang-link:hover {
  font-style: italic;
}

.lang-link::before {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: currentColor;
  transition: width 0.4s cubic-bezier(.16, .51, 0, .96);
}

.lang-link:hover::before {
  width: 100%;
}

.lang-link.active:hover::before {
  width: 0;
}

/* ========================================
   ANIMATION LOGO HOME PAGE
   ======================================== */
.home #header {
  height: 27rem;
  animation: shrinkHeader 2.5s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
}

@keyframes shrinkHeader {
  0% { height: 27rem; }
  100% { height: 10rem; }
}

.home .nav-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 27rem;
  animation: shrinkNavLogo 2.5s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
}

@keyframes shrinkNavLogo {
  0% { min-height: 27rem; }
  100% { min-height: 80px; }
}

.home .logo-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27rem;
  height: 27rem;
  animation: shrinkLogoContainer 2.5s cubic-bezier(.4,0,.2,1) forwards;
}

@keyframes shrinkLogoContainer {
  0% {
    width: 27rem;
    height: 27rem;
  }
  100% {
    width: 80px;
    height: 80px;
  }
}

.home .logo-svg {
  position: absolute;
  bottom: -35%;
  left: 50%;
  width: 70%;
  height: 70%;
  transform: translate(-50%, 0) rotate(0deg) scale(1);
  opacity: 1;
  transform-origin: center center;
  animation: spinAndShrink 2.5s ease-in-out forwards;
}

@keyframes spinAndShrink {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) rotate(600deg) scale(0.7);
    opacity: 0;
    visibility: hidden;
  }
}

.home .logo-text {
  position: absolute;
  bottom: 0;
  left: 0;
  opacity: 0;
  white-space: nowrap;
  animation: fadeInTextBottom 0.6s ease-out 1.8s forwards;
  pointer-events: none;
}

@keyframes fadeInTextBottom {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }
}

/* ========================================
   SOUS-NAVIGATION
   ======================================== */
.sub-nav {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
  margin-bottom: calc(1.5 * var(--margin-v));
}
.plan-lightbox__nav {
    flex-shrink: 0;
    position: relative; /
    top: auto;
    z-index: 1; 
}
.plan-lightbox {
    padding-top: 10rem; 
}

.plan-lightbox .filter-categories {
    padding: 0 var(--margin);
}
.filter-categories {
  list-style: none;
  display: flex;
  padding: 0 20px;
}

.filter-categories li {
  margin: 0;
}

.filter-btn {
  background: transparent;
  border: 2px solid transparent;
  padding: 0;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.single-nav {
  display: flex;
}

.filter-btn.active {
  font-style: italic;
}

.filter-btn.active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: currentColor;
}

.filter-btn.active:hover::before {
  width: 0;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  margin: var(--margin);
  padding: 1rem 0 2rem;
  border-top: 2px solid black;
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.footer__subtitle {
  margin: 2rem 0 2rem;
}

.footer__nav {
  display: flex;
  flex-direction: column;
}

.hours-grid,
.prices-list {
  display: flex;
  flex-direction: column;
}

.hours-row,
.price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hours-day,
.price-category {
  color: var(--color-fg);
}

.prices-note {
  margin: 1.5rem 0;
}

.contact-info,
.contact-cafe {
  margin-top: 2rem;
}

.contact-email a,
.contact-phone a {
  color: #000;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

/* Newsletter */
.newsletter-text {
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.newsletter-input {
  padding: 0.8rem 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: var(--font-15);
  border: 2px solid var(--color-fg);
  border-radius: 4px;
  background: var(--color-bg);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--color-2);
}

.newsletter-button {
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Réseaux sociaux */
.social-links {
  display: flex;
  flex-direction: column;
}

.social-link {
  transition: color 0.3s ease;
}

/* ========================================
   ELEMENTS HTML
   ======================================== */
button {
  background: none;
  color: inherit;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
}

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

figure {
  margin: 0 0 1.62em;
}

figcaption p {
  margin-top: 0;
  font-size: 0.8em;
}

video {
  width: 100%;
  outline: none;
  border: 0;
}

iframe {
  border-style: none;
}

svg:not([fill]) {
  fill: currentcolor;
}

pre {
  display: block;
  text-indent: none;
  width: 80%;
  font-size: 0.8em;
  background-color: var(--color-light-bg);
  border-left: 2px solid var(--color-fg);
  padding: 1em 2em;
  margin: 1em 0;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}

code,
kbd {
  font-size: 0.8em;
  background-color: var(--color-light-bg);
  border: none;
  padding: 0.2em 1em;
  word-break: break-all;
  word-wrap: break-word;
}

pre code {
  padding: 0;
}

blockquote {
  display: block;
  width: 80%;
  font-size: 0.8em;
  font-style: italic;
  background-color: var(--color-light-bg);
  border-left: 2px solid var(--color-fg);
  padding: 1em 2em;
  margin: 1em 0;
}

blockquote p {
  margin: 0;
}

blockquote p + p {
  margin-top: 1em;
}

textarea {
  overflow: auto;
  resize: vertical;
}

hr {
  display: block;
  height: 1px;
  width: 62%;
  border: 0;
  border-top: 1px solid var(--color-fg);
  margin: 3em auto;
  padding: 0;
}

ul {
  list-style: none;
}
section#section-hausdubs, 
#section-preise,
#section-ausstattung,
section.about-info{
    margin-bottom: calc(2 * var(--margin-v));
}