/* ============================================================================
   KTCIS.COM - Index04 Stylesheet
   Professional website for KTC Integrated Systems - Grid Layout Version
   ============================================================================ */

/* Reset and Base Styles
   ============================================================================ */
html {
    height: auto;
    min-height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    color: #063c7d;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 1em;
    background: #e3f2fd;
    overflow-y: auto !important;
}

/* Canvas Elements - Background Animations
   ============================================================================ */
#scene {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    display: block;
    pointer-events: none;
}

/* Main Content Container
   ============================================================================ */
.about-ktc {
    position: relative;
    margin: 48px auto 40px auto;
    max-width: 700px;
    padding: 28px 28px;
    background: rgba(255, 255, 255, 0.65);
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    z-index: 10;
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    text-align: justify;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Typography
   ============================================================================ */
p {
    margin: 1em 0 0 0;
    line-height: 1.48;
    font-size: 1em;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.2);
    font-weight: 400;
    letter-spacing: 0.3px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
    padding: 1em 1em 1em 1em;
    border-radius: 8px 8px 0px 0px;
    box-shadow: 0 -2px 2px rgba(0, 0, 0, 0.1);
    border: 1px 1px 0px 1px solid rgba(255, 255, 255, 0.6);
}

.about-ktc strong {
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
    padding: 1px 3px;
    border-radius: 3px;
}

/* Header Section
   ============================================================================ */
.ktc-header {
    text-align: center;
}

.ktc-header h1 {
    font-size: 1.88em;
    text-shadow: 0 2px 12px #fff8, 0 1px 0 #fff;
    margin: 0;
}

.ktc-tagline {
    font-size: 1.08em;
    font-weight: 500;
    text-shadow: 0 1px 0 #fff;
    margin: 0;
}

.ktc-header-flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Canvas Elements - Clouds
   ============================================================================ */
#clouds-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 220px;
    pointer-events: none;
    z-index: 2;
}

/* Kyle Cole Profile Image
   ============================================================================ */
#kyle-img {
    float: left;
    margin: 0 10px 0 0;
    width: 160px;
    border-radius: 10px;
    box-shadow: 8px 8px 22px #1976d255;
    border: 2px solid #fff;
    transition: none;
    cursor: pointer;
    filter: blur(0px);
    transform: scale(1);
}

#kyle-img:hover {
    animation: hoverEnlarge 0.3s ease-in-out forwards;
}

#kyle-img:not(:hover) {
    animation: hoverShrink 0.3s ease-in-out forwards;
}

/* Image Hover Animations
   ============================================================================ */
@keyframes hoverEnlarge {
    0% {
        filter: blur(0px);
        transform: scale(1);
    }

    30% {
        filter: blur(4px);
        transform: scale(1.3);
    }

    70% {
        filter: blur(4px);
        transform: scale(2.0);
    }

    100% {
        filter: blur(0px);
        transform: scale(2.2);
        box-shadow: 15px 15px 40px #1976d290;
        z-index: 10;
        position: relative;
    }
}

@keyframes hoverShrink {
    0% {
        filter: blur(0px);
        transform: scale(2.2);
        box-shadow: 15px 15px 40px #1976d290;
    }

    30% {
        filter: blur(4px);
        transform: scale(1.5);
    }

    70% {
        filter: blur(4px);
        transform: scale(1.1);
    }

    100% {
        filter: blur(0px);
        transform: scale(1);
        box-shadow: 8px 8px 22px #1976d255;
        z-index: 1;
        position: static;
    }
}

/* Mosaic Grid - Technical Specialties
   ============================================================================ */
.mosaic-container {
    display: grid;
    grid-template-columns: 1fr;
    margin: 0em 0em 1em 0em;
    padding: 0;
}

.mosaic-item {
    display: flex;
    align-items: center;
    gap: 1em;
    padding: 0em 0em 0em 0em;
    border: none;
    background: transparent;
    box-shadow: none;
    transition: none;
    backdrop-filter: none;
}

.mosaic-item:hover {
    transform: none;
    box-shadow: none;
    background: transparent;
}

.mosaic-item .mosaic-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 0;
    flex-shrink: 0;
    background: transparent;
}

.mosaic-item .mosaic-icon {
    width: 50px;
    height: 50px;
    display: block;
    filter: brightness(0) saturate(100%) invert(19%) sepia(100%) saturate(1500%) hue-rotate(208deg) brightness(95%) contrast(95%);
    opacity: 0.4;
}

.mosaic-text {
    flex: 1;
    font-size: 1em;
    line-height: 1.4;
    font-weight: 500;
    text-align: left;
    opacity: 0.9;
}

.mosaic-item[data-mosaic="enterprise"] {
    border: none;
    background: transparent;
}

.mosaic-item[data-mosaic="network"] {
    border: none;
    background: transparent;
}

/* Tech Help - Remote Assistance
   ============================================================================ */
.techhelp {
    justify-content: center;
    align-items: center;
    margin-left: 1.6em;
}

.techhelp-link {
    text-decoration: none;
}

.techhelp-link:hover #techhelp-svg,
.techhelp-link:focus #techhelp-svg,
.techhelp-link:hover #hostmodule-svg,
.techhelp-link:focus #hostmodule-svg {
    transform: scale(1.02);
    filter: drop-shadow(0 0px 16px #1976d2aa) brightness(1.2);
    transition: transform 1s cubic-bezier(.25, 0.1, .25, 1), filter 1s;
}

/* Contact Section
   ============================================================================ */
.ktc-contact {
    border-top: 1px solid #90caf9;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 0.86em;
    flex-wrap: wrap;
    width: 100%;
    background: url('svg/palms2.svg') no-repeat center center;
    margin: 2em 0 0 0;
    padding: 1.4em 0 0 0;
}

.ktc-contact img {
    display: inline;
    vertical-align: middle;
}

.ktc-contact a {
    color: #063c7d;
    text-decoration: none;
}

/* Footer
   ============================================================================ */
.ktc-copyright {
    color: #789;
    font-size: 0.74em;
    text-align: center;
    margin: 0.4em 0 0 0;
}

/* Responsive Design
   ============================================================================ */
@media (max-width: 768px) {
    .mosaic-container {
        gap: 1em;
    }

    .mosaic-item {
        gap: 0.8em;
    }

    .mosaic-item .mosaic-icon-wrap {
        width: 40px;
        height: 40px;
    }

    .mosaic-item .mosaic-icon {
        width: 40px;
        height: 40px;
    }
}