/*
Theme Name: Invoice Bdithome
Theme URI: https://example.com/
Author: Apu Chandra Das
Author URI: https://example.com/
Description: A lightweight starter WordPress theme scaffold named "Invoice Bdithome". Customize templates and styles as needed.
Version: 1.0.9
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: invoice-bdithome
Tags: custom-background, custom-logo, custom-menu, featured-images, flexible-header, translation-ready
*/

/* Base reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
  color: #0f172a;
  background: #f8fafc;
}

/* Layout */
.container { width: min(1100px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e8f0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #22c55e);
}
.brand-title { font-weight: 800; letter-spacing: .2px; }
.nav-toggle { display: none; background: none; border: 1px solid #e2e8f0; border-radius: 12px; padding: 8px 10px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; }
.site-nav a { text-decoration: none; color: #0f172a; padding: 8px 10px; border-radius: 12px; }
.site-nav a:hover, .site-nav .current-menu-item > a { background: #eef2ff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 14px; border-radius: 14px;
  border: 1px solid #e2e8f0; text-decoration: none;
  font-weight: 700;
}
.btn-primary { background: #2563eb; color: #fff; border-color: #2563eb; }
.btn-primary:hover { filter: brightness(.95); }

/* Hero */
.hero {
  padding: 56px 0 30px;
  background: radial-gradient(1200px 420px at 20% 10%, #fde68a 0%, rgba(253,230,138,0) 60%),
              radial-gradient(1000px 420px at 85% 20%, #93c5fd 0%, rgba(147,197,253,0) 55%),
              linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4vw, 52px); line-height: 1.05; margin: 0 0 14px; }
.hero p { margin: 0 0 18px; color: #334155; max-width: 52ch; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.hero-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 24px;
  padding: 18px; box-shadow: 0 10px 25px rgba(2,6,23,.08);
}
.placeholder-art {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(37,99,235,.15), rgba(34,197,94,.12)),
    radial-gradient(420px 280px at 70% 30%, rgba(251,191,36,.35), rgba(251,191,36,0)),
    radial-gradient(520px 320px at 20% 70%, rgba(59,130,246,.25), rgba(59,130,246,0));
  border: 1px dashed #cbd5e1;
}

/* Sections */
.section { padding: 28px 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  background:#fff; border: 1px solid #e2e8f0; border-radius: 22px; padding: 16px;
  box-shadow: 0 10px 20px rgba(2,6,23,.06);
}
.card h3 { margin: 0 0 6px; }
.card p { margin: 0; color:#475569; }

/* Footer */
.site-footer { padding: 22px 0; border-top: 1px solid #e2e8f0; color:#475569; background:#fff; }
.footer-inner { display:flex; align-items:center; justify-content:space-between; gap: 12px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 6px; padding: 10px 0; }
}
