/* Theme Variables */
:root {
    /* Light Theme Colors */
    --bg-color: #2e2e2e;
    --text-color: #8b8b8b;
    --primary-color: #FFAD33;
    --secondary-color: #717171;
    
    /* Dark Theme Colors */
    --bg-dark-color: #0d0d0c;
    --text-dark-color: #8b8b8b;
    --primary-dark-color: #FFAD33;
    --secondary-dark-color: #e69c2d;
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

b { 
color: #FFAD33;
 }
 
 u { 
color: #FFAD33;
 }
 
 h1,h2,h3,h4,h5,h6{font-weight:400;margin:10px 0}
 
 h1{font-size:36px}
 h2{font-size:24px}
 
 .under {
  text-decoration: underline #FFAD33;
}

@font-face {
   font-family: Montserrat-Regular;
    src: local('Montserrat Regular'), local('2025-assets/css/Montserrat-Regular'), url(Montserrat-Regular.woff2) format('woff2');
}

body {
   font-family: Montserrat Regular, sans-serif;
    line-height: 1.6;
    background-color: var(--bg-color);
    color: var(--text-color);
    scroll-behavior: smooth;
    transition: background-color 0.3s, color 0.3s;
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: var(--bg-dark-color);
    color: var(--text-dark-color);
}

body.dark-mode nav {
    background-color: var(--bg-dark-color);
}

body.dark-mode .service {
    background-color: var(--bg-dark-color);
    color: var(--text-dark-color);
}

body.dark-mode #contact {
    background-color: var(--bg-dark-color);
    color: var(--text-dark-color);
}

/* Navigation Styles */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #000;
    color: #fff;
    padding: 10px;
    display: flex;
    justify-content: center; /* Centers everything inside the nav */
    align-items: center;
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: #8b8b8b;
    text-decoration: none;
    font-size: 18px;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Center the menu, date/time to the right */
.menu-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%; /* Take full width to spread items */
    max-width: 1200px; /* Limits the width so it's not too wide */
    align-items: center;
}


body.dark-mode .date-time {
    color: var(--primary-dark-color);
}

/* Theme Toggle Button */
#theme-toggle {
    background: none;
    border: none;
    color: #bdbdbd;
    font-size: 18px;
    cursor: pointer;
}

#theme-toggle:hover {
    color: var(--primary-color);
}


/* Theme Toggle Button */
#theme-toggle {
    background: none;
    border: none;
    color: #bdbdbd;
    font-size: 18px;
    cursor: pointer;
    margin-left: 20px;
}

#theme-toggle:hover {
    color: var(--primary-color);
}

/* Section Styles */
section {
    padding: 100px 20px;
    min-height: 100vh;
}

#carte {
    background: none;
    color: #393939;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

#home {
    background: #000;
    color: #8b8b8b ;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    
}

#services {
    background-color: var(--bg-color);
    color: var(--text-color);
    text-align: center;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service {
    background-color: var(--bg-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease-in-out;
}

.service h3 {
    color: var(--primary-color);
}

body.dark-mode #services {
    background-color: var(--bg-dark-color);
}

body.dark-mode .service {
    background-color: var(--bg-dark-color);
    color: var(--text-dark-color);
}

#contact {
    background-color: var(--bg-color);
    color: var(--text-color);
    text-align: center;
}

body.dark-mode #contact {
    background-color: var(--bg-dark-color);
    color: var(--text-dark-color);
}
body.dark-mode #about {
    background-color: var(--bg-dark-color);
    color: var(--text-dark-color);
}

#contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

#contact-form input, #contact-form textarea {
    width: 80%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#contact-form button {
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#contact-form button:hover {
    background-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: #000;
    color: #8b8b8b;
    text-align: center;
    padding: 20px 0;
}

footer a {
    color: var(--primary-color);
}


/* Service Animation (reveal on scroll) */
.service.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-front {
    background-color: #FFAD33;
}

.service-back {
    background-color: #bdbdbd;
    color: white;
    transform: rotateY(180deg);
}

.service.flipped .service-front {
    transform: rotateY(180deg);
}

.service.flipped .service-back {
    transform: rotateY(360deg);
}

/* À Propos Section */
#about {
    background-color: var(--bg-color);
    padding: 50px 20px;
    text-align: justify;
    gap: 120px;
    
    
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2em;
    line-height: 1.8;
     margin-top: 20px;
}

#about h2 {
    color: var(--text-color);
     text-align: center;
     margin-top: 100px;
}

.copyright {
  font-size: 20px;
  color: var(--primary-color);
}


 /* Button styling */
    .collapsible-btn {
      background-color: #8b8b8b;
      color: white;
      cursor: pointer;
      padding: 15px;
      width: 100%;
      border: none;
      text-align: left;
      outline: none;
      font-size: 16px;
      transition: background-color 0.3s ease;
      margin-bottom: 10px;
      border-radius: 5px;
    }

    .collapsible-btn:hover {
      background-color: #FFAD33;
    }

    /* Collapsible content styling */
    .collapsible-content {
      background-color: white;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.5s ease-out;
      padding-left: 20px;
      padding-right: 20px;
      padding-bottom: 0;
      margin-bottom: 10px;
      border-radius: 0 0 5px 5px;
      box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    }

    .collapsible-content p {
      padding: 20px 0;
      margin: 0;
      line-height: 1.6;
      color: #555;
    }

    /* Arrow indicator */
    .collapsible-btn::after {
      content: '\25BC'; /* Down arrow */
      float: right;
      transition: transform 0.3s ease;
    }

    .active::after {
      transform: rotate(180deg); /* Arrow points up when active */
    }
    
   
