/*
Theme Name: WesternSEO
Theme URI: https://westernseo.com
Author: Western SEO
Author URI: https://westernseo.com
Description: Custom WordPress theme for Western SEO — white label SEO & digital marketing agency. Modern design inspired by GridRankers. Fully responsive with Elementor support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: westernseo
Tags: business, seo, marketing, custom-logo, custom-menu, featured-images, threaded-comments, wide-blocks
*/

/* === DESIGN TOKENS === */
:root {
  --c-primary:       #0057FF;
  --c-primary-dark:  #003FBD;
  --c-primary-light: #EEF3FF;
  --c-accent:        #FF5C00;
  --c-green:         #00C27C;
  --c-purple:        #9B3FF5;
  --c-pink:          #F72585;
  --c-dark:          #0A0F1E;
  --c-dark2:         #141928;
  --c-mid:           #2D3452;
  --c-text:          #3B4466;
  --c-muted:         #6B7595;
  --c-border:        #E4E8F3;
  --c-white:         #FFFFFF;
  --c-bg:            #F7F9FF;
  --radius:          14px;
  --shadow:          0 4px 24px rgba(0,87,255,.08);
  --shadow-lg:       0 12px 48px rgba(0,87,255,.14);
  --font-head:       'Syne', sans-serif;
  --font-body:       'DM Sans', sans-serif;
  --max-w:           1200px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--c-text);
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: var(--font-body); }

/* === LAYOUT === */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 88px 0; }
.section-sm { padding: 60px 0; }
.bg-light   { background: var(--c-bg); }
.bg-dark    { background: var(--c-dark); }
.bg-dark2   { background: var(--c-dark2); }
.text-center { text-align: center; }

/* === TYPOGRAPHY === */
.tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--c-primary); margin-bottom: 12px;
}
.heading {
  font-family: var(--font-head);
  font-size: clamp(28px,3.2vw,44px);
  font-weight: 800; color: var(--c-dark);
  line-height: 1.12; margin-bottom: 16px;
}
.heading em   { font-style: normal; color: var(--c-primary); }
.heading-white { color: #fff; }
.sub {
  font-size: 17px; color: var(--c-muted);
  line-height: 1.7; margin-bottom: 44px;
}
.text-center .sub { max-width: 620px; margin-left: auto; margin-right: auto; }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 26px; border-radius: 10px;
  font-size: 15px; font-weight: 600;
  font-family: var(--font-body); transition: all .2s;
  white-space: nowrap; cursor: pointer; border: none;
}
.btn-primary   { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,87,255,.35); }
.btn-ghost     { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.3); }
.btn-ghost:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.06); }
.btn-outline   { background: transparent; color: var(--c-primary); border: 1.5px solid var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-sm   { padding: 9px 18px; font-size: 13.5px; }
.btn-full { width: 100%; justify-content: center; }

/* === CARDS === */
.card {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 28px;
  transition: all .25s; position: relative; overflow: hidden;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent-bar, var(--c-primary));
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.card:hover::before { transform: scaleX(1); }

/* === INPUTS === */
.input {
  width: 100%; padding: 13px 16px; border-radius: 9px;
  border: 1.5px solid var(--c-border); background: #fff;
  color: var(--c-text); font-size: 15px; outline: none;
  transition: border-color .2s; font-family: var(--font-body);
}
.input:focus { border-color: var(--c-primary); }
.input-dark {
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.07); color: #fff;
}
.input-dark::placeholder { color: rgba(255,255,255,.3); }
.input-dark:focus { border-color: var(--c-primary); }

/* === ANIMATIONS === */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.anim { animation: fadeUp .65s ease both; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .2s; }
.d3 { animation-delay: .3s; } .d4 { animation-delay: .4s; }

/* === WP CORE === */
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute; width: 1px; height: 1px; overflow: hidden; }
.alignleft  { float: left;  margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter{ display: block; margin: 0 auto 1rem; }
.wp-caption-text { font-size: 13px; color: var(--c-muted); text-align: center; }
