/* Général */
* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
  user-select: none;
  font-family: "Source Sans 3", sans-serif;
}

body {
  min-height: 100vh;
}

::-webkit-scrollbar {
  width: 6px;
  height: 4px;
  background: #111;
}
::-webkit-scrollbar-thumb {
  background: #8E8D78;
  -webkit-border-radius: 1ex;
}

.title{
  position: relative;
  text-align: center;
  font-size: 40px;
  font-weight: 500;
  padding-bottom: 20px;
}

.title::before{
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 180px;
  height: 3px;
  background: #111;
  transform: translateX(-50%);
}

.title::after{
  position: absolute;
  bottom: -8px;
  left: 50%;
  font-size: 20px;
  color: #ECCBC0;
  text-transform: uppercase; /* À confirmer (upper / normal) */
  padding: 0 5px;
  background: #fff;
  transform: translateX(-50%);
}

.instagram:hover {
  color: #D62976;
}

.tiktok:hover {
  color: #020202;
}

.twitter:hover {
  color: #00ACEE;
}

.typing {
  color: #ECCBC0;
  max-width: 50px;
}

.little-space {
  width: 100%;
  height: 6vh;
}

.middle-space {
  width: 100%;
  height: 17vh;
}

.big-space {
  width: 100%;
  height: 24vh;
}

.social-media-b {
  color: #111;
  font-size: 1.2rem;
  transition: .2s linear;
}

.social-media-w {
  color: #fff;
  font-size: 1.4rem;
  transition: .2s linear;
}

.social-media-b:hover,
.social-media-w:hover {
  transform: scale(125%);
}

/* Header */
header {
  height: 100vh;
  height: 100dvh;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0 100px;
  background: #eee;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  transition: height 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 999;
  overflow: hidden;
  will-change: height;
}

header.sticky {
  height: 80px;
}


header.sticky {
  height: 80px;
}

header .header-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 1s;
  transform: translateZ(0);
}

header.sticky .header-banner {
  opacity: 1;
}

header .header-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 9vw;
  color: #fff;
  font-weight: 700;
  transition: 1s;
  text-decoration: none;
  z-index: 1;
}

header.sticky .header-logo {
  position: absolute;
  font-size: 2em;
  left: 100px;
  transform: translate(0, -50%);
}

header.sticky .header-logo span {
  color: #8E8D78;
}

header nav {
  position: relative;
  display: flex;
  z-index: 1;
}

header nav ul {
  position: relative;
  display: flex;
  transition: 0.25s;
  transform: translateX(100px);
  opacity: 0;
}

header.sticky nav ul {
  transform: translateX(0);
  opacity: 1;
  transition-delay: 0.75s;
}

header nav ul li {
  list-style: none;
}

header nav ul li a {
  color: #fff;
  display: inline-block;
  padding: 10px 15px;
  font-size: 1.2rem;
  text-decoration: none;
  transition: .3s linear;
}

header nav ul li a:hover {
  transform: translateY(-5px);
}

/* Home Section */
.home-section {
  width: 100%;
  height: calc(100vh + 20px);
  margin-top: 80px;
  background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url(../assets/homepage.jpg);
  background-size: cover;
  background-position: center;
}

.home-content {
  width: 100%;
  position: absolute;
  top: 65%;
  transform: translateY(-50%);
  text-align: center;
  color: #fff;
}

.home-content h2 {
  font-size: 4.4rem;
}

.home-content p {
  font-size: 1.8rem;
  margin: 50px auto;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: 0.5px;
}

.home-btns button,
.home-btns a {
  width: 175px;
  padding: 15px;
  text-align: center;
  font-size: 1rem;
  margin: 20px 10px;
  border-radius: 25px;
  font-weight: bold;
  border: 1px solid #ECCBC0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: inline-block;
  text-decoration: none;
}

.home-btns span {
  background: #ECCBC0;
  width: 0;
  height: 100%;
  border-radius: 25px;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
  transition: 0.5s;
}

.home-btns button:hover span,
.home-btns a:hover span {
  width: 100%;
}

/* About Section */
.title-about::after{
  content: "About us";
}

.about-section {
  background: #8E8D78;
  background-size: 100%;
  overflow: hidden;
  padding: 100px 40px;
}

.about-content {
  width: 100%;
  float: right;
  background: #fff;
  padding: 150px;
}

.about-content h2 {
  margin-bottom: 30px;
  font-size: 30px;
  font-weight: 900;
}

.about-content .about-text {
  font-size: 1rem;
  color: #333;
  line-height: 30px;
  text-align: justify;
}

.about-content h4 {
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  text-align: right;
}

/* Projects Section */
.title-projects::after {
  content: "Projects";
}

.projects-section {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	align-items: center;
}

.projects-content {
  width: 75%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 0 15px;
  justify-items: center;
}

.project-box {
  display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	border-radius: 10px;
	width: 100%;
  max-width: 350px;
	padding: 20px 25px;
	height: 400px;
	box-sizing: border-box;
	position: relative;
  border: 1px solid #8E8D78;
}

.project-box i {
  font-size: 75px;
  margin-bottom: 20px;
}

.project-box i.pink {
  color: #ECCBC0;
}

.project-box i.green {
  color: #8E8D78;
}

.project-box h1 {
  color: #111;
	letter-spacing: 1px;
	font-size: 1.5rem;
  margin-bottom: 8px;
  text-align: center;
}

.project-box p {
  color: #111;
  font-size: 1.1rem;
  text-align: center;
  margin: 16px 0;
}

.bar {
  width: 100px;
	height: 6px;
	position: absolute;
	left: 50%;
	top: 0%;
	transform: translateX(-50%);
	border-radius: 0px 0px 10px 10px;
	display: none;
	animation: bar 0.5s;
}

.bar.pink {
  background: #ECCBC0;
}

.bar.green {
  background: #8E8D78;
}

.project-box.pink:hover{
	border: 1px solid #ECCBC0;
}

.project-box.green:hover {
  border: 1px solid #8E8D78
}

.project-box:hover .bar{
	display: block;
}

@keyframes bar{
	0%{
		width:0px;
	}
	100%{
		width:100px;
	}
}

/* Team Section */
.title-team::after {
  content: "Team";
}

.team-section {
    width: 100%;
    padding: 20px 50px;
    overflow: hidden;
}

.team-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.team-carousel {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 30px;
}

.team-member {
    min-width: 300px;
    flex: 0 0 300px;
    background: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ECCBC0, #8E8D78);
    transition: all 0.5s ease;
}

.team-member:hover::before {
    left: 0;
}

.team-member:hover {
    transform: translateY(-10px);
    border-color: #ECCBC0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
    border: 4px solid #f0f0f0;
    transition: all 0.3s ease;
}

.team-member:hover .team-avatar {
    border-color: #ECCBC0;
    transform: scale(1.05);
}

.team-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ECCBC0, #8E8D78);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.team-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.team-member:hover .team-name {
    color: #8E8D78;
}

.team-role {
    font-size: 1rem;
    color: #8E8D78;
    margin-bottom: 15px;
    font-weight: 500;
}

.team-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #fff;
    border: 2px solid #ECCBC0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: #ECCBC0;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: -25px;
}

.carousel-nav.next {
    right: -25px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #ECCBC0;
    transform: scale(1.2);
}


@media (max-width: 768px) {
  .team-section {
      padding: 20px 10px;
  }

  .team-carousel {
      gap: 0;
  }

  .team-member {
      min-width: 100%;
      flex: 0 0 100%;
      max-width: 100%;
      margin: 0;
      padding: 25px 15px;
  }

  .team-avatar {
      width: 100px;
      height: 100px;
  }

  .team-name {
      font-size: 1.2rem;
  }

  .carousel-nav {
      width: 45px;
      height: 45px;
  }

  .carousel-nav.prev {
      left: 10px;
  }

  .carousel-nav.next {
      right: 10px;
  }
}

@media (max-width: 480px) {
  .team-member {
      padding: 20px 10px;
  }

  .team-avatar {
      width: 80px;
      height: 80px;
  }

  .team-name {
      font-size: 1.1rem;
  }

  .team-description {
      font-size: 0.85rem;
  }

  .carousel-nav {
      width: 40px;
      height: 40px;
  }
}

/* Pictures */
.title-photos::after {
  content: "Pictures";
}

.photos-section {
  margin: 0 auto;
  max-width: 1200px;
  min-height: 54vh;
}

.photos-section nav {
  display: flex;
  justify-content: center;
}

.photos-section .photos-nav {
  display: flex;
  max-width: 720px;
  width: 100%;
  justify-content: space-between;
}

.photos-nav span {
  padding: 7px 25px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  color: #8E8D78;
  border-radius: 50px;
  border: 1px solid #8E8D78;
  transition: all .5s ease;
}

.photos-nav span.active,
.photos-nav span:hover {
  color: #fff;
  background: #8E8D78;
}

.photos-gallery {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
}

.photos-gallery .photo-gallery-image {
  width: calc(100% / 2);
  padding: 14px 7px 0 7px;
}

.photos-gallery .photo-gallery-image span {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.photos-gallery .photo-gallery-image img {
  width: 100%;
  vertical-align: middle;
  transition: all 0.3s ease;
  cursor: pointer;
}

.photos-gallery .photo-gallery-image:hover img {
  transform: scale(1.15);
}

.photos-gallery .photo-gallery-image.hide {
  display: none;
}

.photos-gallery .photo-gallery-image.show {
  animation: project 0.4s ease;
}

@keyframes project {
  0%{
    transform: scale(0.5);
  }
  100%{
    transform: scale(1);
  }
}

.photos-preview {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: #fff;
  max-width: 700px;
  width: 100%;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  border-radius: 3px;
  box-shadow: 0px 0px 15px rgba(0,0,0,0.2);
}

.photos-preview.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  transition: all 0.3s ease;
}

.photos-preview .photos-preview-details {
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #11111125;
}

.photos-preview-details .photo-preview-title {
  display: flex;
  font-size: 18px;
  font-weight: 400;
}

.photos-preview-details .photo-preview-title p {
  font-weight: 600;
  margin-left: 5px;
  color: #8E8D78;
}

.photos-preview-details .photo-preview-icon {
  color: #8E8D78;
  font-size: 22px;
  cursor: pointer;
  transition: all .2s ease-in-out;
}

.photos-preview-details .photo-preview-icon:hover {
  transform: scale(115%);
}

.photos-preview .photo-preview-image {
  width: 100%;
  display: flex;
  padding: 0px 10px 10px 10px;
}

.photo-preview-image img{
  width: 100%;
  border-radius: 0 0 3px 3px;
}

.photo-preview-shadow {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 2;
  display: none;
  background: rgba(0,0,0,0.4);
}

.photo-preview-shadow.show {
  display: block;
}

/* Contact Section*/
.title-contact::after {
  content: "Contact us";
}

.contact-section {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 50px;
}

.contact-left {
  width: 65%;
  height: 600px;
  background: #f5f6fa;
  border-radius: 10px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
}

.contact-right {
  background: #8E8D78;
}

form {
  height: 100%;
  padding: 4.6rem 3.3rem;
  position: relative;
}

.contact-left-title,
.contact-right-title {
  color: #fff;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.7rem;
}

.contact-right-ip {
  position: relative;
  margin: 1rem 0;
}

.contact-right-input {
  width: 100%;
  outline: none;
  border: 2px solid #fff;
  background: none;
  padding: 0.6rem 1.2rem;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border-radius: 25px;
  transition: 0.3s;
}

textarea.contact-right-input {
  padding: 0.8rem 1.2rem;
  min-height: 150px;
  border-radius: 22px;
  resize: none;
  overflow-y: auto;
}

.contact-right-ip label {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  padding: 0 0.4rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 400;
  pointer-events: none;
  z-index: 600;
  transition: 0.5s;
}

.contact-right-ip.textarea label {
  top: 1rem;
  transform: translateY(0);
}

.contact-right-btn {
  padding: 0.6rem 1.3rem;
  background: #fff;
  border: 2px solid #fff;
  font-size: 0.95rem;
  color: #8E8D78;
  line-height: 1;
  border-radius: 25px;
  outline: none;
  cursor: pointer;
  transition: 0.3s;
  margin: 0;
}

.contact-right-btn:hover {
  background: transparent;
  color: #fff;
}

.contact-right-ip span {
  position: absolute;
  top: 0;
  left: 25px;
  transform: translateY(-50%);
  font-size: 0.8rem;
  padding: 0 0.4rem;
  color: transparent;
  pointer-events: none;
  z-index: 500;
}

.contact-right-ip span:before,
.contact-right-ip span:after {
  content: "";
  position: absolute;
  width: 10%;
  opacity: 0;
  transition: 0.3s;
  height: 5px;
  background: #8E8D78;
  top: 50%;
  transform: translateY(-50%);
}

.contact-right-ip span:before {
  left: 50%;
}

.contact-right-ip span:after {
  right: 50%;
}

.contact-right-ip.focus label {
  top: 0;
  transform: translateY(-50%);
  left: 25px;
  font-size: 0.8rem;
}

.contact-right-ip.focus span:before,
.contact-right-ip.focus span:after {
  width: 50%;
  opacity: 1;
}

.contact-left-infos {
  padding: 4.6rem 3.3rem;
  position: relative;
}

.contact-left-infos .contact-left-title {
  color: #111;
}

.contact-left-text {
  color: #333;
  margin: 1.5rem 0 2rem 0;
}

.contact-left-info {
  display: flex;
  color: #555;
  margin: 1.2rem 0;
  align-items: center;
  font-size: 0.95rem;
}

.contact-left-icon {
  width: 28px;
  margin-right: 0.7rem;
}

.contact-left-sm {
  margin: 3rem 0 0 0;
}

.contact-left-sm p {
  color: #333;
}

.contact-left-si {
  width: 70px;
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.contact-left-infos:before {
  content: "";
  position: absolute;
  width: 110px;
  height: 100px;
  border: 22px solid #8E8D78;
  border-radius: 50%;
  bottom: -77px;
  right: 50px;
  opacity: 0.3;
}

/* Footer Section */
.footer-section {
  width: 100%;
  background: #111;
  padding-top: 2.5rem;
  color: #fff;
}

.footer-top {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.footer-top h3 {
  font-size: 1.8rem;
  font-weight: 400;
  text-transform: capitalize;
  line-height: 3rem;
}

.footer-top p {
  max-width: 525px;
  margin: 10px auto;
  line-height: 28px;
  font-size: 15px;
}

.footer-top-sm {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem 0 3rem 0;
}

.footer-top-sm li {
  margin: 0 20px;
}

.footer-bottom {
  width: 100%;
  background: #111;
  border-top: 1px solid #fff;
  padding: 30px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 15px;
  word-spacing: 2px;
  text-transform: capitalize;
}

.footer-bottom span {
  color: #8E8D78;
  text-transform: uppercase;
  font-weight: 600;
}

/* Scroll to top with progress */
#progress {
  position: fixed;
  width: 70px;
  height: 70px;
  bottom: 50px;
  right: 50px;
  display: none;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

#progress-value {
  display: block;
  width: calc(100% - 15px);
  height: calc(100% - 15px);
  background-color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 35px;
  color: #111;
}

#progress-value i {
  padding-top: 2.5px;
  font-size: 1.8rem;
  color: #111;
}

@media (max-width: 1050px) {
  section h2 {
    font-size: 2em;
  }

  header.sticky .header-logo {
    left: 40px;
    color: #ECCBC0;
  }

  header.sticky .header-banner {
    opacity: 0;
  }

  header nav ul {
    display: none;
    opacity: 0;
    visibility: hidden;
  }

  nav.active ul {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100% - 80px);
    background: #8E8D78;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

  }

  header.sticky nav ul {
    opacity: 1;
    visibility: visible;
  }

  header nav ul li a {
    font-size: 1.5em;
    margin: 20px 0;
  }

  header.sticky .toggle {
    position: fixed;
    top: 15px;
    right: 40px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    background: transparent url(../assets/open-menu.png);
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: center;
    transition: .2s linear;
  }

  header.sticky .toggle:hover {
    transform: scale(125%);
  }

  header.sticky .toggle.active {
    background: transparent url(../assets/close-menu.png);
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: center;
  }

  .projects-content {
    grid-template-columns: 1fr;
  }

  .project-box {
    margin: 15px;
    flex-grow: 1;
  }
  
  .photos-gallery .photo-gallery-image{
    padding: 10px;
  }

  .contact-left {
    height: 575px;
  }
}

@media (max-width: 850px) {
  .contact-left {
    grid-template-columns: 1fr;
    width: 75%;
    height: 1050px;
  }

  .contact-left-infos:before {
    bottom: initial;
    top: -75px;
    right: 65px;
    transform: scale(0.95);
  }

  .contact-right:before {
    top: -13px;
    left: initial;
    right: 70px;
  }

  .contact-left-text {
    margin: 1rem 0 1.5rem 0;
  }

  .contact-left-sm {
    padding: 1.5rem 0 0 0;
  }
}

@media (max-width: 800px) {
  
  .photos-gallery .photo-gallery-image{
    width: calc(100% / 2);
  }

  .contact-left {
    grid-template-columns: 1fr;
    width: 90%;
  }
}

@media (max-width: 700px) {
  .photos-section nav .photos-nav{
    max-width: 600px;
  }
  
  nav .photos-nav span{
    padding: 7px 15px;
  }

  .home-content {
    padding: 0 40px;
  }

  .home-content h2 {
    font-size: 3rem;
    letter-spacing: 0.65px;
  }

  .about-content h2 {
    font-size: 25px;
  }
}

@media (max-width: 600px) {
  .home-content p {
    line-height: 40px;
  }
  
  .about-section {
      padding: 0;
  }

  .about-content {
      padding: 60px;
  }

  .photos-section nav .photos-nav{
    flex-wrap: wrap;
    justify-content: center;
  }

  nav .photos-nav span{
    margin: 5px;
  }

  .photos-gallery .photo-gallery-image{
    width: 85%;
    margin: 20px auto 0 auto;
  }
}

@media (max-width: 540px) {
  .home-content h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 450px) {
  .contact-left {
    height: 1100px;
  }
}

@media (max-width: 400px) {
  .about-content h2 {
    font-size: 22px;
  }
}

@media (max-width: 375px) {
  .home-content {
    top: 70%;
  }

  .about-content h2 {
    font-size: 20px;
  }

  .contact-section {
    padding: 0 25px;
  }
  
  .contact-left {
    width: 100%;
  }

  #progress {
    bottom: 25px;
    right: 25px;
  }
}