/*
Theme Name: Zillexit
Theme URI: https://zillexitmarketing.blog/
Author: Zillexit Team
Author URI: https://zillexitmarketing.blog/
Description: Zillexit is a clean, modern, fully responsive WordPress theme built for technology blogs — covering AI, gadgets, software, cybersecurity and how-to guides. Designed with a Blue, White & Sky Blue color palette for a fresh, trustworthy, tech-forward feel. Includes ready-made page templates (About, Contact, Services, Privacy Policy, Terms, Disclaimer) with pre-written content, auto-created blog categories, widget-ready sidebar & footer, custom menus, and a lightweight, fast-loading codebase.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zillexit
Tags: blog, technology, one-column, two-columns, right-sidebar, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, responsive-layout

Zillexit is based on underscores https://underscores.me/, (C) 2012-2024 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

/* =========================================================
   0. CSS VARIABLES — BRAND PALETTE
   ========================================================= */
:root {
  --z-blue: #0B5FFF;          /* primary brand blue */
  --z-blue-dark: #063d9e;      /* hover / depth */
  --z-sky: #4FC3F7;            /* sky blue accent */
  --z-sky-light: #E8F6FE;      /* light sky background tint */
  --z-white: #FFFFFF;
  --z-ink: #10233F;            /* near-black navy for text */
  --z-gray: #5B6B82;           /* secondary text */
  --z-border: #DCEBFB;
  --z-radius: 14px;
  --z-shadow: 0 10px 30px rgba(11, 95, 255, 0.08);
  --z-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* =========================================================
   1. RESET / BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--z-font);
  color: var(--z-ink);
  background: var(--z-white);
  line-height: 1.7;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--z-blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--z-blue-dark); }
ul, ol { padding-left: 1.3em; }
h1, h2, h3, h4, h5 { font-weight: 800; line-height: 1.25; color: var(--z-ink); margin: 0 0 .5em; }
h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1.2em; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.screen-reader-text { position: absolute; left: -9999px; }
button, .btn {
  display: inline-block;
  background: var(--z-blue);
  color: var(--z-white);
  border: none;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: var(--z-shadow);
}
button:hover, .btn:hover { background: var(--z-blue-dark); color: var(--z-white); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--z-blue); border: 2px solid var(--z-blue); box-shadow: none; }
.btn-outline:hover { background: var(--z-blue); color: var(--z-white); }
.btn-sky { background: var(--z-sky); color: var(--z-ink); }
.btn-sky:hover { background: #33b3ef; }

/* =========================================================
   2. HEADER
   ========================================================= */
.site-header {
  background: var(--z-white);
  border-bottom: 1px solid var(--z-border);
  position: sticky;
  top: 0;
  z-index: 999;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; }
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-title { font-size: 1.6rem; font-weight: 900; margin: 0; letter-spacing: -.5px; }
.site-title a { color: var(--z-ink); }
.site-title a span { color: var(--z-blue); }
.site-description { font-size: .8rem; color: var(--z-gray); margin: 0; }
.main-navigation ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.main-navigation li { position: relative; }
.main-navigation a { display: block; padding: 10px 16px; font-weight: 600; color: var(--z-ink); border-radius: 999px; }
.main-navigation a:hover, .main-navigation .current-menu-item > a { background: var(--z-sky-light); color: var(--z-blue); }
.main-navigation .sub-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--z-white); border: 1px solid var(--z-border); border-radius: 10px; box-shadow: var(--z-shadow); min-width: 200px; padding: 8px; }
.main-navigation li:hover > .sub-menu { display: block; }
.menu-toggle { display: none; background: var(--z-blue); border: none; color: #fff; padding: 10px 14px; border-radius: 10px; }
.header-cta { display: flex; align-items: center; gap: 14px; }

@media (max-width: 880px) {
  .main-navigation { display: none; width: 100%; }
  .main-navigation.toggled { display: block; }
  .main-navigation ul { flex-direction: column; }
  .main-navigation .sub-menu { position: static; box-shadow: none; }
  .menu-toggle { display: inline-block; }
  .header-inner { flex-wrap: wrap; }
}

/* =========================================================
   3. HERO
   ========================================================= */
.hero {
  background: linear-gradient(135deg, var(--z-blue) 0%, #1a7bff 45%, var(--z-sky) 100%);
  color: var(--z-white);
  padding: 90px 24px;
  text-align: center;
}
.hero h1 { color: var(--z-white); font-size: 3rem; max-width: 820px; margin: 0 auto .4em; }
.hero p.lead { font-size: 1.2rem; opacity: .95; max-width: 680px; margin: 0 auto 2em; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero .btn { background: var(--z-white); color: var(--z-blue); }
.hero .btn:hover { background: var(--z-sky-light); }
.hero .btn-outline { background: transparent; color: var(--z-white); border-color: var(--z-white); }
.hero .btn-outline:hover { background: rgba(255,255,255,.15); color: var(--z-white); }

/* =========================================================
   4. SECTIONS / CARDS
   ========================================================= */
.section { padding: 72px 24px; }
.section-alt { background: var(--z-sky-light); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 44px; }
.section-head p { color: var(--z-gray); }
.eyebrow { display: inline-block; background: var(--z-sky-light); color: var(--z-blue); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; margin-bottom: 14px; }

.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--z-white);
  border: 1px solid var(--z-border);
  border-radius: var(--z-radius);
  padding: 30px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--z-shadow); }
.card .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--z-sky-light); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px; color: var(--z-blue); }

/* Category pills on home */
.cat-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--z-white); border: 1px solid var(--z-border); padding: 10px 18px; border-radius: 999px; font-weight: 700; color: var(--z-ink); }
.cat-pill:hover { border-color: var(--z-blue); color: var(--z-blue); }

/* =========================================================
   5. BLOG / POSTS
   ========================================================= */
.content-area { padding: 56px 0; }
.post-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; }
@media (max-width: 880px) { .post-grid { grid-template-columns: 1fr; } }

article.post-card, article.type-post {
  background: var(--z-white);
  border: 1px solid var(--z-border);
  border-radius: var(--z-radius);
  padding: 28px;
  margin-bottom: 28px;
}
.post-card .post-thumb, .single-post .post-thumb { border-radius: 10px; overflow: hidden; margin-bottom: 18px; }
.post-meta { font-size: .85rem; color: var(--z-gray); margin-bottom: 10px; }
.post-meta a { color: var(--z-blue); font-weight: 600; }
.entry-title a { color: var(--z-ink); }
.entry-title a:hover { color: var(--z-blue); }
.read-more { font-weight: 700; }

.pagination { display: flex; gap: 10px; justify-content: center; margin: 40px 0; }
.pagination a, .pagination span { padding: 10px 16px; border: 1px solid var(--z-border); border-radius: 8px; }
.pagination .current { background: var(--z-blue); color: #fff; border-color: var(--z-blue); }

/* Sidebar */
.widget { background: var(--z-white); border: 1px solid var(--z-border); border-radius: var(--z-radius); padding: 24px; margin-bottom: 24px; }
.widget h2, .widget-title { font-size: 1.1rem; border-bottom: 3px solid var(--z-sky); display: inline-block; padding-bottom: 6px; margin-bottom: 16px; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 8px 0; border-bottom: 1px dashed var(--z-border); }
.widget li:last-child { border-bottom: none; }

/* Single post */
.single-post .entry-header { margin-bottom: 24px; }
.single-post .entry-title { font-size: 2.2rem; }
.entry-content h2 { margin-top: 1.4em; }
.entry-content blockquote { border-left: 4px solid var(--z-sky); background: var(--z-sky-light); margin: 1.5em 0; padding: 16px 22px; border-radius: 0 10px 10px 0; }
.tags-links a, .cat-links a { display: inline-block; background: var(--z-sky-light); color: var(--z-blue); padding: 4px 12px; border-radius: 999px; font-size: .82rem; margin: 3px 4px 3px 0; }

/* Comments */
.comment-list { list-style: none; padding: 0; }
.comment-body { background: var(--z-sky-light); border-radius: 12px; padding: 20px; margin-bottom: 16px; }
.comment-form input, .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--z-border); border-radius: 8px; margin-bottom: 14px; font-family: var(--z-font); }

/* Newsletter */
.newsletter { background: var(--z-blue); color: #fff; border-radius: var(--z-radius); padding: 48px; text-align: center; }
.newsletter h2 { color: #fff; }
.newsletter form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.newsletter input[type=email] { padding: 14px 18px; border-radius: 999px; border: none; min-width: 280px; }

/* Contact form */
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 13px 16px; border: 1px solid var(--z-border); border-radius: 10px; margin-bottom: 16px; font-family: var(--z-font); font-size: 1rem;
}
.contact-form label { font-weight: 700; display: block; margin-bottom: 6px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card { background: var(--z-sky-light); border-radius: var(--z-radius); padding: 30px; }
.contact-info-card .row { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-info-card .row .ico { background: var(--z-blue); color: #fff; width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Table styling for legal pages */
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.entry-content table th, .entry-content table td { border: 1px solid var(--z-border); padding: 10px 14px; text-align: left; }
.entry-content table th { background: var(--z-sky-light); }

/* =========================================================
   6. FOOTER
   ========================================================= */
.site-footer { background: var(--z-ink); color: #cfe0ff; padding: 60px 24px 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer a { color: #b9cdf4; }
.site-footer a:hover { color: var(--z-sky); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-logo { color: #fff; font-weight: 900; font-size: 1.4rem; margin-bottom: 10px; }
.footer-logo span { color: var(--z-sky); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: #9db4dd; }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.social-links a:hover { background: var(--z-sky); color: var(--z-ink); }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
