@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Manrope:wght@200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Manrope:wght@200..800&display=swap');

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


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Highlights Section */
.highlights {
    padding: 40px 0;
}

.highlights-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.highlights-title {
    margin-top: 20px;
    font-size: 28px;
    font-family: "Fraunces", serif;
    font-weight: 300;
}


.hear-icon {
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    margin-top: -135%;
    margin-left: 73%;
    display: none;
}

.hear-icon:hover{
    background-color: #027A36;
    color: white;
}

.hear-icon i {
    margin-left: 25%;
    margin-top: 25%;
    font-size: 15px;
    text-align: center;
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}

.book-card {
    position: relative;
    text-decoration: none;
    color: inherit;
    margin-bottom: 30px;
    border-radius: 8px;
    padding: 10px;
    padding-bottom: 50px;
    transition: box-shadow 0.3s ease; 
}

.book-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition-duration: 1.1s;
    padding-bottom: 60px;
}

.book-image {
    width: 100%;
    height: 280px;
    background: #f0f0f0;
    margin-bottom: 10px;
    border-radius: 8px;
}

.book-title {
    font-family: "Fraunces", serif;
    font-size: 1rem;
    text-align: center;
    overflow: hidden;
    line-height: 26px;
    font-weight: 300;
    margin-bottom: 5px;
}

.book-author {
    color: #027A36;
    font-weight: bold;
    text-align: center;
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    margin-bottom: 5px;
}
.book-release-date{
    text-align: center;

}

.book-image {  
    width: 100%;  
    height: 280px;  
    background: #f0f0f0;  
    border-radius: 8px;  
    position: relative;  
}  

.read-book {
    display: none;
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 20px;
    background-color: #027A36;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-family: "Manrope", sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.book-card:hover .read-book,
.book-card:hover .hear-icon{
    display: block;
    transition: all .5s ease;
}

.read-book:hover {
    background-color: #404040; 
}

/* Best Collection Section */
.best-collection {
    border-radius: 10px;
    overflow: hidden;
    padding: 60px 0;
    width: 90%;
    min-height: 400px;
    background-image: url("../imgs/best\ collection/h1-banner01-1.jpg");
    background-size: cover;
    background-position: center;
    text-align: center;
    position: relative;
    margin-left: 5%;
  }
  
  .element-img {
    position: absolute;
    transform: rotate(-45deg);
    width: 100%;
    max-width: 900px;
    height: auto;
    border: none;
    border-radius: 0;
    box-shadow: none;
    margin-top: -13%;
    margin-left: -25%;
    transition: transform 1s ease,scale 1s ease; 
}

.best-collection:hover .element-img {
    transform:  rotate(-32deg);
    scale: 1.1;
}

.collection-title {
    float: left;
    margin-top: 22px;
    margin-left: 2%;
    color: #f6fa36;
    font-weight: 700;
    font-size: 14px;
    line-height: 26px;
    font-weight: 600;
    font-family: "Manrope", sans-serif;
}


.collection-sentence {
    float: left;
    text-align: left;
    font-size: 44px;
    margin-top: 5%;
    margin-left: -9%;
    font-family: "Fraunces", serif;
    color: white;
}

.collection-sentence span {
    display: block;
}

.collection-subtitle {
    float: left;
    margin-top: 15%;
    margin-left: -26.9%;
    color: white;
    font-weight: 400;
    font-size: 16px;
    font-family: "Manrope", sans-serif;
}

.discover-btn {
    float: left;
    margin-top: 18%;
    overflow: hidden;
    margin-left: -26.9%;
    background-color: #fff;
    border-color: #fff;
    padding: 13px 30px;
    border: none;
    border: 1px solid transparent;
    border-radius: 25px;
    text-decoration: none;
    color: black;
    font-size: 14px;
    white-space: nowrap;
    font-weight: 700;
    transition: all 1s ease;
    font-family: "Manrope", sans-serif;
}

.discover-btn:hover{
    background-color: #027a36;
    color: white;
}

