/*
Theme Name: Sunday June
Theme URI: http://sundayjune.ch
Author: Ton Nom
Author URI: http://sundayjune.ch
Description: Thème WordPress basé sur ma maquette
Version: 1.0
*/

:root {
  --sj-yellow: #fceeb5;
}

@font-face {
  font-family: "FF Blur";
  src: url("fonts/BlurPro-Medium.otf") format("opentype");
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  color: #333;
  background-color: var(--sj-yellow);
  font-family: "FF Blur", sans-serif;
}

h2 {
  font-size: 5rem;
  padding: 0;
  margin: 0;
  line-height: 1;
}

@media (max-width: 768px) {
  h2 {
    font-size: 3rem;
  }
}

h3 {
  font-size: 3rem;
  padding: 0;
  margin: 0;
  line-height: 1;
}

/* Header */
.sj__header {
  position: fixed;
  width: 100dvw;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: var(--sj-yellow);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.sj__header__content {
  width: 70%;
  margin: 0 auto;
  color: #333;
  line-height: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 2%;
  z-index: 99999;
}

.sj__header__content.active {
  border-radius: 0;
}

@media (max-width: 992px) {
  .sj__header__content {
    width: 85%;
    padding: 5%;
  }
}

.sj__header__content__logo {
  font-size: 1.5rem;
  text-decoration: none;
  color: #333;
}

.sj__header__content__menu {
  display: flex;
  flex-direction: row;
  gap: 30px;
}

.sj__header__content__menu__item {
  color: #333;
  text-decoration: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.sj__burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
}

.sj__burger span {
  display: block;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Burger animation */
.sj__burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.sj__burger.active span:nth-child(2) {
  opacity: 0;
}
.sj__burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --- Menu mobile --- */
.sj__header__content__menu__mobile {
  display: none; /* Masqué sur desktop */
}

/* --- MOBILE --- */
@media (max-width: 768px) {
  .sj__burger {
    display: flex;
  }

  .sj__header__content {
    width: 85%;
    gap: 0;
  }

  .sj__header__content__menu__mobile {
    position: absolute;
    top: 100%; /* Juste sous le header */
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 85%;
    margin: 0 auto;
    padding: 2rem 2%;
    background-color: var(--sj-yellow);
    border-radius: 0 0 1rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1000;
  }

  .sj__header__content__menu__mobile.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  /* Cacher le menu desktop sur mobile */
  .sj__header__content__menu {
    display: none;
  }

  .sj__header__content__logo {
    font-size: 1.5rem;
  }
}

/* --- Hero --- */
.sj__hero {
  height: 100dvh;
  background-size: cover;
  object-fit: fill;
  display: grid;
}
.sj__hero__content {
  padding: 5% 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 30px;
  color: var(--sj-yellow);
  margin-top: auto;
  place-content: center;
}
.sj__hero__content__item {
  text-decoration: none;
  color: var(--sj-yellow);
  font-size: 1.5rem;
  border: 2px solid var(--sj-yellow);
  padding: 2px 20px;
  border-radius: 5rem;
  background-color: transparent;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  cursor: pointer;
}
@media (max-width: 768px) {
  .sj__hero {
    background-position: center;
  }
  .sj__hero__content {
    flex-direction: column;
  }
}

/* --- Shows --- */
.sj__shows {
  padding: 100px 0;
}
.sj__shows__content {
  width: 70%;
  margin: 0 auto;
}
@media (max-width: 992px) {
  .sj__shows__content {
    width: 85%;
  }
}
.sj__shows__content__table {
  padding: 0;
  margin-top: 2rem;
  vertical-align: middle;
}
.sj__shows__content__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0 20px;
  margin-top: 20px;
}
.sj__shows__content__item__date {
  text-align: center;
  display: inline-block;
  background-color: #333;
  color: var(--sj-yellow);
  font-size: 1.5rem;
  white-space: nowrap;
  padding: 2px 20px;
  border-radius: 5rem;
}
@media (max-width: 768px) {
  .sj__shows__content__item__date {
    font-size: 1.3rem;
    padding: 2px 10px;
    border-radius: 3rem;
  }
}
@media (max-width: 768px) {
  .sj__shows__content__item {
    display: grid;
    grid-template-columns: 1fr 4fr;
    align-items: left;
    gap: 0 20px;
    margin-top: 0;
  }
}
.sj__shows__content__item__name {
  border-collapse: collapse;
  font-size: 2rem;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .sj__shows__content__item__name {
    font-size: 1.5rem;
  }
}
.sj__shows__content__item__location {
  text-align: left;
  margin-left: auto;
  font-size: 2rem;
}
@media (max-width: 768px) {
  .sj__shows__content__item__location {
    margin-right: 0;
    font-size: 1.2rem;
    text-align: left;
    width: 100%;
    grid-column-start: 2;
  }
}

/* --- Merch --- */
.sj__merch {
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  margin: 0 auto;
}
.sj__merch__content {
  width: 70%;
  padding: 100px 0;
  margin: 0 auto;
  color: var(--sj-yellow);
}
@media (max-width: 992px) {
  .sj__merch__content {
    width: 85%;
  }
}
.sj__merch__content__title {
  text-align: left;
  margin-bottom: 5%;
}
.sj__merch__content__item {
  display: grid;
  grid-template-columns: 1fr 4fr 1fr;
}
@media (max-width: 768px) {
  .sj__merch__content__item {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.sj__merch__content__item__img {
  display: block;
  width: 100%;
  margin: auto;
}
.sj__merch__content__item__info {
  margin-top: 5%;
  display: grid;
  align-items: center;
  color: var(--sj-yellow);
}
.sj__merch__content__item__info__name {
  font-size: 1.9rem;
  text-align: left;
  margin: 0;
}
.sj__merch__content__item__info__description {
  padding: 0;
  margin: 10px 0 0 0;
  font-size: 1.5rem;
  text-align: left;
}
.sj__merch__content__item__button {
  font-family: "FF Blur" !important;
  font-size: 1rem;
  padding: 10px 20px;
  border: 2px solid var(--sj-yellow);
  border-radius: 5rem;
  background-color: transparent;
  cursor: pointer;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .sj__merch__content__item__button {
    margin: 20px auto 0;
    display: block;
  }
}

/* --- Bio --- */
.sj__bio {
  padding: 5% 0;
}
.sj__bio__content {
  margin: 0 auto;
  padding: 5% 0;
  width: 70%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 992px) {
  .sj__bio__content {
    width: 85%;
    grid-template-columns: 1fr;
  }
}
.sj__bio__content__info {
  font-size: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .sj__bio__content__info {
    font-size: 1.2rem;
  }
}

/* --- Picture --- */
.sj__picture {
  background-image: url("../images/SJ_picture_group.jpeg");
}
@media (max-width: 768px) {
  .sj__picture {
    background-position: top;
  }
}

/* --- Contact --- */
.sj__contact__content {
  margin: 0 auto;
  width: 70%;
  padding: 100px 0;
}
.sj__content__logo {
  font-size: 2.5rem;
}

@media (max-width: 992px) {
  .sj__contact__content {
    width: 85%;
    padding: 50px 0;
  }
}

.sj__contact__content__info {
  margin-top: 1%;
  font-size: 1.5rem;
  text-decoration: none;
  color: #333;
  display: flex;
}

.sj__contact__content__info > a {
  text-decoration: none;
  color: #333;
}

@media (max-width: 768px) {
  .sj__contact__content__info {
    grid-template-columns: 1fr;
    align-items: start;
    display: block;
  }
}

.sj__contact__content__info__socials {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem; /* Espacement entre les icônes */
}
@media (max-width: 768px) {
  .sj__contact__content__info__socials {
    margin-top: 3rem;
  }
}

.sj__contact__content__info__socials svg {
  width: 2.5rem; /* ou la taille que tu veux */
  height: auto; /* conserve les proportions */
}
