/* File: inc/style.css */

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(to bottom, #1f1f1f, #000);
    color: #f5f5dc;
}

a {
  color: #e0c97f; /* soft gold for unvisited links */
  text-decoration: none;
  transition: color 0.3s ease;
}

a:visited {
  color: #b6a76b; /* slightly muted gold for visited links */
}

a:hover,
a:focus {
  color: #fff; /* brighten on hover for contrast */
  text-decoration: underline;
}

a:active {
  color: #f5e7b4; /* light gold when clicked */
}

/* Navigation */
.navbar {
    background-color: #121212;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-family: 'Cinzel', serif;
    font-size: 1.75rem;
    color: #f5f5dc;
    text-decoration: none;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #f5f5dc;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #d4af37;
}

/* Footer */
.site-footer {
    background-color: #121212;
    color: #ccc;
    padding: 2rem;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 4rem;
    border-top: 1px solid #333;
}

.footer-content p {
    margin: 0.5rem 0;
}

.footer-link {
    color: #d4af37;
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-tagline {
    font-style: italic;
    color: #f5f5dc;
}

header,
section {
    padding: 4rem 1rem;
    text-align: center;
}

.logo {
    width: 220px;
    height: auto;
    margin-bottom: 1rem;
}

.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.btn {
    background-color: #f5f5dc;
    color: #000;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #d4af37;
}

.about {
    background-color: #2e2e2e;
}

.teaser {
    background-color: #000;
    font-style: italic;
}

/* Footer */
.site-footer {
    background-color: #121212;
    color: #ccc;
    padding: 2rem;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 4rem;
    border-top: 1px solid #333;
}

.footer-content p {
    margin: 0.5rem 0;
}

.footer-link {
    color: #d4af37;
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-tagline {
    font-style: italic;
    color: #f5f5dc;
}

/* Team Section */
.team-section {
    padding: 4rem 1rem;
    background-color: #1a1a1a;
    text-align: center;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    background-color: #2e2e2e;
    border-radius: 8px;
    padding: 1rem;
    max-width: 200px;
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: scale(1.05);
}

.team-photo {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.team-name {
    font-weight: bold;
    margin: 0.5rem 0 0;
}

.team-role {
    font-style: italic;
    font-size: 0.9rem;
    color: #d4af37;
}

/* Profile Page */
.profile-section {
    padding: 4rem 1rem;
    background-color: #1a1a1a;
    color: #f5f5dc;
}

.profile-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    background-color: #2e2e2e;
    padding: 2rem;
    border-radius: 8px;
}

.profile-image img {
    width: 200px;
    border-radius: 4px;
}

.profile-info {
    flex: 1;
}

.profile-info h2 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.profile-info p {
    margin: 0.5rem 0;
}

.profile-info a {
    color: #d4af37;
    text-decoration: none;
}

.profile-info a:hover {
    text-decoration: underline;
}

/* Error Message */
.error-message {
    padding: 4rem 1rem;
    text-align: center;
    color: #ff4444;
    font-weight: bold;
}

/* About Section */
.about-section {
    padding: 4rem 1rem;
    background-color: #1a1a1a;
    color: #f5f5dc;
    text-align: center;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.about-container p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.about-container a {
    color: #d4af37;
    text-decoration: none;
}

.about-container a:hover {
    text-decoration: underline;
}

/* Events Section */
.events-section {
    padding: 4rem 1rem;
    background-color: #1a1a1a;
    color: #f5f5dc;
}

.events-container {
    max-width: 900px;
    margin: 0 auto;
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.event-card {
    background-color: #2e2e2e;
    border-left: 4px solid #d4af37;
    padding: 1.5rem;
    border-radius: 8px;
}

.event-date-time {
    font-weight: bold;
    color: #d4af37;
    margin-bottom: 0.5rem;
}

.event-details h3 {
    margin: 0.5rem 0;
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
}

.event-price,
.event-location {
    margin: 0.25rem 0;
    font-size: 1rem;
}

.no-events {
    text-align: center;
    font-style: italic;
    color: #ccc;
}

/* Terms Section */
.terms-section {
    padding: 4rem 1rem;
    background-color: #1a1a1a;
    color: #f5f5dc;
}

.terms-container {
    max-width: 900px;
    margin: 0 auto;
}

.terms-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.term-item {
    background-color: #2e2e2e;
    padding: 1.5rem;
    border-left: 4px solid #d4af37;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.term-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.term-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
}

.no-terms {
    text-align: center;
    font-style: italic;
    color: #ccc;
}

/* Investigations Section */
.investigations-section {
    padding: 4rem 1rem;
    background-color: #1a1a1a;
    color: #f5f5dc;
    text-align: center;
}

.investigations-container {
    max-width: 900px;
    margin: 0 auto;
}

.investigations-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.investigation-item {
    background-color: #2e2e2e;
    border-left: 4px solid #d4af37;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    text-align: left;
}

.investigation-link {
    color: #d4af37;
    text-decoration: none;
    font-weight: bold;
}

.investigation-link:hover {
    text-decoration: underline;
}

.investigation-text {
    color: #f5f5dc;
    font-weight: normal;
}

.no-investigations {
    font-style: italic;
    color: #ccc;
}

.investigations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.investigation-card {
    background-color: #2e2e2e;
    border-left: 4px solid #d4af37;
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.investigation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
}

.investigation-link,
.investigation-static {
    color: #f5f5dc;
    text-decoration: none;
}

.investigation-link h3,
.investigation-static h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.investigation-link p,
.investigation-static p {
    font-size: 1rem;
    color: #ccc;
}

.investigation-detail {
    padding: 4rem 1rem;
    background-color: #1a1a1a;
    color: #f5f5dc;
}

.investigation-detail .container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.media-section {
    margin-bottom: 3rem;
}

.media-section h3 {
    font-size: 1.5rem;
    color: #d4af37;
    margin-bottom: 1rem;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.media-item {
    background-color: #2e2e2e;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.media-item img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.media-item p {
    font-size: 0.95rem;
    color: #ccc;
}

.media-item audio {
    width: 100%;
    margin-bottom: 0.5rem;
}

.image-viewer {
    padding: 4rem 1rem;
    background-color: #1a1a1a;
    text-align: center;
    color: #f5f5dc;
}

.image-container {
    max-width: 1000px;
    margin: 0 auto;
}

.image-container img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.back-button {
    margin-bottom: 2rem;
    padding: 0.75rem 1.5rem;
    background-color: #d4af37;
    color: #000;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.back-button:hover {
    background-color: #f5f5dc;
}

.error-message {
    color: #ff5555;
    font-weight: bold;
}

.media-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    max-height: 300px;
    object-fit: contain;
}

.video-viewer {
    padding: 4rem 1rem;
    background-color: #1a1a1a;
    color: #f5f5dc;
    text-align: center;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.5);
}

.back-button {
    margin-bottom: 1.5rem;
    padding: 0.75rem 1.25rem;
    background-color: #d4af37;
    color: #000;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.back-button:hover {
    background-color: #f5f5dc;
}

.error-message {
    color: #ff5555;
    font-weight: bold;
}

.video-credit {
    margin-top: 1rem;
    font-style: italic;
    color: #ccc;
}

.report-form {
  max-width: 700px;
  margin: 3rem auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  color: #f0eada;
}

.report-form h2,
.report-form p {
  text-align: center;
  margin-bottom: 1.5rem;
}

.haunt-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.haunt-form .form-group {
  display: flex;
  flex-direction: column;
}

.haunt-form label {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.haunt-form input,
.haunt-form select,
.haunt-form textarea {
  padding: 0.7rem;
  border-radius: 5px;
  border: none;
  background: #111;
  color: #f0eada;
  font-size: 1rem;
  box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.1);
}

.haunt-form textarea {
  resize: vertical;
  min-height: 100px;
}

.checkbox-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.checkbox-group label {
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.haunt-form button.btn {
  margin-top: 1rem;
  padding: 0.75rem;
  font-size: 1.1rem;
  font-weight: bold;
  background: #f0eada;
  color: #111;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.haunt-form button.btn:hover {
  background: #d6caa6;
  transform: scale(1.03);
}

.haunt-form input:focus,
.haunt-form select:focus,
.haunt-form textarea:focus {
  outline: none;
  box-shadow: 0 0 5px 2px rgba(240, 234, 218, 0.3);
}