/* Solutions For Human Resources - Original GoCentral Design */

:root {
    --bg-dark: rgb(22, 22, 22);
    --text-light: #fff;
    --text-muted: rgba(255, 255, 255, 0.85);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Archivo Black', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--bg-dark);
    text-transform: uppercase;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 1024px) {
    .container { max-width: 984px; }
}

@media (min-width: 1200px) {
    .container { max-width: 1160px; }
}

/* Header */
.site-header {
    background: var(--bg-dark);
    position: relative;
    z-index: 1001;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.logo {
    font-family: 'Archivo Black', Arial, sans-serif;
    font-size: 14px;
    color: var(--text-light);
    text-decoration: none;
}

.logo:hover {
    color: var(--text-muted);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav a {
    color: var(--text-light);
    text-decoration: none;
}

.main-nav a:hover {
    color: var(--text-muted);
}

.main-nav .phone {
    font-weight: bold;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-light);
}

/* Hero - full height, centered, parallax blur background */
.hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero {
        min-height: 75vh;
    }
}

.hero-bg {
    position: absolute;
    inset: -20%;
    background-image: url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: blur(10px);
    transform: scale(1.15);
}

@media (max-width: 1024px) {
    .hero-bg {
        background-attachment: scroll;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg {
        background-attachment: scroll;
    }
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(22, 22, 22, 0.75);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 750px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'Archivo Black', Arial, sans-serif;
    font-size: 22px;
    font-weight: normal;
    color: var(--text-light);
    margin: 0 0 15px;
}

@media (min-width: 1024px) {
    .hero h1 { font-size: 39px; }
}

@media (min-width: 1200px) {
    .hero h1 { font-size: 54px; }
}

.hero-tagline {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0 0 25px;
}

@media (min-width: 1024px) {
    .hero-tagline { font-size: 22px; }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-family: 'Archivo Black', Arial, sans-serif;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    background: var(--text-light);
    color: var(--bg-dark);
    text-transform: uppercase;
}

.btn:hover {
    background: var(--text-muted);
    color: var(--bg-dark);
}

/* About - 3 columns with images */
.about {
    padding: 50px 0;
}

.about h2 {
    font-family: 'Archivo Black', Arial, sans-serif;
    font-size: 22px;
    color: var(--text-light);
    text-align: center;
    margin: 0 0 40px;
}

@media (min-width: 1024px) {
    .about h2 { font-size: 28px; }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

.about-block {
    padding: 0;
}

.about-image {
    width: 100%;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    margin-bottom: 20px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-block h4 {
    font-size: 16px;
    font-weight: normal;
    color: var(--text-light);
    margin: 0 0 15px;
}

@media (min-width: 1024px) {
    .about-block h4 { font-size: 19px; }
}

.about-block p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    text-transform: none;
    line-height: 1.7;
}

@media (min-width: 1024px) {
    .about-block p { font-size: 16px; }
}

/* Subscribe - parallax blur background */
.subscribe {
    position: relative;
    padding: 60px 0;
    overflow: hidden;
}

.subscribe-bg {
    position: absolute;
    inset: -15%;
    background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: blur(12px);
    transform: scale(1.15);
}

@media (max-width: 1024px) {
    .subscribe-bg {
        background-attachment: scroll;
    }
}

@media (prefers-reduced-motion: reduce) {
    .subscribe-bg {
        background-attachment: scroll;
    }
}

.subscribe-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(22, 22, 22, 0.8);
}

.subscribe-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.subscribe h3 {
    font-size: 22px;
    margin: 0 0 8px;
}

.subscribe p {
    margin: 0 0 20px;
    color: var(--text-muted);
}

.subscribe-form {
    display: flex;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
    justify-content: center;
}

.subscribe-form input {
    flex: 1;
    max-width: 280px;
    padding: 12px 15px;
    font-size: 16px;
    border: none;
    text-transform: none;
}

.subscribe-form .btn {
    flex-shrink: 0;
    min-width: 100px;
    position: relative;
}

.subscribe-form .btn:disabled {
    color: var(--bg-dark);
    cursor: wait;
}

.subscribe-form .btn.loading .btn-text {
    visibility: hidden;
}

.subscribe-form .btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin: -8px 0 0 -8px;
    border: 2px solid var(--bg-dark);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.subscribe-form .btn.success {
    background: #2d7a2d;
}


.subscribe-message {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    text-transform: none;
    display: none;
}

.subscribe-message.show {
    display: block;
}

.subscribe-message.success {
    background: rgba(45, 122, 45, 0.3);
    color: #8fdc8f;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Contact */
.contact {
    padding: 60px 0;
}

.contact h2 {
    font-family: 'Archivo Black', Arial, sans-serif;
    font-size: 22px;
    color: var(--text-light);
    text-align: center;
    margin: 0 0 30px;
}

@media (min-width: 1024px) {
    .contact h2 { font-size: 28px; }
}

.contact-content {
    text-align: center;
}

.contact-info h4 {
    font-size: 19px;
    font-weight: normal;
    color: var(--text-light);
    margin: 0 0 10px;
}

.phone-large {
    font-size: 20px;
    margin: 0 0 20px;
}

.phone-large a {
    color: var(--text-light);
    text-decoration: none;
}

.phone-large a:hover {
    color: var(--text-muted);
}

/* Contact page layout & form */
.contact-page {
    padding: 60px 0 80px;
}

.contact-layout {
    max-width: 700px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-layout {
        display: grid;
        grid-template-columns: 200px 1fr;
        gap: 60px;
        max-width: 800px;
    }
}

.contact-info-side .contact-note {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: none;
    line-height: 1.6;
    margin-top: 15px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 12px;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    text-transform: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    margin-top: 25px;
}

.contact-submit {
    min-width: 160px;
    position: relative;
}

.contact-submit:disabled {
    color: var(--bg-dark);
    cursor: wait;
}

.contact-submit .btn-text {
    display: inline;
}

.contact-submit .btn-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contact-submit.loading .btn-text {
    display: none;
}

.contact-submit.loading .btn-loading {
    display: inline-flex;
}

.contact-submit.loading .spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--bg-dark);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.form-message {
    margin-top: 20px;
    padding: 14px 18px;
    font-size: 14px;
    text-transform: none;
    border-radius: 4px;
}

.form-success {
    background: rgba(45, 122, 45, 0.2);
    color: #8fdc8f;
}

.form-error {
    background: rgba(180, 50, 50, 0.2);
    color: #e88;
}

.about-page .about-cta {
    text-align: center;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-page .about-cta p {
    color: var(--text-muted);
    margin: 0 0 20px;
    text-transform: none;
}

/* Footer */
.site-footer {
    background: var(--bg-dark);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer p {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
}

/* Blog listing */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.blog-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.blog-card-image {
    aspect-ratio: 2 / 1;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 20px;
}

.blog-card-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.blog-card h3 {
    font-family: 'Archivo Black', Arial, sans-serif;
    font-size: 16px;
    color: var(--text-light);
    margin: 0 0 10px;
}

.blog-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    text-transform: none;
}

/* Blog post */
.blog-post {
    max-width: 750px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.blog-post-header {
    margin-bottom: 30px;
}

.blog-post-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.blog-post h1 {
    font-family: 'Archivo Black', Arial, sans-serif;
    font-size: 22px;
    color: var(--text-light);
    margin: 0 0 20px;
    line-height: 1.3;
}

@media (min-width: 1024px) {
    .blog-post h1 { font-size: 28px; }
}

.blog-post-featured {
    margin-bottom: 30px;
}

.blog-post-featured img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-post-content {
    font-size: 16px;
}

.blog-post-content p {
    margin: 0 0 20px;
    color: var(--text-muted);
    text-transform: none;
}

.blog-post-content h2 {
    font-family: 'Archivo Black', Arial, sans-serif;
    font-size: 18px;
    color: var(--text-light);
    margin: 30px 0 15px;
}

.blog-post-content ul {
    margin: 0 0 20px;
    padding-left: 25px;
}

.blog-post-cta {
    margin-top: 30px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
}

.blog-post-cta p {
    margin: 0 0 15px;
}

/* Page header for blog */
.page-header {
    background: var(--bg-dark);
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-family: 'Archivo Black', Arial, sans-serif;
    font-size: 28px;
    color: var(--text-light);
    margin: 0 0 10px;
}

.page-header p {
    margin: 0;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .main-nav.is-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        padding: 15px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 19px;
    }

    .hero-tagline {
        font-size: 14px;
    }

    .subscribe-form {
        flex-direction: column;
        align-items: center;
    }

    .subscribe-form input {
        max-width: 100%;
    }
}
