@font-face {
    font-family: 'Bilgie';
    src: url('bilgie-personal-use-only/Bilgie Personal Use Only.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background-color: #F5F1E8;
    color: #000000;
    line-height: 1.6;
}

p {
    font-family: 'Lora', serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.8;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 20px;
}

header {
    text-align: center;
    margin-bottom: 50px;
}

.author-name {
    font-size: 40px;
    font-weight: 400;
    color: #000000;
    letter-spacing: 2px;
    font-family: 'Bilgie', serif;
}

.content-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.left-section {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.book-image-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(13, 13, 13, 0.1);
}

.book-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.right-section {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.title-section {
    margin-bottom: 40px;
}

.main-title {
    margin-bottom: 15px;
    line-height: 1.2;
}

.title-part1 {
    font-size: 75px;
    font-weight: 400;
    color: #0D0D0D;
    display: block;
    font-family: 'Bilgie', serif;
}

.title-part2 {
    font-size: 75px;
    font-weight: 400;
    color: #C9A84C;
    display: block;
    font-family: 'Bilgie', serif;
    margin-top: 5px;
}

.english-subtitle {
    font-size: 18px;
    color: #000000;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: normal;
    margin-top: 10px;
    display: inline-block;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 0;
    width: fit-content;
}

.english-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #C9A84C;
    display: block;
}

.description-section {
    margin-bottom: 50px;
}

.french-description,
.english-description {
    color: #000000;
    line-height: 1.8;
    margin-bottom: 20px;
}

.buttons-section {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    text-decoration: none;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid #000000;
    background-color: #F5F1E8;
    color: #000000;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #15253E;
    transition: left 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn-french {
    /* same base style as .btn, reserved for future variations if needed */
}

.btn-french:hover {
    color: #FFFFFF;
    border-color: #15253E;
}

.btn-english {
    /* same base style as .btn, reserved for future variations if needed */
}

.btn-english:hover {
    color: #FFFFFF;
    border-color: #15253E;
}

.download-icon {
    width: 16px;
    height: 16px;
}

.quote-banner {
    background-color: #15253E;
    padding: 60px 40px;
    margin-top: 60px;
    width: 100%;
    box-sizing: border-box;
}

.quote-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.main-quote {
    font-size: 50px;
    font-family: 'Bilgie', serif;   
    color: #F5F1E8;
    line-height: 1.6;
    margin: 0 0 40px 0;
    font-weight: normal;
    font-style: normal;
    quotes: '"' '"';
}

.main-quote::before {
    content: open-quote;
}

.main-quote::after {
    content: close-quote;
}

.quote-description {
    color: #F5F1E8;
    line-height: 1.8;
    margin: 0;
}

.book-covers-section {
    background-color: #F5F1E8;
    padding: 80px 20px;
    width: 100%;
    box-sizing: border-box;
}

.covers-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.version-label {
    font-size: 18px;
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #C9A84C;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.covers-title {
    font-size: 50px;
    font-family: 'Bilgie', serif;
    color: #0D0D0D;
    margin-bottom: 50px;
    font-weight: 400;
}

.covers-wrapper {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.cover-container {
    flex: 0 1 auto;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(13, 13, 13, 0.15);
    border-radius: 4px;
    overflow: hidden;
}

.cover-image {
    width: 100%;
    height: auto;
    display: block;
}

.pdf-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background-color: #F5F1E8;
    color: #000000;
    border: 1px solid #000000;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    font-weight: 500;
    margin-top: 50px;
    box-shadow: 0 2px 8px rgba(13, 13, 13, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.pdf-download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #15253E;
    transition: left 0.4s ease;
    z-index: -1;
}

.pdf-download-btn:hover::before {
    left: 0;
}

.pdf-download-btn:hover {
    box-shadow: 0 4px 12px rgba(13, 13, 13, 0.2);
    border-color: #15253E;
    color: #FFFFFF;
}

.pdf-download-icon {
    width: 20px;
    height: 20px;
    color: inherit;
}

.pdf-download-btn-dark {
    /* same base style as .pdf-download-btn, reserved for future variations if needed */
}

.pdf-download-btn-dark::before {
    /* inherits background from .pdf-download-btn::before */
}

.pdf-download-btn-dark:hover {
    /* same hover behavior as .pdf-download-btn */
}

.pdf-download-btn-dark .pdf-download-icon {
    /* icon color follows button text color */
}

@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .left-section,
    .right-section {
        max-width: 100%;
    }
    
    .title-part1 {
        font-size: 50px;
        font-family: 'Bilgie', serif;
        font-weight: 400;
    }
    
    .title-part2 {
        font-size: 50px;
        font-family: 'Bilgie', serif;
        font-weight: 400;
    }
    
    .buttons-section {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        font-size: 12px;
    }
    
    .quote-banner {
        padding: 40px 20px;
        margin-top: 40px;
    }
    
    .main-quote {
        font-size: 24px;
    }
    
    .quote-description {
        font-size: 16px;
    }
    
    .book-covers-section {
        padding: 60px 20px;
    }
    
    .covers-title {
        font-size: 40px;
        font-family: 'Bilgie', serif;
        font-weight: 400;
        margin-bottom: 40px;
    }
    
    .covers-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .cover-container {
        max-width: 100%;
        width: 100%;
    }
    
    .pdf-download-btn {
        margin-top: 40px;
        padding: 14px 24px;
        font-size: 12px;
    }
}

.english-version-section {
    background-color: #F5F1E8;
    padding: 80px 20px;
    width: 100%;
    box-sizing: border-box;
}

.site-footer {
    background-color: #FFF3E9;
    padding: 60px 20px 40px;
    width: 100%;
    box-sizing: border-box;
    border-top: 1px solid rgba(201, 168, 76, 0.4);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-top {
    margin-bottom: 30px;
}

.footer-title {
    font-size: 50px;
    font-family: 'Bilgie', serif;
    color: #0D0D0D;
    margin-bottom: 10px;
    font-weight: 400;
}

.footer-subtitle {
    color: #666666;
    max-width: 480px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.footer-download-btn {
    margin-top: 0;
}

.footer-share {
    margin-top: 35px;
}

.share-label {
    font-size: 12px;
    font-family: 'Arial', sans-serif;
    letter-spacing: 1px;
    color: #666666;
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 35px;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1;
}

.share-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(201, 168, 76, 0.3);
    transition: left 0.4s ease;
    z-index: -1;
    border-radius: 50%;
}

.share-btn:hover::before {
    left: 0;
}

.share-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.footer-bottom {
    border-top: 1px solid rgba(201, 168, 76, 0.3);
    padding-top: 15px;
}

.footer-copy {
    font-size: 13px;
    font-family: 'Arial', sans-serif;
    color: #666666;
}

.footer-link {
    color: #C9A84C;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.english-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.english-version-label {
    font-size: 18px;
    font-family: 'Arial', sans-serif;
    color: #C9A84C;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.english-version-title {
    font-size: 50px;
    font-family: 'Bilgie', serif;
    color: #0D0D0D;
    margin-bottom: 50px;
    font-weight: 400;
}

.english-covers-wrapper {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.english-front-cover {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    position: relative;
}

.english-back-cover {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background-color: #15253E;
    padding: 40px;
    border-radius: 4px;
    position: relative;
    box-shadow: 0 4px 20px rgba(13, 13, 13, 0.15);
}

.cover-label {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 12px;
    font-family: 'Arial', sans-serif;
    color: #FFFFFF;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 5px 10px;
    border-radius: 3px;
    z-index: 10;
}

.english-back-cover .cover-label {
    background-color: rgba(255, 255, 255, 0.1);
}

.front-cover-image-container {
    position: relative;
    box-shadow: 0 4px 20px rgba(13, 13, 13, 0.15);
    border-radius: 4px;
    overflow: hidden;
}

.front-cover-image {
    width: 100%;
    height: auto;
    display: block;
}

.back-cover-content {
    text-align: left;
}

.author-photo-container {
    text-align: center;
    margin-bottom: 30px;
}

.author-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    display: block;
}

.about-author-title {
    font-size: 24px;
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #C9A84C;
    text-align: center;
    margin-bottom: 25px;
    font-weight: normal;
}

.author-bio {
    color: #F5F1E8;
    line-height: 1.8;
    text-align: left;
}

.author-bio p {
    margin-bottom: 20px;
}

.author-bio p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .english-version-section {
        padding: 60px 20px;
    }
    
    .english-version-title {
        font-size: 40px;
        font-family: 'Bilgie', serif;
        font-weight: 400;
        margin-bottom: 40px;
    }
    
    .english-covers-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .english-front-cover,
    .english-back-cover {
        max-width: 100%;
        width: 100%;
    }
    
    .english-back-cover {
        padding: 30px 20px;
    }
}
