        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        :root {
            --beige: #FDF6EC;
            --brown: #8B5E3C;
            --dark: #2C2C2C;
            --orange: #C06014;
            --light-beige: #FFFBF5;
            --dark-brown: #6F4B28;
        }
        
        html {
            scroll-behavior: smooth;
        }
        
        body {
            background-color: var(--beige);
            color: var(--dark);
            line-height: 1.6;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* Navigation */
        nav {
            background-color: var(--brown);
            padding: 20px 0;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            font-size: 1.8rem;
            font-weight: bold;
            color: var(--beige);
            
            align-items: center;
        }
        
        .logo i {
            margin-right: 10px;
            color: var(--orange);
        }
        
        .nav-links {
            display: flex;
            list-style: none;
        }
        
        .nav-links li {
            margin-left: 30px;
        }
        
        .nav-links a {
            color: var(--beige);
            text-decoration: none;
            font-size: 1.1rem;
            transition: color 0.3s;
            font-weight: 500;
        }
        
        .nav-links a:hover {
            color: var(--orange);
        }
        
        .hero {
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1507842217343-583bb7270b66?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
            height: 80vh;
            display: flex;
            align-items: center;
            text-align: center;
            color: white;
            padding: 0 20px;
        }
        
        .hero-content {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 20px;
            color: var(--beige);
        }
        
        .hero p {
            font-size: 1.3rem;
            margin-bottom: 30px;
            color: var(--beige);
        }
        
        .btn {
            display: inline-block;
            background-color: var(--orange);
            color: white;
            padding: 12px 30px;
            border-radius: 5px;
            text-decoration: none;
            font-size: 1.1rem;
            transition: background-color 0.3s;
            margin: 0 10px;
        }
        
        .btn:hover {
            background-color: #a45110;
            transform: translateY(-2px);
        }
        
        /* Section Styling */
        section {
            padding: 80px 0;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 50px;
            color: var(--brown);
            font-size: 2.5rem;
        }
        
        /* About Us */
        .about-content {
            display: flex;
            align-items: center;
            gap: 40px;
        }
        
        .about-text {
            flex: 1;
        }
        
        .about-text p {
            margin-bottom: 20px;
            font-size: 1.1rem;
            line-height: 1.8;
        }
        
        .about-image {
            flex: 1;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .about-image img {
            width: 100%;
            height: auto;
            display: block;
        }
        
        /* Categories */
        .categories {
            background-color: #f8f1e5;
        }
        
        .categories-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }
        
        .category-card {
            background-color: white;
            padding: 30px;
            border-radius: 10px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s;
        }
        
        .category-card:hover {
            transform: translateY(-10px);
        }
        
        .category-card i {
            font-size: 3rem;
            color: var(--brown);
            margin-bottom: 20px;
        }
        
        .category-card h3 {
            margin-bottom: 15px;
            color: var(--brown);
        }
        
        /* Books Collection with Carousel */
        .carousel-container {
            position: relative;
            overflow: hidden;
            border-radius: 16px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
            margin-bottom: 40px;
        }
        
        .carousel {
            display: flex;
            transition: transform 0.5s ease-in-out;
        }
        
        .carousel-item {
            min-width: 100%;
            box-sizing: border-box;
            padding: 40px;
            background: linear-gradient(135deg, var(--light-beige) 0%, #f9f1e5 100%);
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
        
        .book-cover {
            width: 200px;
            height: 280px;
            background: linear-gradient(135deg, var(--brown) 0%, var(--dark-brown) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0% auto;
            color: var(--beige);
            font-size: 4rem;
            font-weight: bold;
            margin-bottom: 25px;
            border-radius: 8px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }
        
        .book-title {
            font-size: 1.8rem;
            margin-bottom: 12px;
            color: var(--brown);
            line-height: 1.3;
            font-weight: 700;
        }
        
        .book-author {
            font-style: italic;
            margin-bottom: 15px;
            color: var(--dark);
            font-size: 1.2rem;
            font-weight: 500;
        }
        
        .book-description {
            margin-bottom: 25px;
            margin: 0% auto;
            color: #666;
            line-height: 1.6;
            font-size: 1rem;
            max-width: 600px;
        }
        
        .book-meta {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-bottom: 25px;
        }
        
        .book-year, .book-genre {
            font-size: 1rem;
            color: var(--brown);
            font-weight: 500;
        }
        
        .carousel-controls {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 40px;
        }
        
        .carousel-btn {
            background-color: var(--brown);
            color: white;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.2rem;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .carousel-btn:hover {
            background-color: var(--orange);
            transform: scale(1.1);
        }
        
        .carousel-indicators {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-bottom: 40px;
        }
        
        .indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: var(--brown);
            opacity: 0.4;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .indicator.active {
            opacity: 1;
            transform: scale(1.2);
        }
        
        /* Books Grid */
        .books-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 30px;
            margin-bottom: 50px;
        }
        
        .book-card {
            background: linear-gradient(135deg, var(--light-beige) 0%, #f9f1e5 100%);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            height: 100%;
            position: relative;
            border: 1px solid rgba(139, 94, 60, 0.1);
        }
        
        .book-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }
        
        .card-cover {
            height: 320px;
            background: linear-gradient(135deg, var(--brown) 0%, var(--dark-brown) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--beige);
            font-size: 3.5rem;
            font-weight: bold;
            position: relative;
            overflow: hidden;
        }
        
        .card-details {
            padding: 25px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .card-title {
            font-size: 1.4rem;
            margin-bottom: 12px;
            color: var(--brown);
            line-height: 1.3;
            font-weight: 700;
        }
        
        .card-author {
            font-style: italic;
            margin-bottom: 15px;
            color: var(--dark);
            font-size: 1.1rem;
            font-weight: 500;
        }
        
        .card-description {
            margin-bottom: 25px;
            flex-grow: 1;
            color: #666;
            line-height: 1.6;
            font-size: 0.95rem;
        }
        
        .card-meta {
            display: flex;
            justify-content: space-between;
            margin-top: auto;
            padding-top: 15px;
            border-top: 1px solid rgba(139, 94, 60, 0.1);
        }
        
        /* Contact Us */
        .contact {
            background-color: #f8f1e5;
        }
        
        .contact-container {
            display: flex;
            gap: 50px;
        }
        
        .contact-info {
            flex: 1;
        }
        
        .contact-info h3 {
            margin-bottom: 20px;
            color: var(--brown);
        }
        
        .contact-detail {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .contact-detail i {
            font-size: 1.5rem;
            color: var(--orange);
            margin-right: 15px;
        }
        
        .contact-form {
            flex: 1;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
            color: var(--brown);
        }
        
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
        }
        
        .form-group textarea {
            height: 150px;
        }
        
        /* Footer */
        footer {
            background-color: var(--brown);
            color: var(--beige);
            padding: 50px 0 20px;
        }
        
        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 30px;
        }
        
        .footer-section h3 {
            font-size: 1.5rem;
            margin-bottom: 20px;
            color: var(--orange);
        }
        
        .footer-section p {
            margin-bottom: 15px;
        }
        
        .footer-section ul {
            list-style: none;
        }
        
        .footer-section ul li {
            margin-bottom: 10px;
        }
        
        .footer-section a {
            color: var(--beige);
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-section a:hover {
            color: var(--orange);
        }
        
        .social-links {
            display: flex;
            gap: 15px;
        }
        
        .social-links a {
            display: inline-block;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            text-align: center;
            line-height: 40px;
            transition: background-color 0.3s;
        }
        
        .social-links a:hover {
            background-color: var(--orange);
        }
        
        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        /* Responsive Design */
        @media (max-width: 768px) {
            .nav-container {
                flex-direction: column;
            }
            
            .nav-links {
                margin-top: 20px;
                flex-wrap: wrap;
                justify-content: center;
            }
            
            .nav-links li {
                margin: 10px;
            }
            
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .about-content {
                flex-direction: column;
            }
            
            .contact-container {
                flex-direction: column;
            }
            
            .carousel-item {
                padding: 30px 20px;
            }
            
            .book-cover {
                width: 150px;
                height: 210px;
                font-size: 3rem;
            }
            
            .book-title {
                font-size: 1.5rem;
            }
        }





  #Books {
    padding: 40px;
    text-align: center;
  }

  #Books h2 {
    color: #8B5E3C;
    margin-bottom: 20px;
  }

  .book-list {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
  }

  .book-list::-webkit-scrollbar {
    display: none;
  }

  .book-list li {
    background: white;
    border: 2px solid #8B5E3C;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-align: center;
    min-width: 180px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
  }

  .book-list li:hover {
    transform: scale(1.05);
    border-color: #C06014;
  }

  .book-list img {
    border-radius: 6px;
    margin-bottom: 10px;
  }

  .book-list strong {
    display: block;
    margin-bottom: 6px;
    color: #8B5E3C;
  }

  .book-list span {
    font-size: 14px;
    color: #2C2C2C;
  }

 
  .section-books {
      text-align: center;
      max-width: 800px;
      padding: 20px;
      background: #ffffffc7;
      border-radius: 10px;
      border: 1px solid #C06014;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    .section-books {
      text-align: center;
      max-width: 800px;
      padding: 20px;
      background: #ffffffc7;
      border-radius: 10px;
      border: 1px solid #C06014;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    h2 {
      color: #8B5E3C;
    }


    .books-section h2 {
      font-size: 2.5rem;
      margin-bottom: 10px;
      color: #8B5E3C;
      position: relative;
      display: inline-block;
      
    }

    /* Ligne soulignée moderne */
    .books-section h2::after {
      content: "";
      display: block;
      width: 60%;
      height: 4px;
      background: #C06014;
      margin: 8px auto 0;
      border-radius: 2px;
    }
    .book-list{
        padding: 10px;
    }
    .books-section p {
      font-size: 1.1rem;
      color: #2C2C2C;
      margin-bottom: 25px;
      line-height: 1.6;
    }

    /* Animation douce à l’apparitio{n */
    .books-section h2,
    .books-section p {
      opacity: 0;
      transform: translateY(20px);
      animation: fadeInUp 1s forwards;
    }

    .slider-container {
      position: relative;
      overflow: hidden;
      width: 100%;
    }

    .books-list {
      display: flex;
      transition: transform 0.5s ease-in-out;
      gap: 20px;
    }

    .book-item {
      min-width: 180px;
      background: #fff;
      border: 1px solid #C06014;
      border-radius: 10px;
      padding: 15px;
      text-align: center;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .book-item img {
      width: 80px;
      border-radius: 5px;
    }

    .book-item strong {
      display: block;
      margin: 10px 0;
      color: #8B5E3C;
    }

   .book-list .btn {
      margin-top: 8px;
      background: #C06014;
      color: white;
      padding: 5px 7px;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }

    .book-list .btn:hover {
      background: #8B5E3C;
    }

    .nav-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: #C06014;
      border: none;
      color: #fff;
      font-size: 20px;
      padding: 8px 12px;
      cursor: pointer;
      border-radius: 50%;
    }

    
     .books-section h2:nth-child(1) { animation-delay: 0.2s; }
    .books-section p { animation-delay: 0.4s; }
    .books-section h2:nth-child(3) { animation-delay: 0.6s; }

    @keyframes fadeInUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
        .book-item{
        height: 300px;
    }
      .book-item img{
        height: 100px;
    }