.portfolio-modal .portfolio-modal-dialog img {
	width:100% !important;
}

body {
    font-family: Arial;
}

*, ::after, ::before {
    
}

.bg-dark {
  background-color: #77CC00 !important;
}

#about {
  background-color: #77CC00 !important;
}

#contact {
  padding-top: 100px;
  margin-top: -100px;
}

section {
  scroll-margin-top: 90px;
}


header.masthead,
#mainNav,
.copyright,
.bg-dark {
  color: #77CC00;
}

#mainNav .nav-link,
#mainNav .navbar-brand {
  color: #ffffff !important;
}

#mainNav .nav-link:hover {
  color: #1b1b1b !important;
}


.portfolio-modal .text-secondary {
  color: #77CC00 !important;
}

#mainNav .navbar-nav .nav-link.active {
  text-decoration: underline;
}

/* === TEXTE DES NOMS DANS LE PORTFOLIO === */
.portfolio-item h3 {
  color: #77CC00;
  text-align: center;
  margin-top: 15px;
}


#portfolio h2 {
  color: #77CC00 !important;
}


contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 15px 0;
  font-size: 18px;
}

/* Email */
.contact-list .email i {
  color: #555;
}

/* Facebook */
.contact-list .facebook i {
  color: #1877F2;
}

.contact-list a {
  text-decoration: none;
  color: inherit;
}

/* Logo du header – responsive */
.logo-header {
  max-width: 300px;  /* desktop */
  width: 100%;
  height: auto;
}

/* Tablette */
@media (max-width: 992px) {
  .logo-header {
    max-width: 220px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .logo-header {
    max-width: 160px;
  }
}
/* Navbar dropdown personnalisé */
.dropdown-menu {
  background-color: #77CC00;
  border: none;
}

.dropdown-item {
  color: #ffffff;
  font-weight: 600;
}

.dropdown-item:hover {
  background-color: #5fa300;
  color: #ffffff;
}

/* MOBILE NAVBAR */
@media (max-width: 991px) {

  .portfolio-title2 {
  color: #77CC00 !important;        /* texte blanc */
  text-align: center;    /* centré sous l’image */
  margin-top: 15px;
  font-size: 1.2rem;
  font-weight: 700;
}

.portfolio-title {
  color: #ffffff !important;        /* texte blanc */
  text-align: center;    /* centré sous l’image */
  margin-top: 15px;
  font-size: 1.2rem;
  font-weight: 700;
}

  /* Menu déroulant plein écran */
  .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    background-color: #77CC00;
    box-shadow: none;
  }

  .dropdown-item {
    padding: 1rem;
    font-size: 1.1rem;
    text-align: center;
  }

  .navbar-nav {
    text-align: center;
  }

  .nav-link {
    padding: 1rem;
  }
}

/* Dropdown menu vert */
.dropdown-menu {
    display: none; /* caché par défaut */
    position: absolute;
    right: 0;
    background-color: #77CC00; /* vert exact du site */
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    margin-top: 0.5rem;
    min-width: 200px;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Items du dropdown */
.dropdown-menu .dropdown-item {
    color: #ffffff; /* texte blanc */
    padding: 0.5rem 1rem;
    background-color: transparent; /* pas de surlignage */
    transition: none; /* supprime les transitions hover */
}

.dropdown-menu .dropdown-item:hover {
    background-color: #77CC00; /* reste identique au fond */
    color: #ffffff; /* texte reste blanc */
}

/* Divider */
.dropdown-divider {
    border-top: 1px solid #66B200; /* vert foncé pour le séparateur */
    margin: 0.5rem 0;
}

/* Responsive */
@media (max-width: 992px) {
    .dropdown-menu {
        position: relative;
        right: auto;
        width: 100%;
        margin-top: 0.25rem;
    }
}

/* === Forcer le bouton Menu à rester vert === */
.navbar-nav .nav-item.dropdown .nav-link,
.navbar-nav .nav-item.dropdown .nav-link.active {
    color: #ffffff !important;      /* texte blanc */
    background-color: #77CC00 !important; /* fond vert */
    text-decoration: none;
}

/* Supprime les effets de surlignage au clic */
.navbar-nav .nav-item.dropdown .nav-link:focus,
.navbar-nav .nav-item.dropdown .nav-link:active {
    color: #ffffff !important;
    background-color: #77CC00 !important;
    box-shadow: none !important; /* supprime l’ombre au focus */
}

/* Conteneur des boutons */
.btn-group-responsive {
    display: flex;
    justify-content: center;
    gap: 1rem; /* espace entre les boutons sur desktop */
    flex-wrap: wrap; /* permet d’empiler sur mobile */
}

/* Bouton PDF vert */
.btn-pdf {
    background-color: #77CC00;
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px; /* arrondi type pill */
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.btn-pdf:hover {
    background-color: #66B200; /* vert plus foncé au survol */
    color: #ffffff;
    text-decoration: none;
}

/* Bouton Retour gris */
.btn-retour {
    background-color: #6c757d; /* gris bootstrap */
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.btn-retour:hover {
    background-color: #5a6268; /* gris foncé au survol */
    color: #ffffff;
    text-decoration: none;
}

/* Responsive : empilement sur petits écrans */
@media (max-width: 768px) {
    .btn-group-responsive {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    .btn-pdf,
    .btn-retour {
        width: 90%; /* boutons presque pleine largeur */
        font-size: 0.95rem;
        padding: 0.65rem 1rem;
    }
}

/* Très petits écrans */
@media (max-width: 480px) {
    .btn-pdf,
    .btn-retour {
        width: 100%;
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }
}

/* ==== Texte sur l'image ==== */
.portfolio-item-caption-content h3 {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Portfolio title blanc */
.portfolio-title {
    color: #ffffff !important;
}

/* Portfolio title2 vert */
.portfolio-title2 {
    color: #77CC00 !important;
}

/* Responsive : force la couleur et la visibilité sur mobile */
@media (max-width: 992px) {
    .portfolio-title { color: #ffffff !important; }
    .portfolio-title2 { color: #77CC00 !important; }
}

@media (max-width: 576px) {
    .portfolio-title { color: #ffffff !important; }
    .portfolio-title2 { color: #77CC00 !important; }
}

.portfolio-item-caption-content {
    position: relative;
    z-index: 10; /* texte au-dessus de l'image */
}

.portfolio-item-caption-content h3 {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7); /* texte visible sur toutes les images */
    color: inherit !important;
}

/* Couleurs fixes */
/* Texte sous l'image */
.portfolio-title {
    color: #ffffff !important; /* blanc */
    text-align: center;
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: 700;
}

.portfolio-title2 {
    color: #77CC00 !important; /* vert */
    text-align: center;
    margin-top: 5px;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Responsive : rien de spécial à ajouter ici */


/* Responsive */
@media (max-width: 992px), (max-width: 576px) {
    .portfolio-title { color: #ffffff !important; }
    .portfolio-title2 { color: #77CC00 !important; }
}
