 /* ==========================================================================
   3291design V18 Core Blueprint Architectural Stylesheet
   ========================================================================== */

/* 
   INDEX:
   01. Core Architecture & Resets
   02. Master Header Component
   03. Brand Typography & System Specs
   04. Schematic Grid & Hub Cards
   05. Workspace Inner Template
   06. Master Footer Component
   07. Global Animations
   08. Responsive Breakpoints
*/

/* ==========================================================================
   01. CORE ARCHITECTURE & RESETS
   ========================================================================== */

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

body {
    background-color: #1e3d59; /* Authentic Cyanotype Blueprint Blue */
    color: #ffffff;
    font-family: 'Share Tech Mono', monospace; /* Technical drafting font */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    
    /* Subtle drafting grid background matrix */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 20px 20px;
}

.workspace {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* ==========================================================================
   02. MASTER HEADER COMPONENT
   ========================================================================== */

.blueprint-header {
    position: relative;
    text-align: center; 
    height: 270px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
    margin: 0px auto 20px auto;
    max-width: 1160px;
    width: 100%;

    /* The Vintage Duotone Display */
    background-color: #1e3d59; 
    background-image: 
        linear-gradient(rgba(30, 61, 89, 0.65), rgba(30, 61, 89, 0.75)), 
        url('../zz-images/Gemini_Generated_Image_03_cropped_.jpg'); 
    background-size: cover;
    background-position: center 40%;
    background-blend-mode: luminosity; 
    border-radius: 4px; 
}


/* ==========================================================================
   03. BRAND TYPOGRAPHY & SYSTEM SPECS
   ========================================================================== */

.brand-block, 
.sys-specs {
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.brand-block {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 15px;
}

.smooch-sans-headA { 
    font-family: "Smooch Sans", sans-serif; 
    font-size: 11rem; 
    font-weight: 400; 
    font-style: normal; 
    color: #ffffff; 
    line-height: 1;
    text-shadow: 6px 6px 4px rgba(23, 42, 58, 0.7);
}

.orbitron-headA { 
    font-family: "Orbitron", sans-serif; 
    font-size: 4rem; 
    font-weight: 500; 
    font-style: normal; 
    color: #ff6b35; /* Signature Highlighter Orange */
    letter-spacing: 2px;
    text-transform: lowercase;
    text-shadow: 6px 6px 4px rgba(23, 42, 58, 0.7);
}

.sys-specs {
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 10px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.blueprint-dot {
    width: 6px;
    height: 6px;
    background-color: #ff6b35;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff6b35;
}


/* ==========================================================================
   04. SCHEMATIC GRID & HUB CARDS (Blueprint V18.5)
   ========================================================================== */

.blueprint-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin: 0px 30px 0px 30px;
    gap: 30px;
}

.schematic-card {
    background: rgba(169, 207, 238, 0.1); 
    backdrop-filter: blur(4px); 
    border-left: 3px solid rgba(255, 107, 53, 0.85); 
    padding: 20px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.25s ease-in-out;
    position: relative;
    overflow: hidden; 

    /* Clipped edge engineering (Bottom Right) */
    clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0% 100%);
    
    /* Replaces the soft border removed by clip-path */
    background-image: 
        linear-gradient(90deg, transparent, transparent calc(100% - 20px), transparent calc(100% - 20px), rgba(255,255,255,0.1) calc(100% - 20px), rgba(255,255,255,0.1) 100%);
}

/* Technical crosshair accent (Top Right) */
.schematic-card::before {
    content: '';
    position: absolute;
    top: 0px; right: 0px;
    width: 10px; height: 10px;
    border-right: 1.5px solid #b0cddb; 
    border-top: 1.5px solid #b0cddb;
    z-index: 2; 
    opacity: 0; 
    transition: opacity 0.25s ease-in-out; 
}

/* Factory-cut bevel accent line (Bottom Right) */
.schematic-card::after {
    content: '';
    position: absolute;
    bottom: -1px; 
    right: -1px; 
    width: 29px; 
    height: 1px;
    background-color: rgba(255,255,255,0.25); 
    transform: rotate(-45deg);
    transform-origin: bottom right;
    transition: all 0.25s ease-in-out;
}

/* Base Card Content Styling */
.card-id {
    font-size: 1rem;
    color: rgba(255, 107, 53);
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #bbb;
    margin-bottom: 15px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.25s ease-in-out; 
}

.title-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0; 
    transition: transform 0.25s ease-in-out;
    stroke-width: 1.5; 
}

.card-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 10px;
}

/* Combined Interactive Hover States */
.schematic-card:hover {
    background: rgba(69, 94, 118, 0.9);
    border-color: rgba(255, 255, 255, 0.4);
    border-left-color: #b0cddb; 
    transform: translateY(-2px);
}

.schematic-card:hover::before {
    opacity: 1; 
}

.schematic-card:hover::after {
    background-color: #b0cddb; 
}

.schematic-card:hover .card-title {
    color: #ffffff; 
}

.schematic-card:hover .title-icon {
    transform: scale(1.25);
}

/* TechLab Card Metadata */
.card-meta {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px dashed rgba(255, 255, 255, 0.2); /* Adjust color to match your theme */
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    color: #888; /* Muted text color */
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* LED Status Lights */
.status-led {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    /* The box-shadow gives it that nice optical glow */
    box-shadow: 0 0 6px currentColor; 
}

.led-open {
    background-color: #00ff00;
    color: #00ff00; /* Drives the glow color */
}

.led-closed {
    background-color: #ff3333;
    color: #ff3333; /* Drives the glow color */
}

.led-dev {
    background-color: #ffaa00; /* Amber/Orange */
    color: #ffaa00; /* Drives the glow color */
}

/* Animated Stopwatch Hand */
.stopwatch-hand {
    /* The center of our SVG circle is at x=12, y=13 */
    transform-origin: 12px 13px;
    animation: sweep 2s linear infinite;
}

@keyframes sweep {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   05. WORKSPACE INNER TEMPLATE (Sub-pages)
   ========================================================================== */

.workspace-header {
    margin: 30px; 
    border-bottom: 1px dashed rgba(255, 255, 255, 0.5); /* Bumped opacity to 0.5 so it shows up nicely! */
    padding-bottom: 10px;
}

/* Consolidated H1 properties */
.workspace-header h1 {
    font-family: 'Orbitron', sans-serif;
    display: flex;
    align-items: center;
    gap: 15px; 
}

/* Scale the icon to match the H1 text size */
.workspace-header .title-icon {
    width: 1em;
    height: 1em;
}

.subtitle {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    line-height: 1.6em;
    margin-top: 6px;
    opacity: 0.8; 
}

.subtitle a {
    color: #b0cddb;
    text-decoration: none;
    display: inline-block; /* Required for transform */
    border-bottom: 2px dotted transparent; /* Pre-set border to prevent height jumping */
    transition: transform 0.25s ease-out, color 0.25s ease-out, border-color 0.25s ease-out; 
}

.subtitle a:hover {
    color: #ffffff;
    transform: translateX(6px); /* Increased slightly from 2px so the slide is visible */
    border-bottom-color: #ffffff; /* Reveals the dotted underline */
}

.workspace-content {
    margin: 0px 30px 0px 30px;
    display: flex;
    flex-direction: column;
}

.text-block {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    color: #ccc;
    letter-spacing: 1px;
    line-height: 1.6;
    margin-top: 0px;
    margin-bottom: 10px;
    border: 0px solid #FF0000;
}

/* Scoped to avoid bleeding into the main homepage grid */
.workspace-content h2 {
    font-family: 'Smooch Sans', sans-serif;
    color: #fff;
    letter-spacing: 1px;
    line-height: 1.6;
    margin-bottom: 0px;
}

.workspace-content p {
    margin-bottom: 20px;
}

.link-block h3 {
    font-family: 'Smooch Sans', sans-serif;
    letter-spacing: 1px;
    margin: 30px 0px 0px 30px;
}

.resource-list {
    list-style-type: square; 
    margin: 10px 0px 0px 30px;
    padding-left: 1.5rem;
}

.resource-list li {
    margin-bottom: 0.5rem;
}

.resource-list a {
    color: #b0cddb; 
    text-decoration: none;
    font-size: 0.85rem;
    /* Added transform to the transition list for smooth animation */
    transition: color 0.2s ease, transform 0.2s ease; 
    display: inline-block;
}

.resource-list a:hover {
    color: #ff6b35; 
    transform: translateX(2px);
}

/* ==========================================================================
   06. MASTER FOOTER COMPONENT
   ========================================================================== */

.blueprint-footer {
    background-color: #172a3a; 
    border-top: 1px dashed rgba(255, 255, 255, 0.25); 
    margin-top: 20px;
    width: 100%;
}

.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 30px;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr; 
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.col-tag {
    font-size: 0.7rem;
    color: #ff6b35; 
    letter-spacing: 2px;
    font-weight: 700;
}

/* Footer Brand Architecture */
.footer-brand-block {
    display: inline-flex;
    align-items: baseline; 
    gap: 8px;
    margin-bottom: 5px;
}

.smooch-sans-footer {
    font-family: "Smooch Sans", sans-serif;
    font-size: 3.8rem; 
    font-weight: 400;
    color: #ffffff;
    line-height: 0.8;
}

.orbitron-footer {
    font-family: "Orbitron", sans-serif;
    font-size: 1.2rem; 
    font-weight: 500;
    color: #ff6b35; 
    text-transform: lowercase;
    letter-spacing: 1px;
}

.footer-about {
    font-size: 0.8rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
}

.copyright-stamp {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
    margin-top: 10px;
}

/* Footer Links & Social Grid */
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #b0cddb; 
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ff6b35; 
    transform: translateX(2px);
}

.social-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-node {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.social-icon {
    width: 18px;
    height: 18px;
    stroke-width: 1.5;
}

.social-node:hover {
    color: #ffffff;
}

.social-node:hover .social-icon {
    color: #ff6b35; 
    transform: scale(1.1);
}


/* ==========================================================================
   07. GLOBAL ANIMATIONS
   ========================================================================== */

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


/* ==========================================================================
   08. RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 768px) {
    .brand-block { 
        flex-direction: column; 
        align-items: center; 
        gap: 0; 
    }
    .smooch-sans-headA { 
        font-size: 6rem; 
    }
    .orbitron-headA { 
        font-size: 2rem; 
        margin-top: -10px; 
    }
    .workspace { 
        padding: 0px 16px; 
    }
    .card-title { 
        font-size: 1.2rem;
        margin-bottom: 6px; 
    }
    .blueprint-grid {
        margin: 0px 0px 0px 0px;
        gap: 16px;
    }
    .footer-wrapper {
        grid-template-columns: 1fr; 
        gap: 30px;
        padding: 40px 16px;
    }
}

