/* =====================================================
   PremiumAds.eu – Main CSS
   Dark brand: #08080F bg, #C9A84C gold
   ===================================================== */

/* ── RESET ─────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --bg:        #08080F;
  --bg2:       #0E0E1A;
  --bg3:       #141422;
  --gold:      #C9A84C;
  --gold-lt:   #E8C97A;
  --gold-dim:  rgba(201,168,76,0.10);
  --gold-ring: rgba(201,168,76,0.25);
  --white:     #F2F2F2;
  --muted:     #9CA3AF;
  --border:    rgba(255,255,255,0.08);
  --green:     #22c55e;
  --red:       #ef4444;
  --radius:    14px;
  --font:      'Inter', system-ui, sans-serif;
}
html{font-size:16px;scroll-behavior:smooth;overflow-x:hidden;}
body{font-family:var(--font);background:var(--bg);color:var(--white);line-height:1.65;-webkit-font-smoothing:antialiased;overflow-x:hidden;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
button{font-family:var(--font);cursor:pointer;}

/* ── TYPOGRAPHY ────────────────────────────────────── */
h1,h2,h3,h4{line-height:1.2;font-weight:800;}
h1{font-size:clamp(2rem,5vw,3.5rem);}
h2{font-size:clamp(1.5rem,3vw,2.25rem);}
h3{font-size:clamp(1.1rem,2vw,1.5rem);}
p{color:var(--muted);}

/* ── LAYOUT ─────────────────────────────────────────── */
.container{max-width:1200px;margin:0 auto;padding:0 1.5rem;}
.section{padding:5rem 0;}
.section-sm{padding:3rem 0;}

/* ── HEADER / NAV ──────────────────────────────────── */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:100;
  background:transparent;
  transition:background .3s,backdrop-filter .3s,border-bottom .3s;
}
.site-header.scrolled{
  background:rgba(8,8,15,0.92);
  backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border);
}
.nav-container{
  max-width:1280px;margin:0 auto;padding:0 1.5rem;
  height:70px;display:flex;align-items:center;gap:2rem;
}
.nav-logo{display:flex;align-items:center;gap:.55rem;flex-shrink:0;}
.nav-logo img{flex-shrink:0;}
.nav-logo-text{font-size:1.15rem;font-weight:800;color:var(--white);}
.nav-logo-text em{font-style:normal;color:var(--gold);}
.nav-links{list-style:none;display:flex;gap:.25rem;margin-left:auto;}
.nav-link{padding:.5rem .8rem;font-size:.88rem;font-weight:500;color:var(--muted);border-radius:8px;transition:color .2s,background .2s;}
.nav-link:hover,.nav-link.active{color:var(--white);background:rgba(255,255,255,.06);}
.nav-cta{display:flex;align-items:center;gap:1rem;flex-shrink:0;}
.nav-phone{font-size:.82rem;color:var(--muted);transition:color .2s;}
.nav-phone:hover{color:var(--gold);}
.btn-nav-cta{background:linear-gradient(135deg,var(--gold),#a37e2c);color:#06060C;font-weight:700;font-size:.85rem;padding:.55rem 1.25rem;border-radius:100px;transition:transform .2s,box-shadow .2s;}
.btn-nav-cta:hover{transform:translateY(-1px);box-shadow:0 5px 18px rgba(201,168,76,.35);}
.nav-burger{display:none;flex-direction:column;gap:4px;background:none;border:none;padding:.5rem;}
.nav-burger span{display:block;width:22px;height:2px;background:var(--muted);transition:all .3s;}
.nav-burger.active span:nth-child(1){transform:rotate(45deg) translate(4px,4px);}
.nav-burger.active span:nth-child(2){opacity:0;}
.nav-burger.active span:nth-child(3){transform:rotate(-45deg) translate(4px,-4px);}

/* ── BUTTONS ─────────────────────────────────────────── */
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.72rem 1.5rem;border-radius:100px;font-weight:700;font-size:.9rem;font-family:var(--font);border:none;cursor:pointer;transition:all .2s;text-decoration:none;white-space:nowrap;}
.btn-primary{background:linear-gradient(135deg,var(--gold),#a37e2c);color:#06060C;box-shadow:0 4px 16px rgba(201,168,76,.25);}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(201,168,76,.4);}
.btn-secondary{background:transparent;color:var(--white);border:1px solid var(--border);}
.btn-secondary:hover{border-color:var(--gold-ring);color:var(--gold);}
.btn-lg{padding:.9rem 2.25rem;font-size:1rem;}

/* ── CARDS ─────────────────────────────────────────── */
.card{background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius);padding:2rem;transition:border-color .2s;}
.card:hover{border-color:var(--gold-ring);}
.card-sm{padding:1.25rem;}

/* ── BADGES ─────────────────────────────────────────── */
.badge{display:inline-flex;align-items:center;gap:.3rem;padding:.25rem .7rem;border-radius:100px;font-size:.72rem;font-weight:600;}
.badge-gold{background:var(--gold-dim);color:var(--gold-lt);border:1px solid var(--gold-ring);}
.badge-muted{background:rgba(156,163,175,.1);color:var(--muted);border:1px solid var(--border);}

/* ── PAGE HERO ───────────────────────────────────────── */
.page-hero{padding:140px 0 80px;text-align:center;}
.page-hero p{font-size:1.1rem;max-width:600px;margin:.75rem auto 0;}

/* ── BLOG ─────────────────────────────────────────── */
.blog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.5rem;}
.blog-card{background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:border-color .2s,transform .2s;}
.blog-card:hover{border-color:var(--gold-ring);transform:translateY(-3px);}
.blog-card-img{height:200px;overflow:hidden;background:var(--bg3);}
.blog-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s;}
.blog-card:hover .blog-card-img img{transform:scale(1.04);}
.blog-card-body{padding:1.5rem;}
.blog-card-meta{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap;margin-bottom:.75rem;}
.blog-card-title{font-size:1.05rem;font-weight:700;color:var(--white);margin-bottom:.6rem;line-height:1.35;}
.blog-card-title a{color:inherit;}
.blog-card-title a:hover{color:var(--gold-lt);}
.blog-card-excerpt{font-size:.85rem;color:var(--muted);line-height:1.6;}
.blog-card-footer{padding:1rem 1.5rem;border-top:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;}

/* ── POST CONTENT ────────────────────────────────────── */
.post-content{max-width:780px;}
.post-content h2{font-size:1.65rem;font-weight:800;color:var(--white);margin:2rem 0 .75rem;}
.post-content h3{font-size:1.25rem;font-weight:700;color:var(--white);margin:1.5rem 0 .5rem;}
.post-content p{color:rgba(242,242,242,.85);line-height:1.8;margin-bottom:1rem;}
.post-content ul,.post-content ol{padding-left:1.5rem;margin-bottom:1rem;}
.post-content li{color:rgba(242,242,242,.8);line-height:1.75;margin-bottom:.35rem;}
.post-content a{color:var(--gold);text-decoration:underline;}
.post-content strong{color:var(--white);font-weight:700;}
.post-content blockquote{border-left:3px solid var(--gold);padding:.75rem 1.25rem;background:var(--gold-dim);border-radius:0 10px 10px 0;margin:1.5rem 0;}
.post-content blockquote p{color:var(--gold-lt);margin:0;}
.post-content code{background:var(--bg3);color:var(--gold-lt);padding:.15rem .4rem;border-radius:4px;font-size:.85em;}
.post-content pre{background:var(--bg3);padding:1.25rem;border-radius:10px;overflow-x:auto;margin-bottom:1rem;}
.post-content table{width:100%;border-collapse:collapse;margin-bottom:1rem;}
.post-content th{background:var(--bg3);padding:.7rem 1rem;text-align:left;font-size:.82rem;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;}
.post-content td{padding:.7rem 1rem;border-bottom:1px solid var(--border);font-size:.9rem;color:rgba(242,242,242,.8);}

/* ── BREADCRUMB ───────────────────────────────────────── */
.breadcrumb{display:flex;align-items:center;gap:.4rem;font-size:.8rem;color:var(--muted);flex-wrap:wrap;padding:.75rem 0;list-style:none;margin:0;padding-left:0;}
.breadcrumb li{display:flex;align-items:center;gap:.4rem;}
.breadcrumb li+li::before{content:"›";color:var(--border);font-size:.9rem;}
.breadcrumb a{color:var(--muted);transition:color .2s;}
.breadcrumb a:hover{color:var(--gold);}
.breadcrumb-sep{color:var(--border);}
.breadcrumb-current{color:var(--white);}

/* ── PAGINATION ───────────────────────────────────────── */
.pagination{display:flex;gap:.5rem;justify-content:center;margin-top:3rem;flex-wrap:wrap;}
.pagination a,.pagination span{padding:.5rem .9rem;border-radius:8px;font-size:.85rem;font-weight:600;border:1px solid var(--border);background:var(--bg2);color:var(--muted);transition:all .2s;}
.pagination a:hover{border-color:var(--gold-ring);color:var(--gold);}
.pagination .current{background:var(--gold);color:#06060C;border-color:var(--gold);}

/* ── SERVICE PAGE ─────────────────────────────────────── */
.service-features{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.25rem;}
.feature-item{background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;transition:border-color .2s;}
.feature-item:hover{border-color:var(--gold-ring);}
.feature-icon{font-size:2rem;margin-bottom:.75rem;}
.feature-title{font-size:1rem;font-weight:700;color:var(--white);margin-bottom:.4rem;}
.feature-desc{font-size:.85rem;color:var(--muted);line-height:1.6;}
.process-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;counter-reset:step;}
.process-step{position:relative;padding:1.5rem;background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius);}
.process-step::before{counter-increment:step;content:counter(step);position:absolute;top:-14px;left:1.5rem;width:28px;height:28px;background:linear-gradient(135deg,var(--gold),#a37e2c);color:#06060C;font-weight:800;font-size:.85rem;border-radius:50%;display:flex;align-items:center;justify-content:center;}

/* ── FAQ ───────────────────────────────────────────── */
.faq-list{display:flex;flex-direction:column;gap:.6rem;}
.faq-item{background:var(--bg2);border:1px solid var(--border);border-radius:12px;overflow:hidden;}
.faq-q{padding:1.1rem 1.35rem;font-weight:600;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:1rem;}
.faq-q:hover{background:rgba(255,255,255,.03);}
.faq-chevron{flex-shrink:0;transition:transform .3s;color:var(--muted);}
.faq-item.open .faq-chevron{transform:rotate(180deg);}
.faq-a{max-height:0;overflow:hidden;transition:max-height .35s ease,padding .3s;}
.faq-item.open .faq-a{max-height:400px;padding:0 1.35rem 1.1rem;}
.faq-a p{color:var(--muted);font-size:.9rem;line-height:1.7;margin:0;}

/* ── CTA SECTION ─────────────────────────────────────── */
.cta-section{background:linear-gradient(135deg,var(--gold-dim),transparent);border:1px solid var(--gold-ring);border-radius:24px;padding:4rem;text-align:center;margin:4rem 0;}
.cta-section h2{color:var(--white);margin-bottom:1rem;}
.cta-section p{color:var(--muted);max-width:520px;margin:0 auto 2rem;}

/* ── FOOTER ─────────────────────────────────────────── */
.site-footer{background:var(--bg2);border-top:1px solid var(--border);padding:4rem 0 0;}
.footer-inner{max-width:1200px;margin:0 auto;padding:0 1.5rem;display:grid;grid-template-columns:2fr 1fr 1fr 1.5fr;gap:3rem;margin-bottom:3rem;}
.footer-logo{display:flex;align-items:center;gap:.6rem;font-size:1.1rem;font-weight:800;color:var(--white);margin-bottom:1rem;}
.footer-logo em{font-style:normal;color:var(--gold);}
.footer-tagline{font-size:.88rem;color:var(--muted);line-height:1.6;margin-bottom:1.5rem;}
.footer-social{display:flex;gap:.75rem;}
.social-icon{width:36px;height:36px;background:var(--bg3);border:1px solid var(--border);border-radius:8px;display:flex;align-items:center;justify-content:center;color:var(--muted);transition:color .2s,border-color .2s,background .2s;}
.social-icon:hover{color:var(--gold);border-color:var(--gold-ring);background:var(--gold-dim);}
.footer-links h4{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin-bottom:1.1rem;}
.footer-links ul{list-style:none;}
.footer-links li{margin-bottom:.5rem;}
.footer-links a{font-size:.88rem;color:var(--muted);transition:color .2s;}
.footer-links a:hover{color:var(--white);}
.footer-contact h4{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin-bottom:1.1rem;}
.footer-contact p{font-size:.9rem;margin-bottom:.5rem;}
.footer-contact a{color:var(--muted);transition:color .2s;}
.footer-contact a:hover{color:var(--gold);}
.btn-footer-cta{display:inline-flex;align-items:center;margin-top:1.25rem;padding:.6rem 1.25rem;background:linear-gradient(135deg,var(--gold),#a37e2c);color:#06060C;font-weight:700;font-size:.85rem;border-radius:100px;transition:transform .2s;}
.btn-footer-cta:hover{transform:translateY(-1px);}
.footer-bottom{border-top:1px solid var(--border);padding:1.25rem 1.5rem;max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;font-size:.78rem;color:var(--muted);gap:1rem;flex-wrap:wrap;}
.footer-bottom a{color:var(--muted);transition:color .2s;}
.footer-bottom a:hover{color:var(--white);}

/* ── SIDEBAR (blog) ──────────────────────────────────── */
.blog-layout{display:grid;grid-template-columns:1fr 300px;gap:3rem;align-items:start;}
.sidebar-card{background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;margin-bottom:1.5rem;}
.sidebar-card h4{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-bottom:1rem;}

/* ── ALERTS ───────────────────────────────────────── */
.alert{padding:.9rem 1.1rem;border-radius:10px;font-size:.9rem;margin-bottom:1.25rem;}
.alert-success{background:rgba(34,197,94,.1);border:1px solid rgba(34,197,94,.2);color:#4ade80;}
.alert-error{background:rgba(239,68,68,.1);border:1px solid rgba(239,68,68,.2);color:#fca5a5;}

/* ── FORMS ───────────────────────────────────────────── */
.form-group{display:flex;flex-direction:column;gap:.4rem;margin-bottom:1rem;}
.form-group label{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);}
.form-group input,.form-group select,.form-group textarea{
  background:rgba(255,255,255,.04);
  border:1px solid var(--border);
  border-radius:10px;
  color:var(--white);
  font-family:var(--font);
  font-size:.95rem;
  padding:.8rem 1rem;
  outline:none;
  width:100%;
  transition:border-color .2s,box-shadow .2s;
}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{
  border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(201,168,76,.1);
}
.form-group input::placeholder,.form-group textarea::placeholder{color:rgba(156,163,175,.4);}
.form-group select option{background:var(--bg3);}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media(max-width:1024px){
  .blog-layout{grid-template-columns:1fr;}
  .footer-inner{grid-template-columns:1fr 1fr;}
}
/* Hero grids: text col + sticky form card (390px) → stack at 900px */
@media(max-width:900px){
  section > .container > div[style*="grid-template-columns:1fr 390px"],
  section > .container > div[style*="grid-template-columns:1fr 400px"]{
    grid-template-columns:1fr!important;
    gap:2.5rem!important;
  }
  section > .container > div[style*="grid-template-columns:1fr 390px"] .card[style*="position:sticky"],
  section > .container > div[style*="grid-template-columns:1fr 400px"] .card[style*="position:sticky"]{
    position:static!important;
  }
}
@media(max-width:768px){
  .nav-links{
    position:fixed;top:70px;left:0;right:0;bottom:0;
    background:var(--bg2);flex-direction:column;gap:0;
    padding:1rem 0;overflow-y:auto;
    transform:translateX(-100%);transition:transform .3s;
    border-right:none;
  }
  .nav-links.open{transform:none;}
  .nav-burger{display:flex;}
  .nav-phone{display:none;}
  .footer-inner{grid-template-columns:1fr;}
  .blog-layout{grid-template-columns:1fr;}
  .section{padding:3rem 0;}
  .cta-section{padding:2.5rem 1.5rem;}
  /* Content 2-col sections → single column */
  section > .container > div[style*="grid-template-columns:1fr 1fr"],
  section > .container > div[style*="grid-template-columns:auto 1fr"]{
    grid-template-columns:1fr!important;
    gap:2rem!important;
  }
  /* 3-col case study / model grids → single column */
  section > .container > div[style*="grid-template-columns:repeat(3,1fr)"]{
    grid-template-columns:1fr!important;
    gap:1.25rem!important;
  }
  /* Blog featured post horizontal → stack */
  div[style*="grid-template-columns:1fr 1fr"][style*="min-height:320px"]{
    grid-template-columns:1fr!important;
  }
  div[style*="grid-template-columns:1fr 1fr"][style*="min-height:320px"] > div:first-child{
    min-height:200px;
  }
}
