
html {
font-size: 62.5%;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

:root {
--dark-forest: #1a2f1a;
--forest-green: #2d5016;
--mustard-gold: #d4a417;
--bright-yellow: #f4d03f;
--cream: #f8f3e6;
}

body {
font-size: 1.8rem;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, var(--dark-forest) 0%, #1a1a1a 100%);
color: var(--cream);
overflow-x: hidden;
}

 /* Navigation */
header {
    background: rgba(26, 47, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 164, 23, 0.3);
    color: white;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accueil {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--mustard-gold), var(--bright-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

.nav-link {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-link li {
    display: block;
}

.nav-link a {
    color: var(--cream);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 1rem 1.5rem;
    font-size: 1.5rem;
    display: block;
}

.nav-link a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--mustard-gold);
    transition: width 0.3s ease;
}

.nav-link a:hover {
    color: var(--bright-yellow);
}

.nav-link a:hover::after {
    width: 100%;
}

.current {
    color: var(--bright-yellow);
}


/* Main container */
main {
max-width: 1500px;
margin-left: auto;
margin-right: auto;
}

.container {
max-width: 100%;
}

/* Présentation / Hero Section */
.presentation {
padding: 150px 2rem 100px;
max-width: 1200px;
margin: 0 auto;
display: flex;
align-items: center;
gap: 4rem;
min-height: 500px;
}

.photo {
width: 300px;
height: 300px;
border-radius: 50%;
border: 4px solid var(--mustard-gold);
object-fit: cover;
box-shadow: 0 0 30px rgba(212, 164, 23, 0.4);
animation: float 3s ease-in-out infinite;
}

.text-pres {
flex: 1;
color: var(--cream);
line-height: 1.8;
}

.text-pres h2 {
font-size: 3.5rem;
background: linear-gradient(135deg, var(--mustard-gold), var(--bright-yellow));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 2rem;
}

.text-pres p {
margin-bottom: 1rem;
opacity: 0.9;
}

/* Social Links */
.nav.justify-content-center {
justify-content: center;
margin-top: 2rem;
gap: 2rem;
}

.nav.justify-content-center .nav-link {
font-size: 2.5rem;
color: var(--mustard-gold);
transition: all 0.3s ease;
}

.nav.justify-content-center .nav-link:hover {
color: var(--bright-yellow);
transform: translateY(-5px);
}

/* Galerie Section */
.galerie {
background: rgba(45, 80, 22, 0.2);
min-height: 400px;
padding: 80px 2rem;
}

.section-title {
font-size: 3rem;
text-align: center;
margin-bottom: 3rem;
position: relative;
padding-bottom: 1rem;
color: var(--bright-yellow);
}

.section-title::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 100px;
height: 4px;
background: linear-gradient(90deg, var(--mustard-gold), var(--bright-yellow));
border-radius: 2px;
}

#myBtnContainer {
margin: 10px;
text-align: center;
}

/* Projects Grid */
.projects-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-top: 3rem;
}

.project-card {
background: rgba(45, 80, 22, 0.2);
border-radius: 15px;
overflow: hidden;
transition: all 0.3s ease;
border: 1px solid rgba(212, 164, 23, 0.2);
cursor: pointer;
}

.project-card:hover {
transform: translateY(-10px) scale(1.05);
box-shadow: 0 20px 40px rgba(212, 164, 23, 0.3);
border-color: var(--mustard-gold);
background: rgba(45, 80, 22, 0.3);
}

.project-img {
width: 100%;
height: 200px;
object-fit: cover;
background: linear-gradient(135deg, var(--forest-green), var(--dark-forest));
display: flex;
align-items: center;
justify-content: center;
font-size: 3rem;
}

.project-content {
padding: 1.5rem;
}

.project-title {
font-size: 1.8rem;
margin-bottom: 0.5rem;
color: var(--mustard-gold);
}

.project-desc {
color: var(--cream);
line-height: 1.6;
opacity: 0.9;
}

/* Commentaires */
.comment {
width:100% ;
background: rgba(20, 106, 120, 0.2);
padding: 60px 2rem;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 2rem;
}

.comment-body {
max-width: 31%;
border: none;
border-radius: 1rem;
padding: 2rem;
background: rgba(231, 241, 248, 0.1);
border: 1px solid rgba(212, 164, 23, 0.2);
display: flex;
gap: 1.5rem;
list-style: none;
transition: all 0.3s ease;
}

.comment-body:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(212, 164, 23, 0.2);
}

.comment-body img {
border-radius: 50%;
width: 90px;
height: 90px;
object-fit: cover;
border: 2px solid var(--mustard-gold);
}

.textarea {
flex: 1;
}

.title {
color: var(--mustard-gold);
text-transform: capitalize;
font-size: 2rem;
margin-bottom: 0.5rem;
}

.comment-text {
color: var(--cream);
opacity: 0.9;
margin-bottom: 0.5rem;
}

.comment-date {
color: var(--bright-yellow);
font-size: 1.2rem;
opacity: 0.7;
}

/* Contact Form */
.contact {
background: rgba(47, 72, 86, 0.3);
max-width: 100%;
margin: 0 auto;
padding: 60px 2rem;
}

.contact form {
background: rgba(45, 80, 22, 0.2);
padding: 3rem;
border-radius: 15px;
border: 1px solid rgba(212, 164, 23, 0.2);
}

.row {
margin-bottom: 2rem;
display: flex;
gap: 2rem;
align-items: center;
}

.row:after {
content: "";
display: table;
clear: both;
}

.col-25 {
width: 25%;
}

.col-75 {
width: 75%;
}

label {
display: block;
color: var(--mustard-gold);
font-weight: 500;
font-size: 1.6rem;
}

input[type=text],
input[type=email],
select,
textarea {
width: 100%;
padding: 1.2rem;
border-radius: 8px;
border: 1px solid rgba(212, 164, 23, 0.3);
background: rgba(26, 47, 26, 0.3);
color: var(--cream);
transition: all 0.3s ease;
font-size: 1.4rem;
resize: vertical;
}

input:focus,
textarea:focus {
outline: none;
border-color: var(--mustard-gold);
box-shadow: 0 0 0 3px rgba(212, 164, 23, 0.2);
background: rgba(26, 47, 26, 0.5);
}

input::placeholder,
textarea::placeholder {
color: rgba(248, 243, 230, 0.5);
}

.verify {
color: var(--cream);
font-size: 1.4rem;
}

/* Buttons */
.btn {
border-radius: 1rem;
padding: 1.2rem 2.5rem;
margin: 1rem 2rem 1rem 0;
font-weight: bold;
text-decoration: none;
border: none;
background-color: var(--forest-green);
color: var(--cream);
cursor: pointer;
transition: all 0.3s ease;
font-size: 1.6rem;
}

.btn:hover {
background-color: var(--mustard-gold);
color: var(--dark-forest);
}

.btn:active {
box-shadow: 0 5px #666;
transform: translateY(4px);
}

.active {
background-color: var(--mustard-gold);
color: var(--dark-forest);
}

.button {
border-radius: 1rem;
padding: 1.2rem 2.5rem;
margin: 2rem auto;
font-weight: bold;
text-decoration: none;
border: none;
background: linear-gradient(135deg, var(--mustard-gold), var(--bright-yellow));
color: var(--dark-forest);
cursor: pointer;
transition: all 0.3s ease;
font-size: 1.6rem;
display: block;
width: fit-content;
}

.button:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(212, 164, 23, 0.4);
}

.button:active {
transform: translateY(4px);
}

.butt-contact {
width: 100%;
}

/* Footer */
footer {
background: rgba(26, 47, 26, 0.95);
padding: 2rem;
text-align: center;
color: var(--cream);
opacity: 0.8;
border-top: 1px solid rgba(212, 164, 23, 0.3);
}

footer ul {
display: flex;
list-style: none;
color: white;
padding: 1rem;
margin: 0;
justify-content: center;
}

footer a {
text-decoration: none;
font-size: 1.5rem;
text-transform: uppercase;
padding: 1rem 2rem;
margin: 0 1rem;
border-radius: 1rem;
color: white;
}

/* Animations */
@keyframes fadeInUp {
from {
    opacity: 0;
    transform: translateY(30px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}

@keyframes float {
0%, 100% {
    transform: translateY(0);
}
50% {
    transform: translateY(-10px);
}
}

/* Responsive */
@media screen and (max-width: 980px) {
body {
    font-size: 1.4rem;
}

.presentation {
    flex-direction: column;
    text-align: center;
}

.photo {
    width: 200px;
    height: 200px;
}

.text-pres h2 {
    font-size: 2.5rem;
}

.comment-body {
    max-width: 100%;
}

.nav-link {
    flex-direction: column;
    gap: 1rem;
}
}

@media screen and (min-width: 780px) and (max-width: 980px) {
.col-25, .col-75 {
    width: 100%;
}

.row {
    flex-direction: column;
    align-items: flex-start;
}
}