/* ========================================
   ABOUT.CSS
   Styles for about page
======================================== */

/* ----------------------------------------
   ABOUT CONTENT
---------------------------------------- */
.about-content {
    padding: 40px;
}

/* ----------------------------------------
   COMMON SECTION STYLES
---------------------------------------- */
.about-section {
    margin-bottom: 60px;
    padding: 35px;
    background: rgba(245, 245, 220, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(139, 69, 19, 0.2);
}

.about-section:last-child {
    margin-bottom: 0;
}

.section-title {
    color: #4a2c17;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #8B4513, #A0522D);
    margin: 15px auto;
    border-radius: 2px;
}

.section-intro {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: #5d3e2a;
}

/* ----------------------------------------
   PERSONAL PRESENTATION
---------------------------------------- */
.personal-intro {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: start;
}

.profile-image {
    width: 200px;
    height: 250px;
    background: #f0f0f0;
    border-radius: 12px;
    border: 3px solid #8B4513;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B4513;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.bio-content h3 {
    color: #4a2c17;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.bio-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #5d3e2a;
}

.experience-highlight {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #8B4513;
    margin-top: 25px;
    color: #5d3e2a;
}

.experience-highlight strong {
    color: #4a2c17;
    font-size: 1.2rem;
}

/* ----------------------------------------
   TOOLS SECTION
---------------------------------------- */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.tool-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 2px solid rgba(139, 69, 19, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.tool-image {
    width: 100%;
    height: 150px;
    background: #f8f8f8;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #8B4513;
    font-weight: 600;
    text-align: center;
}

.tool-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.tool-card h4 {
    color: #4a2c17;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.tool-card p {
    color: #5d3e2a;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ----------------------------------------
   BOOKS SECTION
---------------------------------------- */
.books-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    margin-top: 40px;
}

.book-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(139, 69, 19, 0.1);
    transition: all 0.4s ease;
    display: grid;
    grid-template-columns: 300px 1fr;
    min-height: 400px;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(139, 69, 19, 0.3);
}

.book-content {
    display: contents;
}

.book-image-container {
    position: relative;
    background: linear-gradient(135deg, #f8f8f8, #e8e8e8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.book-cover {
    width: 240px;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(139, 69, 19, 0.2);
    position: relative;
    background: #f0f0f0;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B4513;
    font-weight: 600;
    text-align: center;
    font-size: 12px;
}

.book-card:hover .book-cover {
    transform: scale(1.02);
}

.book-cover-image {
    width: 100%;
    height: 100%;
    object-fit: contain;  /* Changé de cover à contain pour éviter la pixelisation */
    border-radius: 8px;
}

.book-details {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.book-details h4 {
    color: #4a2c17;
    font-size: 1.8rem;
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.book-meta {
    color: #8B4513;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.book-awards {
    background: linear-gradient(135deg, #8B4513, #A0522D);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
    display: inline-block;
    margin-bottom: 15px;
    line-height: 1.3;
    width: fit-content;
}

.book-synopsis {
    color: #5d3e2a;
    line-height: 1.7;
    font-size: 1rem;
    flex-grow: 1;
    margin-bottom: 25px;
}

.book-synopsis h5 {
    color: #4a2c17;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 15px;
    position: relative;
}

.book-synopsis h5::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: #8B4513;
    margin-top: 8px;
}

.book-synopsis p {
    text-align: justify;
}

/* ----------------------------------------
   ADDITIONAL PUBLICATIONS
---------------------------------------- */
.additional-publications {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 2px solid rgba(139, 69, 19, 0.1);
    margin-top: 30px;
    text-align: center;
}

.additional-publications p {
    color: #5d3e2a;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.additional-publications a {
    color: #8B4513;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #8B4513;
    transition: all 0.3s ease;
}

.additional-publications a:hover {
    color: #A0522D;
    text-decoration: underline;
}

.publications-note {
    color: #8B4513;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ----------------------------------------
   CV LINK SECTION
---------------------------------------- */
.cv-link-section {
    margin-top: 40px;
}

.cv-link-card {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.05), rgba(160, 82, 45, 0.05));
    border: 2px solid rgba(139, 69, 19, 0.2);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cv-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 69, 19, 0.1), transparent);
    transition: left 0.5s ease;
}

.cv-link-card:hover::before {
    left: 100%;
}

.cv-link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.15);
    border-color: rgba(139, 69, 19, 0.4);
}

.cv-link-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    background: linear-gradient(135deg, #8B4513, #A0522D);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.3);
    transition: transform 0.3s ease;
}

.cv-link-card:hover .cv-link-icon {
    transform: scale(1.1) rotate(5deg);
}

.cv-link-content h3 {
    color: #4a2c17;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cv-link-content p {
    color: #5d3e2a;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cv-link-button {
    display: inline-block;
    background: linear-gradient(135deg, #8B4513, #A0522D);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
    position: relative;
    overflow: hidden;
}

.cv-link-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cv-link-button:hover::before {
    left: 100%;
}

.cv-link-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.4);
    background: linear-gradient(135deg, #A0522D, #8B4513);
}

/* ----------------------------------------
  RESPONSIVE DESIGN
---------------------------------------- */

/* Large tablets and medium screens */
@media (max-width: 1024px) {
   .about-content {
       padding: 35px;
   }
   
   .about-section {
       padding: 30px;
       margin-bottom: 50px;
   }
   
   .section-title {
       font-size: 1.8rem;
       margin-bottom: 25px;
   }
   
   .section-intro {
       font-size: 1.05rem;
       margin-bottom: 25px;
   }
   
   .personal-intro {
       gap: 35px;
   }
   
   .profile-image {
       width: 180px;
       height: 220px;
   }
   
   .bio-content h3 {
       font-size: 1.4rem;
       margin-bottom: 18px;
   }
   
   .bio-content p {
       font-size: 1.05rem;
       line-height: 1.6;
       margin-bottom: 18px;
   }
   
   .experience-highlight {
       padding: 18px;
       margin-top: 20px;
   }
   
   .tools-grid {
       gap: 25px;
       margin-top: 25px;
   }
   
   .tool-card {
       padding: 22px;
   }
   
   .tool-image {
       height: 130px;
       margin-bottom: 18px;
   }
   
   .tool-card h4 {
       font-size: 1.2rem;
       margin-bottom: 12px;
   }
   
   .books-grid {
       gap: 40px;
       margin-top: 35px;
   }
   
   .book-card {
       grid-template-columns: 280px 1fr;
       min-height: 380px;
   }
   
   .book-image-container {
       padding: 25px;
   }
   
   .book-cover {
       width: 220px;
       height: 290px;
   }
   
   .book-details {
       padding: 35px;
   }
   
   .book-details h4 {
       font-size: 1.7rem;
   }
   
   .cv-link-section {
       margin-top: 35px;
   }
   
   .cv-link-card {
       padding: 25px;
   }
   
   .cv-link-icon {
       width: 70px;
       height: 70px;
       font-size: 2.5rem;
       margin-bottom: 18px;
   }
   
   .cv-link-content h3 {
       font-size: 1.5rem;
   }
   
   .cv-link-content p {
       font-size: 1.05rem;
       margin-bottom: 22px;
   }
   
   .cv-link-button {
       padding: 13px 28px;
       font-size: 1.05rem;
   }
}

/* Tablets */
@media (max-width: 768px) {
   .about-content {
       padding: 25px;
   }

   .about-section {
       padding: 25px;
       margin-bottom: 40px;
   }
   
   .section-title {
       font-size: 1.6rem;
       margin-bottom: 20px;
   }
   
   .section-title::after {
       width: 60px;
       height: 2px;
       margin: 12px auto;
   }
   
   .section-intro {
       font-size: 1rem;
       margin-bottom: 20px;
   }

   .personal-intro {
       grid-template-columns: 1fr;
       text-align: center;
       gap: 25px;
   }

   .profile-image {
       margin: 0 auto;
       width: 160px;
       height: 200px;
   }
   
   .bio-content h3 {
       font-size: 1.3rem;
       margin-bottom: 15px;
   }
   
   .bio-content p {
       font-size: 1rem;
       line-height: 1.5;
       margin-bottom: 15px;
   }
   
   .experience-highlight {
       padding: 15px;
       margin-top: 18px;
   }
   
   .experience-highlight strong {
       font-size: 1.1rem;
   }

   .tools-grid {
       grid-template-columns: 1fr;
       gap: 20px;
       margin-top: 20px;
   }
   
   .tool-card {
       padding: 20px;
   }
   
   .tool-image {
       height: 120px;
       margin-bottom: 15px;
   }
   
   .tool-card h4 {
       font-size: 1.15rem;
       margin-bottom: 10px;
   }
   
   .tool-card p {
       font-size: 0.9rem;
   }

   .books-grid {
       grid-template-columns: 1fr;
       gap: 30px;
       margin-top: 30px;
   }

   .book-card {
       grid-template-columns: 1fr;
       text-align: center;
       min-height: auto;
   }

   .book-image-container {
       padding: 20px;
   }

   .book-cover {
       width: 200px;
       height: 270px;
       margin: 0 auto;
   }

   .book-details {
       padding: 25px;
   }

   .book-details h4 {
       font-size: 1.5rem;
       margin-bottom: 10px;
   }
   
   .book-meta {
       font-size: 0.95rem;
       margin-bottom: 12px;
   }

   .book-awards {
       position: static;
       display: inline-block;
       margin-bottom: 15px;
       font-size: 0.75rem;
       padding: 6px 10px;
   }
   
   .book-synopsis {
       font-size: 0.95rem;
       line-height: 1.6;
       margin-bottom: 20px;
   }
   
   .book-synopsis h5 {
       font-size: 1.1rem;
       margin-bottom: 12px;
   }
   
   .additional-publications {
       padding: 20px;
       margin-top: 25px;
   }
   
   .additional-publications p {
       font-size: 1rem;
       margin-bottom: 12px;
   }
   
   .publications-note {
       font-size: 0.9rem;
   }
   
   .cv-link-card {
       padding: 25px 20px;
   }
   
   .cv-link-icon {
       width: 60px;
       height: 60px;
       font-size: 2.2rem;
       margin-bottom: 15px;
   }
   
   .cv-link-content h3 {
       font-size: 1.4rem;
       margin-bottom: 12px;
   }
   
   .cv-link-content p {
       font-size: 1rem;
       margin-bottom: 20px;
   }
   
   .cv-link-button {
       padding: 12px 25px;
       font-size: 1rem;
   }
}

/* Small tablets and large phones */
@media (max-width: 600px) {
   .about-content {
       padding: 20px;
   }
   
   .about-section {
       padding: 20px;
       margin-bottom: 35px;
       border-radius: 10px;
   }
   
   .section-title {
       font-size: 1.4rem;
       margin-bottom: 18px;
   }
   
   .section-title::after {
       width: 50px;
       margin: 10px auto;
   }
   
   .section-intro {
       font-size: 0.95rem;
       margin-bottom: 18px;
   }
   
   .personal-intro {
       gap: 20px;
   }
   
   .profile-image {
       width: 140px;
       height: 180px;
   }
   
   .bio-content h3 {
       font-size: 1.2rem;
       margin-bottom: 12px;
   }
   
   .bio-content p {
       font-size: 0.95rem;
       line-height: 1.4;
       margin-bottom: 12px;
   }
   
   .experience-highlight {
       padding: 12px;
       margin-top: 15px;
   }
   
   .experience-highlight strong {
       font-size: 1.05rem;
   }
   
   .tool-card {
       padding: 18px;
   }
   
   .tool-image {
       height: 100px;
       margin-bottom: 12px;
   }
   
   .tool-card h4 {
       font-size: 1.1rem;
       margin-bottom: 8px;
   }
   
   .tool-card p {
       font-size: 0.85rem;
       line-height: 1.4;
   }
   
   .books-grid {
       gap: 25px;
       margin-top: 25px;
   }
   
   .book-image-container {
       padding: 15px;
   }
   
   .book-cover {
       width: 160px;
       height: 220px;
   }
   
   .book-details {
       padding: 20px;
   }
   
   .book-details h4 {
       font-size: 1.3rem;
       line-height: 1.2;
   }
   
   .book-meta {
       font-size: 0.9rem;
       margin-bottom: 10px;
   }
   
   .book-awards {
       font-size: 0.7rem;
       padding: 5px 8px;
       margin-bottom: 12px;
   }
   
   .book-synopsis {
       font-size: 0.9rem;
       line-height: 1.5;
       margin-bottom: 18px;
   }
   
   .book-synopsis h5 {
       font-size: 1.05rem;
       margin-bottom: 10px;
   }
   
   .additional-publications {
       padding: 18px;
       margin-top: 20px;
   }
   
   .additional-publications p {
       font-size: 0.95rem;
       margin-bottom: 10px;
   }
   
   .publications-note {
       font-size: 0.85rem;
   }
   
   .cv-link-section {
       margin-top: 30px;
   }
   
   .cv-link-card {
       padding: 20px 16px;
       border-radius: 12px;
   }
   
   .cv-link-icon {
       width: 55px;
       height: 55px;
       font-size: 2rem;
       margin-bottom: 12px;
   }
   
   .cv-link-content h3 {
       font-size: 1.3rem;
       margin-bottom: 10px;
   }
   
   .cv-link-content p {
       font-size: 0.95rem;
       margin-bottom: 18px;
   }
   
   .cv-link-button {
       padding: 10px 22px;
       font-size: 0.95rem;
       border-radius: 25px;
   }
}

/* Mobile phones */
@media (max-width: 480px) {
   .about-content {
       padding: 16px;
   }
   
   .about-section {
       padding: 16px;
       margin-bottom: 30px;
   }
   
   .section-title {
       font-size: 1.3rem;
       margin-bottom: 15px;
   }
   
   .section-title::after {
       width: 40px;
       margin: 8px auto;
   }
   
   .section-intro {
       font-size: 0.9rem;
       margin-bottom: 15px;
   }
   
   .personal-intro {
       gap: 18px;
   }
   
   .profile-image {
       width: 120px;
       height: 150px;
       font-size: 0.8rem;
   }
   
   .bio-content h3 {
       font-size: 1.1rem;
       margin-bottom: 10px;
   }
   
   .bio-content p {
       font-size: 0.9rem;
       line-height: 1.3;
       margin-bottom: 10px;
   }
   
   .experience-highlight {
       padding: 10px;
       margin-top: 12px;
   }
   
   .experience-highlight strong {
       font-size: 1rem;
   }
   
   .tool-card {
       padding: 15px;
   }
   
   .tool-image {
       height: 90px;
       margin-bottom: 10px;
   }
   
   .tool-card h4 {
       font-size: 1.05rem;
       margin-bottom: 6px;
   }
   
   .tool-card p {
       font-size: 0.8rem;
       line-height: 1.3;
   }
   
   .books-grid {
       gap: 20px;
       margin-top: 20px;
   }
   
   .book-image-container {
       padding: 12px;
   }
   
   .book-cover {
       width: 140px;
       height: 190px;
       font-size: 10px;
   }
   
   .book-details {
       padding: 16px;
   }
   
   .book-details h4 {
       font-size: 1.2rem;
       line-height: 1.1;
       margin-bottom: 8px;
   }
   
   .book-meta {
       font-size: 0.85rem;
       margin-bottom: 8px;
   }
   
   .book-awards {
       font-size: 0.65rem;
       padding: 4px 6px;
       margin-bottom: 10px;
   }
   
   .book-synopsis {
       font-size: 0.85rem;
       line-height: 1.4;
       margin-bottom: 15px;
   }
   
   .book-synopsis h5 {
       font-size: 1rem;
       margin-bottom: 8px;
   }
   
   .additional-publications {
       padding: 15px;
       margin-top: 18px;
   }
   
   .additional-publications p {
       font-size: 0.9rem;
       margin-bottom: 8px;
   }
   
   .publications-note {
       font-size: 0.8rem;
   }
   
   .cv-link-section {
       margin-top: 25px;
   }
   
   .cv-link-card {
       padding: 18px 14px;
   }
   
   .cv-link-icon {
       width: 50px;
       height: 50px;
       font-size: 1.8rem;
       margin-bottom: 10px;
   }
   
   .cv-link-content h3 {
       font-size: 1.2rem;
       margin-bottom: 8px;
   }
   
   .cv-link-content p {
       font-size: 0.9rem;
       margin-bottom: 15px;
       line-height: 1.4;
   }
   
   .cv-link-button {
       padding: 8px 18px;
       font-size: 0.9rem;
       border-radius: 20px;
   }
}