
/* ============================================
   BUDDY DEDOG SECURITY CONSULTANTS
   Dark Noir Theme — Clean Rebuild
   ============================================ */

:root {
  --bg:#0d0d0d;
  --bg2:#161616;
  --bg3:#1c1c1c;
  --gold:#c9a84c;
  --gold-light:#e8c96a;
  --gold-dark:#a08030;
  --white:#ffffff;
  --gray-light:#cccccc;
  --gray:#888888;
  --border:#2a2a2a;
  --shadow:rgba(0,0,0,0.5);
  --gold-glow:rgba(201,168,76,0.25);
  --nav-h:80px;
  --max-w:1200px;
  --ease:all 0.3s ease;
  --serif:'Playfair Display', serif;
  --sans:'Lato', sans-serif;
}

/* RESET */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  background:var(--bg);
  color:var(--white);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.6;
  overflow-x:hidden;
}
h1,h2,h3,h4,h5,h6{font-family:var(--serif);line-height:1.2;}
h1{font-size:clamp(2.5rem,5vw,4.5rem);}
h2{font-size:clamp(2rem,4vw,3rem);}
h3{font-size:clamp(1.3rem,2.5vw,1.8rem);}
p{margin-bottom:1rem;}
a{color:var(--gold);text-decoration:none;transition:var(--ease);}
a:hover{color:var(--gold-light);}
img{max-width:100%;display:block;height:auto;}

/* LAYOUT */
.container{max-width:var(--max-w);margin:0 auto;padding:0 2rem;}
.section-padding{padding:6rem 0;}
.section-title{text-align:center;margin-bottom:0.5rem;}
.section-title span{color:var(--gold);}
.section-subtitle{
  text-align:center;color:var(--gray-light);
  max-width:600px;margin:0 auto 4rem;font-size:1.05rem;
}
.gold-line{
  width:60px;height:3px;background:var(--gold);
  margin:1rem auto 2rem;
}

/* BUTTONS */
.btn{
  display:inline-block;padding:0.875rem 2rem;
  font-family:var(--sans);font-size:0.85rem;font-weight:700;
  text-transform:uppercase;letter-spacing:2px;
  border:none;cursor:pointer;transition:var(--ease);
}
.btn-primary{background:var(--gold);color:var(--bg);}
.btn-primary:hover{
  background:var(--gold-light);color:var(--bg);
  transform:translateY(-2px);box-shadow:0 8px 25px var(--gold-glow);
}
.btn-outline{
  background:transparent;color:var(--white);
  border:2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover{
  background:var(--white);color:var(--bg);
  transform:translateY(-2px);
}
.btn-gold-outline{
  background:transparent;color:var(--gold);
  border:2px solid var(--gold);
}
.btn-gold-outline:hover{
  background:var(--gold);color:var(--bg);
  transform:translateY(-2px);
}
.btn-sm{padding:0.5rem 1.25rem;font-size:0.75rem;}

/* NAVBAR */
.navbar{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  background:rgba(13,13,13,0.96);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
  height:var(--nav-h);transition:var(--ease);
}
.navbar.scrolled{box-shadow:0 4px 30px rgba(0,0,0,0.5);}
.nav-container{
  max-width:var(--max-w);margin:0 auto;padding:0 2rem;
  height:100%;display:flex;align-items:center;justify-content:space-between;
}
.nav-logo{display:flex;align-items:center;gap:0.75rem;}
.nav-logo img{height:42px;}
.nav-logo-text{
  font-family:var(--serif);font-size:1rem;color:var(--white);
  font-weight:700;line-height:1.3;
}
.nav-logo-text span{color:var(--gold);}
.nav-logo-text small{
  font-family:var(--sans);font-size:0.65rem;color:var(--gray);
  font-weight:400;letter-spacing:1px;text-transform:uppercase;
}
.nav-menu{display:flex;align-items:center;gap:2rem;}
.nav-menu a{
  color:var(--gray-light);font-size:0.8rem;font-weight:700;
  text-transform:uppercase;letter-spacing:1.5px;position:relative;
}
.nav-menu a::after{
  content:'';position:absolute;bottom:-4px;left:0;
  width:0;height:2px;background:var(--gold);transition:var(--ease);
}
.nav-menu a:hover,.nav-menu a.active{color:var(--gold);}
.nav-menu a:hover::after,.nav-menu a.active::after{width:100%;}
.nav-yt{
  display:flex !important;align-items:center;gap:0.4rem;
  color:var(--white) !important;background:#cc0000;
  padding:0.4rem 0.875rem !important;
}
.nav-yt:hover{background:#ff0000 !important;color:var(--white) !important;}
.nav-yt::after{display:none !important;}
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:5px;}
.hamburger span{width:25px;height:2px;background:var(--white);transition:var(--ease);}
.hamburger.open span:nth-child(1){transform:rotate(45deg) translate(5px,5px);}
.hamburger.open span:nth-child(2){opacity:0;}
.hamburger.open span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px);}

/* ============================================
   HERO — TWO COLUMN (NORMAL HEIGHT)
   ============================================ */
.hero{
  background:var(--bg);
  padding-top:calc(var(--nav-h) + 4rem);
  padding-bottom:6rem;
}
.hero-row{
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  align-items:center;
  gap:3rem;
}
.hero-text{z-index:2;}
.hero-eyebrow{
  font-size:0.75rem;font-weight:700;text-transform:uppercase;
  letter-spacing:4px;color:var(--gold);margin-bottom:1.5rem;
  display:flex;align-items:center;gap:1rem;
}
.hero-eyebrow::before{
  content:'';width:40px;height:1px;background:var(--gold);
}
.hero-title{color:var(--white);margin-bottom:1.5rem;}
.hero-title span{color:var(--gold);}
.hero-subtitle{
  font-size:1.05rem;color:var(--gray-light);
  max-width:500px;margin-bottom:2.5rem;line-height:1.8;
}
.hero-buttons{display:flex;gap:1rem;flex-wrap:wrap;}
.hero-image-wrap{position:relative;}
.hero-side-image{
  width:100%;height:520px;object-fit:cover;object-position:center top;
  border:1px solid var(--border);border-radius:4px;
  box-shadow:0 10px 40px rgba(0,0,0,0.4);
}

/* SERVICES */
.services{background:var(--bg2);}
.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:1.5rem;
}
.service-card{
  background:var(--bg3);border:1px solid var(--border);
  padding:2.5rem 2rem;transition:var(--ease);
  position:relative;overflow:hidden;
}
.service-card::after{
  content:'';position:absolute;bottom:0;left:0;
  width:0;height:3px;background:var(--gold);transition:var(--ease);
}
.service-card:hover{
  transform:translateY(-6px);border-color:var(--gold-dark);
  box-shadow:0 10px 30px rgba(0,0,0,0.3);
}
.service-card:hover::after{width:100%;}
.service-icon{font-size:2.2rem;color:var(--gold);margin-bottom:1.25rem;}
.service-card h3{font-size:1.2rem;margin-bottom:0.75rem;}
.service-card p{color:var(--gray-light);font-size:0.95rem;line-height:1.7;margin:0;}

/* TEAM */
.team-section{background:var(--bg);}
.team-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:2rem;
}
.team-card{
  background:var(--bg3);border:1px solid var(--border);
  overflow:hidden;transition:var(--ease);
}
.team-card:hover{
  transform:translateY(-6px);
  box-shadow:0 15px 40px rgba(0,0,0,0.4);
  border-color:var(--gold-dark);
}
.team-card-image{
  width:100%;height:300px;object-fit:cover;
  object-position:center top;transition:var(--ease);
  filter:grayscale(20%);
}
.team-card:hover .team-card-image{filter:grayscale(0%);}
.team-card-info{padding:1.5rem;}
.team-card-name{font-size:1.3rem;margin-bottom:0.25rem;}
.team-card-role{
  font-size:0.75rem;color:var(--gold);
  text-transform:uppercase;letter-spacing:2px;margin-bottom:0.75rem;
}
.team-card-bio{
  font-size:0.9rem;color:var(--gray-light);
  line-height:1.6;margin:0;
}

/* VIDEO */
.video-section{background:var(--bg2);}
.video-container{
  display:grid;grid-template-columns:1fr 1fr;
  gap:4rem;align-items:center;
}
.video-embed{
  position:relative;padding-bottom:56.25%;height:0;overflow:hidden;
  border:2px solid var(--border);
}
.video-embed iframe{
  position:absolute;top:0;left:0;width:100%;height:100%;
}
.video-info h2{margin-bottom:0.75rem;}
.video-info p{color:var(--gray-light);line-height:1.8;margin-bottom:2rem;}
.video-buttons{display:flex;gap:1rem;flex-wrap:wrap;}

/* SHOP */
.shop-preview{background:var(--bg);}
.products-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(270px,1fr));
  gap:2rem;margin-bottom:3rem;
}
.product-card{
  background:var(--bg3);border:1px solid var(--border);
  overflow:hidden;transition:var(--ease);position:relative;
}
.product-card:hover{
  transform:translateY(-6px);
  box-shadow:0 15px 40px rgba(0,0,0,0.4);
  border-color:var(--gold-dark);
}
.product-badge{
  position:absolute;top:1rem;left:1rem;z-index:1;
  background:var(--gold);color:var(--bg);
  font-size:0.7rem;font-weight:700;
  text-transform:uppercase;letter-spacing:1px;
  padding:0.25rem 0.75rem;
}
.product-image-wrap{overflow:hidden;}
.product-image{
  width:100%;height:230px;object-fit:cover;transition:var(--ease);
}
.product-card:hover .product-image{transform:scale(1.05);}
.product-info{padding:1.5rem;}
.product-category{
  font-size:0.75rem;color:var(--gold);
  text-transform:uppercase;letter-spacing:2px;margin-bottom:0.4rem;
}
.product-name{font-size:1.2rem;margin-bottom:0.5rem;}
.product-description{
  font-size:0.9rem;color:var(--gray-light);
  line-height:1.6;margin-bottom:1rem;
}
.product-footer{
  display:flex;align-items:center;justify-content:space-between;
  margin-bottom:0.5rem;
}
.product-price{
  font-family:var(--serif);font-size:1.6rem;
  color:var(--gold);font-weight:700;
}

/* BLOG */
.blog-preview{background:var(--bg2);}
.blog-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
  gap:2rem;margin-bottom:3rem;
}
.blog-card{
  background:var(--bg3);border:1px solid var(--border);
  overflow:hidden;transition:var(--ease);
}
.blog-card:hover{
  transform:translateY(-6px);
  box-shadow:0 15px 40px rgba(0,0,0,0.4);
  border-color:var(--gold-dark);
}
.blog-card-image{
  width:100%;
  height:200px;
  object-fit:cover;
  object-position:center center;
  display:block;
  transition:var(--ease);
}
.blog-card:hover .blog-card-image{transform:scale(1.05);}
.blog-card-content{padding:1.5rem;}
.blog-card-meta{
  display:flex;gap:1.5rem;margin-bottom:1rem;
  font-size:0.78rem;color:var(--gray);
  text-transform:uppercase;letter-spacing:1px;
}
.blog-card-meta i{color:var(--gold);margin-right:0.3rem;}
.blog-card-title{font-size:1.25rem;margin-bottom:0.75rem;line-height:1.4;}
.blog-card-excerpt{
  font-size:0.9rem;color:var(--gray-light);
  line-height:1.7;margin-bottom:1.25rem;
}
.blog-card-link{
  font-size:0.82rem;font-weight:700;
  text-transform:uppercase;letter-spacing:1px;
  color:var(--gold);display:inline-flex;align-items:center;gap:0.5rem;
}
.blog-card-link i{transition:var(--ease);}
.blog-card-link:hover i{transform:translateX(5px);}

/* CTA */
.cta-section{
  background:var(--bg2);
  position:relative;overflow:hidden;
}
.cta-section::before{
  content:'';position:absolute;inset:0;
  background:radial-gradient(ellipse at center,rgba(201,168,76,0.06) 0%,transparent 70%);
}
.cta-content{
  position:relative;text-align:center;
  max-width:700px;margin:0 auto;
}
.cta-content p{
  color:var(--gray-light);font-size:1.1rem;margin-bottom:2rem;
}
.cta-buttons{
  display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;
}

/* FOOTER */
.footer{
  background:#080808;border-top:1px solid var(--border);
  padding:4rem 0 2rem;
}
.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:3rem;margin-bottom:3rem;
}
.footer-brand img{height:48px;margin-bottom:1rem;}
.footer-brand p{
  color:var(--gray);font-size:0.9rem;
  line-height:1.7;margin-bottom:1.5rem;
}
.footer-social{display:flex;gap:0.75rem;}
.footer-social a{
  width:38px;height:38px;border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;
  color:var(--gray);font-size:1rem;transition:var(--ease);
}
.footer-social a:hover{
  border-color:var(--gold);color:var(--gold);
  background:rgba(201,168,76,0.1);
}
.footer-col h4{
  color:var(--white);font-family:var(--sans);
  font-size:0.78rem;text-transform:uppercase;
  letter-spacing:2px;margin-bottom:1.25rem;
  padding-bottom:0.75rem;border-bottom:1px solid var(--border);
}
.footer-col ul{list-style:none;}
.footer-col ul li{margin-bottom:0.75rem;}
.footer-col ul li a{
  color:var(--gray);font-size:0.9rem;transition:var(--ease);
}
.footer-col ul li a:hover{color:var(--gold);padding-left:5px;}
.footer-bottom{
  border-top:1px solid var(--border);
  padding-top:2rem;display:flex;
  justify-content:space-between;align-items:center;
}
.footer-bottom p{
  color:var(--gray);font-size:0.85rem;margin:0;
}

/* RESPONSIVE */
@media(max-width:768px){
  .nav-menu{
    position:fixed;top:var(--nav-h);left:0;right:0;
    background:rgba(13,13,13,0.98);
    flex-direction:column;padding:2rem;
    gap:1.5rem;transform:translateX(-100%);  /* ← ADD THIS */
    transition:var(--ease);
  }
  .nav-menu.open{transform:translateX(0);}
  .hamburger{display:flex;}
  .hero-row{grid-template-columns:1fr;}
  .hero-image-wrap{display:none;}
  .footer-grid{grid-template-columns:1fr;}
  .footer-bottom{flex-direction:column;gap:1rem;text-align:center;}
  .video-container{grid-template-columns:1fr;}
}

/* Blog Card Image Wrapper */
.blog-card-image-wrap {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.3s ease;
}

/* Hover zoom effect - bonus! */
.blog-card:hover .blog-card-image {
    transform: scale(1.05);
}
