/*
Theme Name: Paranormal Pro 2
Author: You
Version: 1.0
*/

/* RESET / BASE */
body {
  margin: 0;
  background-color: #0b0f10;
  background-image: url('assets/images/paranormal-bg.jpg');
  background-size: cover;        /* fills screen */
  background-position: center;   /* keeps it centered */
  background-attachment: fixed;  /* subtle depth effect */
  background-repeat: no-repeat;  /* IMPORTANT: stops tiling */
  color: #e4e4e4;
  font-family: Georgia, serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(5,8,9,0.65); /* slightly lighter so image shows */
  pointer-events: none;
  z-index: -1;
}

/* MAIN WRAPPER */
.site-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  background: #111617;
  box-shadow: 0 0 40px rgba(0,0,0,0.9);
}

/* THIN LINES (IMPORTANT STYLE ELEMENT) */
* {
  border-color: rgba(255,255,255,0.06);
}

/* HEADER */
.site-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo {
  margin: 0;
  font-size: 22px;
  letter-spacing: 2px;
}

/* HERO */
.hero {
  height: 550px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  background: rgba(0,0,0,0.7);
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 40px;
}

.hero h1 {
  font-size: 42px;
}

/* CASE LIST */
.case-list {
  padding: 20px;
}

.case-row {
  height: 200px;
  margin-bottom: 20px;
  background-size: cover;
  background-position: center;
  position: relative;
  border: 1px solid rgba(255,255,255,0.08);
}

.case-row .overlay {
  background: rgba(0,0,0,0.6);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px;
}

.case-row h2 {
  margin: 5px 0;
}

/* HOVER FEEL */
.case-row:hover {
  transform: scale(1.01);
  transition: 0.3s;
}

.meta {
  font-size: 14px;
  opacity: 0.85;
}

/* STATUS COLORS */
.meta:has(:contains("Active")) {
  color: #c75c5c;
}

.meta:has(:contains("Unexplained")) {
  color: #c2a46d;
}

.meta:has(:contains("Closed")) {
  color: #888;
}

/* CASE ROW BASE */
.case-row {
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(10,15,16,0.85);
  position: relative;
}

/* INNER FLEX */
.case-inner {
  display: flex;
  align-items: stretch;
}

/* LEFT SIDE */
.case-text {
  flex: 1;
  padding: 20px 25px;
}

/* CASE ID */
.case-id {
  font-size: 12px;
  letter-spacing: 2px;
  opacity: 0.7;
  display: block;
  margin-bottom: 6px;
}

/* TITLE */
.case-text h2 {
  margin: 0 0 6px 0;
  font-size: 22px;
}

/* LOCATION */
.location {
  font-size: 14px;
  opacity: 0.75;
  margin-bottom: 6px;
}

/* STATUS */
.status {
  font-size: 13px;
  opacity: 0.9;
}

/* STATUS COLORS */
.status-active {
  color: #c75c5c;
}

.status-unexplained {
  color: #c2a46d;
}

.status-closed {
  color: #777;
}

.status-investigation-pending {
  color: #9aa7b0;
}

/* RIGHT IMAGE */
.case-image {
  width: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* IMAGE FRAME EFFECT */
.case-image::before {
  content: "";
  position: absolute;
  inset: 0;
  border-left: 1px solid rgba(255,255,255,0.08);
}

/* SUBTLE OVERLAY */
.case-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
}

/* HOVER */
.case-row:hover {
  background: rgba(20,25,26,0.95);
  transition: 0.3s;
}

/* CASE LINES */
.case-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,0.05);
  z-index: 3;
}

.case-row .case-inner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,0.05);
  z-index: 3;
}

/* TEXTURE */
.case-row::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/images/texture.png');
  background-repeat: repeat;
  opacity: 0.12;
  pointer-events: none;
  z-index: 1;
}

/* HEADER */
.site-header {
  padding: 30px 20px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  
  background-image: url('assets/images/paranormal-bg.jpg');
  background-size: cover;        /* fills screen */
  background-position: center;   /* keeps it centered */
  background-attachment: fixed;  /* subtle depth effect */
  background-repeat: no-repeat;  /* IMPORTANT: stops tiling */
}

/* LOGO */
.logo-wrap img {
  max-width: 320px;
  height: auto;
  opacity: 0.9;
}

/* SUBTLE FADE LINE UNDER HEADER */
.site-header::after {
  content: "";
  display: block;
  margin: 20px auto 0;
  width: 80%;
  height: 1px;
  background: rgba(255,255,255,0.05);
}

/* HERO CONTAINER */
.hero {
  margin: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(10,15,16,0.9);
  position: relative;
}

/* INNER FLEX */
.hero-inner {
  display: flex;
  min-height: 420px;
}

/* LEFT SIDE (TEXT) */
.hero-text {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* CASE FILE LABEL */
.case-file {
  font-size: 12px;
  letter-spacing: 2px;
  opacity: 0.7;
  margin-bottom: 10px;
}

/* TITLE */
.hero-text h1 {
  font-size: 36px;
  margin: 0 0 10px 0;
}

/* LOCATION */
.hero-meta {
  font-size: 15px;
  opacity: 0.75;
  margin-bottom: 10px;
}

/* STATUS */
.hero-status {
  font-size: 14px;
}

/* RIGHT IMAGE */
.hero-image {
  width: 45%;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* IMAGE FRAME LINE */
.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  border-left: 1px solid rgba(255,255,255,0.08);
}

/* DARK OVERLAY */
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
}

/* HERO TOP LINE */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,0.05);
  z-index: 3;
}

/* HERO BOTTOM LINE */
.hero .hero-inner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,0.05);
  z-index: 3;
}

/* HERO TEXTURE (NEW LAYER) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/images/texture.png');
  background-repeat: repeat;
  opacity: 0.18; /* increased so you can SEE it */
  pointer-events: none;
  z-index: 2;
}


.status-active { color: #c75c5c; }
.status-unexplained { color: #c2a46d; }
.status-closed { color: #777; }
.status-investigation-pending { color: #9aa7b0; }



/* GLOBAL COLOR TINT */
.site-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 40, 35, 0.08); /* green/blue paranormal tint */
  pointer-events: none;
}

.hero,
.case-row,
.site-wrapper {
  position: relative;
}

.hero-inner,
.case-inner {
  position: relative;
  z-index: 2;
}