/* ===== GLOBAL ===== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

body {
font-family: 'Georgia', serif;
background-color: #f6f1ea;
color: #4a4036;
line-height: 1.8;
}

/* ===== NAVBAR ===== */

nav {
width: 100%;
padding: 25px 60px;
display: flex;
justify-content: space-between;
align-items: center;
background-color: rgba(255,255,255,0.75);
backdrop-filter: blur(10px);
position: fixed;
top: 0;
z-index: 1000;
}

.logo {
font-size: 1.3rem;
letter-spacing: 3px;
text-transform: uppercase;
font-weight: bold;
}

nav div {
display: flex;
gap: 20px;
}

nav button {
background: none;
border: none;
font-size: 0.95rem;
color: #4a4036;
cursor: pointer;
letter-spacing: 1px;
transition: 0.3s;
font-family: inherit;
}

nav button:hover {
color: #b79b7d;
}

/* ===== CONSTRUCTION BANNER ===== */

.construction-banner {
    position: fixed;
    top: 85px; /* adjust based on navbar height */
    width: 100%;
    background-color: #b79b7d;
    color: white;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    z-index: 999;
}

.construction-banner::after {
    content: "🚧 Site actuellement en construction • De nouveaux projets seront ajoutés prochainement 🚧";
    display: inline-block;
    padding-left: 100%;
    animation: scroll-banner 18s linear infinite;
}

@keyframes scroll-banner {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

/* ===== PROJECTS ===== */

.projects-container {
max-width: 1300px;
margin: auto;
padding: 180px 80px 120px;
}

.projects-title {
font-size: 4rem;
color: #3b322b;
margin-bottom: 20px;
}

.projects-subtitle {
color: #8c7a68;
margin-bottom: 70px;
letter-spacing: 1px;
}

/* ===== GRID ===== */

.projects-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 40px;
}

.project-card {
background: white;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 15px 35px rgba(0,0,0,0.08);
transition: transform 0.3s ease;
}

.project-card:hover {
transform: translateY(-6px);
}

.project-card img {
width: 100%;
height: 280px;
object-fit: cover;
}

.project-card h2 {
padding: 25px 25px 10px;
color: #3b322b;
}

.project-card p {
padding: 0 25px 25px;
color: #5f5448;
}

/* ===== FOOTER ===== */

footer {
background-color: #e8ddd0;
padding: 50px 30px;
text-align: center;
color: #5f5448;
}

footer p {
margin-bottom: 8px;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {

nav {
    padding: 20px;
    flex-direction: column;
    gap: 20px;
}

.projects-container {
    padding: 160px 30px 80px;
}

.projects-title {
    font-size: 2.8rem;
}
}

