/*
Theme Name: ClassicLite Vibrant
Theme URI: https://example.com/classiclite-vibrant
Author: You
Author URI: https://example.com
Description: A vibrant, lively WordPress theme with bold colors and modern typography.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: classiclite
*/

/* ===== Variables ===== */
:root {
  --font-base: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --font-head: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", Menlo, monospace;

  --color-bg: #ffffff;
  --color-surface: #f7f8fa;
  --color-text: #1f1f1f;
  --color-text-light: #6b6b6b;

  --color-accent: #ff4d6d;
  --color-accent-2: #3a86ff;
  --color-accent-dark: #c9184a;

  --color-border: #e2e6ea;
  --radius: 8px;
  --shadow-sm: 0 2px 6px rgba(0,0,0,.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,.08);
}

/* ===== Base ===== */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent-2); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover, a:focus { color: var(--color-accent); text-decoration: underline; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  margin: 2rem 0 1rem;
  line-height: 1.2;
  font-weight: 600;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }
p { margin: 0 0 1.1rem; }
.container { width: min(90%, 780px); margin: 0 auto; }

/* ===== Layout ===== */
header.site-header {
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-2) 100%);
  color: #fff;
  padding: 2.5rem 0 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}
.site-header a { color: #fff; }
.site-title { margin: 0; font-size: clamp(2rem, 6vw, 3.25rem); letter-spacing: -0.5px; }
.site-description { margin: .25rem 0 1.5rem; font-size: 1rem; opacity: .9; }
nav.primary-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  padding: 0;
  margin: 0;
}
nav.primary-nav a {
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
nav.primary-nav a:hover,
nav.primary-nav .current-menu-item > a { border-bottom-color: #fff; }

main#content { padding-bottom: 4rem; }

footer.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 2.5rem 0;
  margin-top: 4rem;
  color: var(--color-text-light);
  font-size: .9rem;
}
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
}
.footer-nav a { color: var(--color-text-light); }
.footer-nav a:hover { color: var(--color-accent-dark); }

/* ===== Posts & Cards ===== */
.post-list article { margin-bottom: 3rem; padding-bottom: 2rem; border-bottom: 1px solid var(--color-border); }
.entry-title a { text-decoration: none; }
.post-meta { color: var(--color-text-light); font-size: .85rem; margin-bottom: 1rem; }
.entry-content > *:first-child { margin-top: 0; }
.entry-footer { margin-top: 2rem; }
.tags a {
  display: inline-block;
  background: var(--color-surface);
  padding: .25rem .6rem;
  margin: 0 .25rem .25rem 0;
  border-radius: var(--radius);
  font-size: .8rem;
  color: var(--color-accent-dark);
}

/* ===== Forms & Buttons ===== */
input, textarea, select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font: inherit;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-accent-2);
  box-shadow: 0 0 0 3px rgba(58,134,255,.15);
  outline: none;
}
button, input[type="submit"], .btn {
  display: inline-block;
  background: var(--color-accent-2);
  color: #fff;
  border: none;
  padding: .75rem 1.25rem;
  cursor: pointer;
  border-radius: var(--radius);
  font-weight: 600;
  line-height: 1;
  transition: background .2s ease, transform .1s ease;
  text-decoration: none;
}
button:hover, input[type="submit"]:hover, .btn:hover {
  background: var(--color-accent);
  transform: translateY(-1px);
}

/* ===== Pagination ===== */
.pagination .page-numbers {
  display: inline-block;
  padding: .5rem .9rem;
  margin: 0 .25rem;
  background: var(--color-surface);
  border-radius: var(--radius);
}
.pagination .current { background: var(--color-accent-2); color: #fff; }

/* ===== Sidebar & Widgets ===== */
.sidebar { margin-top: 3rem; }
.widget {
  background: var(--color-surface);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.widget-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  margin: 0 0 1rem;
}

/* ===== Utility ===== */
.hidden { display: none !important; }
.screen-reader-text { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { nav.primary-nav ul { gap: .75rem 1rem; } }
