/* ==========================================================================
   Media Zoetermeer - Tech & Innovatie Layout (tech-page.css)
   ========================================================================== */

/* 1. Header & Zwevende Transparantie voor de Tech Pagina */
.page-template-page-projecten-innovatie .site-header {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: none !important;
}

/* Menuteksten wit maken boven de hero */
.page-template-page-projecten-innovatie .nav-menu a {
    color: #FFFFFF !important;
    text-transform: uppercase;
}

.page-template-page-projecten-innovatie .nav-menu a:hover {
    color: #FF5500 !important;
}

.page-template-page-projecten-innovatie .nav-menu .current-menu-item > a {
    color: #FFFFFF !important;
}

.page-template-page-projecten-innovatie .nav-menu .current-menu-item > a::after {
    background-color: #FF5500 !important;
}

/* 2. Hero Sectie & Schuine Hoek (Gelijk aan single.css) */
.corporate-hero {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.corporate-hero-bg {
    background-size: cover;
    background-position: center center;
    padding: 11rem 0 14rem 0; /* Genoeg ruimte voor het logo */
    min-height: 480px;
    display: flex;
    align-items: center;
    position: relative;
    color: #FFFFFF;
}

/* Grote, dikke lowercase titel zoals op de homepage */
.corporate-hero-title {
    font-family: var(--font-headings);
    color: #ffffff !important;
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: lowercase;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

/* Meta data */
.corporate-hero-excerpt {
    font-family: var(--font-headings), sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.6;
}

/* De schuine witte afsnijding onderaan */
.corporate-hero-bg .corporate-hero-angle {
    position: absolute;
    bottom: -1px; 
    left: 0;
    width: 100%;
    height: 80px;
    background: #ffffff; /* Loopt naadloos over in de introductie */
    clip-path: polygon(0 100%, 100% 100%, 100% 40%, 0 100%);
    -webkit-clip-path: polygon(0 100%, 100% 100%, 100% 40%, 0 100%);
    z-index: 3;
    pointer-events: none;
}

/* 3. Tech Cijfers / Stats Sectie */
.tech-stats-section {
    background-color: #f9fafb;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 50px 0;
}

.tech-grid-4 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.tech-stat-item {
    display: flex;
    flex-direction: column;
}

.tech-stat-number {
    font-family: var(--font-headings), sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: #FF5500;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.tech-stat-label {
    font-family: var(--font-headings), sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #4a5568;
}

/* 4. Server Banner met Verloop (Paars naar Oranje) */
.tech-banner-gradient {
    background: linear-gradient(135deg, #4a154b 0%, #ff4500 100%) !important;
    padding: 80px 0;
    color: #FFFFFF;
}

.tech-banner-flex {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.tech-banner-left {
    flex: 1;
}

.tech-banner-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tech-badge {
    display: inline-block;
    background-color: #ff4500;
    color: #ffffff;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    border-radius: 3px;
}

.tech-banner-title {
    font-family: var(--font-headings), sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.tech-banner-lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Feature Boxen (Serverkast) */
.tech-feature-box {
    display: flex;
    align-items: start;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 20px;
    border-radius: 6px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.tech-feature-box:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateX(5px);
}

.tech-feature-box .feature-icon {
    font-size: 1.8rem;
    color: #ffffff;
    margin-right: 20px;
    line-height: 1;
}

.tech-feature-box .feature-text h4 {
    font-family: var(--font-headings), sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 5px 0;
}

.tech-feature-box .feature-text p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* 5. Software Sectie & Grid Cards */
.tech-software-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.tech-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.tech-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.tech-card-body {
    padding: 30px;
}

.tech-card-title {
    font-family: var(--font-headings), sans-serif;
    color: #4a154b; /* Paarse accentkleur uit de huiskleur van de zender */
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.tech-card-text {
    font-family: var(--font-body), Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #4a5568;
    margin: 0;
}

/* 6. Responsive Optimalisaties (Mobiel & Tablet) */
@media (max-width: 992px) {
    .tech-banner-flex {
        flex-direction: column;
        gap: 40px;
    }
    .tech-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .tech-grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .tech-grid-4 {
        grid-template-columns: 1fr;
    }
    .tech-banner-title {
        font-size: 2.2rem;
    }
}

/* ==========================================================================
   UptimeRobot Live Indicator & Links (Met perfecte uitlijning)
   ========================================================================== */

/* Zorg dat de kolom zijn flex-basis behoudt en centreert */
.tech-grid-4 .tech-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* De container van het cijfer dwingen we op exact dezelfde regelhoogte */
.uptime-badge-container {
    position: relative;
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    height: 3.5rem; /* Matcht exact met de font-size van de andere cijfers */
    margin-bottom: 0.5rem;
}

/* De Uptime Link styling (oranje, paars bij hover) */
.uptime-link {
    font-family: var(--font-headings), sans-serif;
    font-size: 3.5rem; /* Exact even groot als .tech-stat-number */
    font-weight: 900;
    color: #FF5500 !important;
    text-decoration: none !important;
    line-height: 1;
    transition: color 0.2s ease;
}

.uptime-link:hover {
    color: #4a154b !important;
}

/* Het live groene pulserende bolletje - nu absoluut gepositioneerd zonder de tekst weg te drukken */
.status-pulse {
    position: absolute;
    top: 5px;
    right: -18px;
    width: 12px;
    height: 12px;
    background-color: #2ecc71;
    border-radius: 50%;
    z-index: 5;
}

/* De animatie die het bolletje laat 'stralen' */
.status-pulse::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #2ecc71;
    border-radius: 50%;
    animation: pulse-glow 1.8s infinite ease-out;
}

@keyframes pulse-glow {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}





/* --- Live Tech Console Button --- */
.tech-console-btn {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    border: 2px solid #ffffff;
    color: #ffffff !important;
    padding: 12px 24px;
    font-family: var(--font-headings), sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none !important;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.tech-console-btn i {
    margin-left: 10px;
    font-size: 16px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

/* Hover effect: knop wordt volledig wit met donkere tekst, pijl schuift op */
.tech-console-btn:hover {
    background-color: #ffffff;
    color: #FF5500 !important; /* Wordt oranje bij hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.tech-console-btn:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   Media Zoetermeer - Live Tech Console Specifieke Styles (page-tech-status)
   ========================================================================== */

/* Header & Zwevende Transparantie voor de losse Live Tech Console Pagina */
.page-template-page-tech-status .site-header {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: transparent !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: none !important;
}

/* Zorg dat de menuknoppen strak wit over de uitgelichte serverkast-afbeelding vallen */
.page-template-page-tech-status .nav-menu a {
    color: #FFFFFF !important;
    text-transform: uppercase;
}

.page-template-page-tech-status .nav-menu a:hover {
    color: #FF5500 !important;
}

/* Correctie voor de WordPress admin-balk op de Live Tech Console pagina */
.admin-bar .page-template-page-tech-status .site-header {
    top: 32px !important;
}
@media screen and (max-width: 782px) {
    .admin-bar .page-template-page-tech-status .site-header {
        top: 46px !important;
    }
}

/* --- FLEXIBELE INDELING --- */
.tech-advanced-flex {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 50px;
}

.tech-rack-column, .tech-terminal-column {
    flex: 1;
    min-width: 0;
}

.tech-advanced-title {
    font-family: var(--font-headings), sans-serif;
    color: #0f2042;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.tech-advanced-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
}

/* --- 19-INCH SERVER RACK STYLING --- */
.server-rack {
    background-color: #111827;
    border: 4px solid #374151;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.rack-header, .rack-footer {
    text-align: center;
    color: #4b5563;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 0;
    font-family: monospace;
}

.rack-slot {
    background: #1f2937;
    border: 2px solid #4b5563;
    margin: 10px 0;
    padding: 12px 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

/* Gekleurde identificatieranden per slot */
.slot-purple { border-left: 5px solid #4a154b; }
.slot-orange { border-left: 5px solid #FF5500; }
.slot-blue { border-left: 5px solid #0073aa; }
.slot-dark { border-left: 5px solid #374151; }

.slot-unit {
    font-family: monospace;
    font-weight: 700;
    color: #9ca3af;
    margin-right: 15px;
    font-size: 0.85rem;
    background: #111827;
    padding: 2px 6px;
    border-radius: 3px;
}

.slot-name {
    color: #f3f4f6;
    font-family: var(--font-headings), sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
}

/* Led-indicatoren */
.slot-indicator-lights {
    display: flex;
    gap: 6px;
    margin-right: 15px;
}

.slot-indicator-lights span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.light-green { background-color: #10b981; box-shadow: 0 0 6px #10b981; }
.light-orange { background-color: #f59e0b; box-shadow: 0 0 6px #f59e0b; }

.light-blink {
    background-color: #10b981;
    animation: rack-led-blink 0.8s infinite alternate;
}

@keyframes rack-led-blink {
    0% { opacity: 0.3; box-shadow: none; }
    100% { opacity: 1; box-shadow: 0 0 8px #10b981; }
}

/* --- PYTHON AUTOMATION TERMINAL STYLING --- */
.terminal-window {
    background-color: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    overflow: hidden;
}

.terminal-header {
    background-color: #161b22;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #30363d;
}

.terminal-buttons {
    display: flex;
    gap: 6px;
    margin-right: 15px;
}

.terminal-buttons span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.btn-r { background-color: #ff5f56; }
.btn-y { background-color: #ffbd2e; }
.btn-g { background-color: #27c93f; }

.terminal-title {
    color: #8b949e;
    font-family: monospace;
    font-size: 0.8rem;
}

.terminal-body {
    padding: 20px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #c9d1d9;
    max-height: 335px;
    overflow-y: auto;
    text-align: left;
}

.terminal-body p {
    margin: 0 0 6px 0;
    white-space: nowrap;
}

/* Console log-kleuren */
.t-success { color: #58a6ff; }
.t-warning { color: #d29922; }
.t-cmd { color: #7fe7c4; }

.terminal-cursor {
    color: #58a6ff;
    margin-top: 15px !important;
}

.cursor-blink {
    animation: cursor-animation 1s infinite;
    font-weight: bold;
}

@keyframes cursor-animation {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

/* Responsieve weergave voor tablets en smartphones */
@media (max-width: 992px) {
    .tech-advanced-flex {
        flex-direction: column;
        gap: 40px;
    }
}
