/* START OF FILE components.css */

/* =========================================
   COMPONENTS: UI Elements & Modules
   ========================================= */

/* --- Logo & Text Accents --- */
.site-logo {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}
.site-logo:hover { opacity: 0.7; }

/* ORANGE TEXT HIGHLIGHTS */
.logo-accent { color: var(--accent-color); }
.accent-text { color: var(--accent-color); }
.highlight { color: var(--accent-color); font-weight: 400; }

/* --- Navigation --- */
.header-nav { display: flex; gap: 30px; }

.nav-link {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 1px;
    font-weight: 500;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-color);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.nav-link.active::after {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
}

/* --- Section Headers --- */
.section-title {
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 10px;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    display: inline-block;
}

/* --- Footer Socials --- */
.footer-right a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
    display: flex; align-items: center;
}
.footer-right i { font-size: 1.2rem; }
.footer-right a:hover { color: var(--accent-color); transform: translateY(-2px); }
.copyright-text { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 1px; }

/* CUSTOM IMAGE ICON STYLING */
.footer-custom-icon {
    /* Reverted to 1.4rem (visually matches the 1.2rem fonts) */
    height: 2.0rem; 
    width: auto;
    
    /* Standard Alignment */
    vertical-align: middle;
    /* Removed 'margin-bottom: 2px' which was making it sit too high */
    
    /* Default: Turn Black logo to Light Grey */
    filter: invert(1) grayscale(100%) opacity(0.5); 
    
    transition: filter 0.3s ease, transform 0.2s ease;
}

/* On Hover: Turn Black logo to Brand Orange (#e96714) */
.footer-right a:hover .footer-custom-icon {
    filter: invert(53%) sepia(49%) saturate(4649%) hue-rotate(347deg) brightness(99%) contrast(92%) opacity(1);
}


/* --- Typography --- */
.quote-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #dcdcdc;
    font-weight: 300;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Buttons --- */
.contact-button {
    display: inline-flex; align-items: center; gap: 10px;
    border: 1px solid var(--text-muted); padding: 15px 35px;
    color: #fff; text-decoration: none; font-size: 1rem;
    transition: all 0.3s ease; border-radius: 2px; margin-top: 20px;
    background: transparent; cursor: pointer;
}
.contact-button:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(233, 103, 20, 0.05);
}

/* --- Project Cards --- */
.project-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px; text-align: left;
}
.project-card {
    background: var(--glass-bg); border: 1px solid var(--border-color);
    padding: 30px; border-radius: 2px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex; flex-direction: column; justify-content: space-between;
    height: 100%;
}
.project-card:hover { transform: translateY(-5px); border-color: var(--accent-color); }
.project-card h3 { margin-bottom: 15px; font-size: 1.1rem; letter-spacing: 1px; color: #fff; }
.project-card p { font-size: 0.9rem; color: #aaa; margin-bottom: 25px; line-height: 1.6; }
.project-card a { color: var(--accent-color); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; text-decoration: none; }
.project-card a:hover { text-decoration: underline; }

/* --- Component Modal Headers --- */
.component-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px; border-bottom: 1px solid var(--border-color);
    background: #1a1a1a;
}
.component-header .title { font-weight: bold; text-transform: uppercase; letter-spacing: 1px; color: #fff; }
.close-btn { font-size: 1.5rem; cursor: pointer; color: #888; line-height: 1; }
.close-btn:hover { color: #fff; }