/*
Theme Name: Dark Cloud Host
Theme URI: https://darkcloudhost.co.za
Author: Dark Cloud Host
Author URI: https://darkcloudhost.co.za
Description: Premium dark-themed WordPress theme for Dark Cloud Host — website design, hosting, Google Ads, Meta Ads, logo design and Google Business Profile services across Gauteng, South Africa. Conversion-focused, SEO-ready, mobile-responsive.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dark-cloud-host
Tags: business, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready, blog, one-column, two-columns
*/

/* ============ Reset & base ============ */
*,*:before,*:after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:#0a0f1c;color:#e6edf7;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:#22d3ee;text-decoration:none;transition:color .2s}
a:hover{color:#67e8f9}
h1,h2,h3,h4,h5,h6{font-family:'Space Grotesk','Inter',sans-serif;font-weight:700;line-height:1.2;margin:0 0 .6em;color:#f1f5fb}
h1{font-size:clamp(2rem,5vw,3.4rem);letter-spacing:-.02em}
h2{font-size:clamp(1.6rem,3.5vw,2.4rem);letter-spacing:-.01em}
h3{font-size:1.25rem}
p{margin:0 0 1em}
ul{padding-left:1.2em}
.container{max-width:1200px;margin:0 auto;padding:0 1.25rem}
section{padding:5rem 0}
.section-title{text-align:center;margin-bottom:.5rem}
.section-sub{text-align:center;color:#94a3b8;max-width:680px;margin:0 auto 3rem}
.eyebrow{display:inline-block;font-size:.75rem;letter-spacing:.18em;text-transform:uppercase;color:#22d3ee;font-weight:600;margin-bottom:1rem}

/* ============ Buttons ============ */
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.85rem 1.5rem;border-radius:.6rem;font-weight:600;font-size:.95rem;transition:all .2s;cursor:pointer;border:none;text-decoration:none}
.btn-primary{background:linear-gradient(135deg,#06b6d4,#22d3ee);color:#0a0f1c;box-shadow:0 10px 30px -10px rgba(34,211,238,.5)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 15px 35px -10px rgba(34,211,238,.7);color:#0a0f1c}
.btn-outline{background:transparent;border:1px solid rgba(255,255,255,.18);color:#e6edf7}
.btn-outline:hover{border-color:#22d3ee;color:#22d3ee}
.btn-wa{background:#25d366;color:#fff}
.btn-wa:hover{background:#1ebe5b;color:#fff}

/* ============ Header ============ */
.site-header{position:sticky;top:0;z-index:50;background:rgba(10,15,28,.85);backdrop-filter:blur(12px);border-bottom:1px solid rgba(255,255,255,.06)}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:.85rem 0;gap:1rem}
.site-branding img{height:44px;width:auto}
.main-nav ul{display:flex;list-style:none;gap:1.8rem;margin:0;padding:0}
.main-nav a{color:#cbd5e1;font-weight:500;font-size:.95rem}
.main-nav a:hover,.main-nav .current-menu-item>a{color:#22d3ee}
.header-cta{display:flex;gap:.5rem;align-items:center}
.menu-toggle{display:none;background:none;border:1px solid rgba(255,255,255,.15);color:#e6edf7;padding:.5rem .75rem;border-radius:.4rem;cursor:pointer}
@media(max-width:900px){
 .main-nav{position:absolute;top:100%;left:0;right:0;background:#0a0f1c;border-bottom:1px solid rgba(255,255,255,.08);display:none;padding:1rem 1.25rem}
 .main-nav.open{display:block}
 .main-nav ul{flex-direction:column;gap:.25rem}
 .main-nav a{display:block;padding:.7rem 0}
 .menu-toggle{display:inline-flex}
 .header-cta .btn-outline{display:none}
}

/* ============ Hero ============ */
.hero{position:relative;padding:6rem 0 5rem;background:radial-gradient(ellipse at top,rgba(34,211,238,.15),transparent 60%),#0a0f1c;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:3rem;align-items:center}
@media(max-width:900px){.hero-grid{grid-template-columns:1fr;gap:2rem}}
.hero h1 span{background:linear-gradient(135deg,#22d3ee,#a855f7);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero p.lead{font-size:1.15rem;color:#cbd5e1;max-width:560px;margin-bottom:2rem}
.hero-actions{display:flex;gap:.8rem;flex-wrap:wrap;margin-bottom:2rem}
.hero-trust{display:flex;gap:1.5rem;flex-wrap:wrap;color:#94a3b8;font-size:.9rem}
.hero-trust span{display:inline-flex;align-items:center;gap:.4rem}

/* ============ Hero form ============ */
.hero-form{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(10px);border-radius:1rem;padding:2rem;box-shadow:0 25px 50px -12px rgba(0,0,0,.5)}
.hero-form h3{margin-bottom:.4rem}
.hero-form p.muted{color:#94a3b8;font-size:.9rem;margin-bottom:1.2rem}
.hero-form .field{margin-bottom:.85rem}
.hero-form input,.hero-form select,.hero-form textarea{width:100%;background:rgba(10,15,28,.6);border:1px solid rgba(255,255,255,.1);color:#e6edf7;padding:.7rem .9rem;border-radius:.5rem;font-size:.95rem;font-family:inherit}
.hero-form input:focus,.hero-form select:focus,.hero-form textarea:focus{outline:none;border-color:#22d3ee;box-shadow:0 0 0 3px rgba(34,211,238,.15)}
.hero-form textarea{min-height:90px;resize:vertical}
.hero-form .btn{width:100%;justify-content:center}

/* ============ Cards / Grids ============ */
.grid{display:grid;gap:1.5rem}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
@media(max-width:900px){.grid-3,.grid-4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.grid-2,.grid-3,.grid-4{grid-template-columns:1fr}}
.card{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.07);border-radius:.85rem;padding:1.8rem;transition:all .3s}
.card:hover{transform:translateY(-4px);border-color:rgba(34,211,238,.4);box-shadow:0 20px 40px -15px rgba(34,211,238,.2)}
.card .icon{width:48px;height:48px;border-radius:.6rem;background:linear-gradient(135deg,rgba(34,211,238,.18),rgba(168,85,247,.18));display:inline-flex;align-items:center;justify-content:center;margin-bottom:1.1rem;font-size:1.5rem}
.card h3{margin-bottom:.5rem}
.card p{color:#94a3b8;margin:0}
.card-link{display:inline-block;margin-top:1rem;color:#22d3ee;font-weight:600;font-size:.9rem}

/* ============ Pricing ============ */
.pricing-card{position:relative;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);border-radius:1rem;padding:2rem;display:flex;flex-direction:column}
.pricing-card.popular{border-color:#22d3ee;box-shadow:0 0 0 1px #22d3ee,0 20px 50px -15px rgba(34,211,238,.4);transform:scale(1.03)}
.pricing-card.popular .badge{position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:linear-gradient(135deg,#06b6d4,#22d3ee);color:#0a0f1c;font-size:.72rem;font-weight:700;padding:.3rem .8rem;border-radius:99px;letter-spacing:.05em;text-transform:uppercase}
.pricing-card .price{font-size:2.6rem;font-weight:800;color:#f1f5fb;margin:.5rem 0}
.pricing-card .price small{font-size:1rem;color:#94a3b8;font-weight:500}
.pricing-card ul{list-style:none;padding:0;margin:1.2rem 0 1.8rem;flex:1}
.pricing-card ul li{padding:.45rem 0;color:#cbd5e1;display:flex;align-items:flex-start;gap:.5rem}
.pricing-card ul li:before{content:"✓";color:#22d3ee;font-weight:700;flex-shrink:0}

/* ============ Testimonials ============ */
.testimonial{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.07);border-radius:.85rem;padding:1.8rem}
.testimonial .stars{color:#fbbf24;margin-bottom:.8rem;letter-spacing:.1em}
.testimonial blockquote{margin:0 0 1rem;font-style:italic;color:#cbd5e1}
.testimonial cite{font-style:normal;color:#f1f5fb;font-weight:600;display:block}
.testimonial cite small{display:block;color:#94a3b8;font-weight:400;font-size:.85rem;margin-top:.15rem}

/* ============ FAQ ============ */
.faq-item{border:1px solid rgba(255,255,255,.08);border-radius:.6rem;margin-bottom:.75rem;background:rgba(255,255,255,.02);overflow:hidden}
.faq-item summary{padding:1.1rem 1.4rem;cursor:pointer;font-weight:600;color:#f1f5fb;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:1rem}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary:after{content:"+";font-size:1.5rem;color:#22d3ee;transition:transform .2s}
.faq-item[open] summary:after{transform:rotate(45deg)}
.faq-item .answer{padding:0 1.4rem 1.2rem;color:#cbd5e1}

/* ============ CTA banner ============ */
.cta-banner{background:linear-gradient(135deg,rgba(34,211,238,.15),rgba(168,85,247,.15));border:1px solid rgba(34,211,238,.3);border-radius:1.2rem;padding:3rem 2rem;text-align:center}
.cta-banner h2{margin-bottom:.6rem}
.cta-banner p{color:#cbd5e1;max-width:560px;margin:0 auto 1.6rem}

/* ============ Footer ============ */
.site-footer{background:#070b15;border-top:1px solid rgba(255,255,255,.06);padding:4rem 0 2rem;margin-top:4rem}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:2.5rem;margin-bottom:3rem}
@media(max-width:900px){.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.footer-grid{grid-template-columns:1fr}}
.footer-grid img{height:48px;width:auto;margin-bottom:1rem}
.footer-grid h4{color:#f1f5fb;font-size:1rem;margin-bottom:1rem}
.footer-grid ul{list-style:none;padding:0;margin:0}
.footer-grid ul li{margin-bottom:.55rem}
.footer-grid a{color:#94a3b8;font-size:.92rem}
.footer-grid a:hover{color:#22d3ee}
.footer-bottom{border-top:1px solid rgba(255,255,255,.06);padding-top:1.5rem;text-align:center;color:#64748b;font-size:.85rem}

/* ============ Sticky buttons ============ */
.sticky-buttons{position:fixed;right:1rem;bottom:1rem;z-index:60;display:flex;flex-direction:column;gap:.6rem}
.sticky-buttons a{width:54px;height:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.5rem;box-shadow:0 10px 25px -5px rgba(0,0,0,.4);transition:transform .2s}
.sticky-buttons a:hover{transform:scale(1.08)}
.sticky-wa{background:#25d366}
.sticky-call{background:#06b6d4}

/* ============ Page hero (inner pages) ============ */
.page-hero{padding:6rem 0 3rem;background:radial-gradient(ellipse at top,rgba(34,211,238,.1),transparent 60%);text-align:center}
.page-hero h1{margin-bottom:.5rem}
.page-hero p{color:#94a3b8;max-width:680px;margin:0 auto}

/* ============ Post content ============ */
.entry-content{max-width:780px;margin:0 auto;padding:3rem 1.25rem;font-size:1.05rem}
.entry-content img{border-radius:.6rem;margin:1.5rem 0}
.entry-content h2,.entry-content h3{margin-top:2rem}
.entry-meta{color:#94a3b8;font-size:.9rem;margin-bottom:1.5rem}

.post-card{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.07);border-radius:.85rem;overflow:hidden;transition:all .3s}
.post-card:hover{transform:translateY(-4px);border-color:rgba(34,211,238,.4)}
.post-card .post-thumb{aspect-ratio:16/9;background:linear-gradient(135deg,#0e1729,#1a2542);display:flex;align-items:center;justify-content:center;color:#22d3ee;font-size:2rem}
.post-card .post-body{padding:1.4rem}
.post-card h3{margin-bottom:.5rem;font-size:1.1rem}
.post-card .post-cat{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:#22d3ee;font-weight:600}

/* ============ Forms (contact) ============ */
.contact-form{max-width:640px;margin:0 auto;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:1rem;padding:2.5rem}
.contact-form .field{margin-bottom:1rem}
.contact-form label{display:block;margin-bottom:.4rem;font-size:.9rem;color:#cbd5e1;font-weight:500}
.contact-form input,.contact-form select,.contact-form textarea{width:100%;background:rgba(10,15,28,.6);border:1px solid rgba(255,255,255,.1);color:#e6edf7;padding:.8rem 1rem;border-radius:.5rem;font-size:1rem;font-family:inherit}
.contact-form textarea{min-height:140px;resize:vertical}
.contact-form .btn{width:100%;justify-content:center;margin-top:.5rem}

.alert{padding:1rem 1.2rem;border-radius:.5rem;margin-bottom:1.2rem}
.alert-success{background:rgba(34,197,94,.12);border:1px solid rgba(34,197,94,.3);color:#86efac}
.alert-error{background:rgba(239,68,68,.12);border:1px solid rgba(239,68,68,.3);color:#fca5a5}

/* ============ Locations grid ============ */
.location-chip{display:block;padding:1rem 1.2rem;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.07);border-radius:.6rem;color:#cbd5e1;font-weight:500;transition:all .2s}
.location-chip:hover{background:rgba(34,211,238,.08);border-color:#22d3ee;color:#22d3ee;transform:translateY(-2px)}

/* Utility */
.text-center{text-align:center}
.mt-2{margin-top:1rem}.mt-4{margin-top:2rem}.mb-0{margin-bottom:0}
