
/*
Theme: Tech / Futuristic
Font: Fira Code
Language: French
Tone: Informative & Straightforward
*/

@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;600;700&display=swap');

:root {
  --primary-bg: #0a192f;
  --secondary-bg: #112240;
  --accent-color: #64ffda;
  --text-primary: #ccd6f6;
  --text-secondary: #8892b0;
  --heading-color: #ffffff;
  --border-color: #233554;
  --font-family: 'Fira Code', monospace;
}

/* --- General Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--primary-bg);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ffffff;
  text-decoration: underline;
}

h1, h2, h3, h4 {
  color: var(--heading-color);
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Header & Navigation --- */
.site-header {
  background-color: rgba(10, 25, 47, 0.85);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.main-nav a {
  padding: 0.5rem;
  font-weight: 400;
}

/* --- Main Content Layout --- */
.main-content {
  padding: 2rem 0;
}

.main-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .main-layout {
    grid-template-columns: 3fr 1fr;
  }
}

.content-area {
  background-color: var(--secondary-bg);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.page-intro h1 {
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.5rem;
  display: inline-block;
}

/* --- Blog Post List (Homepage) --- */
.blog-list .post-item {
  background-color: var(--primary-bg);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-list .post-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(100, 255, 218, 0.1);
}

.post-item h3 {
  margin-bottom: 0.5rem;
}

.post-item h3 a {
  color: var(--heading-color);
}

.post-item h3 a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.read-more {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
}

/* --- Sidebar --- */
.sidebar .widget {
  background-color: var(--secondary-bg);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.sidebar h3 {
  font-size: 1.25rem;
  color: var(--accent-color);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.sidebar ul {
  list-style: none;
  margin-top: 1rem;
}

.sidebar ul li {
  margin-bottom: 0.5rem;
}

.sidebar ul li a {
    color: var(--text-primary);
}

.sidebar .promo-text p {
  font-style: italic;
  color: var(--text-primary);
}

/* --- Single Article Page --- */
.article-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.article-header h1 {
    font-size: 2.2rem;
}

.article-meta {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.article-content h2, .article-content h3 {
    margin-top: 2rem;
    color: var(--accent-color);
}

.article-content ul {
    list-style-position: inside;
    margin-left: 1rem;
    margin-bottom: 1rem;
}
.article-content ul li {
    color: var(--text-secondary);
}

.cta-box {
    background-color: var(--primary-bg);
    border: 1px solid var(--accent-color);
    border-radius: 5px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}
.cta-box h3 {
    color: var(--heading-color);
}


/* --- Footer --- */
.site-footer {
  text-align: center;
  padding: 2rem 0;
  margin-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.9rem;
}
