/* components/contact-cards/cards.css */

/* --- ŠTÝLY PRE KONTAKTNÉ KARTY A ICH OBSAH --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

#contact .flip-card {
    height: 350px;
}

.contact-grid .flip-card-front,
.contact-grid .flip-card-back {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    justify-content: space-evenly;
    gap: 15px;
}

.contact-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    margin-bottom: 20px;
}

#contact .flip-card-back h4 {
    color: var(--text-light);
}

.contact-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin: 0;
}

#contact .flip-indicator {
    color: var(--text-light);
}

.contact-action-btn, .vcard-button {
    display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 12px;
    border-radius: 5px; text-decoration: none; font-weight: 600; color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease, color 0.3s ease; font-size: 1rem;
}
.contact-action-btn i, .vcard-button i { font-size: 1.1rem; }
.contact-action-btn:hover { background-color: var(--primary-color); color: var(--text-light) !important; }
.vcard-button { background-color: var(--primary-color); font-weight: 700; }
a.vcard-button { color: var(--text-light) !important; }
.vcard-button:hover { background-color: var(--primary-hover); }

/* --- ŠTÝLY PRE FIREMNÉ ÚDAJE --- */
.company-details { margin-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 30px; }
.company-details .detail-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.company-details .detail-item i { flex-shrink: 0; width: 20px; color: var(--primary-color); font-size: 1.1rem; margin-top: 5px; text-align: center; }
.company-details .detail-item div { flex: 1; }

/* --- ŠTÝLY PRE MODÁLNE OKNO (QR KÓD) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    visibility: hidden;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background-color: var(--dark-bg);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    position: relative;
    max-width: 90%;
    width: 320px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content {
    transform: scale(1);
}
.modal-content h3 {
    color: var(--text-light);
    margin-bottom: 20px;
}
#qr-code-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    background-color: white;
}
.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    line-height: 1;
}