
@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
  }
  
body {
    background-image: url('images/car.jpg');
    background-size: cover;

  }
.blue-banner { 
    height: 5px; background: linear-gradient(90deg, #0099cc, #00c9a7); 
}
.headline{
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    font-family: 'Gilroy', sans-serif;
    font-weight: bold;
    font-size: 5vh; 
    color: black;
}

#chatWindow {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 370px;
    height: 470px;
    background-color: #f8f9fa;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none; 
    z-index: 9999;
    padding: 10px;
    resize: both; 
    overflow: hidden;
    flex-direction: column;
}
#chatButton {
    position: fixed;
    bottom: 20px;
    right: 20px;
     background-color: rgb(4, 93, 122); 
     color: white;
    
    border: none;
    border: none; 
    padding: 14px 16px; 
    border-radius: 70%;    
    font-size: 40px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 10000;
}


.chat-header {
    text-align: center;
    font-size: 18px;
    margin-bottom: 10px;
    
}
.chat-header img{
    height: 50px;
    
}

.chat-content {
    margin-top: 200px;
}

.chat-input {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
}
    #chat-messages {
      flex: 1; overflow-y: auto; display: flex;
      flex-direction: column; align-items: flex-end;
      justify-content: flex-start; background: #f5f5f5;
      border-radius: 10px; padding: 10px;
    }

.chat-footer { 
    display: flex; gap: 10px; 
}

.chat-bubble {
      background-color: #0099cc; color: white;
      padding: 8px 12px; border-radius: 20px 20px 0 20px;
      margin-bottom: 8px; max-width: 75%; word-wrap: break-word;
      font-size: 0.9rem; align-self: flex-end;
    }

nav {
    z-index: 1000;
    position: relative;
}

 .servicesCarousel { max-width: 80%; margin: 0 auto; border-radius: 15px; }

    .carousel-inner img { width: 100%; height: 500px; object-fit: cover; }
    
    .btn-primary { 
        background-color: #0099cc; 
        border: none;    
        border-radius: 8px;
    padding: 8px 16px;
}

    .btn-primary:hover { background-color: #007aab; }

    .btn-danger { background-color: #ff5252; border: none; }

    .btn-danger:hover { background-color: #e63946; }

    .card { border: none; transition: transform 0.3s ease, box-shadow 0.3s ease; }

    .card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

    .accordion-button:not(.collapsed) { background-color: #e0f7fa; color: #007aab; }




    #moumou-chat {
      position: fixed; bottom: 0; left: -200px;
      z-index: 9999; transition: left 5s linear;
    }
    #moumou-img { height: 100px; }
    .moumou-message {
      position: fixed; bottom: 120px; left: 50%;
      transform: translateX(-50%);
      background: rgba(0, 0, 0, 0.8); color: white;
      padding: 10px 20px; border-radius: 15px;
      font-family: 'Comic Sans MS', cursive; z-index: 9999;
      animation: fadeInOut 4s ease-in-out;
    }
    @keyframes fadeInOut {
      0% { opacity: 0; } 10% { opacity: 1; }
      90% { opacity: 1; } 100% { opacity: 0; }
    }
    section.container{
    background-color: #f9f9f9;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}


section.container h2{
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
}

.product-card{
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.product-image{
    max-height: 160px;
    object-fit: contain;
    padding: 10px;
    background-color: #fff;
}
.product-card .card-title{
    font-size: 1rem;
    font-weight: 500;
    color: #222;
}
.product-card .card-text{
    font-size: 0.875rem;
    color: #666;
}

.product-price{
    font-size: 1rem;
    color: #e74c3c;
}

    
 

  .overlay {
    background-color: rgba(255, 255, 255, 0.65);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
  }


  .custom-container {
    max-width: 1000px;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    overflow: hidden;
    width: 100%;
    flex-direction: row;
  }

  .compartment {
    flex: 1;
    padding: 40px;
  }

  .left {
    background-color: #e8f0f3;
    border-right: 1px solid #88aabd;
  }

  .right {
    background-color: #f9fbfc;
  }

   .inscription-button {
    background-color: #6498e5;
    color: white;
    border: none;
    padding: 14px;
    width: 100%;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 12px;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }

  .inscription-button:hover {
    background-color: #264d6a;
    transform: scale(1.02);
  }

 









































 body.dark-mode
{
    background-image: none;
     background-color: #121212;
    color: #e0e0e0;
}



body.dark-mode .headline
 {
     background-color: #1e1e1e;
}

.dark-mode .hero {
    background-color: #1e1e1e !important;
    color: #f1f1f1;
}
.dark-mode .hero h1 {
    color: #fffdfd;
}
.dark-mode .hero .btn-primary {
    background-color: #007aab;
}
.dark-mode .hero .btn-danger {
    background-color: #e74c3c;
}



 body.dark-mode h2, 
body.dark-mode h3, 
body.dark-mode h4, 
body.dark-mode h5, 
body.dark-mode h6 
{
     color: #ffffff;
}

 body.dark-mode #chatWindow
{
    background-color: #1e1e1e;
    border: 1px solid #333;

    color: #e0e0e0;
}

 body.dark-mode #chat-messages
{
     background: #222;
}

body.dark-mode .chat-bubble
{
    background-color: #007aab;
     color: #f0f0f0;
}

body.dark-mode .chat-input
{
     background: #333;
    color: #fff;
    border: 1px solid #555;
}

body.dark-mode .blue-banner
{
     
    background: linear-gradient(90deg, #005577, #007a99);
}

body.dark-mode .btn-primary
{
    background-color: #007aab;
}

body.dark-mode .btn-primary:hover
{
    background-color: #0099cc;
}

 body.dark-mode .btn-danger 
{
      background-color: #d32f2f;
}

body.dark-mode .btn-danger:hover{
     background-color: #e74c3c;
}

body.dark-mode section.container 
{

    background-color: #1e1e1e;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.08);
}
body.dark-mode .product-card
{
    background-color: #2a2a2a;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.06);
}

body.dark-mode .product-card:hover
{
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.1);
}

body.dark-mode .product-card .card-title 
{

    color: #f0f0f0;
}


body.dark-mode .product-card .card-text
{
    color: #bbb;
}


.dark-mode .bg-light {
    background-color: #2c2c2c !important;
    color: #f1f1f1;
}

.dark-mode .bg-light h3 {
    color: #f1f1f1;
}

.dark-mode .bg-light blockquote footer {
    color: #ccc;
}

.dark-mode  .nav-link {

    color: #f0f0f0;
  
}

.dark-mode .navbar-brand {
    filter: brightness(0) invert(1);
}



.dark-mode .overlay {
  background-color: rgba(30, 30, 30, 0.85);
}

.dark-mode .custom-container {
  background-color: #1e1e1e;
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
}

.dark-mode .left {
  background-color: #2a2f33;
  border-right: 1px solid #4a5a6a;
}

.dark-mode .right {
  background-color: #252a2d;
}

.dark-mode .inscription-button {
  background-color: #4078c0;
  color: #e0e0e0;
}

.dark-mode .inscription-button:hover {
  background-color: #28567a;
}
