/**
 * COMPONENT STYLES
 * Reusable UI components: cards, buttons, tags, etc.
 */

/* ==========================================
   CARDS
========================================== */
.card {
    background-color: #1a202c;
    border: 4px solid var(--color-blood-red);
    border-radius: 0.75rem;
    box-shadow: 
        0 0 20px rgba(153, 0, 0, 0.3),
        8px 8px 0px 0px rgba(153, 0, 0, 0.7);
    transition: 
        transform 0.3s ease,
        box-shadow 0.3s ease;
    cursor: none;
}

.card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 
        0 0 30px var(--color-terminal-green),
        12px 12px 0px 0px var(--color-green);
}

/* ==========================================
   BUTTONS
========================================== */
.button-primary {
    display: inline-block;
    background-color: var(--color-blood-red);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 4px 0px #700000;
    transition: all 0.1s ease;
    cursor: pointer;
    border: none;
}

.button-primary:active {
    transform: translateY(4px);
    box-shadow: none;
}

/* ==========================================
   SKILL TAGS
========================================== */
.skill-tag {
    background-color: #1f2937;
    color: white;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 2px solid var(--color-blood-red);
    font-weight: 700;
    text-align: center;
    transition: 
        background-color 0.3s ease,
        transform 0.1s ease;
    cursor: pointer;
}

.skill-tag:hover {
    background-color: var(--color-blood-red);
    transform: scale(1.05);
}

/* ==========================================
   PROJECT ITEMS
========================================== */
.project-item {
    border-left: 4px solid var(--color-blood-red);
    padding-left: 1rem;
    margin-bottom: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease;
}

.project-item:hover {
    background-color: #2e3747;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.project-description {
    color: #9ca3af;
    font-size: 1rem;
}

/* ==========================================
   TERMINAL BLOCK
========================================== */
.terminal {
    background-color: #000000;
    border: 2px solid #333;
    border-radius: 0.5rem;
    padding: 1rem;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.7);
    font-family: monospace;
    font-size: 0.875rem;
    color: var(--color-terminal-green);
}

.terminal pre {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.terminal-prompt {
    color: white;
}

.terminal-comment {
    color: #6b7280;
}

.terminal-highlight {
    color: var(--color-blood-red);
}

/* ==========================================
   FOOTER
========================================== */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.footer-security {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 1.5rem;
}

/* ==========================================
   INTERACTIVE ELEMENTS (Cursor Override)
========================================== */
a, button, .skill-tag {
    cursor: pointer;
}


/* GOTHIC CARD EFFECTS */
.card {
    background: linear-gradient(180deg, #1a202c 0%, #0d0d12 100%);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--color-blood-red);
    border-right: none;
    border-bottom: none;
    top: -2px;
    left: -2px;
    opacity: 0.6;
}

.card::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--color-blood-red);
    border-left: none;
    border-top: none;
    bottom: -2px;
    right: -2px;
    opacity: 0.6;
}

.button-primary {
    background: linear-gradient(135deg, #990000 0%, #4A0404 100%);
}