/* ===== Style CSS Boualam Lyes ===== */
body {
    margin: 0;
    font-family: "Segoe UI", "Roboto", sans-serif;
    line-height: 1.6;
    color: #333;
}


section {
    padding: 60px 8%;
}
section:nth-child(even) {
    background: #f4f4f4;
}
section:nth-child(odd) {
    background: #ffffff;
}


.bg-wallpaper {
    background: url("../images/wallpaper.png") no-repeat center center/cover;
    position: relative;
}
.bg-wallpaper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45); 
}

.bg-wallpaper .content {
    position: relative;
    color: white;
    z-index: 1;
}

header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: top 0.4s;
    z-index: 1000;
}

header nav {
  margin-right: 50px; 
}

header img {
    height: 125px;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    font-weight: 600;
    color: #333;
    transition: color 0.3s;
}

nav a:hover {
    color: #0077cc;
}


.diagonal-gallery {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 40px;
}
.diagonal-item {
    display: flex;
    align-items: center;
    gap: 40px;
}
.diagonal-item:nth-child(even) {
    flex-direction: row-reverse;
}
.diagonal-item img {
    width: 45%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.diagonal-item .text {
    flex: 1;
}


button, .btn {
    display: inline-block;
    background: #0077cc;
    color: white;
    padding: 12px 24px;
    margin: 10px 0;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s;
}
button:hover, .btn:hover {
    background: #005fa3;
}
