/*
Theme Name: Elson Child
Theme URI: https://yourwebsite.com/elson-child
Description: Child theme for Elson – keeps customizations safe and update-proof.
Author: Your Name
Author URI: https://yourwebsite.com
Template: elson
Version: 1.0.0
Text Domain: elson-child
*/

/* ==================================================
   CUSTOM CHILD THEME CSS
   Add your overrides below
================================================== */

* ==================================================
   DESIGN TOKENS (Fonts & Colors)
================================================== */

:root {
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Montserrat', sans-serif;

  --color-bg: #120a1f;
  --color-primary: #fec503;
  --color-white: #ffffff;
  --color-muted: #eeeeee;
  --color-accent-purple: #9d4dff;
}

/* ==================================================
   GLOBAL RESET & BASE
================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body) !important;
  background-color: var(--color-bg);
  color: var(--color-white);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Hide default page titles */
.page .entry-title {
  display: none;
}

/* ==================================================
   TYPOGRAPHY SYSTEM
================================================== */

/* Headings: Montserrat only */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading) !important;
}

/* Heading sizes & colors */
h1 {
  color: #f7f7fb;
}

h2 {
  color: var(--color-white);
  font-size: 30px;
}

h3 {
  color: #1a1e25;
  font-size: 22px;
  text-align: center;
}

h4 {
  color: #00e6d7;
  font-size: 18px;
}

h5 {
  color: #875;
}

h6 {
  color: greenyellow;
}

/* Paragraphs */
p {
  color: var(--color-muted);
  font-family: var(--font-body) !important;
}

/* Line-height utilities */
p.small { line-height: 0.7; }
p.big   { line-height: 1.8; }

/* ==================================================
   TEXT UTILITIES
================================================== */

.text-primary { color: var(--color-primary); }
.text-purple  { color: var(--color-accent-purple); }
.text-red     { color: #ff3e3e; }
.text-green   { color: #3dff85; }
.text-blue    { color: #4daaff; }

/* Gradient text */
.text-gradient {
  background: linear-gradient(90deg, #732aff, #2affc9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-outline {
  font-weight: 800;
  background: linear-gradient(90deg, #7b33ff, #d600c5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: violet;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 var(--color-primary),
     1px  1px 0 var(--color-primary);
}

/* ==================================================
   LAYOUT UTILITIES
================================================== */

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  color: var(--color-primary);
}

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.text-justify{ text-align: justify; }


/* ==================================================
   SOCIAL ICONS
================================================== */

.featured-socials {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 1.5rem;
}

.featured-socials a {
  color: #f5b301;
  transition: 0.3s ease;
}

.featured-socials a:hover {
  color: #ff8c42;
  transform: translateY(-4px);
}

/* ==================================================
   SOCIAL ICON NORMALIZATION
   Fixes theme conflicts on inner pages
================================================== */

footer .social-links {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap;
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Neutralize parent theme interference */
footer .social-links a {
  float: none !important;
  margin: 0 !important;
}

/* Prevent grid/column squeezing */
footer .social-links,
footer .social-links * {
  max-width: none !important;
}

/* ==================================================
   BRING THE SOCIAL ICONS BACK TO LIFE NOW!
   Clones the visual DNA of home footer social buttons
================================================== */

.social-links {
  margin: 1.5rem 0;
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}
.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #120a1f;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f5b301;
  font-size: 1.2rem;
  transition: 0.3s;
}
.social-links a:hover {
  background: #f5b301;
  color: #120a1f;
  transform: translateY(-4px);
  box-shadow: 0 0 15px rgba(245,179,1,0.6);
}

/* ==================================================
   BUTTON SYSTEM
================================================== */

.buttons-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 20px auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 6px;
  min-width: 120px;
  cursor: pointer;
  color: #fff;
  transition: opacity 0.2s ease;
}

.button:hover {
  opacity: 0.85;
  color: violet;
}

/* Button colors */
.button1 { background-color: #f44336; }
.button2 { background-color: #008cba; }
.button3 { background-color: #ffd700; }
.button4 { background-color: #04aa6d; }
.button5 { background-color: #008000; }
.button6 { background-color: #00ced1; }
.button7 { background-color: #ba55d3; }
.button8 { background-color: #8b87ff; }

/* Mobile buttons */
@media (max-width: 600px) {
  .button {
    width: 48%;
    font-size: 14px;
    padding: 10px 0;
  }
}

/* ==================================================
   ICONS
================================================== */

.fa, .fab, .fas {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

/* Force global footer center */
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ==================================================
   FOOTER
================================================== */

footer {
  background: #1b1333;
  padding: 2rem 0;
  text-align: center;
  color: #f5b301;
}

footer nav a {
  margin: 0 1rem;
  color: #f5b301;
  font-weight: bold;
}

footer p {
  margin-top: 1rem;
  font-size: 0.9rem;
}



/* ==================================================
   GLOBAL FOOTER ALIGNMENT FIX
   Forces homepage-style footer layout site-wide
================================================== */

footer,
footer * {
  box-sizing: border-box;
}

footer {
  width: 100%;
  margin: 0 auto;
}

/*================================================
 Forces homepage-Footer Social buttons DNA site wide
so that all the buttons look equally pretty 
=============================================== */
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}


/* Neutralize parent theme footer containers */
footer .container,
footer .wrap,
footer .inner,
.site-footer .container,
.site-footer .wrap,
.site-footer .inner {
  max-width: none !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Center EVERYTHING */
footer .container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

/* Navigation links */
footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

/* Social icons row */
footer .social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

/* Copyright */
footer p {
  margin-top: 1rem;
  text-align: center;
}

