/* Font & base */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;

  background-image: url('assets/bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* effet premium */
  background-repeat: no-repeat;

}

/* Hero Section */
.hero {

}

.hero-overlay {
  background: rgba(0,0,0,0.3);
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.navbar {
  position: fixed;       /* reste en haut au scroll */
  top: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: flex-end; /* menu aligné à droite */
  padding: 1.5rem 4rem;
  align-items: center;
  z-index: 1000;
  background: transparent;
  font-family: 'Inter', sans-serif; /* police correcte */
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0; 
  padding: 0;
}

.navbar a {
  color: #fff;            /* blanc */
  text-decoration: none;
  font-weight: 600;
  font-family: 'Inter', sans-serif; /* police */
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #00f0ff;
}

.hero-content {
  text-align: center;
  margin: auto;
  max-width: 700px;
}

.hero-content h2 {
  font-family: 'Inter', sans-serif;
  font-size: 4rem;        /* taille large premium */
  font-weight: 800;       /* extra‑bold */
  line-height: 1.2;
  color: #ffffff;         /* blanc pur */
  margin: 0 auto 0.5rem auto;
  text-shadow: 0px 2px 8px rgba(0,0,0,0.4);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.btn {
  background: #00f0ff;
  color: #111;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: bold;
  transition: all 0.3s;
}

.btn:hover {
  background: #00d4cc;
}

/* Section styling */
.section {
  padding: 5rem 2rem;
}

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

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Projects */
.project-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.project {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.project img {
  width: 100%;
  display: block;
}

.project:hover {
  transform: translateY(-5px);
}

.project h3 {
  padding: 0.5rem 1rem;
}

.project p {
  padding: 0 1rem 1rem 1rem;
}

/* Contact form */
form input, form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

form button {
  background: #00f0ff;
  color: #111;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
}

form button:hover {
  background: #00d4cc;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: #111;
  color: white;
}

/* Responsive */
@media(max-width:768px){
  .navbar ul {flex-direction: column;}
  .hero-content h2 {font-size: 2rem;}
}
html {
  scroll-behavior: smooth;
}
