/*
Theme Name: Spromoter
Theme URI:
Author:
Author URI:
Description: Custom WordPress theme for Spromoter, a Walmart & Amazon marketing agency.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: spromoter
*/

:root {
    --spromoter-green: #22c55e;
    --spromoter-green-dark: #16a34a;
    --spromoter-navy: #1e2432;
    --spromoter-heading: #111827;
    --spromoter-body: #4b5563;
    --spromoter-bg-light: #f8f9fa;
    --spromoter-border: #eaeaea;
    --spromoter-max-width: 1200px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--spromoter-body);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, h4 {
    color: var(--spromoter-heading);
    line-height: 1.2;
}

.container {
    max-width: var(--spromoter-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--spromoter-green);
    color: #fff;
}

.btn-primary:hover {
    background: var(--spromoter-green-dark);
}

.btn-primary .arrow {
    margin-left: 0.4rem;
}

/* Header */
.site-header {
    border-bottom: 1px solid var(--spromoter-border);
    background: #fff;
}

.site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    max-width: var(--spromoter-max-width);
    margin: 0 auto;
}

.site-branding {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--spromoter-heading);
}

.site-branding img {
    max-height: 40px;
}

.primary-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.primary-nav li {
    position: relative;
}

.primary-nav > ul > li > a {
    font-weight: 600;
    color: var(--spromoter-heading);
}

.primary-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 1rem;
    min-width: 480px;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 2rem;
    z-index: 20;
}

.primary-nav li:hover > .sub-menu {
    display: grid;
}

.primary-nav .sub-menu li a {
    display: block;
    padding: 0.5rem 0;
    font-weight: 400;
    color: var(--spromoter-body);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Hero */
.hero {
    background: var(--spromoter-bg-light);
    padding: 5rem 0;
}

.hero-eyebrow {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--spromoter-body);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0.5rem 0 1.5rem;
}

.hero p {
    max-width: 520px;
    font-size: 1.05rem;
}

/* Trusted by */
.trusted-by {
    text-align: center;
    padding: 3rem 0;
}

.trusted-by h3 {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: var(--spromoter-body);
}

.trusted-by-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1.5rem;
}

.trusted-by-logos img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Services */
.services-section {
    padding: 4rem 0;
    text-align: center;
}

.services-section h2 {
    font-size: 2.25rem;
    font-weight: 800;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    text-align: left;
}

.service-card {
    border: 1px solid var(--spromoter-border);
    border-radius: 10px;
    padding: 2rem;
}

.service-card .service-icon {
    width: 48px;
    height: 48px;
    background: #dcfce7;
    color: var(--spromoter-green);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.15rem;
    margin: 0 0 0.5rem;
}

/* CTA band */
.cta-band {
    background: var(--spromoter-navy);
    color: #fff;
    text-align: center;
    padding: 4rem 0;
}

.cta-band h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
}

.cta-band p {
    color: #cbd5e1;
    margin-bottom: 2rem;
}

/* Page hero (Case Studies / Blog listing headers) */
.page-hero {
    background: var(--spromoter-bg-light);
    text-align: center;
    padding: 4rem 0;
}

.page-hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
}

.page-hero p {
    max-width: 600px;
    margin: 1rem auto 0;
}

/* Post / case study card grids */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 4rem 0;
}

.post-grid.post-grid-2col {
    grid-template-columns: repeat(2, 1fr);
}

.post-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
    background: var(--spromoter-bg-light);
    margin-bottom: 1.25rem;
}

.post-card-tag {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--spromoter-green-dark);
    margin-bottom: 0.5rem;
}

.post-card h3 {
    font-size: 1.3rem;
    margin: 0 0 0.5rem;
}

.post-card h3 a {
    color: inherit;
}

.post-card p {
    margin: 0 0 1rem;
}

.post-card-link {
    color: var(--spromoter-green-dark);
    font-weight: 600;
}

.post-card-link .arrow {
    display: inline-block;
    transition: transform 0.15s ease;
}

.post-card-link:hover .arrow {
    transform: translateX(3px);
}

@media (max-width: 992px) {
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .post-grid,
    .post-grid.post-grid-2col {
        grid-template-columns: 1fr;
    }
}

/* Service page hero */
.service-hero {
    background: var(--spromoter-bg-light);
    padding: 4rem 0;
}

.service-hero .service-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.service-hero-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--spromoter-green-dark);
    margin-bottom: 1rem;
}

.service-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 1.25rem;
}

.service-hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-outline {
    background: #fff;
    color: var(--spromoter-heading);
    border: 1px solid var(--spromoter-border);
}

.btn-outline:hover {
    border-color: var(--spromoter-heading);
}

.service-hero-image img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

/* Why-choose feature band (green) — apply .spromoter-feature-card inside editor content */
.feature-band {
    background: var(--spromoter-green);
    color: #fff;
    text-align: center;
    padding: 4rem 0;
}

.feature-band h2,
.feature-band p {
    color: #fff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}

.spromoter-feature-card .feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.spromoter-feature-card h3 {
    color: #fff;
    font-size: 1.1rem;
}

.spromoter-feature-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

/* Results / stats band */
.results-section {
    background: var(--spromoter-navy);
    color: #fff;
    text-align: center;
    padding: 4rem 0;
}

.results-section h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
}

.results-section p {
    color: #cbd5e1;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.spromoter-result-stat .result-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--spromoter-green);
}

.spromoter-result-stat p {
    color: #cbd5e1;
    margin: 0.5rem 0 0;
}

/* Checklist grid — apply .spromoter-checklist-item inside editor content */
.checklist-section {
    padding: 4rem 0;
    text-align: center;
}

.checklist-section h2 {
    font-size: 2rem;
    font-weight: 800;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
    text-align: left;
}

.spromoter-checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border: 1px solid var(--spromoter-border);
    border-radius: 8px;
    padding: 1.25rem;
    font-weight: 600;
    color: var(--spromoter-heading);
}

.spromoter-checklist-item .check-icon {
    color: var(--spromoter-green);
    flex-shrink: 0;
}

/* Process steps — apply .spromoter-process-step inside editor content */
.process-section {
    padding: 4rem 0;
    text-align: center;
}

.process-section h2 {
    font-size: 2rem;
    font-weight: 800;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.spromoter-process-step {
    background: var(--spromoter-bg-light);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
}

.spromoter-process-step .process-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #dcfce7;
    color: var(--spromoter-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 1rem;
}

.spromoter-process-step h3 {
    font-size: 1.05rem;
}

.spromoter-process-step p {
    font-size: 0.9rem;
}

@media (max-width: 782px) {
    .service-hero .service-hero-inner {
        grid-template-columns: 1fr;
    }

    .checklist-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.site-footer {
    background: var(--spromoter-bg-light);
    padding: 3.5rem 0 2rem;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.footer-columns h4 {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.footer-columns ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-columns li {
    margin-bottom: 0.6rem;
}

.footer-columns a {
    color: var(--spromoter-body);
    font-size: 0.95rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--spromoter-border);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    font-size: 0.9rem;
}

@media (max-width: 782px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }

    .primary-nav {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }
}
