/* style.css - Portfolio Professionnel */

body {
  margin: 0;
  padding: 0;
  font-family: 'Mulish', sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

/* Hero section */
.hero {
  position: relative;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('cover.jpg') no-repeat center center/cover;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.profile-pic {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 4px solid white;
  margin-bottom: 1rem;
  object-fit: cover;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.2rem;
}

nav {
  background-color: #003366;
  padding: 1rem 0;
  text-align: center;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  display: inline-block;
  margin: 0 15px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ffcc00;
}

main {
  padding: 2rem;
  max-width: 900px;
  margin: auto;
  background: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  margin-top: -60px;
  border-radius: 10px;
  z-index: 1;
  position: relative;
}

section {
  margin-bottom: 3rem;
}

h2 {
  color: #003366;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

ul li {
  margin-bottom: 0.5rem;
}

form input, form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

form button {
  padding: 0.75rem 2rem;
  background-color: #003366;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

form button:hover {
  background-color: #001a33;
}

footer {
  text-align: center;
  background-color: #003366;
  color: white;
  padding: 1rem 0;
  margin-top: 2rem;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  nav ul li {
    display: block;
    margin: 10px 0;
  }
  main {
    padding: 1rem;
    margin-top: -30px;
  }
}
