/* General styling */
body {
    font-family: Arial, sans-serif;
    
    color: #333; /* Elegant text color */
    margin: 0;
    padding: 0;
    background-image: url('main.jpeg'); /* Replace with your image URL */
    background-size: cover; /* Ensures the image covers the full background */
    background-position: center center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents tiling */
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
    
}



h1, h3 {
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5); /* Creates a 3D shadow effect */
    font-size: 50px; /* Adjust size as needed */
    color: #333; /* Choose your preferred color */
    font-weight: bold;
  }
  
  

  





/* Hamburger menu styling */
.hamburger-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hamburger-menu div {
    width: 30px;
    height: 3px;
    background-color: #fcfafa; /* White bars */
    border-radius: 2px;
}

/* Dropdown menu - hidden by default */
.dropdown {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background: rgb(245, 116, 4);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.dropdown a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    background: #202020;
}

.dropdown a:hover {
    background: #06ea65;
    color: #ffffff;
}

/* Show dropdown menu when active */
.dropdown.show {
    display: block;
}
/*********************************************************************/


/**********************************************************************/





/* Full-page video background styling */
.parallax4 {
    position: relative;
    height: 100vh; /* Full viewport height */
    width: 100%;
    overflow: hidden;
    margin-bottom: 0; /* Removes any bottom margin */
    padding-bottom: 0; /* Ensures no extra spacing */
}

#parallaxVideo {
    position: fixed; /* Ensures the video stays fixed while scrolling */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: -1; /* Places the video behind the content */
    object-fit: cover; /* Ensures the video fills the viewport without distortion */
}

/* Gallery styling */
.book-gallery {
    position: relative;
    z-index: 1; /* Ensures content is above the video */
    margin-top: 0; /* Remove unnecessary space at the top of the gallery */
    padding-top: 10px; /* Adjust the padding to create smooth spacing */
    margin-bottom: 0;
}

.book-section {
    text-align: center;
    color: white;
    padding: 50px;
}

/* Parallax effect for each book section */
.parallax1, .parallax2, .parallax3, .parallax4 {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 600px; /* Adjust height as needed */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px; /* Optional rounded corners */
    margin-bottom: 0;
}

.parallax1 {
    background-image: url("bk1.jpg"); /* Background for Book 1 */
    margin-bottom: 0;
    
}

.parallax2 {
    background-image: url("bk2.jpg"); /* Background for Book 2 */
    background-color: rgba(0, 0, 0, 0.5); /* Transparent green */
    min-height: 100px; /* Adjusted height */
    background-size: 100px;
    background-blend-mode: overlay; /* Ensures the background color and image blend */
margin-bottom: 0;
}


.parallax3 {
    background-image: url("bk3.jpg"); /* Background for Book 3 */
    margin-bottom: 0; /* Avoids excessive spacing from Book 3 */
    padding-bottom: 0;
    
}

.book-section img {
    width: 300px; /* Set width */
    height: 400px; /* Set height */
    object-fit: cover;
    border-radius: 10px; /* Optional rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Adds a shadow for polished look */
}

.book-section h2 {
    color: #ff6200; /* Bright orange for titles */
    margin-bottom: 0;
}


.book-section {
    align-items: center;
    gap: 10px; /* Spacing between the book and the button */
    text-align: center;
}




/* Help Section Styling */
.help-section {
    padding: 40px;
    background: linear-gradient(to bottom, #ffffff, #04d77f97); /* Light gradient background */
    text-align: center;
    color: #333;
}

.help-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
    font-weight: bold;
    color: #ff6200; /* Bright orange for emphasis */
}

/* Row layout for items */
.help-options {
    display: flex;
    justify-content: center;
    gap: 30px; /* Spacing between items */
    flex-wrap: wrap; /* Makes items responsive */
}

.help-item {
    flex: 1; /* Makes each item take equal space */
    max-width: 300px; /* Limits item width */
    padding: 20px;
    background-color: #000000;
    border: 1px solid #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.help-item img {
    width: 80px; /* Icon size */
    height: 80px;
    margin-bottom: 10px;
}

.help-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.help-item p {
    font-size: 16px;
    color: #666;
}

/* Book Now Button */
.book-now {
    margin-top: 20px;
}

.book-now-button {
    background-color: #ff6200; /* Orange button */
    color: #ffffff; /* White text */
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.book-now-button:hover {
    background-color: #02bb6e; /* Darker orange on hover */
}















.buy-now {
    background-color: #ff6200; /* Button background color */
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 0;
}

/* Responsive styling */
@media (max-width: 768px) {
    .book-gallery {
        flex-direction: column; /* Stack sections vertically */
    }

    .book-section img {
        width: 90%; /* Adjust image width for smaller screens */
        height: auto;
    }
}

h1 {
    font-size: 40px;
    font-family: fantasy;
    text-align: center;
    color: whitesmoke;
    margin-bottom: 20px; /* Reduce the space below the Welcome header */
}

h3 {
    font-size: 20px;
    text-align: center;
    font-family: fantasy;
    color: #fcfafa;
    margin-top: 10px; /* Reduce the space above the subheading */
    margin-bottom: 20px; /* Reduce the space below the subheading */
}


.book-text {
    display: none; /* Initially hidden */
    background: rgba(0, 0, 0, 0.8); /* Optional dark overlay for emphasis */
    color: #ffffff; /* White text for readability */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Slight shadow for aesthetics */
    margin-top: 20px; /* Spacing from the book image */
}





.book:hover .cover {
    transform: rotateY(-80deg);
}



/* Book container */
.book {
    position: relative;
    width: 260px;
    height: 350px;
    perspective: 1000px; /* Enables the 3D effect */
    margin: 20px; /* Adds spacing between books */
    display: inline-block;
    margin-bottom: 0;
}

/* Book cover styling */
.cover {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* Prevents the back from being visible */
    transform-origin: left; /* Makes the cover rotate from the left side */
    transform: rotateY(0deg); /* Default state */
    transition: transform 0.5s ease-in-out; /* Smooth transition */
}

/* Book content styling */
.content {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* Prevents the back from being visible */
    transform: rotateY(180deg); /* Positioned behind the cover */
    background: rgba(0, 0, 0, 0.8); /* Optional overlay */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 10px; /* Matches the cover's radius */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    padding: 10px;
    transition: transform 0.5s ease-in-out; /* Smooth transition */
}

/* Flip the book on hover */
.book:hover .cover {
    transform: rotateY(-180deg); /* Flips the cover away */
}

.book:hover .content {
    transform: rotateY(0deg); /* Brings the content into view */
}



.help-section img{
    text-align: center;
    width: 300px;
    height: 300px;
    
}


footer{
    background-color: #04d77f97;
    text-align: center;
}


.about-section {
    background-color: #f07306;
    text-align: center;
    padding: 40px 20px;
    font-size: 20px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  }
  
  .profile-img {
    width: 400px;
    height: 400px;
    border-radius: 50%; /* Optional: make it circular */
    margin-bottom: 20px;
  }
  
/***********************CONTACT INFO*******************************/

  .contact {
    text-align: center;
    padding: 30px 30px;
    background-color: #0a0000;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    margin-top: 40px;
  }
  
  .contact h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .icon {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 30px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    transition: 0.3s ease;
    font-weight: 500;
  }
  
  .icon:hover {
    background-color: #ff6600;
    color: #fff;
  }
  
  @media screen and (max-width: 768px) {
    h1 {
      font-size: 2rem;
      padding: 10px;
      text-align: center;
    }
  
    h3 {
      font-size: 1.2rem;
      padding: 0 10px;
      text-align: center;
    }
  
    .book-gallery {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 10px;
    }
  
    .book-section {
      width: 100%;
      padding: 20px 10px;
    }
  
    .book {
      width: 90% !important;
      height: auto;
    }
  
    .cover, .content {
      width: 100% !important;
      height: auto !important;
    }
  
    .book-section img {
      width: 90%;
      height: auto;
    }
  
    .profile-img {
      width: 80%;
      height: auto;
    }
  
    .help-options {
      flex-direction: column;
      align-items: center;
    }
  
    .help-item {
      width: 90%;
      margin-bottom: 20px;
    }
  
    .book-now-button {
      width: 90%;
      font-size: 1rem;
    }
  
    .social-icons {
      flex-direction: column;
      align-items: center;
      gap: 10px;
    }
  
    .hamburger-menu {
      top: 10px;
      right: 10px;
    }
  
    .dropdown {
      width: 90%;
      right: 5%;
    }
  }
  