/*
Theme Name: Matrix Personnel
Theme URI: https://matrix-personnel.com
Author: Matrix Personnel
Description: Professional recruitment theme with Matrix styling
Version: 3.0
License: GNU General Public License v2 or later
Text Domain: matrix-personnel
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Inter:wght@400;500;600;700&family=Cinzel:wght@500;600;700&display=swap');

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0a0f0a;
    color: #fff;
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 48px;
}

/* ============================================
   LOGO GLOW EFFECT
   ============================================ */
.logo-text {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: #ffffff;
    text-shadow: 
        0 0 10px rgba(0, 255, 65, 0.6),
        0 0 20px rgba(0, 255, 65, 0.4),
        0 0 40px rgba(0, 255, 65, 0.3);
}

.logo-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    color: #00ff41;
    letter-spacing: 0.4em;
    text-transform: uppercase;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    background: rgba(10, 15, 10, 0.95);
    border-bottom: 1px solid rgba(0, 255, 65, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    padding: 0 48px;
}

.site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    max-width: 1100px;
    margin: 0 auto;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.site-logo .logo-text {
    font-size: 1.5rem;
}

.site-logo .logo-sub {
    font-size: 0.65rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    color: #999;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #00ff41;
}

.nav-cta {
    background: #00ff41 !important;
    color: #0a0a0a !important;
    padding: 12px 28px !important;
    font-weight: 600 !important;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #00ff41;
    margin: 5px 0;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: #fff;
    padding: 60px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-tagline {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-style: italic;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.hero-desc {
    font-size: 1.05rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* Matrix code background - DISABLED for white hero */
.matrix-code-bg {
    display: none;
}

@keyframes scroll-code {
    0% { background-position: 0 0; }
    100% { background-position: 0 400px; }
}

/* Diagonal stripes like business card */
.diagonal-stripes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        -60deg,
        transparent 0%,
        transparent 40%,
        rgba(80, 80, 80, 0.15) 40%,
        rgba(80, 80, 80, 0.15) 42%,
        transparent 42%,
        transparent 44%,
        rgba(80, 80, 80, 0.1) 44%,
        rgba(80, 80, 80, 0.1) 46%,
        transparent 46%,
        transparent 100%
    );
    z-index: 2;
    pointer-events: none;
}

.diagonal-stripes-subtle {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(-60deg, transparent 0%, transparent 85%, rgba(80,80,80,0.08) 85%, rgba(80,80,80,0.08) 87%, transparent 87%, transparent 100%);
    pointer-events: none;
}

.diagonal-stripes-contact {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(-60deg, transparent 0%, transparent 70%, rgba(80,80,80,0.1) 70%, rgba(80,80,80,0.1) 73%, transparent 73%, transparent 100%);
    pointer-events: none;
}

.content-layer {
    position: relative;
    z-index: 10;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 80px 0 100px;
}

.hero-logo .logo-text {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 8px;
    display: block;
}

.hero-logo .logo-sub {
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    letter-spacing: 0.5em;
}

.hero-tagline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: #fff;
    font-style: italic;
    margin: 40px 0 20px;
    line-height: 1.5;
}

.hero-desc {
    font-size: 1rem;
    color: #777;
    line-height: 1.8;
}

/* Choice Cards */
.hero-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 850px;
    margin: 0 auto;
}

.choice-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    padding: 50px 40px;
    text-align: center;
    border: 1px solid #ddd;
    text-decoration: none;
    transition: all 0.3s;
}

.choice-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 255, 65, 0.15);
}

.choice-card-primary {
    background: rgba(0, 255, 65, 0.06);
    border: 1px solid rgba(0, 255, 65, 0.25);
}

.choice-card-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.choice-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 24px;
}

.choice-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #1a1a1a;
    margin-bottom: 16px;
    font-weight: 600;
}

.choice-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.choice-btn {
    display: inline-block;
    padding: 14px 36px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    color: #fff;
    background: #0066cc;
}

.choice-btn:hover {
    background: #0055aa;
}

.choice-btn.dark {
    background: #1a2f2f;
}

.choice-btn.dark:hover {
    background: #243d3d;
}

.choice-title {
    color: #fff;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.choice-desc {
    color: #999;
    font-size: 0.9rem;
}

.choice-desc-green {
    color: #00ff41;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(0, 255, 65, 0.15);
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    color: #00ff41;
    margin-bottom: 4px;
    font-weight: 700;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   SECTION STYLING
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.05rem;
    color: #777;
    line-height: 1.9;
    max-width: 700px;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

.section-cta a {
    color: #00ff41;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.section-cta a:hover {
    text-decoration: underline;
}

/* ============================================
   ANTI-CORPORATE SECTION
   ============================================ */
.anti-corporate {
    background: #080c08;
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: rgba(0, 255, 65, 0.04);
    border: 1px solid rgba(0, 255, 65, 0.15);
    padding: 32px;
    border-left: 3px solid #00ff41;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background: linear-gradient(180deg, #0a100a 0%, #080c08 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.services .container {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.service-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 65, 0.1);
    padding: 36px 28px;
    text-align: center;
    transition: all 0.3s;
}

.service-card:hover {
    border-color: #00ff41;
    transform: translateY(-4px);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* ============================================
   MAP SECTION
   ============================================ */
.map-section {
    background: #060906;
    padding: 80px 0;
}

.map-section .section-header {
    margin-bottom: 40px;
}

.map-section .section-header p {
    color: #666;
}

#lancashire-map {
    height: 450px;
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 65, 0.3);
    margin-bottom: 32px;
}

.matrix-marker {
    background: #00ff41;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    box-shadow: 0 0 10px #00ff41, 0 0 20px rgba(0, 255, 65, 0.5);
}

.leaflet-popup-content-wrapper {
    background: #0a0f0a;
    color: #fff;
    border: 1px solid #00ff41;
    border-radius: 4px;
}

.leaflet-popup-tip {
    background: #0a0f0a;
}

.leaflet-popup-content {
    margin: 12px 16px;
}

.popup-title {
    font-weight: 700;
    color: #00ff41;
    font-size: 1rem;
    margin-bottom: 4px;
}

.popup-text {
    color: #999;
    font-size: 0.85rem;
}

.town-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.town-tag {
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid rgba(0, 255, 65, 0.3);
    padding: 10px 24px;
    font-size: 0.9rem;
    color: #00ff41;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: linear-gradient(160deg, #0d1f0d 0%, #080c08 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    align-items: center;
}

.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.contact-info > p {
    font-size: 1rem;
    color: #777;
    line-height: 1.8;
    margin-bottom: 28px;
}

.address-title {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 4px;
}

.address-text {
    font-size: 0.95rem;
    color: #666;
}

.contact-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 255, 65, 0.15);
    padding: 36px;
}

.contact-item {
    margin-bottom: 28px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-label {
    font-size: 0.75rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.contact-email {
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
}

.contact-email-green {
    color: #00ff41;
}

.contact-email:hover {
    text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #050805;
    padding: 40px 48px;
    border-top: 1px solid rgba(0, 255, 65, 0.1);
}

.site-footer .container {
    max-width: 1000px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo .logo-text {
    font-size: 1.1rem;
}

.footer-logo .logo-sub {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: #00ff41;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #444;
}

.footer-credits {
    font-size: 0.75rem;
    color: #333;
}

.footer-credits a {
    color: #444;
    text-decoration: none;
}

.footer-credits a:hover {
    color: #00ff41;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
    .container {
        padding: 0 24px;
    }
    
    .site-header {
        padding: 0 24px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .site-footer {
        padding: 40px 24px;
    }
}

@media (max-width: 600px) {
    .hero {
        min-height: auto;
    }
    
    .hero-grid {
        padding: 60px 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    #lancashire-map {
        height: 350px;
    }
    
    .footer-top,
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ============================================
   WORDPRESS CORE
   ============================================ */
.alignleft {
    float: left;
    margin-right: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}