/* Services Page Styles */

/* Hero Section */
.hero {
  height: 100vh;
  background: url('https://res.cloudinary.com/dafiqfwsf/image/upload/v1744106274/service-4-min_zahyfd.webp');
  background-size: cover;
  background-position: center;
  position: relative;
  padding-top: 80px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.hero-logo {
  flex-shrink: 0;
}

.hero-logo svg {
  width: 200px;
  height: auto;
}

.hero-content {
  flex: 1;
}

.hero-title {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: left;
}

.hero-subtitle {
  color: var(--secondary-color);
  font-size: 1.5rem;
  text-align: left;
}

@media (max-width: 768px) {
  .hero-container {
      flex-direction: column;
      text-align: center;
      gap: 2rem;
  }

  .hero-logo svg {
      width: 150px;
  }

  .hero-title,
  .hero-subtitle {
      text-align: center;
  }
}

/* Introduction Section */
.intro {
  padding: 60px 5% 60px; /* Augmentation des marges verticales (haut et bas) */
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.intro p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555; /* Texte en gris */
}

.intro .brand {
  font-weight: 700; /* Texte en gras */
  color: #0038A8; /* Couleur bleue pour la marque */
}

/* Services Tabs Section */
.services-tabs {
  padding: 20px 5% 60px;
}

.tabs-container {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.tabs-header {
  display: flex;
  border-bottom: 1px solid #e0e0e0;
}

.tab-button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #f8f8f8;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #333;
  position: relative;
  text-align: center;
  gap: 15px;
}

.tab-button:hover {
  background: #f0f0f0;
}

.tab-button.active {
  background: #0038A8;
  color: white;
}

.tab-button.active .tab-icon svg {
  stroke: white;
}

.tab-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-icon svg {
  width: 100%;
  height: 100%;
  stroke: #0038A8;
  transition: all 0.3s ease;
}

.tab-button h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.tab-content {
  display: none;
  padding: 30px;
}

.tab-content.active {
  display: block;
}

/* Content Header */
.content-header {
  text-align: center;
  margin-bottom: 40px;
}

.content-header h3 {
  font-size: 1.8rem;
  color: #0038A8;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.content-header p {
  font-size: 1.1rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

/* Service Sections */
.service-sections {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .service-sections {
      grid-template-columns: 1fr 1fr;
  }
}

.service-section {
  background-color: #f8f8f8;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-section h3 {
  color: #0038A8;
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 2px solid #0038A8;
}

.service-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 15px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e6eef9;
  border-radius: 50%;
  padding: 10px;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: #0038A8;
}

.feature p {
  margin: 0;
  font-size: 1rem;
}

.cta-button {
  margin: 30px 0;
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.btn.primary {
  background-color: #0038A8;
  color: white;
}

.btn.primary:hover {
  background-color: #00287a;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 56, 168, 0.2);
}

/* FAQ Section */
.faq-section {
  margin-top: 40px;
}

.faq-section h4 {
  font-size: 1.3rem;
  color: #0038A8;
  margin-bottom: 20px;
}

.accordion {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid #e0e0e0;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background-color: #f8f8f8;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background-color: #f0f0f0;
}

.accordion-header h5 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: #333;
}

.accordion-icon {
  font-size: 1.2rem;
  color: #0038A8;
  font-weight: bold;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: white;
}

.accordion-content p {
  padding: 15px;
  margin: 0;
  color: #555;
}

.accordion-item.active .accordion-header {
  background-color: #e6eef9;
}

/* Dépannage Content */
.depannage-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.emergency-call {
  background-color: #f8f8f8;
  border-left: 4px solid #0038A8;
  padding: 20px;
  text-align: center;
  border-radius: 4px;
}

.emergency-call h4 {
  color: #0038A8;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.phone-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background-color: #0038A8;
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.phone-button:hover {
  background-color: #00287a;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 56, 168, 0.2);
}

.phone-button svg {
  width: 20px;
  height: 20px;
}

.availability {
  color: #555;
  font-size: 0.9rem;
  margin: 0;
}

.troubleshooting-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .troubleshooting-info {
      grid-template-columns: 3fr 2fr;
  }
}

.info-box {
  background-color: #f8f8f8;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-box h4 {
  color: #0038A8;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.info-box p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.info-box p:last-child {
  margin-bottom: 0;
}

.technician-image {
  height: 300px;
  background-image: url('https://res.cloudinary.com/dafiqfwsf/image/upload/v1744101826/image-entretien_dhgd7l.png');
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

.availability-info {
  text-align: center;
  padding: 30px;
  background-color: #f8f8f8;
  border-radius: 8px;
}

.availability-info h4 {
  color: #0038A8;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.call-note {
  color: #555;
  font-size: 0.9rem;
  margin-top: 5px;
}

.process-section {
  margin-top: 20px;
}

.process-section h4 {
  color: #0038A8;
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.3rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  background-color: #f8f8f8;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

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

.step-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e6eef9;
  border-radius: 50%;
  margin-bottom: 15px;
  padding: 15px;
}

.step-icon svg {
  width: 30px;
  height: 30px;
  stroke: #0038A8;
}

.step p {
  margin: 0;
  font-size: 1rem;
  color: #333;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  
  .hero h1 {
      font-size: 2rem;
  }
  
  .tabs-header {
      flex-direction: column;
  }
  
  .tab-button {
      flex-direction: row;
      justify-content: flex-start;
  }
  
  .process-steps {
      grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {  
  .hero h1 {
      font-size: 1.8rem;
  }
  
  .hero-content {
      padding: 15px;
  }
  
  .tab-content {
      padding: 20px;
  }
  
  .service-section {
      padding: 20px;
  }
  
  .feature {
      gap: 10px;
  }
  
  .feature-icon {
      width: 35px;
      height: 35px;
  }
  
  .btn {
      padding: 10px 20px;
      font-size: 0.8rem;
  }
}

@media (min-width: 1200px) {
  .hero-image {
      display: block;
  }
}