$border-radius: var(--border-radius);
$border-radius-sm: var(--border-radius);
$border-radius-lg: var(--border-radius);
$border-radius-xl: var(--border-radius);
$border-radius-xxl: var(--border-radius);
$border-radius-pill: var(--border-radius);
$border-radius-2xl: $border-radius-xxl;
$prefix: "";

@import '../../vendor/twbs/bootstrap/scss/bootstrap.scss';

:root {
    --body-bg: #afafaf;
    --body-color: #f1f5f9;
    --bg-dark: #0f172a;
    --card-bg: #1e293b;
    --symfony-blue: #1a5fb4;
    --vue-green: #42b883;
    --info: #38bdf8;
    --border-radius: 0.25rem
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

.navbar {
    backdrop-filter: blur(10px);
    background: rgba(15, 23, 42, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.05), transparent);
}

h1 {
    font-weight: 800;
    letter-spacing: -2px;
}

/* Terminal Component */
.terminal {
    background: #000;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    font-family: monospace;
    overflow: hidden;
    border: 1px solid #33415588;
}

.terminal-header {
    width: 100%;
    background: #33415588;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    gap: 6px;
}

.terminal-header div {
    gap: 6px;
    display: flex;
    flex-direction: row;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-body {
    padding: 20px;
    font-size: 0.9rem;
    color: #94a3b8;
    width: 100%;
    min-height: 250px;
}

.terminal .title {
    margin-top: -.25rem;
    margin-bottom: -.25rem;
    font-size: 0.9rem;
    color: #94a3b8;
}

@keyframes blinking {
    0% {
        background: transparent;
    }
    50% {
        background: transparent;
    }
    51% {
        background: currentColor;
    }
    100% {
        background: currentColor;
    }
}

.terminal {
    user-select: none;
    white-space: nowrap;

    .command-block:last-child .command-name:after {
        content: '';
        display: inline-block;
        border: solid .5px currentColor;
        height: 1rem;
        position: relative;
        top: .15rem;
        width: .5rem;
    }

    .command-name {
        br {
            display: none;
        }

        margin-inline-start: 5px;
        display: inline-block;
        caret-shape: block;
        caret-color: currentColor;
        outline: none;
    }
}

.terminal:focus, .terminal:has(:focus) {
    border: 1px solid #334155;

    .command-block:last-child .command-name:after {
        display: none;
    }

    .terminal-header {
        background: #334155;
    }
}

/* Skills Card */
.skill-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-10px);
    border-color: var(--info);
}

.badge-symfony {
    background: var(--symfony-blue);
}

.badge-vue {
    background: var(--vue-green);
    color: #000;
}

.badge-docker {
    background: #2496ed;
}

.experience-line {
    border-left: 2px solid #334155;
    padding-left: 30px;
    position: relative;
}

.experience-line::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--info);
    border-radius: 50%;
}

.font-mono {
    font-family: monospace;
}

.navbar {
    background: rgba(2, 6, 23, 0.95);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    z-index: 1000;
}

.glass-panel {
    background: var(--dark);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 3rem;
    margin-bottom: 2.5rem;
}

.section-label {
    font-family: monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    display: block;
}

/* High-Density Content Blocks */
.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.spec-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    border-left: 3px solid var(--info);
    padding-left: 1rem;
}

.spec-item p {
    font-size: 0.9rem;
}

/* Version Manifest Table */
.manifest-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    font-family: monospace;
    font-size: 0.85rem;
}

.manifest-table th {
    color: var(--info);
    font-weight: normal;
    text-align: left;
    padding: 10px;
    border-bottom: 1px solid var(--border);
}

.manifest-table td {
    background: rgba(255, 255, 255, 0.02);
    padding: 12px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.manifest-table td:first-child {
    border-left: 1px solid var(--border);
    color: #fff;
}

.manifest-table td:last-child {
    border-right: 1px solid var(--border);
    color: var(--info);
}

.btn-architect {
    background: var(--info);
    color: #020617;
    font-weight: 800;
    border: none;
    padding: 14px 36px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

@media (max-width: 992px) {
    .spec-grid {
        grid-template-columns: 1fr;
    }
}

.pre-wrap {
    white-space: pre-wrap;
}

.accordion-header {
    cursor: pointer;

    &:hover {
        text-decoration: underline;
    }

    svg {
        display: inline;
        height: 2rem;
        align-self: flex-end;
        stroke: currentColor;
        stroke-width: 2px;
        transition: all .3s;
    }

    &:not(.collapsed) svg {
        transform: rotate(180deg);
    }
}
