html {
  scroll-behavior: smooth;
}

body {
    height: 100%;
    margin: 0%;
    padding: 0%;
    display: flex;
    flex-direction: column;
    font-family: Raleway;
    background: #000;
    color: #fff;
    overflow: auto;
}

.header {
    display: flex;
    justify-content: space-between;
    background-color: #000;
    color: #fff;
    padding: 15px 10px 2px 10px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header ul {
    list-style: none;
    display: flex;
    margin: 3px;
    padding: 0;
}

.header ul li {
    margin: 0 18px;
}

.header ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}
.header ul li a:hover {
    text-decoration: underline;
}
.header img {
    width: 45px;
    height: 35px;
    padding-top: 0px;
    margin-right: 730px;
    margin-top: 0px;
    margin-left: 10px;
}

main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.footer {
    background-color: #000;
    padding: 2rem 0;
    border-top: 1px solid #333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-info p {
    margin: 0.5rem 0;
    color: #ccc;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #222;
    transition: all 0.3s ease;
    position: relative;
}

.social-link:hover {
    transform: translateY(-3px);
    background: #ac9494;
}

.social-link img {
    width: 20px;
    height: 20px;
    filter: invert(1);
}

.footer-copyright {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
    font-size: 0.8rem;
}

/* Tooltip pour les réseaux */
.social-link::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.social-link:hover::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-info {
        text-align: center;
    }
}

.social-link img {
    width: 24px;
    height: 24px;
    filter: invert(1);
    transition: transform 0.3s ease;
}

.social-link img:hover {
    transform: scale(1.2);
}
.projects-section {
  padding: 120px 20px 60px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.projects-section h1 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #fff;
  border-bottom: 2px solid #ac9494;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 projets par ligne */
  gap: 2rem;
}


.project-card {
  background-color: #111;
  border: 1px solid #333;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: left;
  transition: transform 0.3s ease;
}

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

.project-card h2 {
  color: #ac9494;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.project-card p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.4;
}

.project-card .tech {
  margin-top: 0.8rem;
  font-style: italic;
  font-size: 0.9rem;
  color: #999;
}

.project-links {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.project-links a {
  padding: 0.5rem 1rem;
  background: #ac9494;
  color: #000;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s;
  font-weight: bold;
  font-size: 0.9rem;
}

.project-links a:hover {
  background: #fff;
  color: #000;
}


.synthese-pdf, .synthese-pdf-link {
  margin-bottom: 3rem;
  margin-left: 220px;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 720px;
}

.synthese-pdf h2, .synthese-pdf-link h2 {
  color: #ac9494;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}
.synthese-intro {
  font-size: 1rem;
  color: #e4e1e1;
  margin-bottom: 1.5rem;
  text-align: center;
}
.download-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: #ac9494;
  color: #000;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.download-link:hover {
  background: #fff;
}

.project-image {
  width: 100%;
  margin-top: 1rem;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

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