/* ═══════════════════════════════════════════════════════════════
   COMPONENTS — Cards · Buttons · Pills · Carousel · Lightbox
   banszky.men
═══════════════════════════════════════════════════════════════ */

/* ── BUTTONS ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 2rem;
    background: linear-gradient(135deg, var(--accent1), var(--accent2));
    background-size: 200%;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background-position 0.4s, transform 0.2s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.btn-primary:hover {
    background-position: right center;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(79, 142, 247, 0.35);
}

.btn-primary:hover::after {
    transform: translateX(100%);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 2rem;
    background: var(--surface);
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.25s;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--accent1);
    color: var(--accent1);
    transform: translateY(-1px);
}

/* ── PILLS ── */
.pill {
    padding: 0.5rem 1.1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    transition: all 0.25s;
    backdrop-filter: blur(6px);
}

.pill:hover {
    border-color: var(--accent1);
    color: var(--accent1);
    transform: translateY(-1px);
}

.pill.blue {
    border-color: rgba(79, 142, 247, 0.35);
    color: var(--accent1);
    background: rgba(79, 142, 247, 0.08);
}

.pill.purple {
    border-color: rgba(162, 89, 255, 0.35);
    color: var(--accent2);
    background: rgba(162, 89, 255, 0.08);
}

.pill.green {
    border-color: rgba(0, 212, 170, 0.35);
    color: var(--accent3);
    background: rgba(0, 212, 170, 0.08);
}

.pill.blue:hover {
    box-shadow: 0 4px 16px rgba(79, 142, 247, 0.2);
    transform: translateY(-2px);
}

.pill.purple:hover {
    box-shadow: 0 4px 16px rgba(162, 89, 255, 0.2);
    transform: translateY(-2px);
}

.pill.green:hover {
    box-shadow: 0 4px 16px rgba(0, 212, 170, 0.2);
    transform: translateY(-2px);
}

/* ── AVATAR / LOGO CIRCLE ── */
.avatar-card {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(79, 142, 247, 0.15), rgba(162, 89, 255, 0.15));
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(79, 142, 247, 0.18);
    animation: floatY 4s ease-in-out infinite;
}

.avatar-fondator {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent1);
    margin-bottom: 0.6rem;
}

.originzero-link {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    background: linear-gradient(90deg, #ff0080, #ff8c00, #ffe000, #00d4aa, #4f8ef7, #a259ff, #ff0080);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: rainbow-shift 3s linear infinite;
}

.originzero-link:hover {
    animation-duration: 1s;
}

/* ── EXPERT CARDS (Expertise section) ── */
.expert-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.expert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent1), var(--accent2), var(--accent3));
    opacity: 0;
    transition: opacity 0.3s;
}

.expert-card:hover {
    border-color: var(--border-hov);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card), 0 0 25px rgba(79, 142, 247, 0.12);
}

.expert-card:hover::before {
    opacity: 1;
}

.expert-icon {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.expert-card h3 {
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.expert-card ul {
    margin-bottom: 1.5rem;
}

.expert-card li {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 0.3rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.expert-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent1);
    font-size: 0.75rem;
}

.micro-cta {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent1);
    text-decoration: none;
    transition: letter-spacing 0.2s;
}

.micro-cta:hover {
    letter-spacing: 0.03em;
}

/* ── BADGE CARDS ── */
.badge-card {
    border: 1px solid var(--border);
    text-decoration: none;
    display: block;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    backdrop-filter: blur(10px);
    overflow: hidden;
    position: relative;
}

/* Square — Cisco: image fills the full square card */
.badge-card.square {
    border-radius: var(--radius);
    background: var(--surface);
    aspect-ratio: 1;
    padding: 0;
}

.badge-card.square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

/* Round — IBM: card itself is a circle, image fills it */
.badge-card.round {
    border-radius: 50%;
    background: var(--surface);
    aspect-ratio: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-card.round img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    transition: transform 0.3s;
}

.badge-card:hover {
    border-color: var(--border-hov);
    transform: scale(1.05) translateY(-3px);
    box-shadow: var(--shadow-card), 0 0 20px rgba(79, 142, 247, 0.15);
}

.badge-card:hover img {
    transform: scale(1.04);
}

/* ── EXPERIENCE CAROUSEL (Envira Gallery style) ── */
.exp-carousel-wrap {
    border-radius: var(--radius);
    overflow: hidden;
}

.exp-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
}

.exp-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    z-index: 1;
    transform: scale(1.05);
    transition: opacity 1.2s ease, transform 1.2s ease;
    will-change: opacity, transform;
}

.exp-slide.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1);
}

.exp-carousel::after {
    content: "🔍";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: rgba(0, 0, 0, 0);
    color: transparent;
    transition: background 0.3s, color 0.3s;
    pointer-events: none;
}

.exp-carousel:hover::after {
    background: rgba(0, 0, 0, 0.28);
    color: rgba(255, 255, 255, 0.9);
}

/* --- LIGHTBOX (mod FULL SCREEN) --- */
.exp-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.exp-lightbox.open {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.exp-lightbox img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
    animation: zoomIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.exp-lb-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 2;
}

.exp-lb-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

/* Lightbox Navigation */
.exp-lb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.exp-lb-arrow:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.exp-lb-arrow.prev {
    left: 2rem;
}

.exp-lb-arrow.next {
    right: 2rem;
}

/* ── AVATAR CAROUSEL (about section) ── */
.carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.6s ease;
    display: block;
}

.carousel-slide.active {
    opacity: 1;
}

/* ── CONTACT FORM ── */
.contact-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    backdrop-filter: blur(10px);
}

/* ── GDPR BANNER ── */
.gdpr-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    z-index: 9999;
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
    opacity: 0;
    max-width: 800px;
    width: 90%;
}

.gdpr-banner.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.gdpr-content p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.gdpr-actions .btn-primary {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .gdpr-banner {
        flex-direction: column;
        bottom: 1rem;
        padding: 1rem;
        gap: 1rem;
        text-align: center;
    }
}