/* Top Navigation Bar */
.top-nav {
  background-color: #8B0000;
  text-align: center;
  padding: 10px 0;
  margin: 0;
}

.top-nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.top-nav li {
  display: inline-block;
  margin: 0 15px;
}

.top-nav a {
  color: #fff;
  text-decoration: none;
  font-family: 'David Libre', serif;
  font-size: 1.2em;
  transition: text-decoration 0.2s;
}

.top-nav a:hover {
  text-decoration: underline;
}

/* Body: Use your chosen background image. 
   Make sure the filename matches EXACTLY what's in static/images. */
body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  background: #f7e9d7 url("../images/shtettl_group_sketch.png") no-repeat center center fixed;
  background-size: cover;
  color: #333;
}

/* Container with a translucent parchment overlay */
.container {
  background-color: rgba(255, 255, 255, 0.85);
  max-width: 900px;
  margin: 50px auto;
  padding: 30px;
  border: 2px solid #8B0000;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Main title styling (index page) */
.main-title {
  font-size: 3em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Tagline styling */
.tagline {
  font-family: 'David Libre', serif;
  color: #8B0000;
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.3em;
}

/* Headers using David Libre */
h1, h2, h3 {
  font-family: 'David Libre', serif;
  color: #8B0000;
  text-align: center;
  margin-bottom: 20px;
}

/* Loading container styling */
.loading-container {
  text-align: center;
  padding: 50px;
}

/* Style for the page flip GIF */
.page-flip {
  display: block;
  margin: 0 auto 20px auto;
  max-width: 200px;
}

/* Form styling */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1.1em;
  width: 100%;
  box-sizing: border-box;
}

textarea {
  resize: none;
}

/* Radio button group styling */
.radio-group {
  display: flex;
  gap: 20px;
  margin-top: 5px;
}

.radio-group label {
  font-family: 'Roboto', sans-serif;
  cursor: pointer;
}

/* Button style: scroll-like appearance */
button {
  padding: 12px 20px;
  background-color: #8B0000;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-family: 'David Libre', serif;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
  display: inline-block;
  margin-right: 10px;
  margin-top: 10px;
}

button:hover {
  background-color: #a30000;
  transform: scale(1.03);
}

/* Additional button styling if needed */
.submit-archive-btn {
  background-color: #008b00; /* A different color to stand out, optional */
}
.submit-archive-btn:hover {
  background-color: #00a300;
}

/* Curse text styling */
.curse-text {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Yiddish text with minimal glow for clarity */
.yiddish {
  font-family: 'David Libre', serif;
  font-size: 1.2em;
  color: #2c2c2c;
}

/* .phonetic text styling */
.phonetic {
  font-style: italic;
  color: #2c2c2c;
}

/* "Try Another Curse" button styling */
.try-again-btn {
  margin-top: 20px;
}

/* Share Section */
.share-section {
  text-align: center;
  margin: 30px 0;
}

/* Share Buttons */
.share-btn {
  padding: 10px 15px;
  text-decoration: none;
  color: #fff;
  background-color: #8B0000;
  border-radius: 5px;
  font-family: 'David Libre', serif;
  font-size: 1em;
  margin: 5px;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.share-btn:hover {
  background-color: #a30000;
  transform: scale(1.02);
}

/* Specific styling for different share platforms (optional) */
.facebook {
  background-color: #3b5998; /* FB Blue */
}
.facebook:hover {
  background-color: #2d4373;
}

.reddit {
  background-color: #ff5700; /* Reddit Orange */
}
.reddit:hover {
  background-color: #d9430c;
}

.bluesky {
  background-color: #3355ff; /* Arbitrary 'blue' color for Bluesky placeholder */
}
.bluesky:hover {
  background-color: #1f3eb3;
}

.copy-btn {
  background-color: #8B0000; /* same deep red as main theme */
}
.copy-btn:hover {
  background-color: #a30000;
}

/* Flash messages styling (optional) */
.flashes {
  list-style-type: none;
  padding: 0;
  margin: 0 0 15px 0;
  text-align: center;
  color: #8B0000;
  font-weight: bold;
}
