@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: #09090b;
  color: #e5e5e5;
  overflow: hidden;
  font-display: swap;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}
@keyframes float {
	0% {
		transform: translatey(0px);
	}
	50% {
		transform: translatey(-10px);
	}
	100% {
		transform: translatey(0px);
	}
}
.snap-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.snap-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 60px 1rem 1rem;
  box-sizing: border-box;
}

/* Layout */
.snap-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.snap-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.content-wrapper {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.section-frontend,
.section-ml {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding-top: 80px;
  min-height: 100vh;
}

.vitrine-wrapper {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vitrine-wrapper img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: contain;
}

.section-competences {
  padding: 60px 1rem 1rem;
}

.skills-container {
  width: 100%;
  max-width: 1200px;
  overflow-y: auto;
  padding: 0 1rem;
  margin-top: 1rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  -webkit-overflow-scrolling: touch;
}



.space-y>*+* {
  margin-top: 2rem;
}

.text-center {
  text-align: center;
}

.text-neutral {
  color: #a3a3a3;
}

.violet {
  color: #a78bfa;
}

.cyan {
  color: #22d3ee;
}

.emerald {
  color: #34d399;
}

.rose {
  color: #fb7185;
}

.amber {
  color: #fbbf24;
}

.section-hero {
  background: linear-gradient(to bottom, #1e3a8a, #0f172a);
}

.title.violet {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  color: #a78bfa;
  text-shadow: 0 0 1px #a78bfa, 0 0 12px #a78bfa;
  font-family: 'Space Grotesk', sans-serif;
}

.subtitle {
  color: #93c5fd;
}

.section-frontend {
  background: linear-gradient(to bottom, #164e63, #09090b);
}





.section-contact {
  background: linear-gradient(to bottom, #78350f, #09090b);
}


.glow {
  position: relative;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(45deg,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0.2));
  filter: blur(5px);
  z-index: -1;
  border-radius: 0.5rem;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-header i {
  font-size: 2rem;
}

.section-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
}

.project-card {
  margin-bottom: 1.5rem;
}

.image-wrapper {
  overflow: hidden;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.image-wrapper img {
  width: 100%;
  height: 50vh;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.project-info h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.project-meta i {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-meta i {
  opacity: 1;
}

.contact-form {
  max-width: 42rem;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  color: #a3a3a3;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(217, 119, 6, 0.3);
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  color: #e5e5e5;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(251, 191, 36, 0.5);
}

button {
  width: 100%;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #fbbf24;
  padding: 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background: rgba(251, 191, 36, 0.2);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--scroll-color, #a3a3a3), #09090b);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, var(--scroll-color-hover, #e5e5e5), #4c1d95);
}

/* Contact Section Styles */
.section-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(to bottom, #1a1a1a, #000);
  padding: 3rem;
  color: #fcd34d;
}

.section-contact h2 {
  font-size: 2.5rem;
  color: #f59e0b;
  text-shadow: 0 0 10px #f59e0b, 0 0 20px #f59e0b;
  margin-bottom: 1.5rem;
}

.section-contact p {
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

.section-contact a {
  color: #fde047;
  text-decoration: none;
  font-weight: bold;
}

.section-contact a:hover {
  text-decoration: underline;
}

footer {
  margin-top: 2rem;
  font-size: 1rem;
  color: #f59e0b;
  text-shadow: 0 0 5px #f59e0b;
}

/* Section Compétences Styles */
.section-competences {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(to bottom, #1e003e, #3f0071);
  padding: 4rem 2rem;
  color: #d1d5db;
  text-align: center;
}

.section-competences .neon-title {
  font-size: 2.8rem;
  color: #a78bfa;
  text-shadow: 0 0 15px #a78bfa, 0 0 30px #a78bfa, 0 0 45px #a78bfa;
  margin-bottom: 2rem;
}

.section-competences .intro-text {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  color: #e5e5e5;
  max-width: 800px;
  line-height: 1.5;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.skill {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  text-align: left;
  flex: 1;
  min-width: 250px;
  max-width: 300px;
}

.skill h3 {
  font-size: 1.6rem;
  color: #fbbf24;
  margin-bottom: 1rem;
}

.skill p {
  font-size: 1rem;
  line-height: 1.5;
}


.contact-button a:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

:root {
  --contact-btn-color: #3875d1;
  --contact-btn-hover: #1d4ed8;
}

.contact-button {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background: #1a1a1a;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.contact-button a {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  background-color: var(--contact-btn-color);
  color: #fff;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.contact-button a:hover {
  background-color: var(--contact-btn-hover);
  transform: translateY(-2px);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--scroll-color, #a3a3a3), #09090b);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #69c2ff, #f7e07e, #e86942);

}

.section-frontend {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(to bottom, #3f0071, #1e003e);
  padding: 3rem;
  position: relative;
}

.section-ml {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(to bottom, #00712b, #1e003e);

  padding: 3rem;
  position: relative;
}

.title {
  font-family: 'Montserrat', sans-serif;
}

.vitrine-wrapper {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  position: relative;
}

.vitrine-wrapper img {
  width: 100%;
  height: auto;
  aspect-ratio: 850/450;
  animation: fadeIn 1.5s ease-in-out;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.neon-title {
  font-size: 3rem;
  color: #a78bfa;
  font-weight: bold;
  margin-top: 2rem;
  text-shadow: 0 0 10px #a78bfa, 0 0 20px #a78bfa, 0 0 30px #a78bfa;
  animation: glow 2s infinite alternate;
}

.neon-title2 {
  font-size: 3rem;
  color: #dbc818;
  font-weight: bold;
  margin-top: 2rem;
  text-shadow: 0 0 10px #dbc818, 0 0 20px #dbc818, 0 0 30px #dbc818;
  animation: glow 2s infinite alternate;
}

.review {
  font-size: 1rem;
  color: #d1d5db;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  position: absolute;
  right: 10%;
  top: 25%;
  text-align: left;
}

.review .author {
  color: #fbbf24;
  font-weight: bold;
}

.stars {
  margin-top: 1rem;
  color: #fbbf24;
  font-size: 1.2rem;
}

.view-site-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  background: #a78bfa;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(167, 139, 250, 0.4);
  transition: background 0.3s ease, transform 0.2s ease;
  position: absolute;
  right: 10%;
  top: 50%;
}

.view-site-btn:hover {
  background: #c084fc;
  transform: translateY(-3px);
}

.view-site-btn2 {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  background: #73cf99;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(139, 250, 189, 0.4);
  transition: background 0.3s ease, transform 0.2s ease;
  position: absolute;
  right: 10%;
  top: 50%;
}

.view-site-btn2:hover {
  background: #84fc9e;
  transform: translateY(-3px);
}

.logo {
  position: absolute;
  top: 15%;
  right: 10%;
  width: 100px;
  animation: spin 8s linear infinite;
}

.logo img {
  width: 100%;
  border-radius: 50%;
}

.logoml {
  position: absolute;
  top: 15%;
  right: 10%;
  width: 100px;
}

.logoml img {
  width: 100%;
  border-radius: 50%;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px #a78bfa, 0 0 20px #a78bfa, 0 0 30px #a78bfa;
  }

  to {
    text-shadow: 0 0 20px #c084fc, 0 0 30px #c084fc, 0 0 40px #c084fc;
  }
}

img {
  user-select: none;
  -webkit-user-drag: none;
}

* {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.site-logo {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  width: 70px;
  height: 70px;
  transition: .4s;
	transform: translatey(0px);
	animation: float 6s ease-in-out infinite;
}

.site-logo:hover {
  width: 80px;
  height: 80px;
  
}

.site-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}



@media screen and (max-width: 1024px) {
  .vitrine-wrapper {
    max-width: 90%;
  }
}

@media screen and (max-width: 768px) {

  html,
  body {
    height: 100%;
    width: 100%;
    position: fixed;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .snap-container {
    height: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    position: relative;
    -webkit-transform: translate3d(0, 0, 0);
  }

  .snap-section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-height: 100vh;
    height: 100vh;
    height: -webkit-fill-available;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    -webkit-transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
  }

  .vitrine-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 1rem;
  }

  .vitrine-wrapper img {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 850/450;
    margin: 0 auto;
    display: block;
    -webkit-transform: translate3d(0, 0, 0);
  }

  .section-ml .vitrine-wrapper img {
    aspect-ratio: 16/9;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.1);
  }

  .neon-title,
  .neon-title2 {
    position: static;
    transform: none;
    margin: 0.5rem 0;
    font-size: 1.8rem;
    text-align: center;
  }

  .logo,
  .logoml {
    position: static;
    margin: 0.5rem auto;
    width: 60px;
  }

  .review {
    position: static;
    width: 90%;
    max-width: none;
    margin: 0.5rem auto;
    text-align: center;
    font-size: 0.9rem;
  }

  .view-site-btn,
  .view-site-btn2 {
    position: static;
    display: block;
    width: fit-content;
    margin: 0.5rem auto;
  }

  /* Section compétences */
  .section-competences {
    padding: 60px 1rem 1rem;
  }

  .section-competences .neon-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .section-competences .intro-text {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
  }

  .skills-container {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    padding: 0 0.5rem;
  }

  .skill {
    padding: 1rem;
    min-width: auto;
    width: 100%;
  }

  .skill h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .skill p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .section-contact {
    padding: 60px 1rem 1rem;
  }

  .section-contact h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .section-contact p {
    font-size: 1rem;
    margin: 0.25rem 0;
  }

  .site-logo {
    width: 45px;
    height: 45px;
    top: 10px;
    left: 10px;
  }

  .contact-button {
    top: 10px;
    right: 10px;
  }

  .contact-button a {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 768px) {
  .snap-section {
    padding: 60px 1rem 1rem;
    overflow-y: auto;
    height: 100vh;
    max-height: -webkit-fill-available;
  }

  .vitrine-wrapper {
    max-height: 35vh;
    margin: 0;
    padding: 0;
  }

  .section-frontend,
  .section-ml {
    gap: 0.5rem;
  }

  .neon-title,
  .neon-title2 {
    font-size: 1.8rem;
    margin: 0.5rem 0;
  }

  .logo,
  .logoml {
    width: 60px;
    margin: 0.5rem auto;
  }

  .review {
    width: 90%;
    padding: 1rem;
    margin: 0.5rem auto;
    font-size: 0.9rem;
  }

  .view-site-btn,
  .view-site-btn2 {
    margin: 0.5rem auto;
  }

  .skills-container {
    padding: 0 0.5rem;
    gap: 1rem;
    margin-top: 0.5rem;
  }

  .skill {
    flex: 1 1 100%;
    padding: 1rem;
  }

  .section-competences .intro-text {
    font-size: 0.9rem;
    margin: 0.5rem 0;
    padding: 0 0.5rem;
  }
}

@media screen and (max-width: 480px) {
  .snap-section {
    padding: 50px 0.8rem 1rem;
  }

  .vitrine-wrapper {
    max-height: 30vh;
  }

  .neon-title,
  .neon-title2 {
    font-size: 1.5rem;
  }

  .review {
    font-size: 0.85rem;
    padding: 0.8rem;
  }

  .skill {
    padding: 0.8rem;
  }

  .skill h3 {
    font-size: 1.2rem;
  }

  .skill p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
}

@supports (-webkit-touch-callout: none) {
  .snap-section {
    height: -webkit-fill-available;
    max-height: -webkit-fill-available;
  }

  .section-ml {
    scroll-snap-align: start;
    -webkit-overflow-scrolling: touch;
  }
}

img {
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 768px) {

  .section-frontend,
  .section-ml {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    gap: 1.5rem;
    height: auto;
    min-height: 100vh;
  }

  .vitrine-wrapper {
    position: static;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin: 1rem 0;
  }

  .vitrine-wrapper img {
    max-height: 35vh;
    width: 100%;
    object-fit: contain;
    margin: 0 auto;
  }

  .neon-title,
  .neon-title2 {
    position: static;
    font-size: 2rem;
    margin: 1rem 0;
    text-align: center;
  }

  .logo,
  .logoml {
    position: static;
    width: 60px;
    margin: 1rem auto;
  }

  .review {
    position: static;
    width: 90%;
    max-width: none;
    margin: 1rem auto;
    text-align: center;
    font-size: 0.9rem;
  }

  .view-site-btn,
  .view-site-btn2 {
    position: static;
    display: block;
    width: fit-content;
    margin: 1rem auto;
  }
}

@media screen and (max-width: 480px) {

  .section-frontend,
  .section-ml {
    padding: 1.5rem 0.8rem;
    gap: 1rem;
  }

  .vitrine-wrapper {
    margin: 0.5rem 0;
  }

  .vitrine-wrapper img {
    max-height: 30vh;
  }

  .neon-title,
  .neon-title2 {
    font-size: 1.8rem;
    margin: 0.5rem 0;
  }

  .logo,
  .logoml {
    width: 50px;
    margin: 0.5rem auto;
  }

  .review {
    padding: 1rem;
    margin: 0.5rem auto;
    font-size: 0.85rem;
  }

  .view-site-btn,
  .view-site-btn2 {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
    margin: 0.5rem auto;
  }
}