/* * SA Coating - INNER PAGES STYLES
 * Pages: Portfolio, Contact, About, etc.
 * Role: Page-specific layout and component styling
 */

/* --- PORTFOLIO HEADER --- */
.portfolio-hero {
    background-color: #0f1115;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    width: 100%;
    display: block;
    z-index: 1; /* Ensure it stays below header */
}

/* --- PROJECT CARDS --- */
.project-card-tech {
    position: relative;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card-tech:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.project-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f5f5f5;
}

.project-thumb img {
    width: 100%; 
    height: 100%; 
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card-tech:hover .project-thumb img {
    transform: scale(1.08);
}

/* Overlay visible on hover */
.project-overlay {
    position: absolute; 
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 17, 21, 0.6);
    display: flex; 
    align-items: center; 
    justify-content: center;
    opacity: 0; 
    transition: opacity 0.3s ease;
    z-index: 2;
    backdrop-filter: blur(2px);
}

.project-card-tech:hover .project-overlay { 
    opacity: 1; 
}

.project-details { 
    padding: 25px; 
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.proj-cat { 
    font-size: 0.7rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    color: var(--primary); 
    margin-bottom: 8px; 
    display: block; 
    letter-spacing: 1px;
}

.proj-date { 
    font-size: 0.8rem; 
    color: #888; 
    margin-top: auto; 
    padding-top: 15px;
    border-top: 1px solid #f5f5f5;
    display: block;
    font-family: var(--font-mono);
}

/* --- CONTACT SECTION CARDS --- */
.contact-card-tech {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 30px;
    display: flex; 
    align-items: flex-start; 
    gap: 25px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 8px;
    height: 100%; 
    width: 100%;
}

.contact-card-tech:hover {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 174, 239, 0.1);
    transform: translateY(-3px);
}

.cc-icon {
    width: 50px; 
    height: 50px;
    background: rgba(0, 174, 239, 0.08);
    color: var(--primary);
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    border-radius: 12px; /* Softer corners */
    transition: all 0.3s ease;
}

.contact-card-tech:hover .cc-icon {
    background: var(--primary); 
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 174, 239, 0.3);
}

/* --- MAP CONTAINER --- */
.cyber-map-container {
    position: relative;
    border-top: 5px solid var(--primary);
    background: #f8f9fa;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.map-status {
    position: absolute; 
    top: 20px; 
    left: 20px;
    background: #fff; 
    color: var(--dark);
    padding: 8px 15px; 
    font-size: 0.75rem; 
    font-weight: 700;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    z-index: 10; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- SOCIAL BUTTONS (Contact Context) --- */
.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn:hover {
    background: var(--dark);
    color: #fff !important;
    border-color: var(--dark) !important;
    transform: translateY(-3px);
}

/* --- COMPANY HISTORY TIMELINE --- */
.history-timeline {
    position: relative;
    padding-left: 40px;
    border-left: 2px solid #e0e0e0;
    margin: 50px 0;
}

.history-item {
    position: relative;
    margin-bottom: 50px;
}

.history-item:last-child {
    margin-bottom: 0;
}

.history-marker {
    position: absolute; 
    left: -49px; 
    top: 5px;
    width: 16px; 
    height: 16px;
    background: var(--primary);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #e0e0e0;
    transition: 0.3s;
}

.history-item:hover .history-marker {
    background: var(--secondary);
    box-shadow: 0 0 0 4px rgba(237, 28, 36, 0.2);
}

.history-year {
    font-size: 1.25rem;
    font-weight: 800; 
    color: var(--dark);
    margin-bottom: 8px; 
    display: block;
    line-height: 1;
    font-family: var(--font-main);
}