/*
Theme Name: NV Lifesupport
Theme URI: https://nvlifesupport.com
Author: NV Lifesupport Medical Equipment Trading
Description: Custom WordPress theme for NV Lifesupport Medical Equipment Trading — medical equipment supplier and distributor est. 2007, Caloocan City, Philippines.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nv-lifesupport
*/

/* ==========================================================================
   Variables
   ========================================================================== */
:root{
  --navy: #16283F;
  --navy-mid: #1D3A5F;
  --navy-light: #21406F;
  --gold: #D7A745;
  --gold-dark: #B4863A;
  --teal: #5FCDBA;
  --off-white: #F7F8FA;
  --text: #232B36;
  --text-muted: #5B6472;
  --border: #E4E7EC;
  --radius: 10px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

body{
  margin:0;
  font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--text);
  background:#fff;
  line-height:1.65;
}

img{ max-width:100%; display:block; }
a{ color: var(--navy-light); text-decoration:none; }
a:hover{ color: var(--gold-dark); }
h1,h2,h3,h4{ font-family: 'Segoe UI', Roboto, Arial, sans-serif; line-height:1.25; color: var(--navy); margin:0 0 .5em; }
p{ margin:0 0 1em; }
.container{ max-width: var(--max-width); margin:0 auto; padding: 0 24px; }
.btn{
  display:inline-block; padding:12px 24px; border-radius:6px; font-weight:600;
  font-size:.95rem; cursor:pointer; border:2px solid transparent;
}
.btn-gold{ background: var(--gold); color: #412402; }
.btn-gold:hover{ background: var(--gold-dark); color:#fff; }
.btn-outline{ border-color:#fff; color:#fff; background:transparent; }
.btn-outline:hover{ background:rgba(255,255,255,.12); color:#fff; }
.btn-navy{ background: var(--navy); color:#fff; }
.btn-navy:hover{ background: var(--navy-light); color:#fff; }
.nvls-contact-btn{ display:block; width:max-content; margin-top:16px; }
ul.products li.product .nvls-contact-btn{ margin-left:auto; margin-right:auto; }

/* ==========================================================================
   Top bar + Header
   ========================================================================== */
.topbar{
  background: var(--navy);
  color:#cddcef;
  font-size:.8rem;
  padding:7px 0;
}
.topbar .container{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:6px; }

.site-header{
  background:#fff;
  border-bottom:1px solid var(--border);
  position:sticky; top:0; z-index:50;
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; padding-top:12px; padding-bottom:12px; }
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ height:52px; width:auto; }
.brand-name{ font-weight:700; color: var(--navy); font-size:1.1rem; line-height:1.2; }
.brand-name small{ display:block; font-weight:400; color: var(--text-muted); font-size:.72rem; }

.main-nav ul{ list-style:none; display:flex; gap:26px; margin:0; padding:0; }
.main-nav a{ color: var(--navy); font-weight:600; font-size:.92rem; }
.nav-toggle{ display:none; background:none; border:none; font-size:1.6rem; color:var(--navy); cursor:pointer; }

@media (max-width: 820px){
  .main-nav{ display:none; width:100%; }
  .main-nav.open{ display:block; }
  .main-nav ul{ flex-direction:column; gap:0; border-top:1px solid var(--border); }
  .main-nav li{ border-bottom:1px solid var(--border); }
  .main-nav a{ display:block; padding:12px 4px; }
  .site-header .container{ flex-wrap:wrap; }
  .nav-toggle{ display:block; }
}

/* ==========================================================================
   Hero (front page) — photo slider
   ========================================================================== */
.hero{
  position:relative; overflow:hidden; color:#fff; padding:64px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}
.hero-slides{ position:absolute; inset:0; z-index:0; }
.hero-slide{
  position:absolute; inset:0; background-size:cover; background-position:center;
  opacity:0; transition:opacity 1.4s ease;
}
.hero-slide.active{ opacity:1; }
.hero-slide::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(100deg, rgba(15,26,42,.94) 0%, rgba(20,36,58,.88) 34%, rgba(22,40,63,.55) 62%, rgba(22,40,63,.30) 100%);
}
.hero-inner{ position:relative; z-index:1; display:flex; align-items:center; gap:40px; flex-wrap:wrap; }
.hero-copy{ flex:1 1 420px; }
.hero-logo{
  flex:0 0 auto; text-align:center; background:rgba(10,16,26,.55);
  border:1px solid rgba(215,167,69,.35); border-radius:16px; padding:24px;
  backdrop-filter:blur(6px); box-shadow:0 20px 50px rgba(0,0,0,.35);
}
.hero-logo img{ height:220px; width:auto; margin:0 auto; filter: drop-shadow(0 12px 26px rgba(0,0,0,.35)); }
.badge{
  display:inline-block; background: var(--gold); color:#412402; font-weight:700;
  font-size:.78rem; padding:5px 14px; border-radius:20px; margin-bottom:14px;
}
.hero h1{ color:#fff; font-size:2.1rem; margin-bottom:14px; }
.hero p.lead{ color:#cddcef; font-size:1.05rem; max-width:520px; }
.hero-actions{ display:flex; gap:12px; margin-top:22px; flex-wrap:wrap; }

.hero-dots{
  position:relative; z-index:1; display:flex; justify-content:center; gap:10px; margin-top:36px;
}
.hero-dot{
  width:9px; height:9px; border-radius:50%; background:rgba(255,255,255,.35);
  border:none; cursor:pointer; padding:0; transition:background .25s, transform .25s;
}
.hero-dot.active{ background:var(--gold); transform:scale(1.25); }
@media (max-width:700px){ .hero-logo{ margin:0 auto; } }

/* stat strip */
.stat-strip{ background: var(--gold); }
.stat-strip .container{ display:grid; grid-template-columns:repeat(4,1fr); text-align:center; padding:22px 24px; gap:10px; }
.stat-strip .num{ font-size:1.7rem; font-weight:800; color:#412402; }
.stat-strip .label{ font-size:.78rem; color:#63450f; text-transform:uppercase; letter-spacing:.04em; }
@media (max-width:700px){ .stat-strip .container{ grid-template-columns:repeat(2,1fr); } }

/* section basics */
.section{ padding:60px 0; }
.section-alt{ background: var(--off-white); }
.section-title{ text-align:center; max-width:680px; margin:0 auto 36px; }
.section-title h2{ font-size:1.7rem; }
.section-title p{ color: var(--text-muted); }
.eyebrow{ color: var(--gold-dark); font-weight:700; letter-spacing:.06em; text-transform:uppercase; font-size:.78rem; }

/* card grids */
.grid{ display:grid; gap:22px; }
.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:900px){ .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .grid-3,.grid-4,.grid-2{ grid-template-columns:1fr; } }

.card{
  background:#fff; border:1px solid var(--border); border-radius: var(--radius);
  overflow:hidden; transition: box-shadow .2s, transform .2s;
}
.card:hover{ box-shadow:0 12px 28px rgba(22,40,63,.12); transform:translateY(-3px); }
.card img{ width:100%; height:190px; object-fit:cover; background:#eef1f5; }
.card .card-body{ padding:16px 18px; }
.card h3{ font-size:1rem; margin-bottom:4px; }
.card p{ font-size:.88rem; color: var(--text-muted); margin:0; }

/* category pills */
.pill-row{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.pill{
  border:1.5px solid var(--gold); color: var(--navy); background:#fff;
  padding:8px 18px; border-radius:20px; font-size:.88rem; font-weight:600;
}

/* CTA banner */
.cta-banner{ background: var(--gold); padding:34px 0; }
.cta-banner .container{ display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.cta-banner h3{ color:#412402; margin:0; font-size:1.2rem; }

/* Page header (inner pages) */
.page-hero{
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color:#fff; padding:46px 0; text-align:center;
}
.page-hero h1{ color:#fff; margin-bottom:6px; }
.page-hero p{ color:#cddcef; margin:0; }

/* Team / org */
.dept{ margin-bottom:34px; }
.dept h3{
  background: var(--teal); color:#0b2a26; display:inline-block; padding:8px 20px;
  border-radius:6px; font-size:1rem; margin-bottom:16px;
}
.people{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
@media (max-width:700px){ .people{ grid-template-columns:1fr; } }
.person{ border:1px solid var(--border); border-radius:8px; padding:12px 16px; background:#fff; }
.person .name{ font-weight:700; color: var(--navy); font-size:.92rem; }
.person .role{ color: var(--text-muted); font-size:.82rem; }

/* Certifications */
.cert-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:900px){ .cert-grid{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:600px){ .cert-grid{ grid-template-columns:1fr;} }
.cert-card{ border:1px solid var(--border); border-radius: var(--radius); overflow:hidden; background:#fff; text-align:center; }
.cert-card img{ width:100%; height:260px; object-fit:contain; background:#f2f4f7; padding:10px; }
.cert-card .cert-label{ padding:12px 14px; font-size:.85rem; font-weight:600; color:var(--navy); }

/* Installations gallery */
.gallery-filter{ display:flex; gap:8px; flex-wrap:wrap; justify-content:center; margin-bottom:28px; }
.gallery-filter button{
  border:1.5px solid var(--navy-light); background:#fff; color:var(--navy-light);
  padding:7px 16px; border-radius:18px; font-size:.82rem; font-weight:600; cursor:pointer;
}
.gallery-filter button.active, .gallery-filter button:hover{ background:var(--navy-light); color:#fff; }
.gallery-item{ display:none; }
.gallery-item.visible{ display:block; }
.gallery-item .card-body p{ font-size:.8rem; }

/* Contact page */
.contact-wrap{ display:grid; grid-template-columns: 1.1fr 1fr; gap:40px; }
@media (max-width:800px){ .contact-wrap{ grid-template-columns:1fr; } }
.contact-info-card{ background: var(--navy); color:#fff; border-radius: var(--radius); padding:30px; }
.contact-info-card h3{ color:#fff; }
.contact-info-card .row{ display:flex; gap:12px; margin-bottom:16px; align-items:flex-start; }
.contact-info-card .row .ico{ color: var(--gold); font-size:1.1rem; }
.contact-form-card{ background:#fff; border:1px solid var(--border); border-radius: var(--radius); padding:30px; }
.hubspot-form-embed{ margin-top:20px; }

/* Products page */
.product-category{ margin-bottom:56px; }
.product-category-header{ display:flex; align-items:baseline; justify-content:space-between; margin-bottom:18px; flex-wrap:wrap; gap:8px; }
.product-category-header h2{ margin:0; font-size:1.4rem; }
.product-category-header span{ color:var(--text-muted); font-size:.85rem; }
.equip-list{ columns:2; column-gap:32px; }
@media (max-width:700px){ .equip-list{ columns:1; } }
.equip-list li{ padding:7px 0; border-bottom:1px dashed var(--border); font-size:.92rem; }

/* Spec box */
.spec-box{
  background:#fff; border:1px solid var(--border); border-left:4px solid var(--gold);
  border-radius:8px; padding:18px 22px; margin-bottom:20px;
}
.spec-box-title{ display:block; color:var(--gold-dark); font-weight:700; text-transform:uppercase; font-size:.74rem; letter-spacing:.05em; margin-bottom:10px; }
.spec-list{ display:grid; grid-template-columns: repeat(2, 1fr); gap:6px 24px; margin:0; }
@media (max-width:700px){ .spec-list{ grid-template-columns:1fr; } }
.spec-list dt{ font-weight:700; color:var(--navy); font-size:.85rem; float:left; margin-right:6px; }
.spec-list dt::after{ content:":"; }
.spec-list dd{ margin:0 0 4px; font-size:.85rem; color:var(--text); display:inline; }
.spec-note{ margin:10px 0 0; font-size:.78rem; color:var(--text-muted); font-style:italic; }

/* Lightbox trigger */
.lightbox-link{ display:block; cursor:zoom-in; position:relative; }
.lightbox-link:hover img{ opacity:.9; }

/* Lightbox modal */
.nvls-lightbox{
  display:none; position:fixed; inset:0; z-index:1000;
  background:rgba(12,18,28,.92); align-items:center; justify-content:center;
  padding:40px;
}
.nvls-lightbox.open{ display:flex; }
.nvls-lightbox-inner{ margin:0; max-width:min(1000px, 90vw); max-height:88vh; text-align:center; }
.nvls-lightbox-inner img{ max-width:100%; max-height:78vh; margin:0 auto; border-radius:6px; box-shadow:0 20px 60px rgba(0,0,0,.5); }
.nvls-lightbox-inner figcaption{ color:#e7edf5; font-size:.9rem; margin-top:14px; }
.nvls-lightbox-close{
  position:absolute; top:18px; right:24px; background:none; border:none; color:#fff;
  font-size:2.2rem; line-height:1; cursor:pointer; z-index:1002;
}
.nvls-lightbox-nav{
  position:absolute; top:50%; transform:translateY(-50%); background:rgba(255,255,255,.12);
  border:none; color:#fff; font-size:1.4rem; width:48px; height:48px; border-radius:50%;
  cursor:pointer; z-index:1002;
}
.nvls-lightbox-nav:hover{ background:rgba(255,255,255,.24); }
.nvls-lightbox-prev{ left:20px; }
.nvls-lightbox-next{ right:20px; }
@media (max-width:600px){
  .nvls-lightbox{ padding:16px; }
  .nvls-lightbox-nav{ width:40px; height:40px; font-size:1.1rem; }
  .nvls-lightbox-close{ top:10px; right:12px; }
}

/* Contact map */
.map-embed{ margin-top:24px; border-radius: var(--radius); overflow:hidden; border:1px solid var(--border); }
.map-embed iframe{ display:block; width:100%; height:320px; border:0; }

/* ==========================================================================
   WooCommerce shop styling (applies to the actual Shop / product pages)
   ========================================================================== */

.woocommerce-page .woocommerce-result-count,
.woocommerce-page .woocommerce-ordering{
  font-size:.85rem; color:var(--text-muted); margin-bottom:20px;
}
.woocommerce-page .woocommerce-ordering select{
  padding:8px 10px; border:1px solid var(--border); border-radius:6px; font-family:inherit;
}

.woocommerce-page ul.products{
  display:grid !important; grid-template-columns:repeat(4,1fr); gap:22px;
  list-style:none; margin:0 0 30px; padding:0;
}
@media (max-width:900px){ .woocommerce-page ul.products{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .woocommerce-page ul.products{ grid-template-columns:1fr; } }

.woocommerce-page ul.products li.product{
  background:#fff; border:1px solid var(--border); border-radius:var(--radius);
  overflow:hidden; padding:0 !important; text-align:left !important; position:relative;
  transition: box-shadow .2s, transform .2s;
}
.woocommerce-page ul.products li.product:hover{ box-shadow:0 12px 28px rgba(22,40,63,.12); transform:translateY(-3px); }
.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link{ display:block; color:inherit; }
.woocommerce-page ul.products li.product img{
  width:100%; height:190px; object-fit:cover; background:#eef1f5; margin:0 0 0; border-radius:0;
}
.woocommerce-page ul.products li.product .woocommerce-loop-product__title{
  font-size:1rem; color:var(--navy); margin:14px 18px 4px; line-height:1.3;
}
.woocommerce-page ul.products li.product .price{
  margin:0 18px 14px; font-size:.88rem; color:var(--text-muted);
}
.woocommerce-page ul.products li.product .button{
  display:block; margin:0 18px 18px; background:var(--gold); color:#412402;
  font-weight:600; font-size:.85rem; padding:10px 16px; border-radius:6px; text-align:center;
}
.woocommerce-page ul.products li.product .button:hover{ background:var(--gold-dark); color:#fff; }
.woocommerce-page ul.products li.product .onsale{
  position:absolute; top:14px; left:14px; background:var(--navy); color:#fff;
  font-size:.72rem; font-weight:700; text-transform:uppercase; padding:4px 10px; border-radius:20px;
}
.woocommerce-page span.posted_in, .woocommerce-page span.sku_wrapper{ font-size:.8rem; color:var(--text-muted); }

.woocommerce-page .woocommerce-pagination ul.page-numbers{
  list-style:none; display:flex; gap:8px; padding:0; margin:10px 0 0; justify-content:center;
}
.woocommerce-page .woocommerce-pagination a, .woocommerce-page .woocommerce-pagination span{
  display:inline-block; padding:8px 14px; border:1.5px solid var(--border); border-radius:6px;
  color:var(--navy); font-size:.85rem;
}
.woocommerce-page .woocommerce-pagination a:hover,
.woocommerce-page .woocommerce-pagination span.current{
  background:var(--navy-light); border-color:var(--navy-light); color:#fff;
}

/* Single product page (WooCommerce default template, styled to match) */
.woocommerce div.product .woocommerce-product-gallery{ max-width:520px; }
.woocommerce div.product p.price, .woocommerce div.product span.price{ color:var(--navy); font-size:1.3rem; font-weight:700; }
.woocommerce div.product .single_add_to_cart_button{
  background:var(--gold) !important; color:#412402 !important; border-radius:6px !important;
  font-weight:700 !important; padding:12px 26px !important; border:none !important;
}
.woocommerce div.product .single_add_to_cart_button:hover{ background:var(--gold-dark) !important; color:#fff !important; }
.woocommerce nav.woocommerce-breadcrumb{ font-size:.85rem; color:var(--text-muted); margin-bottom:20px; }
.woocommerce nav.woocommerce-breadcrumb a{ color:var(--navy-light); }

/* Footer */
.site-footer{ background: var(--navy); color:#9db3cc; padding:44px 0 18px; }
.footer-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px; margin-bottom:26px; }
@media (max-width:700px){ .footer-grid{ grid-template-columns:1fr; } }
.site-footer h4{ color:#fff; font-size:.95rem; margin-bottom:12px; }
.site-footer a{ color:#9db3cc; }
.site-footer a:hover{ color: var(--gold); }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.12); padding-top:16px; text-align:center; font-size:.78rem; }

/* misc */
.mission-vision{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; margin-top:30px; }
@media (max-width:700px){ .mission-vision{ grid-template-columns:1fr; } }
.mv-card{ background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:26px; }
.mv-card .tag{ display:inline-block; background: var(--gold); color:#412402; font-weight:700; padding:5px 16px; border-radius:6px; margin-bottom:14px; font-size:.85rem; }
