/*
Theme Name: Growify PPC Complete
Theme URI: http://growifycommerce.com/
Author: Nazmul
Author URI: http://growifycommerce.com/
Description: Conversion‑focused one‑page PPC theme with Blog, Contact page, and built‑in lead magnet popup. Designed for Elementor.
Version: 2.3
Tags: custom-colors, custom-menu, featured-images, one-column, blog, landing-page
Text Domain: growify-ppc
*/

:root{
  --mint-400:#34d399;
  --midnight-600:#1e293b;
  --cloud-50:#f8fafc;
}

*{box-sizing:border-box;}

body{margin:0;font-family:'Inter',system-ui,sans-serif;color:var(--midnight-600);background:var(--cloud-50);line-height:1.6;}

a{color:var(--mint-400);text-decoration:none;}

.container{max-width:1080px;margin:0 auto;padding:0 1rem;}
/* Header */
.site-header{background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.05);}
.site-header .container{display:flex;align-items:center;justify-content:space-between;padding:1rem 0;}
.logo{font-size:1.25rem;font-weight:700;color:var(--midnight-600);}
.primary-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:1.25rem;font-weight:600;}
.primary-nav a{color:var(--midnight-600);}

/* Hero */
.hero{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:5rem 1rem;}
.hero h1{font-size:2.5rem;font-weight:700;max-width:700px;margin:0 0 1rem;}
.hero h1 span{color:var(--mint-400);}
.hero p{font-size:1.125rem;margin:0 0 2rem;color:rgba(30,41,59,.8);}
.button{background:var(--mint-400);color:#fff;padding:0.75rem 1.75rem;border-radius:999px;font-weight:600;cursor:pointer;display:inline-block;}
/* Services */
.services{display:grid;gap:1.5rem;grid-template-columns:1fr;margin-top:2rem;}
@media(min-width:640px){.services{grid-template-columns:1fr 1fr;}}
.card{background:#fff;border-radius:1rem;box-shadow:0 4px 10px rgba(0,0,0,.05);padding:2rem;text-align:center;}
.card h3{margin-top:0;font-size:1.35rem;font-weight:700;}
/* Results strip */
.results{display:flex;gap:1rem;flex-wrap:wrap;justify-content:center;font-weight:600;margin:3rem auto;}
.results span{white-space:nowrap;}
/* Blog */
.blog-hero{padding:4rem 1rem;text-align:center;}
.blog-hero h1{font-size:2.25rem;margin:0 0 .5rem;color:var(--midnight-600);}
.blog-hero p{color:rgba(30,41,59,.75);max-width:600px;margin:0 auto;}
.posts-grid{display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));padding:2rem 0;}
.post-card{background:#fff;border-radius:1rem;box-shadow:0 4px 10px rgba(0,0,0,.05);overflow:hidden;transition:transform .25s,box-shadow .25s;}
.post-card:hover{transform:translateY(-4px);box-shadow:0 8px 18px rgba(0,0,0,.08);}
.post-thumb{width:100%;height:180px;object-fit:cover;}
.post-title{font-size:1.25rem;margin:1rem;}
.post-excerpt{margin:0 1rem 1.25rem;color:rgba(30,41,59,.8);}
.read-more{display:block;font-weight:600;margin:0 1rem 1.25rem;color:var(--mint-400);}
.pagination{padding:2rem 0;text-align:center;}
.pagination a{padding:.5rem .75rem;margin:.25rem;border:1px solid #e5e7eb;border-radius:.5rem;}

/* Footer */
footer{background:#fff;text-align:center;padding:2rem 1rem;font-size:.875rem;color:rgba(30,41,59,.6);}

/* Popup */
.modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity .25s;z-index:9999;}
.modal-overlay.active{opacity:1;pointer-events:auto;}
.modal{background:#fff;border-radius:1rem;padding:2rem 1.5rem;max-width:400px;width:90%;box-shadow:0 10px 30px rgba(0,0,0,.15);text-align:center;position:relative;}
.modal h2{margin-top:0;font-size:1.5rem;color:var(--midnight-600);}
.modal form{display:flex;flex-direction:column;gap:1rem;margin-top:1rem;}
.modal input[type="text"],.modal input[type="email"]{padding:0.75rem 1rem;border:1px solid #e5e7eb;border-radius:0.5rem;font-size:1rem;}
.modal button{background:var(--mint-400);color:#fff;padding:0.75rem 1.5rem;border:none;border-radius:999px;font-weight:600;cursor:pointer;}
.close-btn{position:absolute;top:0.75rem;right:1rem;font-size:1.25rem;color:#9ca3af;cursor:pointer;}
</style>

/* CTA button in header */
.cta-button{
  background:var(--mint-400);
  color:#fff!important;
  padding:0.6rem 1.4rem;
  border-radius:999px;
  font-weight:700;
  margin-left:1.5rem;
}
.cta-button:hover{
  opacity:0.9;
}
