* {
    margin: 0;
    font-family: 'Poppins', sans-serif;
}
.hero-slideshow {
    height: 100vh;
    overflow: hidden;
}
nav {
    width: 100%;
    position: fixed;
    padding: 20px 2%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}
nav a {
    text-decoration: none;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
}
nav .highlight {
    color: #FFD700;
    font-size: 1.2em;
}
nav .subheading {
     color: #fff;
    margin-top: 5px;
    text-align: center;
}
nav ul li {
    display: inline-block;
    margin-right: 50px;
}
nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 17px;
}
.slideshow {
    display: flex;
    transition: transform 2s ease-in-out;
    animation: slideAnimation 15s infinite;
}
.slide {
    min-width: 100%;
    height: 100%;
    transition: transform 2s ease-in-out;
    filter: brightness(50%);
}
.slide img {
    width: 100%;
    height: 100%;
}
.slideshow-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    padding: 20px;
}
.slideshow-overlay h1 {
    font-size: 100px;
    font-weight: 600;
}
.slideshow-overlay a {
    text-decoration: none;
    display: inline-block;
    color: #fff;
    font-size: 24px;
    border: 2px solid #fff;
    padding: 14px 70px;
    border-radius: 50px;
    margin-top: 20px;
}
@keyframes slideAnimation {
    0% { transform: translateX(0); }
    25% { transform: translateX(0); }
    33% { transform: translateX(-100%); }
    58% { transform: translateX(-100%); }
    66% { transform: translateX(-200%); }
    91% { transform: translateX(-200%); }
    100% { transform: translateX(0); }
}
.arrow-container {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 1000;
    cursor: pointer;
}
.arrow {
    width: 20px;
    height: 20px;
    border-left: 4px solid #fff;
    border-bottom: 4px solid #fff;
    transform: rotate(45deg);
    transition: transform 0.3s ease-in-out;
}
.arrow-container:hover .arrow {
    transform: rotate(45deg) translateX(5px);
}
.login-form-container {
    position: fixed;
    top: 50%;
    right: -300px;
    width: 250px;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    transition: right 0.3s ease-in-out;
    z-index: 999;
    transform: translateY(-50%);
}
.arrow-container:hover ~ .login-form-container,
.login-form-container:hover {
    right: 20px;
}
.login-form h2 {
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
}
.login-form input {
    width: 92%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
    background: #f0f0f0;
}
.login-form button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: #FFD700;
    color: #000;
    cursor: pointer;
}
.login-form button:hover {
    background: #ffd900d8;
}
.highlightform {
    color: #FFD700;
    font-size: 1.1em;
    text-shadow: 2px 2px 4px #000;
}
.left-arrow-container {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    z-index: 1000;
    cursor: pointer;
}
.left-arrow {
    width: 20px;
    height: 20px;
    border-right: 4px solid #fff;
    border-top: 4px solid #fff;
    transform: rotate(50deg);
    transition: transform 0.3s ease-in-out;
}
.left-arrow-container:hover .left-arrow {
    transform: rotate(50deg) translateX(-5px);
}
.join-us-form-container {
    position: fixed;
    top: 50%;
    left: -300px;
    width: 250px;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    transition: left 0.3s ease-in-out;
    z-index: 999;
    transform: translateY(-50%);
}
.left-arrow-container:hover ~ .join-us-form-container,
.join-us-form-container:hover {
    left: 20px;
}
.join-us-form h2 {
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
}
.join-us-form input {
    width: 92%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
    background: #f0f0f0;
}
.join-us-form button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: #FFD700;
    color: #000;
    cursor: pointer;
}
.join-us-form button:hover {
    background: #ffd900d8;
}
.store {
    padding: 120px 2%;
    text-align: center;
}
.store h1{
    color: #fff;
}
.transparent-nav {
    background-color: rgba(156, 148, 148, 0.24); /* Light transparent background */
}
.transparent-nav .highlight {
    color: #FFD700; /* Keep the highlight color consistent */
}
.container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;   
}
.book-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    width: 250px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}
.book-card img {
    width: 55%;
    height: 202px;
    margin: 15px;
}
.book-info {
    padding: 15px;
    text-align: center;
}
.book-info h3 {
    margin-bottom: 10px;
    color: #333;
}
.book-info p {
    color: #333;
}
.card-buttons {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 80%;
    z-index: 10; /* Ensure buttons are on top */
    opacity: 0;
    transition: opacity 0.3s;
}
.book-card:hover .card-buttons {
    opacity: 1; /* Show buttons on hover */
}
.btn {
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.buy-now {
    background-color: #FFD700;
    color: #333;
}
.add-to-cart {
    background-color: #333;
    color: #fff;
}
.buy-now:hover,
.add-to-cart:hover {
    opacity: 0.8;
}
.writers-section {
    padding: 20px;
    text-align: center;
}
.writers-container {
    display: flex; 
    gap: 20px;
}
.writer-card {
    position: relative;
    width: 250px;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.writer-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.writer-details {
    position: absolute;
    bottom: 0;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    text-align: left;
}
.writer-card:hover {
    transform: scale(1.05);
}
.writer-card:hover .writer-details {
    transform: translateY(0);
}
.about-us {
    padding: 50px;
    text-align: center;
}
.about-us h1 {
   color: white;
    margin-bottom: 20px;
}
.about-us p {
     font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}
.contactcontainer {
    max-width: 800px;
    margin: auto;
    background-color: #fff;
    padding: 30px;
}
.contact-us h1 {
    margin-bottom: 20px;
    color: #ffffff;
    text-align: center;
}
.contact-us p {
    margin-bottom: 30px;
    text-align: center;
}
.contact-form {
    margin-bottom: 30px;
}
.contact-form label {
     margin-bottom: 10px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.contact-form button {
    background-color:#FFD700;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
   
}
.contact-form button:hover {
    background-color: #ccb11b;
}
.contact-info h2 {
    margin-bottom: 20px;
    color: #333;
}
.contact-info p {
    color: #666;
    margin-bottom: 10px;
}