:root { 
  --bg: #071023;
  --card-bg: #0f1724;
  --muted: #9aa7b2;
  --accent: #7AF2B6;
  --line-height: 4px;
  --marker-size: 20px;
  --line-width: 8px;
  --line-gap: 120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: #e6f0f2;
  font-family: Inter, Arial, sans-serif;
  display: flex;
  justify-content: center;
  padding: 48px 20px;
  min-height: 100vh;
}

.portfolio-container {
    background-color: #0f172a;
    border-radius: 10px;
    padding: 20px;
    width: 90%;
    max-width: 1000px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    position: relative;
}

.top-bar, .bottom-bar {
    text-align: center;
    padding: 10px;
}

.top-bar span, .bottom-bar span {
    color: #7AF2B6;
    font-weight: bold;
    font-size: 1.5rem;
}

.project-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.photos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 10px;
    width: 100%;
}

.photos-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.photos-grid img:nth-child(3) {
    grid-column: span 2; /* occupe toute la largeur en bas */
}

.description-zone {
    text-align: center;
    max-width: 800px;
}

.description-zone h1 {
    color: #7AF2B6;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.description-zone p {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
}

/* Boutons navigation */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(122, 242, 182, 0.2);
    border: 2px solid #7AF2B6;
    color: #7AF2B6;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.nav-btn:hover {
    background-color: #7AF2B6;
    color: #0a0f1a;
}

.prev-btn { left: -70px; }
.next-btn { right: -70px; }

/* ===== Bouton Burger ===== */
.burger {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 35px;
    height: 26px;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.burger span {
    height: 4px;
    background: var(--accent);
    border-radius: 4px;
    transition: 0.4s;
}

/* Animation Burger en croix */
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.burger.active span:nth-child(2) {
    opacity: 0;
}
.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== Menu ===== */
.menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: 0.5s ease;
    z-index: 1000;
}
.menu.active {
    right: 0;
}
.menu a {
    text-decoration: none;
    color: #fff; /* corrigé */
    font-size: 1.5em;
    padding: 10px 20px;
    border-left: 3px solid transparent;
    transition: 0.3s;
}
.menu a:hover {
    border-left: 3px solid var(--accent);
    background: rgba(255,255,255,0.05);
}
