/*
Theme Name: Nilyn Baterna Portfolio
Theme URI: https://nilynbaterna.com
Author: Nilyn Baterna
Author URI: https://nilynbaterna.com
Description: A modern professional portfolio theme (Deep Navy + Burnished Gold) for Digital Marketing & SEO specialists. Fully editable in WordPress and Elementor via the_content(), with an editable primary navigation menu. Includes About, Services, Testimonials, Portfolio, and Contact Me pages.
Version: 1.2.0
Requires at least: 5.8
Tested up to: 6.5
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: nilyn-baterna-portfolio
Tags: portfolio, business, elementor, one-column, custom-menu, featured-images, translation-ready
*/

/* ======================================================================
   NOTE: This file holds the WordPress theme header (above) and the full
   theme stylesheet (below). All visual styling for the theme lives here.
   ====================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --nb-bg: #0A0F1D;
  --nb-bg-2: #0d1424;
  --nb-card: #111827;
  --nb-surface: #1E293B;
  --nb-gold: #D4AF37;
  --nb-gold-hover: #E5C158;
  --nb-text: #F8FAFC;
  --nb-text-2: #94A3B8;
  --nb-muted: #64748B;
  --nb-emerald: #10B981;
  --nb-border: rgba(212, 175, 55, 0.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--nb-bg);
  color: var(--nb-text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: var(--nb-gold); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.nb-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.nb-section { padding: 80px 0; }
.nb-display { font-family: 'Outfit', sans-serif; }
.nb-mono { font-family: 'JetBrains Mono', monospace; }
.nb-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.25em; color: var(--nb-gold);
}
.nb-gold-text {
  background: linear-gradient(135deg,#BF953F 0%,#FCF6BA 30%,#B38728 55%,#FBF5B7 80%,#AA771C 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.nb-gold-bg { background: linear-gradient(135deg,#BF953F 0%,#E5C158 40%,#D4AF37 60%,#AA771C 100%); }

h1,h2,h3,h4 { font-family: 'Outfit', sans-serif; line-height: 1.15; color: #fff; }
.nb-h1 { font-size: clamp(36px,6vw,68px); font-weight: 800; letter-spacing: -0.02em; }
.nb-h2 { font-size: clamp(28px,4vw,44px); font-weight: 800; letter-spacing: -0.02em; }
.nb-h3 { font-size: 20px; font-weight: 700; }
.nb-lead { font-size: 18px; color: var(--nb-text-2); }
.nb-muted { color: var(--nb-text-2); }

/* Buttons */
.nb-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 14px 26px; font-weight: 600; font-size: 15px;
  cursor: pointer; border: none; transition: transform .2s ease, background .2s ease, color .2s ease;
}
.nb-btn-primary { color: #0A0F1D; background: linear-gradient(135deg,#BF953F,#E5C158,#D4AF37,#AA771C); }
.nb-btn-primary:hover { transform: scale(1.03); color: #0A0F1D; }
.nb-btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.15); background: transparent; }
.nb-btn-ghost:hover { border-color: var(--nb-gold); color: var(--nb-gold); }

/* Header / Nav */
.nb-header {
  position: sticky; top: 0; z-index: 999;
  background: rgba(10,15,29,.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--nb-border);
}
.nb-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.nb-logo { display: flex; align-items: center; gap: 12px; }
.nb-logo-mark {
  width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit',sans-serif; font-weight: 800; color: #0A0F1D; font-size: 18px;
  background: linear-gradient(135deg,#BF953F,#E5C158,#D4AF37,#AA771C);
}
.nb-logo-text { font-family: 'Outfit',sans-serif; font-weight: 700; font-size: 18px; color: #fff; }
.nb-menu { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; align-items: center; }
.nb-menu a { color: #cbd5e1; font-weight: 500; font-size: 15px; padding: 8px 14px; border-radius: 8px; transition: color .2s; }
.nb-menu a:hover, .nb-menu .current-menu-item > a { color: var(--nb-gold); }
.nb-header-cta { display: inline-flex; }
.nb-burger { display: none; background: none; border: none; color: #fff; cursor: pointer; }

/* Hero */
.nb-hero { position: relative; overflow: hidden; }
.nb-hero::before {
  content:""; position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 480px; background: rgba(212,175,55,.10); filter: blur(120px); border-radius: 50%;
}
.nb-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; position: relative; padding: 70px 0 90px; }
.nb-badge {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(212,175,55,.25);
  background: rgba(212,175,55,.05); border-radius: 999px; padding: 6px 16px;
}
.nb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--nb-gold); }
.nb-hero-img { position: relative; }
.nb-hero-img img { border-radius: 24px; border: 1px solid rgba(212,175,55,.2); width: 100%; height: 460px; object-fit: cover; }

/* Stats */
.nb-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 56px; }
.nb-stat { background: var(--nb-card); border: 1px solid var(--nb-border); border-radius: 18px; padding: 24px; text-align: center; }
.nb-stat-value { font-family: 'Outfit',sans-serif; font-size: 34px; font-weight: 800; }
.nb-stat-label { font-size: 13px; color: var(--nb-text-2); margin-top: 4px; }

/* Grids & Cards */
.nb-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.nb-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.nb-card {
  background: var(--nb-card); border: 1px solid rgba(255,255,255,.06); border-radius: 18px; padding: 30px;
  transition: transform .3s ease, border-color .3s ease;
}
.nb-card:hover { transform: translateY(-6px); border-color: rgba(212,175,55,.3); }
.nb-icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#BF953F,#E5C158,#D4AF37,#AA771C); color: #0A0F1D; margin-bottom: 18px; font-size: 22px;
}
.nb-check-list { list-style: none; padding: 0; margin: 16px 0 0; }
.nb-check-list li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #cbd5e1; padding: 4px 0; }
.nb-check-list li::before { content:"✓"; color: var(--nb-gold); font-weight: 700; }

/* Portfolio */
.nb-project { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; background: var(--nb-card); border: 1px solid rgba(255,255,255,.06); border-radius: 24px; overflow: hidden; margin-bottom: 36px; }
.nb-project:nth-child(even) .nb-project-media { order: 2; }
.nb-project-media { height: 100%; min-height: 300px; }
.nb-project-media img { height: 100%; object-fit: cover; }
.nb-project-body { padding: 40px; }
.nb-result { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; color: var(--nb-emerald); background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.3); }
.nb-tag { display: inline-block; background: rgba(10,15,29,.8); color: var(--nb-gold); font-family:'JetBrains Mono',monospace; font-size: 12px; padding: 4px 12px; border-radius: 999px; }

/* Testimonials */
.nb-quote { color: #e2e8f0; font-size: 18px; margin: 16px 0; }
.nb-stars { color: var(--nb-gold); letter-spacing: 2px; }
.nb-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg,#BF953F,#D4AF37); display: flex; align-items: center; justify-content: center; color: #0A0F1D; font-weight: 700; font-family:'Outfit',sans-serif; }

/* About */
.nb-cert { background: var(--nb-card); border: 1px solid rgba(255,255,255,.06); border-radius: 14px; padding: 20px; font-size: 14px; font-weight: 500; color: #e2e8f0; }
.nb-tool { display: flex; align-items: center; justify-content: space-between; background: var(--nb-card); border: 1px solid rgba(255,255,255,.06); border-radius: 14px; padding: 16px 20px; }
.nb-tool span:last-child { font-family:'JetBrains Mono',monospace; font-size: 12px; color: var(--nb-muted); }
.nb-exp { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--nb-card); border: 1px solid rgba(255,255,255,.06); border-radius: 14px; padding: 18px 20px; margin-bottom: 12px; }

/* Contact form */
.nb-form { background: var(--nb-card); border: 1px solid var(--nb-border); border-radius: 24px; padding: 36px; max-width: 720px; margin: 0 auto; }
.nb-field { display: block; margin-bottom: 20px; }
.nb-field > span { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: #cbd5e1; }
.nb-input {
  width: 100%; border-radius: 12px; background: var(--nb-bg); border: 1px solid rgba(255,255,255,.1);
  padding: 12px 16px; color: #fff; font-size: 15px; font-family: inherit; outline: none; transition: border-color .2s, box-shadow .2s;
}
.nb-input:focus { border-color: var(--nb-gold); box-shadow: 0 0 0 3px rgba(212,175,55,.15); }
.nb-input::placeholder { color: var(--nb-muted); }
.nb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.nb-notice { border-radius: 12px; padding: 16px 20px; margin-bottom: 20px; }
.nb-notice.success { background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.4); color: #6ee7b7; }

/* Banner / CTA */
.nb-cta-banner { position: relative; overflow: hidden; border: 1px solid rgba(212,175,55,.2); border-radius: 28px; padding: 56px 32px; text-align: center; background: linear-gradient(135deg,#111827,#0d1424); }

/* Page hero */
.nb-page-hero { border-bottom: 1px solid var(--nb-border); padding: 70px 0 60px; position: relative; overflow: hidden; }

/* Footer */
.nb-footer { border-top: 1px solid var(--nb-border); background: var(--nb-bg); margin-top: 40px; }
.nb-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 56px 0; }
.nb-footer h4 { font-family:'JetBrains Mono',monospace; font-size: 12px; text-transform: uppercase; letter-spacing: .2em; color: var(--nb-gold); margin-bottom: 16px; }
.nb-footer ul { list-style: none; padding: 0; margin: 0; }
.nb-footer ul li { margin-bottom: 8px; }
.nb-footer ul a { color: var(--nb-text-2); font-size: 14px; }
.nb-footer ul a:hover { color: var(--nb-gold); }
.nb-footer-bottom { border-top: 1px solid rgba(255,255,255,.05); padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--nb-muted); }

/* Blog single post content */
.nb-post-content p { color: #cbd5e1; line-height: 1.85; margin: 0 0 1.25rem; font-size: 1.05rem; }
.nb-post-content h2 { font-family: 'Outfit', sans-serif; color: #fff; font-size: 1.5rem; margin: 2.25rem 0 1rem; }
.nb-post-content h2::before { content: ""; display: inline-block; width: 28px; height: 3px; background: var(--nb-gold); margin-right: 12px; vertical-align: middle; border-radius: 2px; }
.nb-post-content ul, .nb-post-content ol { color: #cbd5e1; padding-left: 1.4rem; margin: 0 0 1.25rem; }
.nb-post-content li { margin-bottom: 0.5rem; }
.nb-post-content img { border-radius: 14px; margin: 1.5rem 0; }
.nb-post-content a { color: var(--nb-gold); }
.nb-post-content blockquote { border-left: 3px solid var(--nb-gold); padding-left: 1rem; color: #e2e8f0; font-style: italic; margin: 1.5rem 0; }
.pagination, .nav-links { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers, .nav-links .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; background: var(--nb-card); border: 1px solid rgba(255,255,255,.08); color: #cbd5e1; text-decoration: none; }
.pagination .page-numbers.current { background: var(--nb-gold); color: #0A0F1D; border-color: var(--nb-gold); font-weight: 700; }
.pagination a.page-numbers:hover { border-color: var(--nb-gold); color: var(--nb-gold); }

.nb-center { text-align: center; }
.nb-mt-sm { margin-top: 16px; } .nb-mt { margin-top: 24px; } .nb-mt-lg { margin-top: 40px; }
.nb-mb { margin-bottom: 24px; }

/* Responsive */
@media (max-width: 900px) {
  .nb-hero-grid { grid-template-columns: 1fr; }
  .nb-hero-img { order: -1; }
  .nb-grid-3 { grid-template-columns: 1fr 1fr; }
  .nb-project, .nb-project:nth-child(even) .nb-project-media { grid-template-columns: 1fr; }
  .nb-project:nth-child(even) .nb-project-media { order: 0; }
  .nb-footer-grid { grid-template-columns: 1fr; }
  .nb-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nb-menu, .nb-header-cta { display: none; }
  .nb-burger { display: block; }
  .nb-menu.open { display: flex; position: absolute; top: 74px; left: 16px; right: 16px; flex-direction: column; background: #111827; border: 1px solid var(--nb-border); border-radius: 16px; padding: 12px; }
  .nb-grid-3, .nb-grid-2, .nb-row { grid-template-columns: 1fr; }
  .nb-section { padding: 56px 0; }
}
