/*
Theme Name: DigiGrow marketing
Theme URI: https://example.com/digigrow
Author: Antigravity
Author URI: https://example.com
Description: A high-performance, dark-mode Digital Marketing Agency template focusing on ROI and conversion.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Text Domain: digigrow
*/

:root {
    --bg-color: #0c0f1a; /* True Dark */
    --surface-color: #12182b; /* Slightly lighter surface for cards */
    --text-color: #94a3b8; /* Muted Slate */
    --heading-color: #ffffff;
    --primary-color: #6366f1; /* Electric Indigo */
    --secondary-color: #10b981; /* Neon Growth Green */
    --accent-color: #ec4899; /* Pink Accent */
    --border-color: #1e293b;
    
    --font-heading: 'Outfit', -apple-system, system-ui, sans-serif;
    --font-body: 'Inter', -apple-system, system-ui, sans-serif;
    
    --container-width: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--heading-color); font-weight: 800; line-height: 1.2; margin-bottom: 1rem; }
h1 { font-size: 3.5rem; letter-spacing: -1px; }
h2 { font-size: 2.5rem; letter-spacing: -0.5px; }
h3 { font-size: 1.5rem; }

a { color: var(--primary-color); text-decoration: none; transition: 0.3s ease; }
a:hover { color: var(--accent-color); }

/* Buttons */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.5);
    color: #fff;
}
.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid var(--border-color);
    box-shadow: none;
}
.btn-outline:hover {
    background: var(--surface-color);
    border-color: var(--heading-color);
    box-shadow: none;
}

/* Layout */
.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 2rem; }

/* Header */
.site-header {
    background: rgba(12, 15, 26, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.site-title { font-size: 2rem; margin: 0; }
.site-title a { color: #fff; }
.site-title span { color: var(--primary-color); }
.main-navigation ul { list-style: none; display: flex; gap: 2rem; }
.main-navigation a {
    font-family: var(--font-heading);
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.main-navigation a:hover { color: #fff; }
.header-cta { margin-left: 2rem; }

/* Hero */
.hero-section {
    padding: 8rem 0 6rem;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
}
.hero-text { max-width: 800px; margin: 0 auto; }
.hero-section p { font-size: 1.25rem; margin-bottom: 3rem; color: #cbd5e1; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; }

/* Grid Cards (Services & Portfolios) */
.section-full { padding: 6rem 0; border-top: 1px solid var(--border-color); }
.section-title { text-align: center; margin-bottom: 4rem; }
.section-title span { color: var(--primary-color); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; }

.tech-card {
    background: var(--surface-color);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
}
.tech-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0; transition: 0.3s;
}
.tech-card:hover { transform: translateY(-5px); border-color: var(--primary-color); }
.tech-card:hover::before { opacity: 1; }
.card-icon { font-size: 2.5rem; margin-bottom: 1.5rem; }
.card-title { font-size: 1.5rem; margin-bottom: 1rem; color: #fff; }

/* Case Study Specific */
.cs-card { display: flex; flex-direction: column; padding: 0; }
.cs-thumb { width: 100%; height: 220px; object-fit: cover; }
.cs-content { padding: 2rem; flex: 1; display:flex; flex-direction: column; }
.cs-metric { font-size: 2rem; font-weight: 800; color: var(--secondary-color); margin-bottom: 0.5rem; font-family: var(--font-heading); }
.cs-card .btn { align-self: flex-start; margin-top: auto; }

/* Footer */
.site-footer { background: #080B14; border-top: 1px solid var(--border-color); padding: 5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 4rem; margin-bottom: 3rem; }
.footer-col h3 { font-size: 1.25rem; margin-bottom: 1.5rem; color: #fff; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 1rem; }
.site-info { text-align: center; padding-top: 2rem; border-top: 1px solid var(--border-color); font-size: 0.875rem; }

/* Single */
.post, .page { padding: 4rem 0; }
.post-title { margin-top: 0; }
.post-meta { font-family: var(--font-heading); font-size: 0.875rem; text-transform:uppercase; letter-spacing:1px; margin-bottom: 2rem; }
