@font-face {
  font-family: 'font1';
  src: url('../assets/font1.ttf') format('truetype');
}
@font-face {
  font-family: 'font2';
  src: url('../assets/font2.otf') format('truetype');
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

/* Logo */
.site-header .logo {
  max-width: 70px;
  margin-left: 20px; /* Push logo to the right */
  margin-top: 10px;  /* Push logo down */
}

.site-header .logo img {
  width: 100%;
  height: auto;
  display: block;
}

.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 80px;           
  z-index: 100;
  background: transparent;
}


.site-nav {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(70, 70, 70, 0.6);  
  border-radius: 999px;
  padding: 16px 24px;
  display: flex;
  gap: 32px;
}

.site-nav a {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.site-nav a:hover {
  opacity: 0.8;
}

.btn-header {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(70, 70, 70, 0.6);         
  color: #ffffff;
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.btn-header:hover {
  opacity: 0.8;
}

.hero-text {
  position: relative;
  z-index: 2;                   
  width: 100%;
  text-align: center;
  top: 50%;                     
  transform: translateY(-50%);  
  color: #fffafa;
}
.hero-title {
  overflow: hidden;
  border-right: 1px solid #f6f3f3;  /* cursor */
  box-sizing: border-box;
  text-transform: uppercase;
  font-size: 40px;
  font-family: 'font1';
  word-break: break-word;
}

/* only while “typing” */
.hero-title.typing {
  animation: blinkCursor 0.75s step-end infinite;
}

@keyframes blinkCursor {
  0%, 100% { border-color: transparent; }
  50%      { border-color: #dddddd;        }
}



.hero-subtitle {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  opacity: 0.6;               
  max-width: 800px;           
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
  text-align: center;
}


.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 0; 
}


.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1; 
}


.hero-text {
  position: relative;
  z-index: 2;
}

.hamburger {
  display: none;
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 200;
}
.hamburger-bar {
  display: block;
  width: 24px;
  height: 3px;
  margin: 4px 0;
  background: #ffffff;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .site-nav,
  .btn-header {
    display: none;
  }
  .hamburger {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #b3b3b3;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  gap: 1.5rem;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  z-index: 150;
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu-close {
  position: absolute;
  top: 24px;               
  right: 55px;             
  background: transparent;
  border: none;
  color: #000000;
  font-size: 2rem;         
  font-weight: 500;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  z-index: 200;
}


.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 80px;   
}
.mobile-nav a {
  color: #000000;
  text-decoration: none;
  font-size: 1.125rem;    
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
}

.mobile-copy {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;               
  margin: 1px; 
  padding: 0;
  background: transparent;
  border: none;
  color: #000000;
  font-size: 1.125rem;    
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}


.mobile-copy .copy-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
}




.mobile-buy {
  display: block;
  width: 80%;
  max-width: 300px;
  margin: 16px auto;
  padding: 12px 0;
  background: rgb(18, 17, 15);
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  border: none;
  border-radius: 999px;
  cursor: pointer;
}
.hero-footer-icons {
  position: absolute;
  bottom: 32px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
}


.hero-footer-icons .icon,
.hero-footer-icons button,
.hero-footer-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: #ffffff;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}


.copy-btn {
  gap: 8px;
  font-size: 0.875rem; 
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.copy-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}
.copy-btn span {
  margin-left: 8px;
}


.social-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;   
  stroke: currentColor; 
}



.modal {
  display: none;               
  position: fixed;
  inset: 0;                   
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal.active {
  display: flex;
}


.modal-window {
  position: relative;
  background: rgba(18,18,18,0.9);
  border-radius: 12px;
  padding: 24px;
  max-width: 320px;
  width: 90%;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}


.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}


#about-modal .modal-window {
  background:
    rgba(0,0,0,0.6)
    url('../assets/about.jpg')
    center/cover no-repeat;
  background-blend-mode: darken;
}


.about-logo {
  max-width: 80px;
  height: auto;
  display: block;
  margin: 0 auto 16px;
}
.about-text {
  color: black;
  text-shadow: 0 0 4px rgba(0,0,0,0.8);
  line-height: 1.4;
  font-size: 20px;
}

.flipbook {
  width: 300px;
  height: 600px;
}

.flipbook .hard {
  /* background: transparent !important; */
  color: #fff;
  font-weight: bold;
  border: none; 
}

.flipbook .hard small{
font-style: italic;
font-weight: lighter;
opacity: 0.7;
font-size: 14px;
}

.flipbook .page {
  /* background: white; */
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
  gap: 10px;
  border: 1px solid rgba(0, 0, 0, 0.11);
}

.page img{
width: 30%;
object-fit: cover;
/* margin: auto; */
}

.flipbook .page small{
font-size: 14px;
  margin-bottom: 10px;
}
.bookcover{
  background-image: url(../assets/cover.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}.backcover{
  background-image: url(../assets/back.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.bookpage{
  background-image: url(../assets/pagesbg.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.flipbook .page {
  /* padding: 30px; */
  font-family: 'Georgia', serif;
  font-size: 17px;
  line-height: 1.6;
  color: #333;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
  height: 100%;
  box-sizing: border-box;
  position: relative;
}

.flipbook .page img {
  height: auto;
  display: block;
  /* margin-bottom: 15px; */
  border-radius: 5px;
}
.flipbook .page h3 {

  font-family: 'font1';
  font-size: 30px;
  margin-top: initial;
  margin-bottom: 40px;  
}

.flipbook .page p {
  text-align: justify;
  max-width: 90%;
  font-family: 'font2';
  margin-top: -11px;
}

/* Styles for mobile devices (max-width: 768px) */
@media (max-width: 768px) {
  .mobile-button {
    display: inline-block;
    position: relative;
    overflow: hidden; /* Clips the pseudo-element to the button's shape */
    padding: 10px 20px;
    color: rgb(0, 0, 0); /* Ensures text readability */
    text-decoration: none;
    border: 2px solid;
    border-radius: 5px; /* Optional: for rounded corners */
    animation: border-pulse 2s ease-in-out infinite; /* Border animation */
    margin-top: 10px;
    cursor: pointer;
  }

  /* Pseudo-element for the background */
  .mobile-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #d9d4c1; /* Blue background; adjust as needed */
    animation: bg-blink 2s ease-in-out infinite; /* Background opacity animation */
    z-index: -1; /* Places it behind the text */
    border-radius: 5px; /* Matches the button’s border-radius */
  }
}

/* Hide the button on larger screens */
@media (min-width: 769px) {
  .mobile-button {
    display: none;
  }
}

/* Animation for background opacity */
@keyframes bg-blink {
  0%,50% {
    opacity: 1; /* Fully opaque */
  }
  50% {
    opacity: 0.7; /* Slightly transparent; adjust as desired */
  }
}

/* Animation for border color */
@keyframes border-pulse {
  0%, 100% {
    border-color: rgb(23, 22, 22); /* Starting/ending color */
  }
  50% {
    border-color: rgb(207, 205, 204); /* Midpoint color */
  }
}

.gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.gallery-modal.active {
  display: flex;
}

.gallery-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 2rem;
  background: none;
  color: white;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.gallery-container {
  width: 90vw;
  max-width: 1200px;
  height: auto; /* Let it grow based on content */
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.swiper-button-next,
.swiper-button-prev {
  color: white !important;
}

.swiper-pagination-bullet {
  background: white;
}
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.slide-content img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 60vh; /* Prevent image from being too tall */
}

.slide-content p {
  margin-top: 1rem;
  font-size: 1.3rem;
  color: white;
  max-width: 90%;
  word-break: break-word;
  line-height: 1.5;
}
