/* ==========================================================================
   Reliable Junk - Inner Pages Stylesheet
   Brand Colors: Blue (#025bd5), Green (#92cf2d)
   ========================================================================== */

:root {
  --primary-blue: #025bd5;
  --primary-green: #92cf2d;
  --dark-text: #1e1e2f;
  --light-gray: #f8fbf8;
  --border-color: #e2e8f0;
}

/* --------------------------------------------------------------------------
   Base Typography & Layout
   -------------------------------------------------------------------------- */
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--dark-text);
  line-height: 1.6;
  background-color: #ffffff;
}

/* Standard WordPress Content Container */
.entry-content,
.page-content,
.site-main {
  max-width: 900px; /* Keeps text readable */
  margin: 0 auto;
  padding: 40px 24px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-blue);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

h1 { font-size: 3rem; letter-spacing: -1px; }
h2 { font-size: 2.2rem; letter-spacing: -0.5px; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }

/* Paragraphs & Text */
p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #3d3d4e;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-green);
}

/* --------------------------------------------------------------------------
   Lists (Bullet Points)
   -------------------------------------------------------------------------- */
ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  color: #3d3d4e;
}

/* Custom Checkmark List (Add class="check-list" to <ul>) */
ul.check-list {
  list-style: none;
  padding-left: 0;
}

ul.check-list li {
  position: relative;
  padding-left: 2rem;
}

ul.check-list li::before {
  content: '\f00c'; /* FontAwesome Check */
  font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary-green);
}

/* --------------------------------------------------------------------------
   Forms (Contact Page)
   -------------------------------------------------------------------------- */
form {
  background: var(--light-gray);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  margin-top: 2rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark-text);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 24px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: #ffffff;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(2, 91, 213, 0.1);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

/* Buttons */
button,
input[type="submit"],
.wp-block-button__link {
  display: inline-block;
  background-color: var(--primary-blue);
  color: white !important;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 40px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s, transform 0.1s;
}

button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
  background-color: #0147a6;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Cards & Blocks (For Services / About Pages)
   -------------------------------------------------------------------------- */
/* Add class="info-card" to a div or block to get this look */
.info-card {
  background: var(--light-gray);
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--border-color);
  margin-bottom: 30px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-green);
}

/* --------------------------------------------------------------------------
   Tables
   -------------------------------------------------------------------------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

th, td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

th {
  background-color: var(--primary-blue);
  color: white;
  font-weight: 700;
}

tr:last-child td {
  border-bottom: none;
}

tr:nth-child(even) {
  background-color: var(--light-gray);
}

/* --------------------------------------------------------------------------
   WordPress Core Blocks (Alignment & Images)
   -------------------------------------------------------------------------- */
img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

.alignleft {
  float: left;
  margin-right: 2rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}

/* Blockquotes */
blockquote {
  border-left: 4px solid var(--primary-green);
  padding-left: 20px;
  margin: 2rem 0;
  font-style: italic;
  font-size: 1.2rem;
  color: #555;
  background: var(--light-gray);
  padding: 20px;
  border-radius: 0 12px 12px 0;
}

/* --------------------------------------------------------------------------
   Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  
  form {
    padding: 24px;
  }
  
  .alignleft, .alignright {
    float: none;
    margin: 0 0 1rem 0;
    display: block;
  }
}