/*
Theme Name:         Just Win
Theme URI:          https://ehtishamsaeed.com
Author:             Ehtisham Saeed
Author URI:         https://ehtishamsaeed.com
Description:        Just Win is a high-performance WordPress theme built for authority, speed, and conversion. Designed exclusively for Ehtisham Saeed — RTO marketing specialist, website designer, and co-founder of RTOGrow. Clean white design with bold blue accent. Built-in schema support, Elementor compatible, mobile-first, and crafted to rank and convert.
Version:            3.0.0
Requires at least:  6.0
Tested up to:       6.9
Requires PHP:       7.4
License:            GPL v2 or later
License URI:        https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:        just-win
Tags:               business, portfolio, one-column, custom-logo, custom-menu, featured-images, theme-options, full-width-template, translation-ready, blog, e-commerce
*/

/* ===========================================
   CSS VARIABLES
   =========================================== */
:root {
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --bg-lighter: #f1f5f9;
    --bg-dark: #0A0A0A;
    --bg-dark-light: #171717;
    --text: #171717;
    --text-light: #525252;
    --text-muted: #A3A3A3;
    --accent: #2563EB;
    --accent-dark: #1D4ED8;
    --accent-light: #3B82F6;
    --accent-dim: rgba(37,99,235,0.08);
    --success: #10B981;
    --muted: #A3A3A3;
    --muted-dark: #525252;
    --border: #E5E5E5;
    --white: #ffffff;
}

/* ===========================================
   RESET & BASE
   =========================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg) !important;
    background-image: none !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before, body::after,
#page::before, #page::after,
.site::before, .site::after {
    display: none !important;
}

::selection { background: var(--accent); color: #fff; }

a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ===========================================
   TYPOGRAPHY
   =========================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }
p  { margin-bottom: 1rem; }

/* ===========================================
   LAYOUT
   =========================================== */
.container { width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 2rem; }
section { padding: 6rem 0; }
@media (max-width: 768px) { section { padding: 4rem 0; } }

/* ===========================================
   SECTION HEADERS
   =========================================== */
.section-label {
    font-size: 0.75rem; text-transform: uppercase;
    letter-spacing: 0.2em; color: var(--accent);
    margin-bottom: 1rem; display: block;
}
.section-title {
    font-size: clamp(2rem, 5vw, 3rem); font-weight: 800;
    letter-spacing: -0.02em; margin-bottom: 1rem;
}
.section-subtitle { color: var(--muted); font-size: 1.1rem; max-width: 500px; }

/* ===========================================
   BUTTONS
   =========================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 0.5rem; font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem; font-weight: 600; padding: 1rem 2rem;
    border: none; border-radius: 100px; cursor: pointer;
    transition: all 0.3s ease; text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(37,99,235,0.3); }
.btn-outline { background: transparent; border: 1px solid rgba(255,255,255,0.2); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ===========================================
   CARDS
   =========================================== */
.card {
    background: var(--bg-light); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px; padding: 2rem; transition: all 0.3s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); }

/* ===========================================
   UTILITIES
   =========================================== */
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--muted); }
.text-center  { text-align: center; }
.bg-light     { background: var(--bg-light); }
.bg-accent    { background: var(--accent); color: #fff; }

/* ===========================================
   WORDPRESS CORE
   =========================================== */
.alignleft   { float: left;  margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright  { float: right; margin-left:  1.5rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.wp-caption  { max-width: 100%; }
.wp-caption-text { font-size: 0.875rem; color: var(--muted); margin-top: 0.5rem; }

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px; width: 1px; overflow: hidden;
}
.sticky { border-left: 3px solid var(--accent); padding-left: 1rem; }

/* Pagination */
.nav-links a, .nav-links span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 0.75rem;
    border: 1px solid var(--border); border-radius: 8px;
    font-size: 0.875rem; font-weight: 600; transition: all 0.2s;
    color: var(--text);
}
.nav-links a:hover   { border-color: var(--accent); color: var(--accent); }
.nav-links .current  { background: var(--accent); color: #fff; border-color: var(--accent); }
.blog-pagination .nav-links { display: flex; gap: 0.5rem; margin-top: 3rem; flex-wrap: wrap; }
