/* lora-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/lora-v37-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cinzel-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/cinzel-v26-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-image: url("images/greytexture.jpg"); 
  background-size: cover;
  background-position: center;
  font-family: "Lora", serif; /* body font - change if you prefer */
  color: #f6efe3;
}

/* Navigation (Index.html) */
.site-nav {
  display: flex;
  justify-content: center;
  background: rgba(0,0,0,0.45); /* slightly translucent nav bar */
  padding: 12px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: #f6efe3;
  text-decoration: none;
  font-family: "Cinzel", serif;
  font-size: 16px;
  padding: 6px 8px;
}

.site-nav a:hover {
  color: #caa14c;
  text-decoration: underline;
}

/* Header/Title (Index.html) */
.title {
  max-width: 1100px;
  margin: 28px auto;
  text-align: center;
  padding: 20px;
}

.title h1 {
  font-family: "Cinzel", serif;
  font-size: 48px; /* px */
  margin: 0 0 8px 0;
  color: #caa14c;
  letter-spacing: 2px;
  text-shadow: 0 4px 18px rgba(0,0,0,0.6);
}

.title .subtitle {
  font-size: 16px; /* px */
  color: #efe6d9;
  margin-top: 8px;
}

.button {
  display: inline-block;
  padding: 10px 16px;
  margin: 8px;
  border-radius: 6px;
  font-family: "Cinzel", serif;
  font-size: 16px; 
  text-decoration: none;
  color: #111;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.1);
}

.button:hover {
  transform: translateY(-6px); /* lift */
  box-shadow: 0 14px 32px rgba(0,0,0,0.75),
  0 0 18px rgba(202,161,76,0.35); /* golden glow */
}

.button.primary {
  background: linear-gradient(90deg, #fbe68f, #e4c76b);
  color: #1b1206;
  border: 1px solid rgba(0,0,0,0.2);
}

/* How to use section (Index.html) */
.how {
  max-width: 1100px;
  margin: 18px auto;
  padding: 10px 16px;
}

.how-grid {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.how-step {
  background: rgba(13,12,11,0.6);
  padding: 14px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  flex: 1 1 30%;
  min-width: 220px;
}

.how-step h3 {
  font-family: "Cinzel", serif;
  font-size: 20px;
  margin: 0 0 8px 0;
  color: #caa14c;
}

.how-step p {
  font-size: 14px;
  color: #efe6d9;
  margin: 0;
}

/* Featured Card (Index.html) */
.featured {
  max-width: 1000px;
  margin: 22px auto;
  padding: 8px;
}

.featured-card {
  display: flex;
  gap: 14px;
  background: rgba(0,0,0,0.5);
  padding: 12px;
  border-radius: 8px;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card img {
  width: 500px;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.04);
}

.featured-text h3 {
  font-family: "Cinzel", serif;
  font-size: 22px;
  margin: 0 0 6px 0;
  color: #caa14c;
}

.featured-text .lore {
  font-size: 14px;
  color: #efe6d9;
}

/* Hover state */
.featured-card:hover {
  transform: translateY(-6px); /* lift */
  box-shadow: 0 14px 32px rgba(0,0,0,0.75),
  0 0 18px rgba(202,161,76,0.35); /* soft golden glow */
}

figcaption {
  color: #FFFFFF; /* grey */
  font-size: 10px;
}

/*Example Locations* (Locations.html)*/

.page-header {
  text-align: center;
}

.locations-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 1200px;
  margin: 18px auto;
  padding: 12px;
}

/* Individual location card */
.location-card {
  display: flex;
  gap: 14px;
  background: rgba(0,0,0,0.55);
  padding: 12px;
  border-radius: 8px;
  align-items: flex-start;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover state */
.location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.8),
  0 0 14px rgba(202,161,76,0.25); /* glow */
}


.location-img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.location-card:hover .location-img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

/* Textual area (title, lore, hooks) */
.location-body h2 {
  font-family: "Cinzel", serif;
  font-size: 20px;
  margin: 0 0 6px 0;
  color: #caa14c;
}

.location-body .lore {
  font-size: 15px;
  color: #efe6d9;
  margin: 0 0 8px 0;
}

.location-body .hooks {
  font-size: 14px;
  color: #ffd9a6;
  margin: 0;
}

.location-body .hooks li {
  margin: 6px 0;
}

/* Create your own (create.html) */
.create-page {
  max-width: 900px;
  margin: 18px auto;
  padding: 12px;
}

.location-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(0,0,0,0.45);
  padding: 14px;
  border-radius: 8px;
}

.location-form label {
  font-family: "Cinzel", serif;
  font-size: 14px; 
  color: #caa14c;
}

.location-form option {
  color: #000 ;
}

.location-form input[type="text"],
.location-form select,
.location-form textarea {
  padding: 8px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  color: #f6efe3; 
  font-size: 15px; 
}

.tones {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* adjust form layout when printing */
@media print {
  .site-nav, .button, footer { display: none; }
  body::before { display: none; }
  .location-form { background: none; box-shadow: none; }
}

/* Footer */
.site-footer {
  text-align: center;
  margin: 28px 0;
  color: #dcd1c6;
  font-size: 14px; 
}

@media (max-width: 900px) {
  .how-grid { flex-direction: column; }
  .location-card { flex-direction: column; align-items: center; }
  .location-img { width: 260px; height: 180px; }
  .featured-card { flex-direction: column; }
}

@media (max-width: 480px) {
  .title h1 { font-size: 36px; } 
  .site-nav a { font-size: 14px; }
  .location-img { width: 100%; max-width: 360px; height: auto; }
}
