/* ==========================================================
   NRB Interiors — Homepage styles
   Add this file to your assets/css folder and link it in
   includes/header.php AFTER your existing main stylesheet, e.g:
   <link rel="stylesheet" href="assets/css/home.css">
   ========================================================== */

:root{
  --nrb-bg:#141414;
  --nrb-bg-alt:#1b1b1b;
  --nrb-gold:#c9a24b;
  --nrb-text:#f2f2f2;
  --nrb-text-dim:#b7b7b7;
  --nrb-border:#333;
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  height:88vh;
  min-height:520px;
  overflow:hidden;
  background:#000;
}
.hero-slide{
  position:absolute; inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transition:opacity .8s ease;
}
.hero-slide.active{ opacity:1; }
.hero-slide::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.15) 100%);
}
.hero-content{
  position:relative; z-index:2;
  max-width:560px;
  height:100%;
  display:flex; flex-direction:column; justify-content:center;
  padding:0 6%;
  color:var(--nrb-text);
}
.hero .eyebrow{ color:var(--nrb-gold); letter-spacing:2px; font-size:.85rem; font-weight:600; }
.hero h1{ font-size:3rem; line-height:1.15; margin:.5rem 0 1rem; font-family:Georgia, 'Times New Roman', serif; }
.hero h1 .accent{ display:block; color:var(--nrb-gold); }
.hero p{ color:var(--nrb-text-dim); margin-bottom:1.75rem; max-width:440px; }
.hero-actions{ display:flex; gap:1rem; flex-wrap:wrap; }

.hero-arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  background:rgba(255,255,255,.08); color:#fff; border:none;
  width:44px; height:44px; border-radius:50%; font-size:1.4rem; cursor:pointer;
  z-index:3;
}
.hero-arrow.prev{ left:24px; }
.hero-arrow.next{ right:24px; }
.hero-dots{ position:absolute; bottom:22px; left:50%; transform:translateX(-50%); display:flex; gap:8px; z-index:3; }
.hero-dots button{ width:9px; height:9px; border-radius:50%; border:none; background:rgba(255,255,255,.4); cursor:pointer; }
.hero-dots button.active{ background:var(--nrb-gold); }

/* ---------- Generic section shells ---------- */
.section{ background:var(--nrb-bg); padding:80px 0; }
.section-alt{ background:var(--nrb-bg-alt); }
.section-heading{ text-align:center; margin-bottom:3rem; color:var(--nrb-text); }
.section-heading .eyebrow{ display:block; color:var(--nrb-gold); letter-spacing:2px; font-size:.8rem; font-weight:600; margin-bottom:.5rem; }
.section-heading h2{ font-family:Georgia, 'Times New Roman', serif; font-size:2.1rem; margin:0; }
.rule{ width:60px; height:2px; background:var(--nrb-gold); margin:1rem auto 0; }
.rule-left{ margin:1rem 0 1.5rem; }

/* ---------- Services ---------- */
.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(180px,1fr));
  gap:2rem;
  text-align:center;
}
.service-card{ color:var(--nrb-text); }
.service-icon{ color:var(--nrb-gold); margin-bottom:1rem; }
.service-icon svg{ width:40px; height:40px; }
.service-card h3{ font-size:1rem; letter-spacing:.5px; margin-bottom:.5rem; }
.service-card p{ color:var(--nrb-text-dim); font-size:.9rem; line-height:1.5; }

/* ---------- Filter bar ---------- */
.filter-bar{ display:flex; justify-content:center; gap:.75rem; flex-wrap:wrap; margin-bottom:2.5rem; }
.filter-btn{
  background:transparent; border:1px solid var(--nrb-border); color:var(--nrb-text-dim);
  padding:.5rem 1.1rem; border-radius:4px; cursor:pointer; font-size:.85rem;
}
.filter-btn.active, .filter-btn:hover{ background:var(--nrb-gold); border-color:var(--nrb-gold); color:#141414; }

/* ---------- Projects ---------- */
.project-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.25rem; }
.project-card{ position:relative; overflow:hidden; border-radius:6px; aspect-ratio:3/4; }
.project-card img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s ease; }
.project-card:hover img{ transform:scale(1.06); }
.project-overlay{
  position:absolute; left:0; right:0; bottom:0;
  background:linear-gradient(180deg, transparent, rgba(0,0,0,.85));
  padding:1.5rem 1rem 1rem; color:#fff;
}
.project-overlay h4{ font-size:.95rem; margin:0 0 .2rem; }
.project-overlay span{ font-size:.8rem; color:var(--nrb-gold); }

/* ---------- About ---------- */
.about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:3rem; align-items:center; }
.about-image{ position:relative; }
.about-image img{ width:100%; border-radius:6px; display:block; }
.stats-box{
  position:absolute; bottom:-1.5rem; right:-1.5rem;
  background:#0f0f0f; border:1px solid var(--nrb-border);
  display:grid; grid-template-columns:1fr 1fr; gap:1.5rem;
  padding:1.5rem 2rem; border-radius:6px;
}
.stat{ text-align:center; color:#fff; }
.stat strong{ display:block; font-size:1.5rem; color:var(--nrb-gold); }
.stat span{ font-size:.75rem; color:var(--nrb-text-dim); }
.about-text{ color:var(--nrb-text); }
.about-text .eyebrow{ color:var(--nrb-gold); letter-spacing:2px; font-size:.8rem; font-weight:600; }
.about-text h2{ font-family:Georgia, 'Times New Roman', serif; font-size:2rem; margin:.5rem 0; }
.about-text p{ color:var(--nrb-text-dim); margin-bottom:1rem; line-height:1.6; }

/* ---------- Process ---------- */
.process-row{ display:flex; align-items:flex-start; justify-content:space-between; gap:.5rem; flex-wrap:wrap; }
.process-step{ flex:1; min-width:140px; text-align:center; color:var(--nrb-text); }
.process-circle{
  width:56px; height:56px; border-radius:50%; border:1px solid var(--nrb-gold);
  color:var(--nrb-gold); display:flex; align-items:center; justify-content:center;
  margin:0 auto .8rem; font-weight:700;
}
.process-step h4{ font-size:.9rem; margin-bottom:.4rem; }
.process-step p{ font-size:.8rem; color:var(--nrb-text-dim); }
.process-arrow{ color:var(--nrb-gold); font-size:1.4rem; padding-top:1rem; }

/* ---------- Testimonials ---------- */
.testimonial-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.testimonial-card{
  background:var(--nrb-bg-alt); border:1px solid var(--nrb-border); border-radius:6px;
  padding:2rem; color:var(--nrb-text-dim); position:relative;
}
.quote-mark{ font-size:2.5rem; color:var(--nrb-gold); line-height:1; font-family:Georgia, serif; }
.testimonial-person{ display:flex; align-items:center; gap:.8rem; margin-top:1.2rem; }
.testimonial-person img{ width:42px; height:42px; border-radius:50%; object-fit:cover; }
.testimonial-person strong{ display:block; color:#fff; font-size:.9rem; }
.testimonial-person span{ font-size:.78rem; }

/* ---------- Blog ---------- */
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.blog-card{ background:var(--nrb-bg); border-radius:6px; overflow:hidden; border:1px solid var(--nrb-border); }
.blog-card img{ width:100%; height:180px; object-fit:cover; display:block; }
.blog-info{ padding:1.2rem; }
.blog-date{ font-size:.75rem; color:var(--nrb-gold); }
.blog-info h4{ color:var(--nrb-text); font-size:1rem; margin:.5rem 0 .8rem; }
.read-more{ color:var(--nrb-gold); font-size:.85rem; text-decoration:none; }

/* ---------- Buttons ---------- */
.btn{ display:inline-block; padding:.75rem 1.6rem; border-radius:4px; font-size:.85rem; letter-spacing:.5px; text-decoration:none; cursor:pointer; }
.btn-solid{ background:var(--nrb-gold); color:#141414; border:1px solid var(--nrb-gold); }
.btn-solid:hover{ background:transparent; color:var(--nrb-gold); }
.btn-outline{ background:transparent; color:var(--nrb-gold); border:1px solid var(--nrb-gold); }
.btn-outline:hover{ background:var(--nrb-gold); color:#141414; }
.center-btn{ text-align:center; margin-top:2.5rem; }

/* ---------- Responsive ---------- */
@media (max-width:900px){
  .about-grid{ grid-template-columns:1fr; }
  .project-grid{ grid-template-columns:repeat(2,1fr); }
  .testimonial-grid, .blog-grid{ grid-template-columns:1fr; }
  .stats-box{ position:static; margin-top:1rem; }
  .process-row{ flex-direction:column; }
  .process-arrow{ display:none; }
}
@media (max-width:560px){
  .hero h1{ font-size:2.1rem; }
  .project-grid{ grid-template-columns:1fr; }
}

/* Simple JS-free filter fallback: hides non-matching cards when
   the .filter-btn buttons toggle a data attribute via the tiny
   script included in the include below. */
.project-card.is-hidden{ display:none; }