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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
}

/* STRUCTURE */
.page {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

@media (max-width: 900px) {
  .page {
    grid-template-columns: 1fr;
  }

  .main {
    order: 1;
  }

  .sidebar {
    order: 2;
  }
}

/* CARDS */
.card {
  background-color: #1a1e24;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease-in-out;
}

.card:not(.no-hover):hover {
  box-shadow: 0 0 15px #f76811;
  border: 1px solid #f76811;
}

/* LOGO */
.logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.logo-banner {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  border-radius: 12px;
}

.logo-small {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 6px;
  margin-right: 15px;
}

/* TITRE */
.title {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.title h1 {
  color: #f76811;
  font-size: 1.8rem;
}

@media (max-width: 768px) {
  .title {
    flex-direction: column;
    text-align: center;
  }

  .logo-small {
    margin-bottom: 10px;
  }
}

/* INFOS */
.location {
  font-size: 0.85rem;
  color: #999;
}

#open-status.open {
  color: #00c853;
  font-weight: bold;
}

#open-status.closed {
  color: #ff4444;
  font-weight: bold;
}

.tags {
  color: #f76811;
  font-weight: bold;
  margin-top: 10px;
}

.subtags {
  color: #bbb;
  margin-top: 5px;
  font-size: 0.95rem;
}

/* DESCRIPTION */
.description-block {
  margin: 20px 0 10px;
}

.description.short {
  color: #ddd;
}

.full-description {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease;
}

.full-description.show {
  max-height: 2000px; /* assez grand pour tout le texte */
  opacity: 1;
}
.read-more,
.read-less {
  color: #f76811;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  display: inline-block;
  margin-top: 15px;
}

.read-more:hover,
.read-less:hover {
  text-decoration: underline;
}

.hidden {
  display: none;
}


/* REASONS */
.reasons {
  margin-top: 20px;
}

.reason {
  margin-bottom: 25px;
}

.reason h4 {
  color: #f76811;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.reason p {
  font-size: 0.95rem;
  color: #ccc;
}

/* AVIS */
.reviews-section h2 {
  margin-bottom: 10px;
}

.note-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.note-star {
  color: #f76811;
  font-size: 1.6rem;
}

.avis-count {
  font-size: 1rem;
  color: #aaa;
}

.review-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  min-height: 260px;
}

@media (max-width: 900px) {
  .review-carousel {
    grid-template-columns: 1fr;
  }
}

.review {
  background-color: #2a2f36;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #333;
  transition: transform 0.3s ease;
}

.review:hover {
  transform: translateY(-5px);
}

.review strong {
  color: #f76811;
  margin-bottom: 5px;
  display: block;
}

.review small {
  color: #888;
  font-size: 0.8rem;
  margin-top: 5px;
}

.review .stars {
  color: #f76811;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

/* CAROUSEL CONTROLS */
.carousel-container {
  position: relative;
  min-height: 280px;
}

.carousel-controls {
  position: absolute;
  top: 40%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  pointer-events: none;
}

.carousel-arrow {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.6rem;
  border: none;
  border-radius: 50%;
  padding: 12px;
  cursor: pointer;
  pointer-events: all;
  z-index: 2;
  transition: background 0.3s ease;
}

.carousel-arrow:hover {
  background-color: #f76811;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  gap: 10px;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #555;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-dots .dot.active {
  background-color: #f76811;
}

/* FAQ */
.faq-section h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #fff;
}

.faq-item {
  margin-bottom: 15px;
}

.faq-question {
  padding: 18px 20px;
  background-color: #2a2f36;
  border-radius: 8px;
  color: #ccc;
  cursor: pointer;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background-color: #353b45;
}

.faq-answer {
  background-color: #2a2f36;
  border-left: 3px solid #f76811;
  color: #ccc;
  font-size: 0.95rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  border-radius: 0 8px 8px 0;
  transition: max-height 0.5s ease, opacity 0.4s ease;
  margin-top: 6px;
  padding: 0 20px;
}

.faq-answer.active {
  opacity: 1;
  padding: 15px 20px;
  max-height: 300px;
}

/* SERVICES */
.service-card {
  transition: all 0.5s ease-in-out;
}

.service-details {
  text-align: center;
  max-height: 0;
  opacity: 0;
  transition: all 0.5s ease;
  overflow: hidden;
  padding-top: 0;
}

.service-card:hover .service-details {
  max-height: 200px;
  opacity: 1;
  padding-top: 10px;
}


.tarif {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.tarif span {
  background-color: #2a2f36;
  padding: 8px 12px;
  border-radius: 50px;
  font-size: 0.9rem;
  color: #fff;
  font-weight: bold;
}

/* BOUTONS */
.btn-reserve {
  display: inline-block;
  background-color: #f76811;
  color: white;
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 10px;
  margin-top: 20px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-reserve:hover {
  background-color: #d4570e;
  transform: translateY(-3px);
}

/* CALL-CARD */
.call-card {
  border: 2px solid transparent;
}

.call-card.open {
  border-color: #00c853;
}

.call-card.closed {
  border-color: #ff4444;
}

.call-card .btn-reserve.call-btn {
  background-color: #00c853;
}

.call-card.closed .btn-reserve.call-btn {
  background-color: #ff4444;
}

.call-card .btn-reserve.call-btn:hover {
  background-color: #009d3a;
}

.call-card.closed .btn-reserve.call-btn:hover {
  background-color: #d32f2f;
}

.call-card .emergency-note {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #ff8888;
}

/* FOOTER */
footer {
  background-color: #1a1e24;
  padding: 40px 20px 20px;
  margin-top: 40px;
  border-top: 1px solid #333;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-block h4 {
  color: #f76811;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.footer-block p {
  margin-bottom: 10px;
  color: #ccc;
}

.footer-block a,
.footer-bottom a {
  color: #f76811;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-block a:hover,
.footer-bottom a:hover {
  color: #ff8533;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #333;
  color: #999;
  font-size: 0.9rem;
}

.map-embed {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  margin-top: 15px;
  border: 1px solid #333;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-block {
    text-align: center;
  }
}

/* pour bouton téléphone */
.service-details.active {
  max-height: 200px;
  opacity: 1;
  padding-top: 10px;
}