/* Partials Imports */
@import url('partials/_variables.css');
@import url('partials/_base.css');
@import url('partials/_top-bar.css');
@import url('partials/_nav.css');
@import url('partials/_hero.css');
@import url('partials/_buttons.css');
@import url('partials/_cards.css');
@import url('partials/_forms.css');
@import url('partials/_layouts.css');
@import url('partials/_footer.css');

/* Ajoutez d'autres imports si nécessaire */

/* Ce fichier est maintenant principalement un point d'entrée pour importer les partiels. */
/* Les overrides très spécifiques ou les styles globaux finaux pourraient aller ici, mais idéalement, ils sont dans les partiels. */

/* Note: Hero styles and Button styles are now moved to partials */

/* Keep specific button styles with their components for now */
.materials-accepted .button {
  margin-top: calc(var(--spacing-unit) * 2);
}

/* Section Title Helper */
.section-title {
  text-align: center;
  margin-bottom: calc(var(--spacing-unit) * 4);
  font-size: 1.8rem;
  /* Optionally add color or other styling */
}

/* Services Preview Section */
.services-preview {
  padding: calc(var(--spacing-unit) * 5) 0; /* Vertical spacing */
}

/* Page Header Styles */
.page-header {
  background-color: #f1f1f1; /* Light gray background */
  padding: calc(var(--spacing-unit) * 4) 0;
  margin-bottom: calc(var(--spacing-unit) * 4);
  text-align: center;
}

.page-header h1 {

  margin-bottom: var(--spacing-unit);
  color: var(--color-primary);
}

.page-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin: 0;
}

container.container-content {
  margin: 0 auto;
}
/* Page Content basic spacing */
.page-content {
    /* Add padding or margin if needed, container already provides horizontal padding */
}

/* Service Detail Section */
.service-detail {
  display: flex; /* Use flexbox for layout */
  align-items: center; /* Vertically align items */
  gap: calc(var(--spacing-unit) * 5); /* Space between text and image */
  margin-bottom: calc(var(--spacing-unit) * 4);
}

.service-detail__content {
  flex: 1; /* Allow text content to take available space */
}

.service-detail__content h2 {
    margin-top: 0; /* Remove default top margin for heading in flex context */
    color: var(--color-secondary); /* Use secondary color for service titles */
}

.service-detail__image {
  flex-basis: 40%; /* Define basis width for image */
  max-width: 40%; /* Ensure image doesn't exceed its container */
  height: auto; /* Maintain aspect ratio */
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Reverse layout for alternating sections */
.service-detail--reverse {
  flex-direction: row-reverse; /* Reverse the order of items */
}

/* Responsive adjustments for Service Detail */
@media (max-width: 768px) {
  .service-detail,
  .service-detail--reverse {
    flex-direction: column; /* Stack items vertically */
    text-align: center; /* Center text on mobile */
  }

  .service-detail__image {
    flex-basis: auto; /* Reset basis */
    max-width: 80%; /* Allow image to be wider */
    margin-top: calc(var(--spacing-unit) * 3); /* Add space above image */
    order: 2; /* Ensure image comes after text */
  }

  .service-detail__content {
      order: 1;
  }

   .service-detail__content h2 {
       margin-top: var(--spacing-unit) * 3; /* Add margin back for stacking */
   }
}


/* Section Divider */
.section-divider {
  border: 0;
  height: 1px;
  background-color: #eee;
  margin: calc(var(--spacing-unit) * 6) 0; /* Vertical spacing */
}

/* Materials Accepted Section */
.materials-accepted {
  background-color: #f9f9f9;
  padding: calc(var(--spacing-unit) * 4);
  border-radius: 8px;
  margin-top: calc(var(--spacing-unit) * 4);
  text-align: center;
}

.materials-accepted h2 {
    margin-top: 0;
}

.materials-list {
  list-style: none; /* Remove default bullets */
  padding: 0;
  margin: calc(var(--spacing-unit) * 3) 0;
  display: flex; /* Use flexbox for list items */
  flex-wrap: wrap; /* Allow items to wrap */
  justify-content: center; /* Center items */
  gap: var(--spacing-unit) calc(var(--spacing-unit) * 2); /* Space between items */
}

.materials-list li {
  background-color: var(--color-white);
  padding: var(--spacing-unit) calc(var(--spacing-unit) * 2);
  border-radius: 20px; /* Pill shape */
  border: 1px solid #ddd;
  font-size: 0.95rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Product Section Styles */
.product-section {
  margin-bottom: calc(var(--spacing-unit) * 5);
}

.product-section h2 {
    text-align: center; /* Center section titles */
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.product-section__note {
    text-align: center;
    font-style: italic;
    color: #666;
    margin-top: calc(var(--spacing-unit) * 3);
}

/* Contact Page Layout */
.contact-layout {
  display: grid; /* Use Grid for layout */
  grid-template-columns: 1fr 1fr; /* Two equal columns */
  gap: calc(var(--spacing-unit) * 6); /* Space between columns */
  align-items: start;
}

/* Contact Info Column */
.contact-info h2 {
  margin-top: 0;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: calc(var(--spacing-unit) * 3) 0;
}

.contact-info li {
  margin-bottom: calc(var(--spacing-unit) * 2.5);
  line-height: 1.5;
}

.contact-info li strong {
  display: inline-block;
  margin-right: var(--spacing-unit);
  color: var(--color-primary);
}

.contact-info a {
    color: var(--color-secondary);
    text-decoration: none;
}
.contact-info a:hover {
    text-decoration: underline;
}

.contact-map {
    margin-top: calc(var(--spacing-unit) * 4);
}
.contact-map h3 {
    margin-bottom: var(--spacing-unit) * 2;
}

/* Contact Form Section */
.contact-form-section h2 {
  margin-top: 0;
  margin-bottom: var(--spacing-unit);
}

/* Responsive adjustments for Contact Layout */
@media (max-width: 900px) { /* Adjust breakpoint as needed */
  .contact-layout {
    grid-template-columns: 1fr; /* Stack columns */
  }
}

/* Legal Content Specific Styles (Optional) */
.legal-content {
  font-size: 0.95rem; /* Slightly smaller font for legal text */
  line-height: 1.7; /* Slightly increased line height for readability */
}

.legal-content h2 {
  font-size: 1.4rem; /* Adjust heading sizes within legal content */
  margin-top: calc(var(--spacing-unit) * 4);
  margin-bottom: calc(var(--spacing-unit) * 1.5);
  border-bottom: 1px solid #eee; /* Optional separator */
  padding-bottom: var(--spacing-unit);
}

.legal-content strong {
    /* You could potentially style the labels differently */
} 