@charset "UTF-8";
/*
 Theme Name:   Alex-Astra-Child
 Theme URI:    http://alexcath.local
 Description:  Thème enfant basé sur Astra pour mon portfolio
 Author:       Alexandre CATHERINE
 Author URI:   https://alexcath.dev
 Template:     astra
 Version:      1.0.0
*/
/* normalize.css  */
/* base/_reset.scss */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

input,
button,
textarea,
select {
  font: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

/*THEME*/
body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
}

/* Masquer tous les titres de page (h1.page-title) */
.page .entry-title {
  display: none !important;
}

.ast-separate-containertetst #primary {
  margin: 0px;
}

@media (max-width: 921px) {
  .ast-container, .ast-container-fluid {
    padding-left: 0px;
    padding-right: 0px;
  }
}
.Contexte {
  background-color: #527395;
  color: rgb(255, 255, 255);
}

.Techno {
  background-color: #334155;
  color: white;
}
.Techno h2 {
  color: white;
}

.ast-single-post.ast-page-builder-template .site-main > article {
  padding-left: 0px;
  padding-right: 0px;
}

site-above-footer-wrap, .site-below-footer-wrap {
  padding-top: 0px;
  padding-bottom: 0px;
}

@media (min-width: 320px) {
  .single .post-navigation .nav-next a {
    text-align: left;
  }
  .single .post-navigation .nav-previous a {
    text-align: right;
  }
}
/* Pleine largeur */
.entry-content[data-ast-blocks-layout] > * {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.container {
  max-width: 1308px;
  margin: 80px auto;
}

.container-bloc {
  max-width: 1308px;
  margin-top: 0px;
  gap: 0px;
}

.container-bloc h2 {
  margin-top: 50px;
}

/* MENU MOBILE */
@media (max-width: 768px) {
  .ast-mobile-header-content,
  .ast-builder-menu-mobile,
  .ast-mobile-popup-drawer {
    text-align: center;
  }
  .ast-builder-menu-mobile .main-header-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link {
    display: block;
    width: 100%;
    padding: 12px 0;
    text-align: center;
    background-color: #527395;
    color: #f3f3f3;
    font-weight: 700;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  .ast-builder-menu-mobile .main-header-menu .menu-item {
    margin-bottom: 5px;
  }
}
/* HERO Page d'Accueil */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}

.hero img {
  object-fit: contain;
}

.hero h1 {
  font-weight: 700;
  font-style: italic;
  font-size: 96px;
  line-height: 1;
  text-transform: uppercase;
  color: white;
  -webkit-text-stroke: 0.02em white;
}

/* FORMAT MOBILE */
@media (max-width: 820px) {
  .hero h1 {
    font-size: 58px;
  }
  .hero {
    height: 60vh;
  }
}
@media (max-width: 559px) {
  .hero {
    height: 38vh;
  }
}
@media (max-width: 400px) {
  .hero {
    height: 28vh;
  }
}
/* Grille des projets */
.photo-gallery {
  justify-items: center;
  padding: 0px 20px;
  margin-bottom: 100px;
}

.photo-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 50px;
  margin-bottom: 20px;
}

.gallery-container {
  max-width: 1148px;
  margin: 0 auto;
}

/* Format MOBILE */
@media (max-width: 768px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
}
/* --- MOBILE --- */
@media (max-width: 820px) {
  .filters-container {
    flex-direction: column;
  }
  .filters-left, .filters-right {
    flex-direction: column;
  }
}
@media (max-width: 300px) {
  .custom-select-wrapper {
    min-width: 200px;
  }
  .custom-select-wrapper.open .select-trigger {
    min-width: 200px;
  }
}
/* Section Compétences */
.skills-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(12, 1fr);
  max-width: 1200px;
}

.skills-grid > h2 {
  grid-column: 1/-1;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-bottom: 8px;
  text-align: center;
}

/* Cartes */
.skill-card {
  grid-column: span 12;
  background: #F5AC51;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  margin-block-start: 0px;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.skill-card h3 {
  font-size: clamp(18px, 2.4vw, 22px);
  margin: 2px 0 10px;
  font-weight: 700;
}

.skill-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.skill-card li {
  padding: 8px 0;
  border-top: 1px dashed #cbcbcb;
  font-size: 15.5px;
  color: #504f4f;
  font-weight: 700;
}

.skill-card li:first-child {
  border-top: none;
}

@media (min-width: 680px) {
  .skill-card {
    grid-column: span 6;
  }
}
@media (min-width: 980px) {
  .skill-card {
    grid-column: span 4;
  }
}
.list-projet ul {
  list-style: none;
  margin: 6px 0 0 0;
  padding-left: 1.5rem;
  border-left: 2px solid #e5e7eb;
}

.list-projet ul li {
  position: relative;
  padding-left: 1rem;
  margin: 4px 0;
}

.list-projet ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.9rem;
  color: #64748b;
}

.projet-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-top: 20px;
}

.projet-details {
  width: 50%;
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
  border-bottom: 1px solid #000000;
}

.projet-details h2 {
  font-size: clamp(45px, 5vw, 67px);
  line-height: clamp(50px, 5vw, 60px);
  margin-bottom: 25px;
}

.photo-display {
  width: 50%;
  height: auto;
}

.projet-details p {
  font-family: Space Mono;
  color: #000000;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1.5px;
  font-style: normal;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.photo-display img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.single-project {
  max-width: 1228px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

/* FORMAT MOBILE */
@media screen and (max-width: 820px) {
  .photo-navigation {
    display: none;
  }
  .projet-container {
    flex-direction: column-reverse;
    align-items: center;
    border-bottom: 1px solid #000000;
  }
  .single-project {
    padding: 0px;
  }
  .photo-display {
    width: 80%;
    margin-top: 80px;
  }
  .projet-details {
    width: 80%;
    border-bottom: 0px;
  }
  .projet-details h2 {
    font-size: 46px;
    line-height: 48px;
  }
}
.ast-article-single {
  padding: 0px;
}

.project-custom-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #e9e9e9;
  margin-bottom: 1rem;
  text-align: center;
}

.bloc_titre_projet {
  background-color: rgb(56, 56, 56);
  border-radius: 2px;
}

.project-links {
  margin-top: 10px;
  display: flex;
  gap: 12px;
}
.project-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.05);
  padding: 6px;
  border-radius: 6px;
  transition: 0.2s ease-in-out;
  cursor: pointer;
}
.project-links a:hover {
  background: rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}
.project-links a img {
  width: 40px;
  height: 40px;
}

@media (max-width: 768px) {
  .list-projet {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}
.list-projet {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mySwiper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}
.mySwiper .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.mySwiper .swiper-button-prev,
.mySwiper .swiper-button-next {
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.55);
  padding: 10px 10px;
  border-radius: 4px;
}
.mySwiper .swiper-pagination-bullet {
  background: #fff;
  background-color: rgba(0, 0, 0, 0.55);
  opacity: 0.5;
}
.mySwiper .swiper-pagination-bullet-active {
  opacity: 1;
}

.photo-display {
  user-select: none;
}

.photo-display img {
  pointer-events: none;
}

@keyframes fadeInSlideDown {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(50px);
  }
}
.fadeInDown {
  animation: fadeInSlideDown 1s ease;
}

.fadeOut {
  animation: fadeOut 1s ease;
}

/* Animation d'entrée depuis la droite */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* Animation de sortie vers la droite */
@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}
/* Animation d'entrée */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.slideInRight {
  animation: slideInRight 500ms ease;
}

.slideOutRight {
  animation: slideOutRight 500ms ease;
}

.banner {
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  animation: fadeIn 0.8s ease;
  z-index: 1000;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #E6E6E6;
  margin: auto;
  padding: 0;
  width: 597px;
  height: auto;
  border: 5px #000000 solid;
  animation: fadeIn 0.8s ease;
  z-index: 1000;
}

.modal-body {
  max-width: 100%;
  overflow: hidden;
}

.contact-form {
  width: 80%;
  padding-top: 30px;
  padding-bottom: 30px;
  margin: 0 auto;
}

@media (max-width: 820px) {
  .modal-content {
    animation: slideInRight 0.5s ease;
  }
}
@media (max-width: 600px) {
  .modal {
    padding-top: 100px;
  }
  .modal-content {
    width: 95vw;
    height: auto;
    animation: slideInRight 0.5s ease;
  }
  .contact-form {
    padding: 0px 0px 0px 20px;
    width: 70%;
  }
  .modal-body {
    padding: 12px;
  }
}
/* ---- Bloc projet ---- */
.projet-block {
  width: 100%;
  aspect-ratio: 564/495;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.projet-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease-in-out;
}

.projet-block:hover img {
  transform: scale(1.1);
}

.projet-infos {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: white;
  z-index: 2;
}

.projet-reference,
.projet-category {
  background-color: rgba(0, 0, 0, 0.65);
  padding: 4px 4px;
  border-radius: 4px;
}

.eye-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  z-index: 2;
}

.projet-block:hover .eye-overlay {
  opacity: 1;
}

.eye-overlay img {
  max-width: 64px;
  height: 60px;
  transform: scale(0.8);
  transition: transform 0.3s ease;
  opacity: 0.4;
}

.projet-block:hover .eye-overlay img {
  transform: scale(1);
}

.projet-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  color: white;
  z-index: 3;
}

.projet-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
  color: azure;
}

.btn-projet {
  background: #F5AC51;
  color: rgb(4, 4, 4);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.8s ease;
}

.btn-projet:hover {
  transform: scale(1.05);
  color: white;
}

/*# sourceMappingURL=style.css.map */
