/* File: assets/css/styles.css */

/* PUBLISH SPARK - CORE STYLESHEET */
/* Primary Colors: Navy #071A33, Gold #FFC13D, White #F7F8FA */
/* Fonts: Poppins (headings), Lato (body) */

:root {
    --navy: #071A33;
    --gold: #FFC13D;
    /* Warm metallic gold - use as-is, no gradients */
    --white: #F7F8FA;
    --blue-gray: #6B7280;
    /* Light gray for secondary text */
    --light-bg: #F8F9FA;
}

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

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.7;
    color: var(--blue-gray);
    background-color: var(--white);
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--navy);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
p { margin-bottom: 1.5rem; }

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}
a:hover { opacity: 0.9; }

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--white);
}
.btn-primary:hover {
    background-color: #e6b02a;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}
.btn-secondary:hover {
    background-color: var(--navy);
    color: var(--white);
}

/* Header */
.site-header {
    background-color: var(--navy);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-main, .logo-inverse {
    height: 48px;
    width: auto;
}

.site-nav .nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.site-nav .nav-menu a {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}
.site-nav .nav-menu a:hover,
.site-nav .nav-menu a.active {
    color: var(--gold);
}
.site-nav .nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gold);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-color: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 8rem 0 6rem;
}
.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}
.hero-subtext {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}
.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-actions .btn-primary,
.hero-actions .btn-secondary {
    min-width: 180px;
}

/* Service Highlights */
.services-highlight {
    padding: 6rem 0;
    background-color: var(--light-bg);
}
.section-title {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}
.section-subtext {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    color: var(--blue-gray);
    font-size: 1.1rem;
}
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.service-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}
.service-card:hover {
    transform: translateY(-8px);
}
.service-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.service-card h3 {
    margin: 1.5rem 1rem 0.5rem;
    font-size: 1.4rem;
}
.service-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--blue-gray);
    font-size: 1rem;
}
.service-link {
    display: inline-block;
    margin: 0 1.5rem 1.5rem;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.95rem;
}
.service-link:hover {
    text-decoration: underline;
}

/* Trust Blocks */
.trust-blocks {
    background-color: var(--navy);
    color: var(--white);
    padding: 5rem 0;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    text-align: center;
}
.trust-item {
    padding: 0 1rem;
}
.trust-item .trust-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}
.trust-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--gold);
}
.trust-item p {
    font-size: 1rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-audit {
    background-color: var(--gold);
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
}
.cta-audit h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}
.cta-audit p {
    max-width: 700px;
    margin: 0 auto 2rem auto;
    font-size: 1.15rem;
    opacity: 0.95;
}
.cta-audit .btn-primary {
    background-color: var(--white);
    color: var(--navy);
}
.cta-audit .btn-primary:hover {
    background-color: #e9ecef;
}

/* Footer */
.site-footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 4rem 0 2rem;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
}
.footer-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}
.footer-logo img {
    height: 48px;
    width: auto;
}
.footer-nav h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-nav ul {
    list-style: none;
}
.footer-nav li {
    margin-bottom: 0.75rem;
}
.footer-nav a {
    color: var(--blue-gray);
    font-size: 0.95rem;
}
.footer-nav a:hover {
    color: var(--white);
}
.footer-contact p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: var(--blue-gray);
}
.footer-bottom p a {
    color: var(--gold);
}
.footer-bottom p a:hover {
    text-decoration: underline;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    .site-nav {
        position: fixed;
        top: 76px; /* Header height */
        right: -100%;
        width: 250px;
        height: calc(100vh - 76px);
        background-color: var(--navy);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        transition: right 0.3s ease;
        z-index: 999;
    }
    .site-nav.active {
        right: 0;
    }
    .site-nav .nav-menu {
        flex-direction: column;
        width: 100%;
    }
    .site-nav .nav-menu li {
        width: 100%;
        margin-bottom: 1rem;
    }
    .site-nav .nav-menu a {
        display: block;
        width: 100%;
        padding: 1rem 0;
    }
    .hero {
        padding: 6rem 0 4rem;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        max-width: none;
        margin-bottom: 1rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    .container {
        width: 95%;
        padding: 0 0.5rem;
    }
    .btn-primary, .btn-secondary {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
}