/* Blog Page Styles for Codatron */

:root {
  --primary-gold: #c9980a;
  --secondary-gold: #f0b700;
  --light-gold: #fffbf0;
  --lighter-gold: #fef7e0;
  --accent-gold: #faff6d;
  --dark-slate: #0f172a;
  --medium-slate: #1e293b;
  --light-slate: #475569;
  --text-gray: #64748b;
  --light-gray: #94a3b8;
  --white: #ffffff;
  --shadow-light: rgba(201, 152, 10, 0.1);
  --shadow-medium: rgba(201, 152, 10, 0.2);
  --shadow-heavy: rgba(201, 152, 10, 0.3);
  --shadow-ultra: rgba(201, 152, 10, 0.4);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --success-green: #10b981;
  --error-red: #ef4444;
}


/* General layout */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #333;
}

/* Header */
.site-header {
  background: linear-gradient(to right, #e1c7788c, #c9980a);
  /* background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 30%, #c9980a 70%, #e1c778 100%); */
  padding: 20px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
}
.logo-left, .logo-right {
  height: 75px;
}
.header-center {
  text-align: center;
  flex-grow: 1;
}
.site-title {
  margin: 0;
  font-size: 30px;
  font-weight: bold;
  color: #fff;
}
.site-subtitle {
  margin: 5px 0 0;
  font-size: 24px;
  font-weight: 300;
  color: #000;
}

/* Hero */
.hero {
  text-align: center;
  margin: 20px auto;
}
.blog-hero {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  margin-left: 28px;
}
.hero-text {
  margin-top: 12px;
  font-size: 16px;
  color: #444;
}

/* Blog wrapper */
.blog-container {
  max-width: 980px;
  margin: 40px auto;
  padding: 28px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

/* Headings */
h2 {
  color: #c9980a;
  margin-top: 24px;
}

/* Highlighted box */
.highlight {
  background: #fff9e5;
  padding: 14px;
  border-left: 4px solid #c9980a;
  margin: 20px 0;
}

/* Code blocks */
pre {
  background: #0b1220;
  color: #e6eef8;
  padding: 14px;
  border-radius: 6px;
  overflow-x: auto;
}
code {
  font-family: "Courier New", monospace;
}

/* CTA */
.cta {
  text-align: center;
  margin: 36px 0;
}
.cta a {
  display: inline-block;
  /* background: #c9980a; */
  /* color: #fff; */
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}
.cta a:hover {
  /* background: #a87d08; */
}

/* Footer */
.site-footer {
  margin-top: 40px;
  padding: 20px;
  background: #333;
  color: #fff;
  text-align: center;
}

/* additional styles */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.2rem 2.5rem;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.6s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 70%, var(--accent-gold) 100%);
  color: white;
  box-shadow: 0 8px 25px var(--shadow-medium);
  border: 2px solid var(--primary-gold);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px var(--shadow-heavy);
  background: linear-gradient(135deg, var(--secondary-gold) 0%, var(--accent-gold) 70%, #ffff8d 100%);
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 50px var(--shadow-heavy);
    color: var(--medium-slate);
}

li{
  padding-bottom: 5px;
}