/* Style principal pour Talentel.fr */
:root {
  --primary-color: #1a4b8c; /* Bleu professionnel */
  --secondary-color: #e67e22; /* Orange/ambre pour les accents */
  --text-color: #333333;
  --light-text: #ffffff;
  --light-bg: #f8f9fa;
  --dark-bg: #2c3e50;
  --border-color: #e1e1e1;
  --footer-bg: #34495e;
  --success-color: #27ae60;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #ffffff;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
header {
  background-color: #ffffff;
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

/* Language Selector */
.language-selector {
  margin-left: 25px;
  display: flex;
  align-items: center;
}

.language-selector a, 
.language-selector span {
  margin: 0 5px;
  text-decoration: none;
  font-weight: 500;
}

.language-selector a {
  color: var(--text-color);
  transition: color 0.3s ease;
}

.language-selector a:hover {
  color: var(--primary-color);
}

.language-selector span {
  color: var(--primary-color);
  font-weight: 700;
}

/* Hero Section */
.hero {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 120px 0 80px;
  text-align: center;
}

.hero h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 30px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--secondary-color);
  color: var(--light-text);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #d35400;
}

/* Sections */
section {
  padding: 80px 0;
}

section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
  color: var(--primary-color);
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--light-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

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

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  padding: 20px;
}

.service-content h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* References Section */
.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  align-items: center;
}

.reference-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  background-color: var(--light-bg);
  border-radius: 8px;
  padding: 15px;
  transition: transform 0.3s ease;
}

.reference-logo:hover {
  transform: scale(1.05);
}

.reference-logo img {
  max-width: 100%;
  max-height: 70px;
}

/* Contact Section */
.contact-container {
  display: flex;
  gap: 40px;
}

.contact-info {
  flex: 1;
}

.contact-info h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 15px;
}

.contact-form {
  flex: 1;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background-color: var(--footer-bg);
  color: var(--light-text);
  padding: 50px 0 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-section h3 {
  margin-bottom: 20px;
  font-size: 18px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: var(--light-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--secondary-color);
}

.copyright {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }
  
  .contact-container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    padding: 15px 0;
  }
  
  nav ul {
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 5px 10px;
  }
  
  .hero {
    padding: 150px 0 80px;
  }
  
  .hero h2 {
    font-size: 28px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  section h2 {
    font-size: 28px;
  }
}

/* Specific Pages Styles */
/* Services Detail Page */
.service-detail {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.service-detail-header {
  display: flex;
  align-items: center;
  gap: 30px;
}

.service-detail-image {
  flex: 1;
  max-width: 500px;
}

.service-detail-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-detail-intro {
  flex: 1;
}

.service-features {
  margin-top: 40px;
}

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

.feature-item {
  background-color: var(--light-bg);
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-item h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Team Page */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  background-color: var(--light-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
}

.team-member-image {
  height: 250px;
  overflow: hidden;
}

.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member-info {
  padding: 20px;
}

.team-member-info h3 {
  color: var(--primary-color);
  margin-bottom: 5px;
}

.team-member-info p {
  color: var(--text-color);
  font-style: italic;
}

/* Breadcrumbs */
.breadcrumbs {
  background-color: var(--light-bg);
  padding: 10px 0;
  margin-top: 80px;
}

.breadcrumbs-container {
  display: flex;
  align-items: center;
}

.breadcrumbs a, 
.breadcrumbs span {
  margin: 0 5px;
}

.breadcrumbs a {
  color: var(--primary-color);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span {
  color: var(--text-color);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}
