/*
Theme Name: ImageToolsHub Pro
Theme URI: https://example.com/
Author: Manoj
Description: Modern, AJAX-first Image Tools suite (compress, resize, convert, crop, watermark, meme, EXIF remover) with SEO landing pages and analytics.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GPLv2 or later
Text Domain: imagetoolshub
*/

:root{
  --ith-red:#E53935;
  --ith-blue:#0F2A44;
  --ith-bg:#FFFFFF;
  --ith-surface:#F7F9FC;
  --ith-text:#111827;
  --ith-muted:#6B7280;
  --ith-border:rgba(15,42,68,.14);
  --ith-grad:linear-gradient(135deg,#E53935 0%,#0F2A44 100%);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:var(--ith-bg);color:var(--ith-text);line-height:1.5}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.ith-wrap{width:min(1180px,calc(100% - 32px));margin-inline:auto}
.ith-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:14px;padding:12px 16px;border:1px solid var(--ith-border);background:#fff;color:var(--ith-blue);font-weight:700;cursor:pointer;transition:transform .08s ease, box-shadow .2s ease, background .2s ease}
.ith-btn:active{transform:translateY(1px)}
.ith-btn--primary{background:var(--ith-red);border-color:transparent;color:#fff;box-shadow:0 10px 26px rgba(229,57,53,.25)}
.ith-btn--ghost{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.2);color:#fff}
.ith-card{background:#fff;border:1px solid var(--ith-border);border-radius:22px;box-shadow:0 12px 34px rgba(15,42,68,.08)}
.ith-muted{color:var(--ith-muted)}
.ith-pill{display:inline-flex;gap:10px;align-items:center;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.12);color:#fff;padding:6px 12px;border-radius:999px;font-weight:700;font-size:13px}
.ith-grid{display:grid;gap:18px}
@media(min-width:960px){.ith-grid--2{grid-template-columns:1.15fr .85fr}}
.ith-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.86);backdrop-filter:blur(12px);border-bottom:1px solid var(--ith-border)}
.ith-header__inner{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 0}
.custom-logo{max-height:42px;width:auto}
@media(max-width:520px){.custom-logo{max-height:34px}}
.ith-nav{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.ith-nav a{padding:8px 10px;border-radius:12px;color:var(--ith-blue);font-weight:700}
.ith-nav a:hover{background:rgba(15,42,68,.06)}
.ith-hero{background:var(--ith-grad);color:#fff;padding:56px 0}
.ith-h1{font-size:clamp(34px,4vw,54px);line-height:1.05;margin:12px 0 10px}
.ith-sub{font-size:18px;max-width:56ch;margin:0 0 18px;opacity:.92}
.ith-hero__cta{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}
.ith-hero__meta{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px;font-weight:700;opacity:.95}
.ith-hero__meta span{display:inline-flex;gap:8px;align-items:center}
.ith-section{padding:46px 0}
.ith-section h2{font-size:28px;margin:0 0 12px}
.ith-tools{display:grid;gap:14px;grid-template-columns:repeat(1,minmax(0,1fr))}
@media(min-width:740px){.ith-tools{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1080px){.ith-tools{grid-template-columns:repeat(3,minmax(0,1fr))}}
.ith-toolCard{padding:18px;border-radius:22px;border:1px solid var(--ith-border);background:#fff;display:flex;flex-direction:column;gap:10px;min-height:150px}
.ith-toolCard h3{margin:0;font-size:18px;color:var(--ith-blue)}
.ith-toolCard p{margin:0;color:var(--ith-muted)}
.ith-toolCard .ith-btn{align-self:flex-start;margin-top:auto}
.ith-footer{background:#0B1522;color:#D7E2F1;padding:26px 0;margin-top:40px}
.ith-footer a{color:#D7E2F1}
.ith-footer__grid{display:grid;gap:18px}
@media(min-width:860px){.ith-footer__grid{grid-template-columns:1.3fr 1fr 1fr}}
.ith-input{width:100%;padding:10px 12px;border-radius:14px;border:1px solid var(--ith-border);background:#fff;font:inherit}
.ith-label{font-weight:800;color:var(--ith-blue);font-size:13px}
.ith-row{display:grid;gap:12px}
@media(min-width:860px){.ith-row--2{grid-template-columns:1fr 1fr}}
.ith-studio{padding:18px}
.ith-drop{border:2px dashed rgba(15,42,68,.25);border-radius:22px;padding:18px;background:rgba(15,42,68,.03)}
.ith-drop.is-drag{border-color:var(--ith-red);background:rgba(229,57,53,.06)}
.ith-preview{display:grid;gap:16px}
@media(min-width:960px){.ith-preview{grid-template-columns:1fr 1fr}}
.ith-preview__box{padding:14px;border-radius:18px;border:1px solid var(--ith-border);background:#fff}
.ith-kbd{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;background:rgba(15,42,68,.06);padding:2px 8px;border-radius:10px}
