/* Base Styles */
body {
  background-color: black;
}

/* Typography */
.h1-text,
.modal-title {
  font-family: 'Libre Baskerville', serif;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0%;
  text-transform: uppercase;
  margin-bottom: 10px;
  background: linear-gradient(345.85deg, #856220 -0.58%, #F4E683 36.42%, #BF923D 66.51%, #F1EA82 102.1%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.h1-text {
  font-size: 42px;
}

.modal-title {
  font-size: 28px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255, 236, 179, 0.15);
}

.p-text {
  font-family: 'Libre Baskerville', serif;
  font-weight: 400;
  font-size: 14px;
  opacity: 1;
  line-height: 30px;
  letter-spacing: 0%;
  color: #A39F84;
}

.p-nav {
  font-family: 'Libre Baskerville', serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  text-transform: uppercase;
}

/* Layout Utilities */
.vh-50 {
  min-height: 90vh;
}

.vw-50 {
  width: 50vw;
}

.w-70 {
  width: 70%;
}

/* Navigation */
.nav {
  padding: 25px 35px;
  z-index: 1000;
}

.button-nav {
  width: 200px !important;
  height: 38px !important;
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  font-size: 11.8px !important;
  line-height: 22.13px !important;
  letter-spacing: 0% !important;
  text-transform: uppercase;
}

/* Buttons */
.button {
  width: 240px;
  height: 52px;
  border-radius: 33px;
  border: 2px solid #FFFFFF2E;
  padding: 8px;
  color: #260800CC;
  background: linear-gradient(345.85deg, #856220 7.6%, #DAA44C 48.59%, #FFFEF7 102.1%),
    radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 100%);
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 30px;
  letter-spacing: 0%;
  text-transform: uppercase;
}

/* Images & Backgrounds */
.cover-image-header {
  position: relative;
  height: 763px;
  width: 40vw;
  background-image: url('./bookcoverheader.webp');
  background-repeat: no-repeat;
  background-position: center;
}

header {
  background-image: url('./header.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 8px;
}

.section-1 {
  background-image: url('./image.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 8em;
}

.section-2 {
  background-image: url('./temple.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 8em;
}

/* Responsive Utilities */
.hide-mobile {
  display: block;
}

@media (min-width: 769px) {
  .hide-desktop {
    display: none;
  }
}

/* Modal Styles */
.modal-content {
  background-image: url('./modalbg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 0 30px rgba(255, 228, 147, 0.12);
  max-width: 450px;
  padding: 3rem 2rem;
  color: #e8e0c0;
  text-align: center;
  border-radius: 8px;
}

.modal-body p {
  color: #d3c9a4;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.modal .button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 1rem;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 6px;
  font-family: 'Libre Baskerville', serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #dcbf75;
  box-shadow: inset 0 0 0 transparent;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
}

.modal .button:hover {
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 8px rgba(255, 236, 179, 0.15);
  transform: translateY(-1px);
}

.modal .btn-outline-light {
  padding: 10px 14px;
  font-size: 14px;
  text-transform: uppercase;
  opacity: 0.6;
}

/* Footer Styles */
.footer {
  background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.7));
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding: 3rem 2rem 2rem;
  width: 100%;
  z-index: 10;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-description {
  font-size: 0.95rem;
  color: #999;
  line-height: 1.5;
  margin-bottom: 2rem;
  max-width: 400px;
}

.footer-section h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #d4af37;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  color: #d4af37;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.social-links a:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: #d4af37;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding-top: 2rem;
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  font-size: 0.85rem;
  color: #666;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  font-size: 0.85rem;
  color: #999;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #d4af37;
}

/* Mobile Responsive Styles */
@media (max-width: 1080px) {
  .nav {
    display: none !important;
  }
}

@media (max-width: 860px) {
  .hide-desktop {
    display: block;
  }
  
  .hide-mobile {
    display: none;
  }

  .nav {
    display: none !important;
  }

  .h1-text {
    font-size: 28px;
    text-align: center;
  }

  .p-text {
    font-size: 16px;
    line-height: 24px;
    text-align: center !important;
    
  }

  .header-paragraph {
    display: none !important;
  }

  .vw-50 {
    width: 90vw;
    text-align: center;
    align-items: center !important;
  }

  .cover-image-header {
    width: 50vw;
    margin: 20px auto 15px auto;
    background-image: url('./book-mobile.webp');
    height: 500px;
    background-size: cover;
    background-position: center;
  }

  header {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .section-1, .section-2 {
    padding: 2em 1em;
    text-align: center;
  }

  .section-1 > div, .section-2 > div {
    width: 90vw;
    text-align: center;
    align-items: center !important;
  }

  .button {
    width: 200px;
    height: 48px;
    font-size: 14px;
  }

  .w-70 {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 530px) {
  .cover-image-header {
    width: 80vw;
  }
}

@media (max-width: 450px) {
  .cover-image-header {
    width: 90vw;
    height: 300px;
    background-size: contain;
  }

  .h1-text {
    font-size: 25px;
    text-align: center;
  }
}