/* * SA Coating - INNER PAGES STYLES (About, Contact, Portfolio)
 * Focus: Project Grids, Timelines, Contact Cards
 */

/* --- PORTFOLIO GRID --- */
.portfolio-hero {
    background-color: #0f1115;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.project-card-tech {
    position: relative;
    background: #fff;
    border: 1px solid #eee;
    overflow: hidden;
    transition: 0.3s;
    height: 100%;
}
.project-card-tech:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.project-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #1a1d24;
}
.project-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0.9;
}
.project-card-tech:hover .project-thumb img {
    transform: scale(1.1);
    opacity: 0.5;
}

.project-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(15,17,21,0.9) 10%, transparent 80%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 20px;
    opacity: 0; transition: 0.3s;
}
.project-card-tech:hover .project-overlay { opacity: 1; }

.project-details { padding: 25px; }
.proj-cat { 
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase; 
    color: var(--primary); margin-bottom: 5px; display: block; letter-spacing: 1px;
}
.proj-date { font-family: var(--font-mono); font-size: 0.75rem; color: #999; }

/* --- ABOUT PAGE HISTORY --- */
.history-timeline {
    position: relative;
    padding-left: 40px;
    border-left: 2px solid #eee;
    margin: 40px 0;
}
.history-item {
    position: relative;
    margin-bottom: 40px;
}
.history-marker {
    position: absolute; left: -49px; top: 0;
    width: 16px; height: 16px;
    background: var(--primary);
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #eee;
}
.history-year {
    font-family: var(--font-mono);
    font-weight: 700; color: var(--primary);
    margin-bottom: 5px; display: block;
}

/* --- CONTACT CARDS --- */
.contact-card-tech {
    background: #fff;
    border: 1px solid #eee;
    padding: 30px;
    display: flex; align-items: flex-start; gap: 20px;
    transition: 0.3s;
    height: 100%;
}
.contact-card-tech:hover {
    border-color: var(--secondary);
    background: #fdfdfd;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.cc-icon {
    width: 50px; height: 50px;
    background: rgba(0, 174, 239, 0.1);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.contact-card-tech:hover .cc-icon {
    background: var(--primary); color: #fff;
}

/* Map Container */
.cyber-map-container {
    position: relative;
    border: 2px solid var(--dark);
    padding: 5px;
    background: var(--dark);
}
.map-status {
    position: absolute; top: 20px; left: 20px;
    background: var(--dark); color: var(--primary);
    padding: 5px 10px; font-family: var(--font-mono);
    font-size: 0.75rem; border: 1px solid var(--primary);
    z-index: 10;
}