/* ==========================================
   M5 STEEL MASTER STYLESHEET
   Cleaned and organized without changing
   the approved visual measurements.
   ========================================== */


/* ==========================================
   1. GENERAL
   ========================================== */

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

body{
    font-family:'Rajdhani', sans-serif;
    color:white;
    background:#000;
    overflow-y:scroll;
}


/* ==========================================
   2. SHARED PAGE BACKGROUND
   ========================================== */

.background{
    position:fixed;
    inset:0;

    background-image:url("./logo.png");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    opacity:.55;

    z-index:0;
    pointer-events:none;
}

body::before{
    content:"";

    position:fixed;
    inset:0;

    background:rgba(0,0,0,.35);

    z-index:1;
    pointer-events:none;
}


/* ==========================================
   3. SHARED CONTENT WRAPPER
   ========================================== */

.content{
    position:relative;
    z-index:2;

    width:min(900px,90%);
    margin:auto;

    padding:60px 0;
}


/* ==========================================
   4. HEADER & TERMINAL EFFECT
   ========================================== */

header{
    text-align:center;
    margin-bottom:50px;
}

.system-status{
    font-family:'Courier New', monospace;

    font-size:.85rem;
    font-weight:bold;

    letter-spacing:2px;

    color:#6fc8ff;

    margin-bottom:22px;

    text-transform:uppercase;

    text-shadow:
        0 0 5px rgba(80,180,255,.8),
        0 0 12px rgba(40,130,255,.45);
}

.cursor{
    display:inline-block;

    margin-left:3px;

    animation:cursor-blink .8s steps(1) infinite;
}

@keyframes cursor-blink{
    0%,
    49%{
        opacity:1;
    }

    50%,
    100%{
        opacity:0;
    }
}

h1{
    font-family:'Orbitron', sans-serif;

    font-size:4.2rem;

    font-weight:900;

    letter-spacing:14px;

    text-transform:uppercase;

    margin-bottom:8px;

    color:white;

    text-shadow:
        0 0 10px rgba(255,255,255,.15),
        0 0 25px rgba(0,0,0,.9);
}

.subtitle{
    font-family:'Michroma', sans-serif;

    font-size:.9rem;

    letter-spacing:8px;

    text-transform:uppercase;

    color:#b9d9ff;

    margin-bottom:40px;

    text-shadow:
        0 0 8px rgba(80,170,255,.35);
}

h2,
h3{
    font-family:'Orbitron', sans-serif;

    letter-spacing:3px;

    text-transform:uppercase;
}


/* ==========================================
   5. NAVIGATION
   ========================================== */

nav{
    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:18px;

    margin-bottom:50px;
}

nav a{
    font-family:'Michroma', sans-serif;

    font-size:.82rem;

    letter-spacing:3px;

    color:white;

    text-decoration:none;

    padding:14px 28px;

    border:2px solid rgba(255,255,255,.7);

    background:rgba(25,25,25,.45);

    transition:.25s;
}

nav a:hover{
    background:white;

    color:black;

    box-shadow:
        0 0 18px rgba(255,255,255,.4);
}


/* ==========================================
   6. SHARED MAIN CONTENT BOX
   ========================================== */

.about{
    background:rgba(20,20,20,.60);

    border:1px solid rgba(255,255,255,.25);

    backdrop-filter:blur(3px);

    padding:40px;

    margin-bottom:50px;

    box-shadow:
        0 0 20px rgba(0,0,0,.45);
}

.about h2{
    font-size:2rem;
    margin-bottom:20px;
}

.about p{
    font-family:'Rajdhani', sans-serif;

    font-size:1.25rem;

    font-weight:500;

    line-height:1.8;

    margin-bottom:20px;
}


/* ==========================================
   7. HOMEPAGE CAPABILITIES
   ========================================== */

.capabilities-divider{
    margin:35px auto;

    border:0;

    height:1px;

    background:rgba(255,255,255,.20);
}

.capabilities{
    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:15px;

    margin-top:25px;
}

.capabilities div{
    padding:14px;

    background:rgba(0,0,0,.35);

    border:1px solid rgba(255,255,255,.20);

    font-family:'Michroma',sans-serif;

    font-size:.8rem;

    letter-spacing:1px;

    text-align:center;
}


/* ==========================================
   8. ABOUT PAGE EXTRAS
   ========================================== */

.history-photo{
    display:block;

    width:100%;

    max-width:650px;

    margin:0 auto 35px;

    border:2px solid rgba(255,255,255,.30);

    box-shadow:
        0 0 30px rgba(0,0,0,.45);
}

.company-profile{
    background:rgba(0,0,0,.35);

    border-left:4px solid #7fd3ff;

    padding:20px 30px;

    margin:35px auto;

    width:fit-content;

    text-align:left;

    font-family:'Michroma',sans-serif;

    font-size:.9rem;

    line-height:2;
}


/* ==========================================
   9. GALLERY PAGE
   ========================================== */

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

.gallery-intro{
    max-width:700px;

    margin:0 auto 35px;

    text-align:center;
}

.instagram-grid{
    display:grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:25px;

    align-items:start;

    margin:35px auto;
}

.instagram-grid .instagram-media{
    width:100% !important;

    min-width:0 !important;

    margin:0 !important;
}

.instagram-button{
    display:inline-block;

    margin-top:20px;

    padding:14px 28px;

    border:2px solid rgba(255,255,255,.7);

    background:rgba(25,25,25,.55);

    color:white;

    font-family:'Michroma',sans-serif;

    font-size:.8rem;

    letter-spacing:2px;

    text-decoration:none;

    transition:.25s;
}

.instagram-button:hover{
    background:white;

    color:black;

    box-shadow:
        0 0 18px rgba(255,255,255,.4);
}


/* ==========================================
   10. QUOTE PAGE
   ========================================== */

.quote-background{
    position:fixed;
    inset:0;

    background-image:url("images/vertbanner.png");

    background-repeat:no-repeat;
    background-position:left center;

    background-size:auto 100%;

    opacity:.75;

    z-index:0;

    pointer-events:none;
}

/*
   Keep this offset exactly as approved.
   It prevents the quote form from overlapping
   the fixed left-side vertical banner.
*/

.quote-content{
    position:relative;
    z-index:2;

    width:min(900px,65vw);

    margin-left:30%;
}

.quote-panel{
    width:min(780px,100%);

    margin:0 auto 50px;
    padding:40px;

    background:rgba(20,20,20,.82);

    border:1px solid rgba(255,255,255,.30);

    backdrop-filter:blur(4px);

    box-shadow:
        0 0 30px rgba(0,0,0,.65);

    text-align:center;
}

.quote-panel h2{
    font-family:'Orbitron',sans-serif;

    margin-bottom:20px;

    font-size:2rem;
    letter-spacing:4px;
}

.quote-intro{
    max-width:650px;

    margin:0 auto 35px;

    font-family:'Rajdhani',sans-serif;

    font-size:1.2rem;
    line-height:1.7;

    text-align:center;
}


/* ---------- QUOTE FORM ---------- */

.quote-form{
    width:100%;

    text-align:left;
}

.quote-form fieldset{
    margin:0 0 30px;
    padding:25px;

    border:1px solid rgba(255,255,255,.25);

    background:rgba(0,0,0,.30);
}

.quote-form legend{
    padding:0 12px;

    color:#7fd3ff;

    font-family:'Michroma',sans-serif;

    font-size:.78rem;
    letter-spacing:2px;
}

.form-grid{
    display:grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:22px;
}

.form-field{
    display:flex;
    flex-direction:column;
}

.form-field.full-width{
    margin-top:22px;
}

.form-field label{
    margin-bottom:8px;

    font-family:'Michroma',sans-serif;

    font-size:.72rem;
    line-height:1.5;
    letter-spacing:1px;

    color:#ffffff;
}

.form-field input,
.form-field select,
.form-field textarea{
    width:100%;

    padding:13px 14px;

    border:1px solid rgba(255,255,255,.45);
    border-radius:0;

    color:#ffffff;

    background:rgba(5,5,5,.78);

    font-family:'Rajdhani',sans-serif;

    font-size:1.05rem;

    outline:none;

    transition:
        border-color .2s,
        box-shadow .2s,
        background .2s;
}

.form-field textarea{
    min-height:190px;

    resize:vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
    border-color:#7fd3ff;

    background:rgba(5,5,5,.95);

    box-shadow:
        0 0 8px rgba(127,211,255,.45);
}

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

.form-field input[type="date"]{
    color-scheme:dark;
}

.form-field input[type="file"]{
    padding:12px;

    cursor:pointer;
}

.form-field input[type="file"]::file-selector-button{
    margin-right:14px;
    padding:10px 14px;

    border:1px solid rgba(255,255,255,.65);

    color:#ffffff;
    background:rgba(35,35,35,.9);

    font-family:'Michroma',sans-serif;

    font-size:.65rem;
    letter-spacing:1px;

    cursor:pointer;

    transition:.2s;
}

.form-field input[type="file"]::file-selector-button:hover{
    color:#000000;
    background:#ffffff;
}

.file-help{
    margin-top:10px;

    color:rgba(255,255,255,.65);

    font-family:'Rajdhani',sans-serif;

    font-size:.95rem;
    line-height:1.5;
}

.form-consent{
    display:flex;
    align-items:flex-start;

    gap:12px;

    margin:0 0 28px;

    font-family:'Rajdhani',sans-serif;

    font-size:1.05rem;
    line-height:1.5;
}

.form-consent input{
    flex:0 0 auto;

    width:18px;
    height:18px;

    margin-top:3px;

    accent-color:#7fd3ff;
}

.submit-button{
    display:block;

    width:min(420px,100%);

    margin:0 auto;

    padding:17px 22px;

    border:2px solid rgba(255,255,255,.75);

    color:#ffffff;
    background:rgba(25,25,25,.72);

    font-family:'Michroma',sans-serif;

    font-size:.78rem;
    letter-spacing:2px;

    cursor:pointer;

    transition:.25s;
}

.submit-button:hover,
.submit-button:focus{
    color:#000000;
    background:#ffffff;

    box-shadow:
        0 0 20px rgba(255,255,255,.45);
}

.required-note{
    margin-top:18px;

    color:rgba(255,255,255,.55);

    font-family:'Rajdhani',sans-serif;

    font-size:.9rem;

    text-align:center;
}


/* ==========================================
   11. FOOTER
   ========================================== */

footer{
    text-align:center;

    background:rgba(20,20,20,.60);

    border:1px solid rgba(255,255,255,.25);

    backdrop-filter:blur(3px);

    padding:35px;
}

footer h3{
    margin-bottom:20px;
}

footer p{
    margin:10px 0;
}

footer a{
    color:#7fd3ff;
    text-decoration:none;
}

footer a:hover{
    text-decoration:underline;
}


/* ==========================================
   12. RESPONSIVE RULES
   ========================================== */

@media(max-width:800px){

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

}

@media(max-width:700px){

    h1{
        font-size:2.3rem;
    }

    nav a{
        display:block;
        width:220px;

        margin:12px auto;
    }

    .quote-background{
        background-size:auto 100%;

        opacity:.30;
    }

    .quote-content{
        width:min(900px,90%);
        margin-left:auto;
        margin-right:auto;
    }

    .quote-panel{
        padding:25px 18px;
    }

    .quote-form fieldset{
        padding:20px 15px;
    }

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

        gap:18px;
    }

    .quote-panel h2{
        font-size:1.5rem;
    }

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

}
/* ==========================================
   PRODUCTS PAGE
   ========================================== */

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

.products-intro p{
    max-width:720px;
    margin-left:auto;
    margin-right:auto;
}


/* ---------- PRODUCT DIRECTORY ---------- */

.product-directory{
    margin-bottom:45px;
    padding:28px;

    border:1px solid rgba(255,255,255,.25);

    background:rgba(20,20,20,.72);

    backdrop-filter:blur(3px);

    text-align:center;

    box-shadow:
        0 0 20px rgba(0,0,0,.45);
}

.directory-label{
    margin-bottom:22px;

    color:#7fd3ff;

    font-family:'Michroma',sans-serif;

    font-size:.82rem;
    letter-spacing:3px;
}

.product-directory-links{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;

    gap:12px;
}

.product-directory-links a{
    display:inline-block;

    padding:10px 14px;

    border:1px solid rgba(255,255,255,.30);

    color:white;
    background:rgba(0,0,0,.30);

    font-family:'Michroma',sans-serif;

    font-size:.65rem;
    letter-spacing:1px;

    text-decoration:none;

    transition:.25s;
}

.product-directory-links a:hover,
.product-directory-links a:focus{
    border-color:#7fd3ff;

    color:#7fd3ff;

    box-shadow:
        0 0 12px rgba(127,211,255,.30);
}


/* ---------- PRODUCT GRID ---------- */

.product-grid{
    display:grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:28px;

    margin-bottom:50px;
}

.product-card{
    display:flex;
    flex-direction:column;

    min-width:0;

    border:1px solid rgba(255,255,255,.25);

    background:rgba(20,20,20,.78);

    backdrop-filter:blur(3px);

    overflow:hidden;

    box-shadow:
        0 0 20px rgba(0,0,0,.45);

    scroll-margin-top:30px;

    transition:
        border-color .25s,
        box-shadow .25s,
        transform .25s;
}

.product-card:hover{
    border-color:#7fd3ff;

    box-shadow:
        0 0 22px rgba(127,211,255,.28);

    transform:translateY(-3px);
}


/* ---------- PRODUCT IMAGES ---------- */

.product-image-frame{
    position:relative;

    width:100%;
    aspect-ratio:4 / 3;

    overflow:hidden;

    border-bottom:
        1px solid rgba(255,255,255,.20);

    background:#080808;
}

.product-image-frame::after{
    content:"";

    position:absolute;
    inset:0;

    background:
        linear-gradient(
            to bottom,
            transparent 55%,
            rgba(0,0,0,.38)
        );

    pointer-events:none;
}

.product-image-frame img{
    display:block;

    width:100%;
    height:100%;

    object-fit:cover;

    filter:
        grayscale(20%)
        contrast(1.04);

    transition:
        transform .4s ease,
        filter .4s ease;
}

.product-card:hover .product-image-frame img{
    transform:scale(1.04);

    filter:
        grayscale(0%)
        contrast(1.08);
}


/* ---------- PRODUCT TEXT ---------- */

.product-card-content{
    display:flex;
    flex-direction:column;
    flex-grow:1;

    padding:25px;
}

.product-number{
    margin-bottom:10px;

    color:#7fd3ff;

    font-family:'Courier New',monospace;

    font-size:.72rem;
    font-weight:bold;
    letter-spacing:2px;
}

.product-card h2{
    margin-bottom:15px;

    font-family:'Orbitron',sans-serif;

    font-size:1.35rem;
    letter-spacing:2px;
}

.product-card-content > p:not(.product-number){
    margin-bottom:24px;

    font-family:'Rajdhani',sans-serif;

    font-size:1.1rem;
    line-height:1.65;
}


/* ---------- QUOTE LINK ---------- */

.product-quote-link{
    display:inline-block;

    align-self:flex-start;

    margin-top:auto;
    padding:11px 15px;

    border:1px solid rgba(255,255,255,.55);

    color:white;
    background:rgba(0,0,0,.30);

    font-family:'Michroma',sans-serif;

    font-size:.65rem;
    letter-spacing:1px;

    text-decoration:none;

    transition:.25s;
}

.product-quote-link:hover,
.product-quote-link:focus{
    color:black;
    background:white;

    box-shadow:
        0 0 15px rgba(255,255,255,.35);
}


/* ---------- PRODUCTS MOBILE ---------- */

@media(max-width:750px){

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

    .product-directory{
        padding:22px 16px;
    }

    .product-directory-links{
        flex-direction:column;
    }

    .product-directory-links a{
        width:100%;
    }

    .product-card:hover{
        transform:none;
    }

}
