/******* GENERAL *******/
/* spacing on all sections */
#about,
#skills,
#portfolio,
#contact {
    margin-top: 4rem;
    padding-top: 4rem;
}
#about h2,
#skills h2,
#portfolio h2,
#contact h2 {
    margin-bottom: 3rem;
}
#contact {
    padding-bottom: 4rem;
}

/* display background dark color on navbar scroll */
.navbarScroll.navbarDark{
  background-color: #b6dcf5bf;
  backdrop-filter: blur(6px);
}

/* hero background image */
.bgimage {
    height: 100vh;
    max-height: 900px;
    background-image: url("images/Background.jpg");
    background-size: cover;
    position: relative;
}
.bgimage::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.35); /* tu peux ajuster */
  z-index: 0;                   /* <= IMPORTANT */
}
/* text css above hero image*/
.hero_title {
    font-family: "Caveat", cursive;
    font-size: 4.5rem;
    font-weight: 700;
    color:white;    
}

.hero_desc {
    font-family: "Caveat", cursive;
    font-size: 2.5rem;
    font-weight: 500;
 margin-top: 10px;
 color: #ffffff;   
}

.hero_title,
.hero_desc{
  color: #fff;
  background: none !important;

  /* contour/halo qui épouse les lettres */
  filter: drop-shadow(0 0 2px rgba(0,0,0,0.95))
          drop-shadow(0 0 10px rgba(0,0,0,0.75))
          drop-shadow(0 10px 22px rgba(0,0,0,0.60));}
.hero-text{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
}
.hero-certifications {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.hero-certif-logo{
  height: 50px;
  width: auto;
  background: rgba(255,255,255,0.92);
  padding: 6px 10px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* about */
.imageAboutPage {
    width: 100%;
}
.imageAboutPage {
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* skills */
.skillsText.card {
    height: 350px;
    cursor: pointer;
}
.skillsText img {
    width: 100%;
    height: 150px;
    object-fit: contain;
}
#skills p {
    text-align: center;
}
.skillsIcon {
    font-size: 36px;
    text-align: center;
    width: 100%;
}
.card-title {
    text-align: center;
}
.card:hover .skillsIcon {
    color: #008000;
}
.skillsText:hover {
    border: 1px solid #008000;
}

/* portfolio */
#portfolio p {
    text-align: center;
}

/* contact */
#contact{
  background: var(--bg);
}

.contactContent{
  margin-top: 1rem;
}

/* colonnes contact */
.contactColumn{
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--radius);
  background: var(--bg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.contactColumn:hover{
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

/* icônes (FontAwesome) */
.contactColumn i{
  font-size: 3.2rem;
  margin-bottom: 0.8rem;
}

/* titres contact */
.contactColumn h3{
  font-weight: 800;
  margin: 0.6rem 0;
}

/* texte */
.contactColumn p{
  margin: 0;
  color: var(--muted);
}

/* ✅ ton lien “Voir mon LinkedIn” */
#contact a{
  color: #1e3a5f;          /* bleu élégant (pas le bleu “moche” par défaut) */
  font-weight: 700;
}
#contact a:hover{
  color: var(--primary);
}

/* =========================
   RESPONSIVE
========================*/
/* ===== THEME (QA / bleu pétrole) ===== */
:root{
  --nav: #036ea8;
  --accent: #14B8A6;
  --card: #EAF4FF;
  --text: #062469;
}
 


/* NAVBAR */
.navbarScroll{
  background: linear-gradient(90deg, rgba(17, 108, 156, 0.92), rgba(20,184,166,.18));
  backdrop-filter: blur(10px);
}


.navbar-dark .navbar-nav .nav-link{
  color: rgba(255,255,255,.85);
  font-weight: 600;
}
.navbar-dark .navbar-nav .nav-link:hover{
 transform: scale(1.1);
}

.navbar-dark .navbar-nav .nav-link.active{
  color: blanchedalmond;
}
.logo-nav{
  height: 45px;
  width: auto;
  border-radius: 10px;
} 
.card.portfolioContent{
  position: relative;
  height: 430px;
  display: flex;
    flex-direction: column;
  border: 0;
  border-radius: 26px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 18px 40px rgba(2, 8, 23, 0.14);
  transition: transform .2s ease, box-shadow .2s ease;
}

.card.portfolioContent:hover{
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(2, 8, 23, 0.20);
}

.card.portfolioContent .card-img-top{
  height: 240px;
  width: 100%;
  flex: 0 0 240px;
  object-fit: cover;
  display: block;
  border: none !important;
  outline: none !important;
  transition: transform .25s ease;
}

.card.portfolioContent:hover .card-img-top{
  transform: scale(1.03);
}

.card.portfolioContent .card-body{
flex: 1;
display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 18px 22px;
  text-align: center;
}

.card.portfolioContent .card-title{
 display: -webkit-box;
  -webkit-line-clamp: 2; /* max 2 lignes */
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;   
  margin: 6px 0 12px;
  color: var(--text);
  font-weight: 800;
  
}

.card.portfolioContent .btn.btn-success{
  background: var(--nav);
  border-color: var(--nav);
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 700;
}
.card.portfolioContent .btn.btn-success:hover{
  background: var(--accent);
  border-color: var(--accent);
  color: #062b2a;
}

/* overlay */
.card.portfolioContent .card-desc{
  position: absolute;
  overflow: hidden;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  padding: 16px;
  border-radius: 0 0 26px 26px;
  background: rgba(11, 31, 42, 0.85);
  color: #fff;
 transform: translateY(150%);
  transition: transform .3s ease;
  z-index: 2;
}

.card.portfolioContent:hover .card-desc{
  transform: translateY(-75%);
}
 
@media (max-width: 768px){
 
  .bgimage{
    height: auto !important;     
    min-height: 85vh;            
    max-height: none;            
    padding: 110px 16px 40px;    
    background-position: center;
  }
 
  .hero_title{
    font-size: 2.2rem !important;
    line-height: 1.15;
  }

  .hero_desc{
    font-size: 1.2rem !important;
  }
 
  .hero-certifications{
    gap: 12px;
    margin-top: 14px;
  }

  .hero-certif-logo{
    height: 44px;
    padding: 6px 10px;
  }
}

 
@supports (height: 100svh){
  @media (max-width: 768px){
    .bgimage{ min-height: 100svh; }
  }
}
 