html {
    font-family: 'Open Sans', sans-serif;
}

header, .navbar, .nav, .nav-links { display: flex; align-items: center; }

/* ------------------------------------------ */
/* navbar formatting and behaviour            */
/* ------------------------------------------ */

.navbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;    /* Single line */
  flex-wrap: nowrap;
  width: 100%;
  background-color: #ff7f00;
  color: white;
  font-size: 18px;
  padding: 8px 16px;
  box-sizing: border-box;
  gap: 15px;
  overflow-x: auto;               /* allow horizonatl scrolling */
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;            /* single line */
  min-height: 48px;
}

/* --- Left block (logo, links, icons) --- */
.nav-main {
  display: flex;
  align-items: center;
  gap: 18px;                        /* links/icons gap */
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow-x: auto;                
  -webkit-overflow-scrolling: touch;
}

/* Logo */
.navbar-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-right: 6px;
}

/* Links */
.navbar a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  display: inline-block;
}

.navbar a:hover { color: #333; }

/* Icons */
.navbar a img {
  height: 28px;           /* taille des logos sociaux */
  width: auto;
  display: block;
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 24px;   /* gap between links and icons */
}

/* Right block : language toogle always visible */
#language-toggle {
  padding: 4px 8px;
  background-color: #ffe4b273;
  border: 1px solid #484848;
  color: #484848;
  font-size: 16px;
  cursor: pointer;
  margin-left: auto;
}
#language-toggle:hover { color: #03f; }

/* Min height for the menu bar */
.navbar {
  min-height: 48px;
}

/* --- Adjust to tablets and mobiles --- */
@media (max-width: 900px) {
  .navbar { gap: 12px; padding: 0 12px; }
  .navbar-logo { width: 40px; height: 40px; }
  .navbar a { font-size: 16px; }
  .navbar a img { height: 24px; }
  #language-toggle { font-size: 14px; padding: 3px 6px; }
  h1 { font-size: 1.8rem; }   /* ≈ 28-30px */
  h2 { font-size: 1.4rem; }   /* ≈ 22-24px */
  h3 { font-size: 1.1rem; }   /* ≈ 18-20px */
}

@media (max-width: 600px) {
  .navbar { gap: 10px; padding: 0 10px; }
  .navbar-logo { width: 34px; height: 34px; }
  .navbar a { font-size: 15px; }
  .navbar a img { height: 22px; }
  #language-toggle { font-size: 13px; padding: 2px 5px; }
   h1 { font-size: 1.5rem; }   /* ≈ 24px */
   h2 { font-size: 1.2rem; }   /* ≈ 19px */
   h3 { font-size: 1rem; }     /* ≈ 16px */
}
}


/* ------------------------------------------ */
/* Footer on single line                      */
/* ------------------------------------------ */
.footer-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: right; 
  flex-wrap: nowrap;
  text-align: right;
  white-space: nowrap;
  background: #404040;
  color: #ffb040;
  font-size: 14px;
  padding: 2px 15px;
  box-sizing: border-box;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ------------------------------------------ */
/* Body formatting                            */
/* ------------------------------------------ */

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #fff;
}

main {
    border: 1px solid #ccc;
    padding: 0px 10px 20px 10px;
    margin: 10px; /* Ajout de la marge */
}

h1, h2 {
    color: #ff7f00;
}


/* ------------------------------------------ */
/* Tiles logic                                */
/* ------------------------------------------ */
.img50  {
    width: 50%;
}
.img80  {
    width: 80%;
}    

.logo
{
    width: 260px;
}    

.row {
    grid-row-gap: 30px;
}

.tile {
    width: 300px; /* Largeur des tuiles */
    margin: auto;
    /* height: 250px; /* Hauteur des tuiles pour uniformité */
    background-color: #ffe4b273 !important; /* Fond légèrement orange */ 
    border-radius: 8px; /* Coins arrondis */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre */
    justify-content: space-between; /* Aligner les éléments (image en haut, texte en bas) */
    text-align: center; /* Centrer le texte */
    position: relative !important;
    font-weight: bold;
    padding: 10px 10px 0 0px !important; 

}
.tile img {
    height: auto; /* Garde le ratio d'aspect */
    object-fit: cover; /* Ajuste les dimensions si besoin */
    height: auto;
    display: block;
    margin-left: 10px;
    margin-right: auto;        
}

/* Afficher le texte quand on survole l'image */
.tile:hover .overlay-text {
    opacity: 1;
}


/* Texte qui apparait au survol */
.overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */

    color: #ffe4b2f3;
    background-color: rgba(0, 0, 0, 0.8); /* Fond semi-transparent */
    padding: 10px 10px;
    border-radius: 5px;
    opacity: 0; /* hidden */
    text-align: left;
    transition: opacity 0.3s ease-in-out; /* Animation d'apparition */
    font-size: 14px;        
}


/* Afficher le texte quand on survole l'image */
.image-container:hover .overlay-text {
    opacity: 1;
}


<<<<<<< HEAD
main {
    border: 1px solid #ccc;
    padding: 0px 10px 20px 10px;
    margin: 10px; /* Ajout de la marge */
}

h1, h2 {
    color: #ff7f00;
}


.footer-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #404040; /* Change to your brand color */
    color: #ffB040;
    text-align: right;
    padding: 0px 15px;
    font-size: 14px;
    font-weight: normal;
}

/* Contact form styles */
=======
/* ---------------------- */
/*  Contact form styles   */
/* ---------------------- */
>>>>>>> 4cfad7d0d63ab7eeb9267538b3fdb2ab62027646
.contact-form {
    width: 100%;
    max-width: 600px;
    margin: 30px 30px;
    padding: 20px;
    background-color: #ffe4b273; /* Light orange to match the tiles */
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.contact-form .form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    box-sizing: border-box;
}

.contact-form textarea {
    height: 150px;
    resize: none; /* Prevent resizing */
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #ff7f00; /* Highlight color */
    outline: none;
}

.contact-form .btn-submit {
    padding: 10px 20px;
    background-color: #ff7f00; /* Match navbar color */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form .btn-submit:hover {
    background-color: #e67300; /* Slightly darker orange */
}



/* ---------------------- */
/* Blog Container Styling */
/* ---------------------- */
.blog-container {
    max-width: 800px;
    margin: 30px 30px;
    padding: 20px;
    background-color: #ffe4b273; /* Match the light orange from tiles */
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Blog Category Styling */
.blog-category {
    margin-bottom: 20px;
}

.blog-category h2 {
    color: #ff7f00; /* Match the header color */
    font-size: 20px;
    margin-bottom: 10px;
}

/* Blog Links */
.blog-category ul {
    list-style: none; /* Remove default bullets */
    padding: 0;
    margin: 0;
}

.blog-category ul li {
    margin-bottom: 10px;
}

.blog-category ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: color 0.3s ease;
}

.blog-category ul li a:hover {
    color: #ff7f00; /* Highlight link on hover */
    text-decoration: underline;
}


