/* Base styles */
body {
  background: #f8fafc;
  color: #222;
  font-family: 'Lora', serif;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6, .font-bold, .font-extrabold {
  font-family: 'Cinzel Decorative', cursive, serif;
  letter-spacing: 0.5px;
}

.section-heading {
  font-size: 2rem;
  color: #1e3a8a;
  text-align: center;
  margin-bottom: 2.5rem;
  font-family: 'Cinzel Decorative', cursive, serif;
}

/* Header */
.main-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(30,30,60,0.08);
}
.header-no-shadow {
  box-shadow: none !important;
  border-bottom: none !important;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}
.site-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1e3a8a;
  text-decoration: none;
}
.nav-desktop {
  display: none;
}
.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  color: #1e3a8a;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}
.nav-list a:hover,
.jump-link.active {
  color: #1d4ed8;
  font-weight: bold;
  border-bottom: 2px solid #FFD700;
}
.menu-toggle {
  display: none;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(30,30,60,0.10);
  width: 48px;
  height: 48px;
  justify-content: center;
  align-items: center;
  transition: background 0.2s, box-shadow 0.2s;
  font-size: 2rem;
  color: #1e3a8a;
  border: none;
  outline: none;
}
.menu-toggle:hover, .menu-toggle:focus {
  background: #f3f4f6;
  box-shadow: 0 4px 16px rgba(30,30,60,0.16);
  color: #FFD700;
}
.mobile-menu {
  display: none;
  padding: 0 1.5rem 1rem 1.5rem;
}
.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 768px) {
  .nav-desktop { display: block; }
  .menu-toggle, .mobile-menu { display: none !important; }
}
@media (max-width: 900px) {
  .nav-desktop {
    display: none !important;
  }
  .menu-toggle {
    display: block !important;
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    z-index: 1100;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(30,30,60,0.10);
    width: 48px;
    height: 48px;
    justify-content: center;
    align-items: center;
    transition: background 0.2s, box-shadow 0.2s;
    font-size: 2rem;
    color: #1e3a8a;
  }
  .menu-toggle:hover, .menu-toggle:focus {
    background: #f3f4f6;
    box-shadow: 0 4px 16px rgba(30,30,60,0.16);
    color: #FFD700;
  }
  .mobile-menu {
    display: block !important;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    width: 100vw;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(30,30,60,0.18);
    border-radius: 0 0 1.5rem 1.5rem;
    padding: 1.5rem 0 1rem 0;
    animation: slideDown 0.3s cubic-bezier(.22,1,.36,1);
  }
  .mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }
  .mobile-nav-list li a {
    font-size: 1.2rem;
    color: #1e3a8a;
    text-decoration: none;
    font-family: 'Cinzel Decorative', serif;
    padding: 0.5rem 1.5rem;
    border-radius: 0.75rem;
    transition: background 0.18s, color 0.18s;
  }
  .mobile-nav-list li a:hover,
  .mobile-nav-list li a.active {
    background: #e09c5c;
    color: #fff;
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-16px);}
    to { opacity: 1; transform: translateY(0);}
  }
}
@media (min-width: 901px) {
  .nav-desktop {
    display: block !important;
  }
  .menu-toggle {
    display: none !important;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* Hero Section */
.hero-section {
  background: linear-gradient(to right, #1e3a8a, #4338ca);
  color: #fff;
  padding-top: 0;
  padding-bottom: 4rem;
  text-align: center;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-carousel {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
  z-index: 2;
}
/* Ensure SVG dividers are at the very top and bottom, above content */
.hero-section > svg {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 3;
  pointer-events: none;
}
.hero-section > svg:first-of-type {
  top: 0;
}
.hero-section > svg:last-of-type {
  bottom: 0;
}
.hero-heading {
  font-size: 1.65rem;
  line-height: 2rem;
  font-weight: 100;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(30,30,60,0.18);
}
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.btn-buy {
  background: #ffe066;
  color: #1e3a8a;
  box-shadow: 0 2px 8px rgba(30,30,60,0.10);
}
.btn-buy:hover {
  background: #ffd700;
}

/* Carousel Utility */
.hero-slide {
  display: none;
  flex-direction: column;
}
.hero-slide:first-child {
  display: flex;
}
.hidden {
  display: none !important;
}
#hero-carousel {
  position: relative;
}
#hero-carousel .hero-slide {
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s;
}
#hero-carousel .hero-slide:not(.hidden) {
  display: flex;
  opacity: 1;
  z-index: 2;
}
#hero-carousel .hero-slide.hidden {
  opacity: 0;
  z-index: 1;
}
#hero-prev, #hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.3);
  color: #1e3a8a;
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}
#hero-prev { left: 0; }
#hero-next { right: 0; }
#hero-dots {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  gap: 0.5rem;
}
#hero-dots button {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #fff;
  opacity: 0.4;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
#hero-dots button.opacity-70 {
  opacity: 0.7;
}
#hero-dots button.opacity-40 {
  opacity: 0.4;
}

/* About Section */
.about-section {
  background: #f3f4f6;
  min-height: 60vh;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  justify-content: center;
}
.about-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .about-container {
    flex-direction: row;
    gap: 2.5rem;
    align-items: flex-start;
  }
}
.author-img {
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(30,30,60,0.10);
  width: 16rem;
  height: 24rem;
  object-fit: cover;
  margin-bottom: 2rem;
}
.author-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}
.author-socials a {
  color: #1e3a8a;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 1rem;
  transition: color 0.2s;
}
.author-socials a:hover {
  color: #ffd700;
}

/* Gallery Section */
.gallery-section {
  background: #f3f4f6;
  min-height: 60vh;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.gallery-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* News Section */
.news-section {
  background: #fff;
  min-height: 60vh;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.news-container {
  max-width: 900px;
  margin: 0 auto;
}
.news-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.news-item {
  background: #f3f4f6;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(30,30,60,0.08);
  padding: 1.5rem;
}
.news-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.news-text {
  color: #444;
}

/* YouTube Video Grid for News Section */
.youtube-videos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}
.youtube-thumb {
  display: block;
  width: 240px;
  text-decoration: none;
  color: #1e3a8a;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(30,30,60,0.08);
  transition: box-shadow 0.2s;
  border: 2px solid #e09c5c;
}
.youtube-thumb:hover {
  box-shadow: 0 4px 16px rgba(30,30,60,0.16);
  border-color: #d17c2b;
}
.youtube-thumb img {
  width: 100%;
  display: block;
  border-bottom: 2px solid #e09c5c;
}
.youtube-title {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: 'Lora', serif;
  background: #e09c5c;
  color: #fff;
  font-weight: bold;
  border-radius: 0 0 1rem 1rem;
  text-align: center;
}
@media (max-width: 600px) {
  .youtube-thumb { width: 100%; }
}

/* Contact Section */
.contact-section {
  background: #fff;
  min-height: 60vh;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contact-container {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  justify-content: center;
}
.btn-contact {
  background: #1e3a8a;
  color: #fff;
  box-shadow: 0 2px 8px rgba(30,30,60,0.10);
  border: none;
}
.btn-contact:hover {
  background: #4338ca;
}

/* Footer */
.footer {
  background: #1e3a8a;
  color: #fff;
  padding: 2rem 0;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.footer-text {
  color: #d1d5db;
  font-size: 1rem;
}

/* Utility */
.container-wide {
  min-width: 1200px;
}
.about-container.container-wide {
    margin: 10vh auto;
}
@media (max-width: 1200px) {
  .container-wide {
    min-width: 0;
    width: 100%;
  }
}
img[src$='book-cover.png'] {
  max-width: 230px;
  width: 100%;
  height: auto;
}
.book-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.book-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #1e3a8a;
  font-size: 1.1rem;
  transition: color 0.2s;
}
.book-link:hover {
  color: #ffd700;
}
.book-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
}
.book-link-icon svg {
  width: 40px;
  height: 40px;
  display: block;
}
.book-link-text {
  display: inline-block;
  vertical-align: middle;
}
/* Book Section */
.book-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .book-container {
    flex-direction: row;
    gap: 2.5rem;
    align-items: flex-start;
  }
} 
#book.section-wide {
  background: #fff !important;
}

/* Masonry Gallery */
.masonry-gallery {
  column-count: 4;
  column-gap: 1.5rem;
  margin-top: 2rem;
}
.masonry-gallery a {
  display: block;
  margin-bottom: 1.5rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(30,30,60,0.10);
  transition: box-shadow 0.2s;
}
.masonry-gallery a:hover {
  box-shadow: 0 4px 16px rgba(30,30,60,0.16);
}
.masonry-gallery img {
  width: 100%;
  display: block;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(30,30,60,0.10);
  margin-bottom: 16px;
}
.masonry-gallery a:hover img {
  transform: scale(1.04);
}
@media (max-width: 1024px) {
  .masonry-gallery { column-count: 2; }
}
@media (max-width: 600px) {
  .masonry-gallery { column-count: 1; }
} 

/* News Section Card Layout */
.news-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.news-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(30,30,60,0.10);
  width: 350px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.news-card:hover {
  box-shadow: 0 4px 24px rgba(30,30,60,0.18);
}
.news-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.news-headline {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.1rem;
  font-weight: bold;
  color: #fff;
  background: #e09c5c;
  padding: 1rem 1rem 0.5rem 1rem;
  margin-bottom: 0.25rem;
}
.news-summary {
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: #444;
  padding: 0 1rem 1.25rem 1rem;
}
@media (max-width: 1100px) {
  .news-cards { gap: 1rem; }
  .news-card { width: 300px; }
  .news-img { height: 160px; }
}
@media (max-width: 900px) {
  .news-cards { flex-direction: column; align-items: center; }
  .news-card { width: 90vw; max-width: 400px; }
} 
.btn.btn-buy {
  background: linear-gradient(90deg, #FFD700 0%, #ffe066 100%);
  color: #1e3a8a;
  font-weight: bold;
  border: none;
  border-radius: 2rem;
  padding: 0.85rem 2.5rem;
  font-size: 1.15rem;
  box-shadow: 0 0 16px 4px rgba(255, 215, 0, 0.18), 0 2px 8px rgba(30,30,60,0.10);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s, background 0.25s, color 0.18s;
  display: inline-block;
  min-width: 180px;
  text-align: center;
}
.btn.btn-buy:hover, .btn.btn-buy:focus {
  background: linear-gradient(90deg, #ffe066 0%, #FFD700 100%);
  color: #b8860b;
  box-shadow: 0 0 32px 8px rgba(255, 215, 0, 0.28), 0 4px 16px rgba(30,30,60,0.16);
}
.btn.btn-buy:before {
  display: none;
}
.btn.btn-buy .sparkle {
  position: absolute;
  pointer-events: none;
  width: 14px;
  height: 14px;
  z-index: 2;
  opacity: 0.85;
  animation: sparkle-twinkle 1.6s linear infinite;
  filter: drop-shadow(0 0 4px #fffbe6) drop-shadow(0 0 8px #FFD700);
}
.btn.btn-buy .sparkle.s1 {
  left: 18%; top: 30%; animation-delay: 0s;
}
.btn.btn-buy .sparkle.s2 {
  left: 65%; top: 20%; animation-delay: 0.6s;
}
.btn.btn-buy .sparkle.s3 {
  left: 40%; top: 65%; animation-delay: 1.2s;
}
.btn.btn-buy .sparkle svg {
  width: 100%;
  height: 100%;
  display: block;
}
@keyframes sparkle-twinkle {
  0%, 100% { opacity: 0.7; transform: scale(0.7) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.2) rotate(20deg); }
} 