/* Styles personnalisés */
:root {
	--titresection: #638B64;
	--orange-elements: #FE7130;
	--green-logo: #8cbd8dff;
	--text-color: #3F5740;
}

/* Hero section - ajustement pour menu sticky */
.hero-section {
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding: 120px 0 5% 0; /* Padding-top augmenté pour compenser le menu fixe */
	margin-top: 0;
}

/* Typography - Titres */
h1, h2, h3, h4, h5, h6 {
	font-family: 'Poppins', sans-serif;
	font-weight: 300;
	color: var(--titresection);
}

/* Typography - Textes */
p {
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	color: var(--text-color);
}

.span-hero {
	font-family: 'Lato', sans-serif;
	font-size: 20px;
	font-weight: 600;
	text-transform: uppercase;
}

.hero-title {
	color: black;
	font-size: 60px;
	font-weight: 600;
	margin-bottom: 5%;
	margin-top: 4%;
}

.hero-text {
	font-size: 0.9rem;
	line-height: 1.6;
	margin-bottom: 10px;
	margin-right: 10px;
	margin-left: 30px;
}
.hero-image-container {
	position: relative;
	width: 100%;
	max-width: 400px;
	margin: 0 auto;
}

.geo-element {
	position: absolute;
	width: 80px;
	height: 80px;
}

.geo-1 {
	fill: var(--orange-elements);
	width: 180px;
	height: 200px;
	bottom: -40px;
	left: -350px;
}

.geo-2 {
	fill: var(--green-logo);
	width: 160px;
	height: 160px;
	top: -40px;
	right: -350px;
}

.geo-3 {
	width: 90px;
	height: 90px;
	bottom: -5px;
	right: -275px;
}

.geo-4 {
	width: 90px;
	height: 90px;
	top: -10px;
	left: -320px;
}


/* Section réalisations */
.realisations-section {
	padding: 80px 0;
}

.section-title {
	color: var(--titresection);
	font-size: 2rem;
	font-weight: 300;
	margin-bottom: 50px;
	position: relative;
}

.coeur-realsec, .coeur-realsec2 {
	position: relative;
	font-size: 3rem;
	font-weight: 500;
	bottom: -7px;
	color: var(--orange-elements);
}

.coeur-realsec {
	margin-right: 1%;
}

.coeur-realsec2 {
	margin-left: 1%;
}

.project-card {
	margin-bottom: 40px;
}

.project-image {
	width: 100%;
	height: 300px;
	object-fit: cover;
	margin-bottom: 15px;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.project-image:hover {
	transform: scale(1.05);
}

.project-title {
	font-size: 20px;
	font-weight: 600;
	color: var(--orange-elements);
	margin-bottom: 8px;
	cursor: pointer;
	text-decoration: none;
	transition: color 0.3s ease;
}

.project-title:hover {
	color: var(--titresection);
	text-decoration: underline;
}

.project-category {
	font-size: 17px;
	font-weight: 400;
}

.project-description {
	font-family: 'Lato' sans-serif;
	font-size: 20px;
	font-weight: 500;
}
.project-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

/* Contenu caché par défaut */
.project-content .project-descritpion,
.project-content .project-button {
    display: none;
}

/* Bouton du projet */
.project-button {
    background-color: var(--green-logo);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    text-decoration: none;
    display: inline-block;
}

.project-button:hover {
    background-color: var(--orange-elements);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(254, 113, 48, 0.3);
}

.project-button:active {
    transform: translateY(0);
}

/* Animation pour les cartes expandées */
.project-card {
    transition: all 0.4s ease;
    margin-bottom: 40px;
}

.project-card.expanded {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 15px;
    background-color: #fafafa;
}

/* Curseur pointer pour les éléments cliquables */
.project-image-link,
.project-title-link {
    cursor: pointer;
}

/* Ajout à ton CSS existant pour des transitions fluides */

/* Transition fluide pour le redimensionnement des colonnes */
[class*="col-"] {
    transition: all 0.4s ease;
}

/* Amélioration de l'animation des cartes expandées */
.project-card.expanded {
    transform: scale(1.01); /* Légèrement réduit pour éviter les débordements */
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 15px;
    background-color: #fafafa;
    transition: all 0.4s ease;
}

/* Responsive - ajustements pour mobile */
@media (max-width: 991px) {
    /* Désactiver les transitions sur mobile pour éviter les problèmes */
    [class*="col-"] {
        transition: none;
    }
    
    .project-card.expanded {
        transform: scale(1);
        margin: 0 -15px 40px -15px;
        padding: 20px;
        border-radius: 0;
    }
}

@media (max-width: 768px) {
    .project-card.expanded {
        margin: 0 -15px 30px -15px;
        padding: 15px;
    }
    
    .project-button {
        width: 100%;
        text-align: center;
        padding: 15px;
        font-size: 18px;
    }
}












/* Responsive - Mobile et tablette */
@media (max-width: 991px) {
    .project-card.expanded {
        transform: scale(1);
        margin: 0 -15px 40px -15px;
        padding: 20px;
        border-radius: 0;
    }
}

@media (max-width: 768px) {
    .project-card.expanded {
        margin: 0 -15px 30px -15px;
        padding: 15px;
    }
    
    .project-button {
        width: 100%;
        text-align: center;
        padding: 15px;
        font-size: 18px;
    }
}