/* ===========================
   King Mingers Recruiting - Main Stylesheet
   =========================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-color: #1e3a8a;
    --primary-dark: #1e293b;
    --primary-light: #3b82f6;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --hover-color: #dbeafe;

    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Georgia', serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 4rem 2rem;
    --element-spacing: 2rem;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

a:hover {
    color: var(--primary-light);
}

/* ===========================
   Header & Navigation
   =========================== */

header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    padding: 1rem 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.tagline {
    font-size: 0.875rem;
    color: var(--text-medium);
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.nav-menu .cta-button {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    border: none;
}

.nav-menu .cta-button:hover {
    background-color: #059669;
    color: white;
    border-bottom-color: transparent;
}

/* ===========================
   Buttons
   =========================== */

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* ===========================
   Hero Section
   =========================== */

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

.hero-content h2 {
    color: white;
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn-secondary {
    border-color: white;
    color: white;
}

.hero .btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

/* ===========================
   Page Header
   =========================== */

.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.125rem;
    opacity: 0.95;
}

/* ===========================
   Feature Cards & Grids
   =========================== */

.services-preview,
.about-content,
.services-content,
.careers-intro,
.contact-content,
.application-content {
    padding: var(--section-padding);
}

.features-grid,
.testimonials-grid,
.team-grid,
.values-grid,
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card,
.testimonial-card,
.team-member,
.value-card,
.benefit-item {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover,
.testimonial-card:hover,
.team-member:hover,
.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3,
.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ===========================
   Team Members
   =========================== */

.team-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
}

.placeholder-photo {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    font-weight: bold;
}

.team-member h3 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.role {
    text-align: center;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ===========================
   Testimonials
   =========================== */

.testimonials {
    background-color: var(--bg-light);
    padding: var(--section-padding);
}

.testimonial-card {
    background-color: var(--bg-white);
    font-style: italic;
}

.testimonial-author {
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
    color: var(--primary-color);
}

/* ===========================
   CTA Sections
   =========================== */

.cta-section,
.careers-cta {
    background-color: var(--bg-light);
    padding: 4rem 2rem;
    text-align: center;
    margin: 4rem 0;
    border-radius: 12px;
}

.cta-section h2,
.careers-cta h2 {
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* ===========================
   Services Page
   =========================== */

.service-intro,
.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.service-block {
    margin: 4rem 0;
    padding: 3rem;
    background-color: var(--bg-light);
    border-radius: 12px;
}

.service-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-block h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.service-details h3 {
    margin-top: 2rem;
    color: var(--primary-dark);
}

.service-details ul {
    list-style-position: inside;
    margin: 1rem 0;
    color: var(--text-medium);
}

.service-details li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

/* Process Section */
.process-section {
    margin: 4rem 0;
}

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

.process-step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* ===========================
   Careers/Jobs Page
   =========================== */

.jobs-section {
    padding: 2rem 0;
}

.jobs-category {
    margin-bottom: 4rem;
}

.category-description {
    color: var(--text-medium);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

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

.job-card {
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.job-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.job-header h3 {
    flex: 1;
    margin-bottom: 0;
    color: var(--primary-dark);
}

.job-type {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.job-details {
    margin: 1rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.job-details p {
    margin: 0.5rem 0;
    color: var(--text-medium);
}

.job-description {
    margin: 1rem 0;
    color: var(--text-dark);
}

.job-requirements {
    list-style-position: inside;
    margin: 1rem 0;
    color: var(--text-medium);
}

.job-requirements li {
    padding: 0.25rem 0;
}

.job-card .btn {
    margin-top: 1.5rem;
    width: 100%;
}

/* ===========================
   Contact Page
   =========================== */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin: 3rem 0;
}

.contact-info {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
}

.contact-method {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: var(--bg-white);
    border-radius: 8px;
}

.contact-icon {
    font-size: 2rem;
}

.contact-details h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-note {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.office-hours,
.contact-team {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.office-hours ul,
.contact-team ul {
    list-style: none;
    margin-top: 1rem;
}

.office-hours li,
.team-contact {
    padding: 0.5rem 0;
    color: var(--text-medium);
}

.team-contact {
    margin: 1rem 0;
}

/* Contact Form */
.contact-form-container {
    background-color: var(--bg-white);
    padding: 2rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
}

/* Map Placeholder */
.contact-map {
    margin: 4rem 0;
}

.map-placeholder {
    background-color: var(--bg-light);
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 12px;
    border: 2px dashed var(--border-color);
}

/* FAQ Section */
.faq-section {
    margin: 4rem 0;
}

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

.faq-item {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
}

.faq-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

/* Alternative Contact */
.alternative-contact {
    text-align: center;
    margin: 4rem 0;
    padding: 3rem;
    background-color: var(--bg-light);
    border-radius: 12px;
}

/* ===========================
   Forms
   =========================== */

.contact-form,
.application-form {
    margin-top: 2rem;
}

.form-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input[type="file"] {
    width: 100%;
    padding: 0.5rem;
    border: 2px dashed var(--border-color);
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.field-note {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.form-note {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* Application Page Specific */
.application-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.privacy-note {
    background-color: var(--bg-light);
    padding: 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    color: var(--text-medium);
    margin-top: 1rem;
}

.application-support {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
}

.application-support ul {
    list-style: none;
    margin-top: 1rem;
}

.application-support li {
    padding: 0.5rem 0;
}

.what-happens-next {
    margin-top: 4rem;
}

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

.step {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 12px;
}

.step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* ===========================
   Footer
   =========================== */

footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    padding: 0.5rem 0;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 768px) {
    nav .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        text-align: center;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

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

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   Utility Classes
   =========================== */

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

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
