/* source-review-style.css
   Black & Red Theme for Source Code Review service page
*/

/* Root variables */
:root{
  --bg-color: #070707;
  --panel: #0f0f10;
  --accent: #ff1f3a;     /* vivid red */
  --muted: #bfc3c7;
  --text: #e9eaec;
  --glass: rgba(255,31,58,0.06);
  --card-border: rgba(255,31,58,0.08);
  --maxw: 1100px;
}

/* Basic reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
html,body { height: 100%; }

/* Page layout */
body {
  background: linear-gradient(180deg, #050505 0%, #0b0b0b 100%);
  color: var(--text);
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  padding: 28px;
}

/* center wrapper */
.page-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero */
.hero {
  width: 100%;
  padding: 28px 18px;
  text-align: center;
  margin-bottom: 18px;
}

.hero-inner {
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  background: linear-gradient(90deg, rgba(255,31,58,0.02), rgba(0,0,0,0));
  border: 1px solid var(--card-border);
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.hero h1 {
  font-size: 28px;
  color: var(--accent);
  letter-spacing: -0.4px;
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(255,31,58,0.06);
  transform: translateY(0);
  animation: fadeUp 700ms ease both;
}

.hero .sub {
  color: var(--muted);
  font-size: 15px;
  max-width: 880px;
  margin: 0 auto;
  animation: fadeUp 900ms ease both;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--maxw);
  padding: 18px;
}

/* Content card */
.content-card {
  background: linear-gradient(180deg, rgba(255,31,58,0.02), rgba(0,0,0,0.03));
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 26px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  overflow: hidden;
}

/* Sections */
.content-card section {
  margin-bottom: 20px;
  padding-bottom: 4px;
  border-bottom: 1px dashed rgba(255,31,58,0.03);
  animation: fadeIn 800ms ease both;
}

.content-card section:last-child {
  border-bottom: none;
}

/* Headings */
.content-card h2 {
  color: var(--accent);
  font-size: 20px;
  margin-bottom: 10px;
}

.content-card h3 {
  color: #ffffff;
  font-size: 16px;
  margin-top: 12px;
  margin-bottom: 8px;
}

/* Text and lists */
.content-card p, .content-card li {
  color: var(--text);
  font-size: 15px;
  margin: 8px 0;
}

.content-card ul {
  margin: 8px 0 12px 20px;
  list-style: disc;
  color: var(--text);
}

.content-card li {
  margin-bottom: 6px;
}

/* Callout */
.callout {
  margin-top: 12px;
  background: var(--glass);
  border-left: 4px solid var(--accent);
  padding: 12px 14px;
  color: var(--muted);
  border-radius: 6px;
}

/* Footer */
.doc-footer {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* Links */
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Responsiveness */
@media (max-width: 900px) {
  .hero h1 { font-size: 24px; }
  .hero .sub { font-size: 14px; }
  .content-card { padding: 18px; }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* small nice detail: subtle accent underline on headings */
.content-card h2::after {
  content: "";
  display: block;
  height: 3px;
  width: 52px;
  background: linear-gradient(90deg, var(--accent), rgba(255,31,58,0.6));
  margin-top: 8px;
  border-radius: 3px;
}

/* Accessibility: focus outlines for keyboard users */
a:focus, button:focus { outline: 3px solid rgba(255,31,58,0.12); outline-offset: 2px; border-radius: 4px; }

.contact-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #e60000; /* Bright red */
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  border: 2px solid #e60000;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background-color: black;
  color: #e60000;
  border-color: #e60000;
  transform: scale(1.05);
  text-decoration: none;
}
