/* Général */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #111;
    color: #f4f4f4;
    line-height: 1.6;
}

/* Header */

.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5); /* transparence */
    z-index: 10;
    backdrop-filter: blur(5px);
}

.main-header ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.main-header a {
    color: #67e61f;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.main-header a:hover {
    color: white;
}

header {
    height: 100vh;
    background-image: url("images/loic-banner.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.7);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

header h1 {
    font-size: 4rem;
    text-transform: none;
    color: #67e61f;
    margin-bottom: 1rem;
}

header p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.btn {
    background-color: #67e61f;
    color: black;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #aeff78;
}

/* Sections */
section {
    padding: 2rem 2rem;
    max-width: 1000px;
    margin: auto;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #67e61f;
}

/* À propos */
#about p {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}


.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.about-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #67e61f;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

/* Services */

#services p {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

#services ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

#services li {
    background-color: #222;
    padding: 1rem 2rem;
    border-left: 5px solid #67e61f;
    width: 80%;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.service-title {
    display: block;
    text-align: center;
    font-weight: bold;
    color: #67e61f;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

#services li:hover {
    transform: translateX(5px);
}

/* Tarifs */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

th, td {
    padding: 1rem;
    border: 1px solid #333;
    text-align: center;
}

th {
    background-color: #222;
    color: #67e61f;
}

td {
    background-color: #1a1a1a;
}

tr:hover td {
    background-color: #2a2a2a;
}

#pricing p {
    padding-top: 1rem;
    padding-bottom: 0rem;
    padding-left: 2rem;
    padding-right: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

/* Ninja */

#ninja p {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.ninja-container {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid #67e61f;
    box-shadow: 0 0 15px rgba(103, 230, 31, 0.7); /* Ombre verte légère */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 0 auto;
    transition: box-shadow 0.3s ease;
}

.ninja-container:hover {
    box-shadow: 0 0 25px #67e61f; /* Ombre verte plus intense au hover */
}

.ninja-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.ninja-container:hover .ninja-photo {
    transform: scale(1.05); /* Grossissement léger */
}

/* Contact */

#contact p {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

#contact ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0;
    font-size: 1.2rem;
}

#contact a {
    color: #67e61f;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

#contact a:hover {
    color: #ffffff;
}

/* Footer */
footer {
    background-color: #000;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    color: #888;
}

.slideshow-container {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1.5s ease-in-out, transform 10s ease-in-out;
}

.slide.active {
    opacity: 1;
    transform: scale(1.1); /* zoom léger */
}

@keyframes zoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

@media (max-width: 600px) {
  header h1 {
    font-size: 2rem;
  }
  section h2 {
    font-size: 1.3rem;
  }
  .about-photo,
  .ninja-container,
  .ninja-photo {
    width: 110px !important;
    height: 110px !important;
  }
  section, #pricing p, #services p, #ninja p {
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 1rem;
  }
  #services ul, #services li {
    width: 100%;
    padding: 0.5rem 1rem;
  }
  th, td {
    padding: 0.5rem;
    font-size: 0.95rem;
  }
  table {
    font-size: 0.95rem;
    display: block;
    width: 100%;
    overflow-x: auto;
  }
  .btn {
    padding: 0.7rem 1.2rem;
    font-size: 1rem;
  }
  .about-container {
    gap: 0.6rem;
  }

  .main-header ul {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
}