/*
Theme Name: Dipak Dahal Advocate
Theme URI: https://example.com
Author: Lex Logic Advocates & Legal Consultants
Author URI: https://example.com
Description: A professional legal/advocate theme built for Advocate Dipak Dahal, featuring Practice Areas, Case Laws, and Blog sections. Clean, trust-focused design for legal practices in Nepal.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dipak-dahal-advocate
Tags: legal, advocate, law-firm, custom-menu, custom-logo, translation-ready
*/

/* ---------- Base ---------- */
:root{
  --color-navy: #10233d;
  --color-navy-light: #1c3a5e;
  --color-gold: #b8912f;
  --color-gold-light: #d9b86a;
  --color-bg: #f7f6f3;
  --color-text: #24303d;
  --color-muted: #667085;
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
}

a { color: var(--color-navy); text-decoration: none; }
a:hover { color: var(--color-gold); }

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-navy); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header { background: var(--color-navy); color: #fff; padding: 18px 0; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.site-branding { display: flex; flex-direction: column; }
.site-title { font-size: 26px; margin: 0; color: #fff; }
.site-title a { color: #fff; }
.site-description { font-size: 13px; color: var(--color-gold-light); margin-top: 2px; }

.main-navigation ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.main-navigation a { color: #fff; font-weight: 600; font-size: 15px; }
.main-navigation a:hover { color: var(--color-gold-light); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(120deg, var(--color-navy) 0%, var(--color-navy-light) 100%); color: #fff; padding: 80px 0; text-align: center; }
.hero h1 { color: #fff; font-size: 42px; margin-bottom: 10px; }
.hero p { color: #dbe3ec; font-size: 18px; max-width: 640px; margin: 0 auto 26px; }
.btn { display: inline-block; background: var(--color-gold); color: #10233d; padding: 12px 28px; border-radius: 4px; font-weight: 700; }
.btn:hover { background: var(--color-gold-light); color: #10233d; }

/* ---------- Cards / Grid ---------- */
.section { padding: 60px 0; }
.section-title { text-align: center; margin-bottom: 40px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: #fff; border: 1px solid #e6e6e2; border-radius: 6px; padding: 26px; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.card h3 { margin-top: 0; }
.card .meta { color: var(--color-muted); font-size: 13px; margin-bottom: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-navy); color: #cfd8e3; padding: 40px 0; margin-top: 40px; font-size: 14px; }
.site-footer a { color: var(--color-gold-light); }

@media (max-width: 782px) {
  .grid { grid-template-columns: 1fr; }
  .main-navigation ul { flex-wrap: wrap; gap: 12px; }
}
