/* style.css - Styles communs pour toutes les pages */

:root {
    --primary: #3498db;
    --primary-dark: #0056b3;
    --secondary: #2c3e50;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --text: #333;
    --shadow: rgba(0,0,0,0.1);
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  /* ===== HEADER & NAVIGATION ===== */
  header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1.5rem 0;
    text-align: center;
    box-shadow: 0 4px 6px var(--shadow);
  }
  
  header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
  }
  
  header p {
    font-size: 1.2rem;
    font-weight: 300;
  }
  
  nav {
    background-color: var(--secondary);
    padding: 1rem 0;
  }
  
  nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
  }
  
  nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  nav a:hover {
    color: var(--primary);
  }
  
  /* ===== MAIN CONTENT ===== */
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
    flex: 1;
  }
  
  h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
  }
  
  .back-btn {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
  }
  
  .back-btn i {
    margin-right: 5px;
  }
  
  .back-btn:hover {
    color: var(--secondary);
  }
  
  /* ===== BUTTONS ===== */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px var(--shadow);
    border: none;
    font-size: 1rem;
    cursor: pointer;
  }
  
  .btn i {
    margin-right: 8px;
  }
  
  .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 8px var(--shadow);
    background-color: #2980b9;
  }
  
  /* ===== FOOTER ===== */
  footer {
    background-color: var(--secondary);
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: auto;
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1rem 0;
  }
  
  .social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
  }
  
  .social-icons a:hover {
    color: var(--primary);
  }
  
  /* ===== COMMON COMPONENTS ===== */
  .tag {
    background-color: var(--light);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--secondary);
  }
  
  /* ===== RESPONSIVE STYLES ===== */
  @media (max-width: 768px) {
    h1 {
      font-size: 2rem;
    }
    
    .btn-container {
      flex-direction: column;
      align-items: center;
      gap: 1rem;
    }
    
    .btn {
      width: 100%;
    }
    
    nav ul {
      flex-direction: column;
      align-items: center;
      gap: 1rem;
    }
  }