@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap");
/* Réinitialisation et styles de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Space Grotesk", sans-serif;
  scroll-behavior: smooth;
}

/* Global */
body {
  background-color: #0b192c;
  color: #efefef;
}

/* Navbar */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0b192c;
  -webkit-backdrop-filter: blur(1rem);
          backdrop-filter: blur(1rem);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.logo a {
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 700;
  color: #ff6500;
}
.logo a span {
  color: #efefef;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}
nav a {
  color: #efefef;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 1rem;
}
nav a:hover {
  color: #ff6500;
}

/* Hero */
.hero {
  background: linear-gradient(45deg, #0b192c, #1e3e62);
  text-align: center;
  padding-top: 5rem;
}
.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: #ff6500;
}
.hero p {
  font-size: 1.5rem;
  margin: 0 auto 2.5rem;
  color: #efefef;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.binary-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.binary-bubble {
  position: absolute;
  font-family: "Space Grotesk", sans-serif;
  font-weight: bold;
  color: #ff6500;
  pointer-events: none;
  animation: bubbleUp ease-out forwards;
}

@keyframes bubbleUp {
  0% {
    bottom: -10vh;
    opacity: 0;
    transform: translateX(0) scale(0.8);
  }
  10% {
    opacity: 0.8;
    transform: translateX(10px) scale(1);
  }
  25% {
    transform: translateX(-15px) scale(1.1);
  }
  50% {
    transform: translateX(20px) scale(1);
  }
  75% {
    transform: translateX(-10px) scale(0.9);
  }
  90% {
    opacity: 0.8;
    transform: translateX(5px) scale(0.8);
  }
  100% {
    bottom: 110vh;
    opacity: 0;
    transform: translateX(0) scale(0.6);
  }
}
/* Buttons */
.btn {
  background-color: #ff6500;
  color: #efefef;
  padding: 0.7rem 1.5rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-0.2rem);
}

.btn-secondary {
  background-color: transparent;
  border: 0.15rem solid #ff6500;
  color: #ff6500;
}
.btn-secondary:hover {
  background-color: color-mix(in srgb, #ff6500, transparent 90%);
}

/* Sections */
.section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  position: relative;
}
.section h2 {
  text-align: center;
}

.light-section {
  background-color: #1e3e62;
}

.dark-section {
  background-color: #0b192c;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  padding-bottom: 2rem;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 30%;
  bottom: 0;
  width: 40%;
  height: 0.3rem;
  background: #ff6500;
  border-radius: 2rem;
}

/* Container */
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 66.6%;
  margin: 0 auto;
}

/* About */
.about-container {
  max-width: 66%;
  margin: 0 auto;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px #000000;
  position: relative;
  display: flex;
  flex-direction: row;
  background-color: #efefef;
  margin-top: 2rem;
}

.about-image {
  width: 50%;
  display: block;
  margin: auto;
}

.about-content {
  width: 60%;
  padding: 3rem;
  text-align: left;
  background: #efefef;
}
.about-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #ff6500;
}
.about-content p {
  line-height: 1.8;
  margin-bottom: 1rem;
  color: #0b192c;
}
.about-content ul {
  color: #0b192c;
  margin-bottom: 1rem;
  margin-left: 2rem;
}

/* Cards */
.card {
  background: #efefef;
  border-radius: 2rem;
  box-shadow: 0 0.7rem 2.1rem #000000;
  padding: 2rem;
}
.card h3 {
  font-size: 1.5rem;
  color: #ff6500;
  margin-bottom: 1rem;
}
.card p {
  line-height: 1.5;
  color: #0b192c;
  margin-bottom: 1rem;
}

/* Services */
#services-card {
  flex-wrap: wrap;
  min-width: 20rem;
  width: calc(33.3% - 2rem);
  border-left: 0.3rem solid #ff6500;
  transform: translateX(-10rem);
  transition: all 0.8s ease-out;
  opacity: 0;
}
#services-card.visible {
  transform: translateX(0);
  opacity: 1;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

/* Portfolio*/
#portfolio-card {
  min-width: 20rem;
  width: calc(50% - 2rem);
  transform: translateX(10rem);
  transition: all 0.8s ease-out;
  opacity: 0;
}

#portfolio-card.visible {
  transform: translateX(0);
  opacity: 1;
}

.portfolio-image {
  width: 32rem;
  height: 18rem;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.portfolio-image img {
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.portfolio-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.portfolio-content {
  padding: 1.5rem;
  position: relative;
  background: #efefef;
}

.portfolio-link {
  display: inline-block;
  margin-top: 1rem;
  color: #ff6500;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

/* Tech badges */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tech-badge {
  background-color: #1e3e62;
  color: #efefef;
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
  font-size: 0.8rem;
}

/* Contact */
#contact-card {
  width: 33.3%;
}

.contact-form {
  flex: 2;
  background: #efefef;
  padding: 2rem;
  border-radius: 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #0b192c;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border-radius: 0.5rem;
  border: 2px solid #1e3e62;
  background-color: rgba(255, 255, 255, 0.1);
  color: #0b192c;
  font-size: 1rem;
  transition: border-color 0.3s;
}
.form-control:focus {
  outline: none;
  border-color: #ff6500;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Pied de page */
footer {
  background-color: #0b192c;
  padding: 3rem 2rem;
  text-align: center;
}
footer p {
  color: #1e3e62;
}

/* Animation de scroll */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  border: 2px solid #ff6500;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  padding-top: 10px;
}
.scroll-indicator::before {
  content: "";
  width: 6px;
  height: 10px;
  background-color: #ff6500;
  border-radius: 3px;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  70% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(15px);
    opacity: 0;
  }
}
/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .about-container {
    flex-direction: column;
  }
  .about-image {
    width: 100%;
    height: 300px;
  }
  .about-content {
    width: 100%;
  }
  .portfolio-card {
    width: 100%;
  }
  .contact-container {
    flex-direction: column;
  }
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  .section-title {
    font-size: 2rem;
  }
}/*# sourceMappingURL=styles.css.map */