/* =========================
   HERO SECTION
   ========================= */

.hero {
  background: url("../images/brick-wall.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  text-align: center;
  padding: 30px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* =========================
   HERO TOP
   ========================= */

.hero-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.logo {
  width: 200px;
}

.site-title {
  width: 700px;
  max-width: 90%;
  padding: 10px;
}

.home-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;

  text-decoration: none;
}

.home-link:hover {
  opacity: 0.9;
  transform: scale(1.02);
  transition: 0.2s ease;
}

/* =========================
   TAGLINE
   ========================= */

.tagline {
  font-family: 'MedievalSharp', cursive;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: 10px;

  margin: 0;
  padding: 10px 20px;

  white-space: nowrap;
  overflow: visible;

  max-width: 100%;
  text-align: center;
}

/* =========================
   DIVIDER
   ========================= */

.divider {
  width: min(1100px, 90%);
  margin: 10px auto;
  padding: 10px 0;
  display: block;
}

/* =========================
   NAV BAR
   ========================= */

.nav {
  margin-top: 10px;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;

  position: relative;
  z-index: 2;
}

/* =========================
   NAV LINKS
   ========================= */

.nav a {
  display: inline-block;
  padding: 14px 28px;

  background-image: url("../images/scroll-texture.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-radius: 30px;

  font-family: 'MedievalSharp', cursive;
  font-size: 3rem;
  letter-spacing: 1px;

  color: #1f1c1c;
  text-decoration: none;

  transition: transform 0.2s ease, filter 0.2s ease;
}

.nav a:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* =========================
   SOCIAL ICONS
   ========================= */

.socials {
  margin-top: 40px;
}

.socials img {
  width: 100px;
  margin: 0 50px;
  display: inline-block;
}

/* =========================
   SECTION LINE
   ========================= */

.section-line {
  width: 100%;
  height: 3px;
  background: #e8ddc9;
  margin: 30px auto;
}

/* =========================
   HOME SECTION
   ========================= */

.featuredwips-title {
  text-align: center;
  width: 500px;
  margin: 10px auto;
  padding: 20px 10px;
}

.divider-body {
  width: 400px;
  margin: 0 auto;
  padding: 10px 0;
}

.home {
  text-align: center;
  margin: 20px auto;
}

/* =========================
   FEATURED CAROUSEL
   ========================= */

.featured-carousel {
  width: 100%;
  max-width: 1200px;
  margin: 80px auto;
  text-align: center;
}

/* =========================
   CAROUSEL CONTAINER
   ========================= */

.carousel {
  position: relative;
  overflow: hidden;
  height: 600px;
}

/* =========================
   CAROUSEL TRACK
   ========================= */

.carousel-track {
  display: block;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* =========================
   CAROUSEL ITEM
   ========================= */

.carousel-item {
  position: absolute;

  width: 340px;
  height: 520px;

  top: 40px;
  left: 50%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  transform: none;
  opacity: 0;

  transition: all 0.8s ease;
}

/* =========================
   POSITION STATES
   ========================= */

.carousel-item.active {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  z-index: 3;
}

.carousel-item.left {
  transform: translateX(calc(-50% - 380px)) scale(0.75);
  opacity: 0.4;
  z-index: 2;
}

.carousel-item.right {
  transform: translateX(calc(-50% + 380px)) scale(0.75);
  opacity: 0.4;
  z-index: 2;
}

.carousel-item.hidden {
  transform: translateX(-50%) scale(0.5);
  opacity: 0;
}

/* =========================
   IMAGE
   ========================= */

.carousel-item img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 16px;
}

/* =========================
   TEXT BLOCK
   ========================= */

.carousel-text {
  margin-top: 14px;
  padding: 0 10px;
  max-width: 320px;
  text-align: center;
}

/* =========================
   TITLE
   ========================= */

.carousel-title {
  font-family: 'MedievalSharp', cursive;
  font-size: 1.6rem;
  color: #e8ddc9;
  margin: 0 0 8px 0;
}

/* =========================
   LOGLINE
   ========================= */

.carousel-logline {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #cfc6b2;
  margin: 0;
}

/* =========================
   NEWSLETTER SECTION
   ========================= */

.newsletter {
  width: 100%;
  padding: 100px 20px;
  display: flex;
  justify-content: center;

  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.6),
    transparent 70%
  );
}

.newsletter-inner {
  max-width: 700px;
  text-align: center;

  padding: 40px;
  border-radius: 16px;

  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(232, 221, 201, 0.2);

  backdrop-filter: blur(6px);
}

/* title */
.newsletter-title {
  font-family: 'MedievalSharp', cursive;
  font-size: 2.5rem;
  color: #e8ddc9;

  margin-bottom: 20px;
  letter-spacing: 2px;
}

/* text */
.newsletter-text {
  font-family: 'Alice', serif;
  font-size: 1.1rem;
  line-height: 1.6;

  color: #cfc6b2;

  margin-bottom: 30px;
}

/* button */
.newsletter-button {
  display: inline-block;

  padding: 14px 28px;

  font-family: 'MedievalSharp', cursive;
  font-size: 1.4rem;

  color: #1f1c1c;
  text-decoration: none;

  background: url("../images/scroll-texture.png");
  background-size: cover;

  border-radius: 30px;

  transition: transform 0.2s ease, filter 0.2s ease;
}

.newsletter-button:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
  width: 100%;
  padding: 40px 20px;

  text-align: center;

  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(232, 221, 201, 0.15);
}

/* text */
.footer-text {
  font-family: 'Alice', serif;
  font-size: 0.95rem;

  color: #cfc6b2;
  letter-spacing: 1px;

  margin: 0 auto;
}

.site-footer {
  backdrop-filter: blur(4px);
}

.site-footer:hover .footer-text {
  color: #e8ddc9;
  transition: color 0.3s ease;
}

/* =========================
   CONTACT PAGE
   ========================= */

.contact-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 20px;
  gap: 40px;
}

/* section container */
.contact-section {
  max-width: 700px;
  width: 100%;

  padding: 40px;
  border-radius: 16px;

  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(232, 221, 201, 0.2);

  backdrop-filter: blur(6px);

  text-align: center;
}

/* title */
.contact-header {
  width: 500px;
  margin: 30px auto;
  margin-bottom: 20px;
}

/* text */
.contact-text {
  font-family: 'Alice', serif;
  color: #cfc6b2;

  margin-bottom: 40px;
  line-height: 1.6;
}

/* =========================
   FORM STYLING
   ========================= */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;

  text-align: left;
}

/* labels */
.contact-form label {
  font-family: 'Alice', serif;
  font-size: 1.6rem;
  color: #e8ddc9;

  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* inputs */
.contact-form input,
.contact-form textarea {
  padding: 12px;

  border-radius: 8px;
  border: 1px solid rgba(232, 221, 201, 0.2);

  background: rgba(0, 0, 0, 0.4);
  color: #e8ddc9;

  font-family: 'Alice', serif;
}

/* button */
.contact-button {
  margin-top: 10px;
  width: 350px;
  height: 100%;
  margin: 0 auto;

  padding: 14px 28px;

  font-family: 'MedievalSharp', cursive;
  font-size: 1.8rem;

  border: none;
  border-radius: 30px;

  background: url("../images/scroll-texture.png");
  background-size: cover;

  color: #1f1c1c;

  cursor: pointer;

  transition: transform 0.2s ease, filter 0.2s ease;
}

.contact-button:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

/* =========================
   WIP FEATURE LAYOUT
   ========================= */

.wip-feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;

  max-width: 1200px;
  margin: 100px auto;
  padding: 0 20px;
}

/* =========================
   LEFT: BOOK
   ========================= */

.wip-book {
  text-align: center;
}

.release-label {
  font-family: 'MedievalSharp', cursive;
  font-size: 2.5rem;
  color: #e8ddc9;

  margin-bottom: 20px;
  letter-spacing: 2px;
}

.wip-book img {
  width: 320px;
  max-width: 100%;

  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.7));
}

/* =========================
   RIGHT: PROGRESS
   ========================= */

.wip-progress {
  flex: 1;
  max-width: 600px;
}

.progress-title {
  font-family: 'MedievalSharp', cursive;
  font-size: 2rem;
  color: #e8ddc9;

  margin-bottom: 30px;
}

/* spacing between items */
.wip-item {
  margin-bottom: 30px;
}

/* =========================
   VIAL CONTAINER
   ========================= */

.vial {
  position: relative;
  width: 100%;
  height: 28px;

  border-radius: 20px;

  /* glass look */
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(232, 221, 201, 0.2);

  overflow: hidden;

  /* subtle inset depth */
  box-shadow:
    inset 0 0 10px rgba(0,0,0,0.6),
    0 0 10px rgba(0,0,0,0.4);
}

/* =========================
   BLOOD FILL
   ========================= */

.blood-fill {
  height: 100%;
  border-radius: 20px;
  animation: pulseBlood 4s ease-in-out infinite;

@keyframes pulseBlood {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

  /* deep blood gradient */
  background:
    linear-gradient(
      to right,
      #2a0000,
      #5c0000 40%,
      #8a0000 70%,
      #b30000
    );

  position: relative;

  /* smooth animation */
  transition: width 1.5s ease;
}

/* =========================
   BLOOD SHIMMER
   ========================= */

.blood-fill::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      120deg,
      transparent 30%,
      rgba(255, 255, 255, 0.15),
      transparent 70%
    );

  animation: bloodFlow 3s linear infinite;
  opacity: 0.6;
}

@keyframes bloodFlow {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

/* =========================
   GLASS HIGHLIGHT
   ========================= */

.vial::after {
  content: "";
  position: absolute;
  inset: 0;

  border-radius: 20px;

  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,0.15),
      transparent 40%
    );

  pointer-events: none;
}

/* =========================
   VIAL GLOW NEAR-COMPLETE
   ========================= */

.blood-fill[style*="90"] {
  box-shadow: 0 0 12px rgba(180, 0, 0, 0.6);
}

/* =========================
   MOBILE FIX
   ========================= */

@media (max-width: 900px) {
  .wip-feature {
    flex-direction: column;
    text-align: center;
  }

  .wip-progress {
    max-width: 100%;
  }
}

/* =========================
   BOOK FLOAT
   ========================= */

.wip-book img {
  animation: floatBook 6s ease-in-out infinite;
}

@keyframes floatBook {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* =========================
   SHORTS
   ========================= */

/* title */
.shorts-header {
  width: 500px;
  margin: 30px auto;
  margin-bottom: 20px;
}

/* =========================
   SHORTS GRID
   ========================= */

.shorts-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;

  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
}

/* =========================
   CARD
   ========================= */

.short-card {
  display: flex;
  align-items: center;
  gap: 25px;

  text-decoration: none;
  color: inherit;

  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(232, 221, 201, 0.15);
  border-radius: 16px;

  padding: 20px;

  backdrop-filter: blur(6px);

  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

/* =========================
   IMAGE
   ========================= */

.short-image {
  width: 140px;
  height: 140px;
  object-fit: cover;

  border-radius: 12px;

  flex-shrink: 0;
}

/* =========================
   CONTENT
   ========================= */

.short-content {
  text-align: left;
}

/* title */
.short-title {
  font-family: 'MedievalSharp', cursive;
  font-size: 1.5rem;
  color: #e8ddc9;

  margin-bottom: 8px;
}

/* logline */
.short-logline {
  font-family: 'Alice', serif;
  font-size: 0.95rem;
  line-height: 1.5;

  color: #cfc6b2;
}

/* =========================
   HOVER EFFECT
   ========================= */

.short-card:hover {
  transform: translateY(-4px);

  border: 1px solid rgba(232, 221, 201, 0.3);

  box-shadow:
    0 10px 25px rgba(0,0,0,0.7),
    0 0 20px rgba(232,221,201,0.08);
}

/* subtle image lift */
.short-card:hover .short-image {
  transform: scale(1.05);
  transition: transform 0.4s ease;
}

/* =========================
   MOBILE FIX
   ========================= */

@media (max-width: 600px) {
  .short-card {
    flex-direction: column;
    text-align: center;
  }

  .short-content {
    text-align: center;
  }

  .short-image {
    width: 100%;
    height: auto;
  }
}

/* =========================
   ABOUT PAGE
   ========================= */

.about-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 20px;
  gap: 40px;
}

/* title */
.about-header {
  width: 500px;
  margin: 30px auto;
  margin-bottom: 20px;
}

/* text */
.about-text {
  font-family: 'Alice', serif;
  color: #cfc6b2;

  margin-bottom: 40px;
  line-height: 1.6;
}

/* =========================
   BOOKS PAGE
   ========================= */

.books-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 20px;
  gap: 40px;
}

/* title */
.books-header {
  width: 500px;
  margin: 30px auto;
  margin-bottom: 20px;
}

/* text */
.books-text {
  font-family: 'Alice', serif;
  color: #cfc6b2;

  margin-bottom: 40px;
  line-height: 1.6;
}

