/* ======================================================
   1. GLOBAL SITE STYLES
   ------------------------------------------------------
   Controls your global page background, default fonts,
   and overall site-wide layout.
   ====================================================== */
body {
  background: url('images/thecave.png') center/cover no-repeat fixed;
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  padding: 0;
  text-align: center;
}

h2,
h3 {
  color: #C2185B;
  font-size: 2em;
}

.tobtella-color,
.white-text {
  color: white !important;
  font-size: 1.6em;
}


/* ======================================================
   2. HEADER & FOOTER
   ------------------------------------------------------
   Controls logo/title and footer at page bottom.
   ====================================================== */
.main-header {
  color: #E88312;
  font-size: 4em;
  font-style: italic;
  font-weight: bold;
  margin: 10px 0 5px;
  text-align: center;
}

footer {
  background-color: transparent;
  padding: 0;
  text-align: center;
  width: 100%;
}


/* ======================================================
   3. MAIN STORY TEXT BLOCK (THIS IS WHAT YOU WANTED)
   ------------------------------------------------------
   Control text size, colour, spacing for your story pages.
   Apply to your <p> blocks or wrap story in .story-text.
   ====================================================== */

.story-text {
  color: white;          /* story text colour */
  font-size: 1.4em;      /* change this for SIZE */
  line-height: 1.6;      /* spacing between lines */
  text-align: left;      /* alignment */
  max-width: 900px;      /* comfortable reading width */
  margin: 20px auto;     /* centres the block */
  padding: 10px 20px;    /* inner spacing */
}

/* Optional: all <p> inside story text */
.story-text p {
  margin-bottom: 18px;   /* space between paragraphs */
}


/* ======================================================
   4. CONTENT WARNINGS
   ------------------------------------------------------
   Used for “Contains strong language…” text.
   ====================================================== */
.warning-text {
  color: #050505;                 /* Black text */
  font-size: 1.6em;
  font-weight: bold;
  text-align: center;

  background: rgba(255,158,0,0.80); /* Light grey shading */
  padding: 15px 25px;             /* Space inside the box */
  margin: 30px auto;              /* Center on the page */
  display: inline-block;          /* Box only as wide as the text */
  border-radius: 8px;             /* Softer edges (optional) */
}


.blurb-warning-padding {
  margin: 20px 0;
  padding: 10px;
}


/* ======================================================
   5. NAVIGATION / MENU / HAMBURGER
   ------------------------------------------------------
   Controls your top navigation bar + mobile menu.
   ====================================================== */
nav {
  margin: 20px 0;
  text-align: center;
}

nav a {
  border: 2px solid #C2185B;
  border-radius: 20px;
  color: #C2185B;
  display: inline-block;
  font-size: 1.4em;
  margin: 0 10px;
  padding: 10px 20px;
  text-decoration: none;
  transition: 0.3s;
}

nav a:hover {
  background-color: #C2185B;
  border-color: #C2185B;
  color: white;
}

.navbar {
  padding: 10px 0;
  position: relative;
}

.menu-toggle {
  color: white;
  cursor: pointer;
  display: none;
  font-size: 3em;
}

.menu {
  display: flex;
  gap: 20px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li a {
  border-radius: 10px;
  color: #C2185B;
  font-size: 1.2em;
  padding: 8px 12px;
  transition: 0.3s;
}

.menu li a:hover {
  background: #C2185B;
  color: white;
}


/* ======================================================
   6. STORY BOXES (Stories Page Only)
   ====================================================== */
.book-wrapper {
  border-radius: 40px;
  margin: 25px auto;
  max-width: 1000px;
  padding: 25px;
}

.book-container {
  align-items: flex-start;
  display: flex;
  gap: 20px;
  min-height: 180px;
}

.left-image img {
  height: auto;
  width: 200px;
}

.right-text {
  color: white;
  flex-grow: 1;
  font-size: 1em;
  text-align: left;
}

.title {
	font-size: 2.2em;
	margin: 0 0 10px 0;
	text-align: left;
	font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif;
}

/* Colour Variants */
.book-orange {
  background: rgba(255,165,0,0.20);
  border: 2px solid rgba(255,165,0,0.35);
}

.book-red {
  background: rgba(255,0,0,0.20);
  border: 2px solid rgba(255,0,0,0.35);
}


/* WORDCOUNT */
.wordcount-wrap {
  margin-top: 8px;
  text-align: center;
}

.wordcount-label {
  color: white;
  font-size: 0.8em;
  margin-bottom: 2px;
  opacity: 0.8;
}

.wordcount-box {
  background: rgba(51,105,163,0.75);
  border-radius: 10px;
  color: white;
  display: inline-block;
  font-size: 1.2em;
  letter-spacing: 0.03em;
  padding: 4px 10px;
}


/* ======================================================
   7. STORY LINK BUTTONS
   ====================================================== */
.brief-blurb-text {
	color: white;
	font-size: 1.5em;
	line-height: 1.4;
	margin-top: 5px;
	text-align: left;
}

.blurb-text {
  color: white;
  font-size: 1.6em;   /* change this to whatever you want */
  line-height: 1.5;
  text-align: left;
}

/* BLURB TEXT SIZE CONTROL */
.blurb-part-1 p,
.blurb-overflow-area p {
  color: white;
  font-size: 1.4em;   /* ← CHANGE THIS TO MAKE BLURB BIGGER */
  line-height: 1.5;
  margin-bottom: 16px;
  text-align: left;
}


.story-links {
  display: flex;
  font-size: 1.6em;
  gap: 20px;
  justify-content: center;
  margin-top: 10px;
}

.more-info {
  color: white;
  font-size: 1.2em;
  padding: 6px 12px;
  text-decoration: underline;
}

.read-btn {
  background: #E88312;
  border-radius: 8px;
  color: black;
  font-size: 1.1em;
  font-weight: bold;
  padding: 8px 16px;
  text-decoration: none;
  transition: 0.2s;
}

.read-btn:hover {
  background: #ff9a2c;
  color: black;
}


/* ======================================================
   8. DOWNLOAD BUTTONS
   ====================================================== */
.download-links {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.dl-btn {
  background: rgba(231,24,62,0.35);
  border: 1px solid rgba(120,74,24,0.6);
  border-radius: 8px;
  color: #f5e7d1;
  font-size: 1.8rem;
  padding: 10px 20px;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.25s;
}

.dl-btn:hover {
  background: rgba(120,74,24,0.6);
  color: white;
}

.divider {
  background: rgba(120,74,24,0.5);
  height: 28px;
  width: 1px;
}


/* ======================================================
   9. DESKTOP OVERRIDES
   ====================================================== */
@media (min-width: 769px) {
  .menu {
    display: flex !important;
  }

  .menu-toggle {
    display: none !important;
  }
}


/* ======================================================
   10. MOBILE MENU & RESPONSIVE FIXES
   ====================================================== */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .more-info {
    font-size: 0.9em !important;
    margin-top: 10px;
    padding: 4px 0 !important;
  }

  .menu {
    background: rgba(0,0,0,0.85);
    border-radius: 0 0 10px 10px;
    display: none;
    flex-direction: column;
    left: 50%;
    padding: 10px 0;
    position: absolute;
    top: 100%;
    transform: translateX(-50%);
    width: 70vw;
    z-index: 9999;
  }

  .menu.active {
    display: flex;
  }

  .menu li {
    margin: 10px 0;
  }

  .menu li a {
    margin: 0 auto;
    padding: 8px;
    width: 90%;
  }

  .book-wrapper {
    max-width: 95%;
  }

  .book-container {
    flex-direction: column;
    text-align: center;
  }

  .left-image img {
    width: 80%;
  }

  .right-text {
    margin-top: 10px;
    text-align: left;
    width: 100%;
  }

  .title {
    font-size: 1.9em;
    text-align: left;
  }
}


/* ======================================================
   11. CONTACT FORM
   ====================================================== */
.contact-form-wrapper {
  background: rgba(0,0,0,0.6);
  border-radius: 20px;
  color: white;
  margin: 40px auto;
  max-width: 600px;
  padding: 25px;
}

.contact-title {
  color: white;
  font-size: 2em;
  margin-bottom: 20px;
}

.contact-form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form-row,
.form-row-full {
  width: 100%;
}

.contact-form label {
  align-items: center;
  display: flex;

  gap: 10px;
}

.form-icon {
  font-size: 1.4em;
  opacity: 0.8;
  text-align: center;
  width: 30px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 10px;
  color: white;
  flex: 1;
  font-size: 1em;
  padding: 10px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.6);
}


/* CAPTCHA */
.captcha-placeholder {
  background: rgba(255,255,255,0.1);
  border: 1px dashed rgba(255,255,255,0.4);
  border-radius: 10px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9em;
  padding: 15px;
  text-align: center;
  width: 100%;
}


/* SEND BUTTON */
.send-btn {
  background: #E88312;
  border: none;
  border-radius: 12px;
  color: black;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  padding: 12px;
  transition: 0.2s;
  width: 100%;
}

.send-btn:hover {
  background: #ff9a2c;
}


/* SELECT FIXES */
.contact-form select {
  background: white !important;
  color: black !important;
}

.contact-form option {
  color: black !important;
}


/* CUSTOM SELECT DROPDOWN */
.custom-select {
  cursor: pointer;
  flex: 1;
  font-size: 1em;
  position: relative;
}

.select-selected {
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 10px;
  color: white;
  padding: 12px;
}

.select-items {
  background: black;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 10px;
  color: white;
  left: 0;
  overflow: hidden;
  position: absolute;
  top: 100%;
  width: 100%;
  z-index: 9999;
}

.select-items div {
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 10px;
}

.select-items div:last-child {
  border-bottom: none;
}

.select-items div:hover {
  background: #E88312;
  color: black;
}

.select-hide {
  display: none;
}

.captcha-wrapper input {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 10px;
  color: white;
  padding: 8px;
  width: 100%;
}


/* LABEL FIX */
.form-field {
  align-items: center;
  display: flex;
  gap: 10px;
}

.title-link {
  color: inherit;        /* same colour as the title */
  text-decoration: none; /* remove underline */
}

.title-link:hover {
	text-decoration: none; /* keeps it clean on hover */
	text-align: center;
}
